JPH0340194A - Motor controller for automatic vending machine - Google Patents

Motor controller for automatic vending machine

Info

Publication number
JPH0340194A
JPH0340194A JP17611789A JP17611789A JPH0340194A JP H0340194 A JPH0340194 A JP H0340194A JP 17611789 A JP17611789 A JP 17611789A JP 17611789 A JP17611789 A JP 17611789A JP H0340194 A JPH0340194 A JP H0340194A
Authority
JP
Japan
Prior art keywords
motor
switching element
pulse generator
comparison section
match
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
Application number
JP17611789A
Other languages
Japanese (ja)
Inventor
Keiichi Minakane
水金 啓一
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.)
Kubota Corp
Original Assignee
Kubota Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kubota Corp filed Critical Kubota Corp
Priority to JP17611789A priority Critical patent/JPH0340194A/en
Publication of JPH0340194A publication Critical patent/JPH0340194A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make the quantity of rotation of a DC motor approach a targeted quantity more accurately by sufficiently decelerating the rotating speed of the DC motor when setting a second switching element at an on-state and applying regenerative brake. CONSTITUTION:A control part 10 is provided which turns off a first switching element 1 from a time when a first comparison part 9 detects the coincidence of a targeted value with the developmental pulse of a pulse generator 6 and sets the second switching element at the on-state. When the DC motor M is energized until the number of developmental pulses of the pulse generator 6 mounted on the output shaft of the DC motor M arrives at a preset value before stopping, the DC motor M is rotated with inertia after energizing is completed. When the motor M is rotated with the inertia and the number of developmental pulses of the pulse generator 6 arrives at the targeted value, the regenerative brake is applied on the DC motor M, and the rotating speed with inertia of the DC motor M is decreased steeply, then, the rotation of the motor is stopped. In such a way, it is possible to make the quantity of rotation of the DC motor M of a controlled system approach the targeted quantity more accurately.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は自動販売機で使用される直流モータの制御装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a control device for a DC motor used in a vending machine.

従来の技術 カップに原料を投入し、次にカップに熱湯を注ぐ調理工
程を採用しているカップ式自動販売機では、スクリュー
フィーダによる原料槽からの原料の切り出しに直流モー
タが動力源として使用されている。また、カップを商品
取出口に直接払い出さずに、カップデイスペンサのカッ
プ払い出し位置でロボットハンドが待機していて、払い
出されたカップをロボットハンドで受は取って、原料の
投入を受ける第1の位置と熱湯の注入を受ける第2の位
置および商品払出口に臨む第3の位置とにカップをハン
ドリングするカップ式自動販売機においてもロボットハ
ンドの駆動に直流モータが使用されている。
Conventional technology In cup-type vending machines, which use a cooking process in which raw materials are placed in a cup and then boiling water is poured into the cup, a DC motor is used as a power source to cut raw materials from a raw material tank using a screw feeder. ing. In addition, instead of dispensing the cups directly to the product outlet, a robot hand waits at the cup dispensing position of the cup dispenser, and the robot hand receives the dispensed cups and receives the raw materials at the first stage. A DC motor is also used to drive a robot hand in a cup-type vending machine that handles a cup between a second position, a second position where hot water is poured, and a third position facing a product outlet.

第3図はロボットハンドの直流モータに接続されている
従来のモータ制御装置を示す。制御対象となる直流モー
タMの電源回路には、直列に第1のスイッチング素子1
を介装し、直流モータMの電源回路に並列に第2のスイ
ッチング素子2が接続されている。直流モータMの出力
軸3には、スリット板4とこのスリット板4のスリット
の通過を検出するフォトインタラプタ5とで構成された
パルス発生器6が取り付けられている。パルス発生器6
がスリットを検出するたびに発生するパルス信号Pはカ
ウンタ7で計数される。直流モータMで駆動されるロボ
ットハンド8の目標位置に応じて設定された目標値N。
FIG. 3 shows a conventional motor control device connected to a DC motor of a robot hand. The power supply circuit of the DC motor M to be controlled includes a first switching element 1 in series.
A second switching element 2 is connected in parallel to the power supply circuit of the DC motor M. A pulse generator 6 composed of a slit plate 4 and a photointerrupter 5 that detects passage through the slit of the slit plate 4 is attached to the output shaft 3 of the DC motor M. Pulse generator 6
A counter 7 counts the pulse signal P generated each time the sensor detects a slit. Target value N set according to the target position of robot hand 8 driven by DC motor M.

とカウンタ7の時々の計数値Nsとは、第1の比較部9
で比較される。
and the occasional count value Ns of the counter 7 are the first comparator 9
are compared.

第1.第2のスイッチング素子1,2は第1の比較部9
の比較結果に応じて制御部10が次のように制御する。
1st. The second switching elements 1 and 2 are connected to the first comparison section 9
The control unit 10 performs the following control according to the comparison result.

制御部IOは、運転開始時に第1のスイッチング素子王
を″オン″〔第4図(b)を参照フし、第2のスイッチ
ング素子2を″オフ”状態〔第4図(c’)を参照〕と
する。これによって、直流モータMの電源回路に通電さ
れて直流モータMが回転し、ロボットハンド8が目的地
に向かって移動を開始する。これにともなってスリット
板4が回転してカランタフの計数値が第4図(a)に示
すように単調増加する。ロボットハンド8が目的地に到
着したときに第1の比較部9が“Ns>N。
At the start of operation, the control unit IO sets the first switching element 2 to the "on" state (see FIG. 4(b)) and the second switching element 2 to the "off" state (see FIG. 4(c')). Reference]. As a result, the power supply circuit of the DC motor M is energized, the DC motor M rotates, and the robot hand 8 starts moving toward the destination. Along with this, the slit plate 4 rotates, and the count value of the carantuff increases monotonically as shown in FIG. 4(a). When the robot hand 8 arrives at the destination, the first comparator 9 determines that "Ns>N.

を検出して、制御部IOが第1のスイッチング素子1を
″オフ”して第2のスイッチング素子2を“′オン″状
態に切り換えて制動を掛けてロボットハンド8を目的地
の近傍で停止させる。第4図(d)はロボットハンド8
の移動速度の変化をあられしており、第2のスイッチン
グ素子2の″オンパによる制動によって移動速度が遅く
なって停止していることが分かる。
Detecting this, the control unit IO turns the first switching element 1 "off" and the second switching element 2 "'on" to apply braking and stop the robot hand 8 near the destination. let Figure 4(d) shows the robot hand 8.
It can be seen that the movement speed of the second switching element 2 is slowed down and stopped due to the braking by the ``driver'' of the second switching element 2.

発明が解決しようとする課題 このような従来の構成では、第2のスイッチング素子2
で制動を掛けることによってロボットハンド8を迅速に
停止させることができるが、第4図、(d)に示すよう
に慣性によるオーバーライドが発生して正確に目的地で
ロボットハンド8を停止させることができない。
Problems to be Solved by the Invention In such a conventional configuration, the second switching element 2
However, as shown in FIG. 4, (d), override due to inertia occurs and the robot hand 8 cannot be stopped accurately at the destination. Can not.

これは原料払い出し用の直流モータであった場合には、
原料の払い出し過ぎになる。
If this is a DC motor for discharging raw materials,
Too much raw material will be paid out.

本発明は制御対象の直流モータの回転量をより正確に目
標量に近付けることができるモータ制御装置を提供する
ことを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a motor control device that can more accurately bring the rotation amount of a DC motor to be controlled closer to a target amount.

課題、を解決するための手段 本発明のモータ制御装置は、制御対象となる直流モータ
の電源回路に直列に第1のスイッチング素子を介装し、
直流モータの電源回路に並列に第2のスイッチング素子
を接続し、前記直流モータの出力軸にパルス発生器を取
り付けて、目標値と前記パルス発生器の発生パルス数を
比較して前記第1.第2のスイッチング素子を制御する
とともに、前記目標値と前記パルス発生器の発生パルス
数を比較する第1の比較部を設け、前記パルス発生器の
発生パルス数と前記目標値よりも少ない値5− の停止前設定値とを比較する第2の比較部を設け、第2
の比較部が一致を検出するまでは第1のスイッチング素
子をオン、第2のスイッチング素子をオフ状態とし、第
2の比較部が一致を検出したときから第1の比較部が一
致を検出するまでの期間にわたって、第1.第2のスイ
ッチング素子をオフ状態とし、第1の比較部が一致を検
出したときから第1のスイッチング素子をオフ、第2の
スイ・ソチング素子をオン状態とする制御部とを設けた
ことを特徴とする。
Means for Solving the Problems The motor control device of the present invention includes a first switching element interposed in series with a power supply circuit of a DC motor to be controlled,
A second switching element is connected in parallel to the power supply circuit of the DC motor, a pulse generator is attached to the output shaft of the DC motor, and a target value is compared with the number of pulses generated by the pulse generator to determine the first switching element. A first comparison section is provided that controls the second switching element and compares the target value with the number of pulses generated by the pulse generator, and the number of pulses generated by the pulse generator and a value 5 smaller than the target value are provided. - A second comparison section is provided to compare the pre-stop setting value of
The first switching element is turned on and the second switching element is turned off until the comparison section detects a match, and from when the second comparison section detects a match, the first comparison section detects a match. Over the period up to 1st. and a control section that turns off the second switching element and turns on the second switching element when the first comparison section detects a match. Features.

作用 この構成によると、直流モータの出力軸に取り付けられ
たパルス発生器の発生パルス数が停止前設定値に達する
まで、前記直流モータに通電し、通電を終了してから直
流モータが慣性で回転する。
Effect: According to this configuration, the DC motor is energized until the number of pulses generated by the pulse generator attached to the output shaft of the DC motor reaches the pre-stop setting value, and after the energization ends, the DC motor rotates due to inertia. do.

直流モータが慣性回転して前記パ/jzス発生器の発生
パルス数が目標値に達すると、直流モータに回生制動が
掛けられて、直流モータの慣性回転速度が急激に低下し
て回転が停止する。
When the DC motor rotates due to inertia and the number of pulses generated by the pulse generator reaches the target value, regenerative braking is applied to the DC motor, and the inertial rotation speed of the DC motor suddenly decreases and the rotation stops. do.

実施例 6一 以下、本発明の一実施例を第1図と第2図に基づいて説
明する。なお、従来例を示す第3図と同様の作用を成す
ものには、同一の符号を付けて説明する。第1図は本発
明のモータ制御装置を示し、制御部10の構成と第2の
比較部11が追加されている点とが第2図に示したもの
とは異なる。
Embodiment 6 One embodiment of the present invention will be described below with reference to FIGS. 1 and 2. Components having the same functions as those in FIG. 3 showing the conventional example will be described with the same reference numerals. FIG. 1 shows a motor control device of the present invention, which differs from that shown in FIG. 2 in the configuration of a control section 10 and the addition of a second comparison section 11.

第2の比較部11では、目標値N。とこの目標値Noよ
りも少ない値の停止前設定値N。0とが比較される。第
1.第2の比較部9.11の出力に基づいて第1.第2
のスイッチング素子1,2を制御する制御部10は、次
のように構成されている。第1のスイッチング素子1〔
第2図(b)参照〕は制御部10で制御されて、第2の
比較部11が“NS> N o o”を検出したときに
“オン゛′から′°オオン′状態に反転して直流モータ
Mへの通電を終了する。
In the second comparison section 11, the target value N. and a pre-stop set value N that is smaller than this target value No. 0 is compared. 1st. Based on the output of the second comparator 9.11, the first . Second
The control unit 10 that controls the switching elements 1 and 2 is configured as follows. First switching element 1 [
Refer to FIG. 2(b)] is controlled by the control unit 10, and when the second comparison unit 11 detects “NS>N o o”, the state is reversed from “ON” to “°ON”. The power supply to the DC motor M is terminated.

第2のスイッチング素子2〔第2図(C)参照〕は第1
の比較部9が’Ns>No”′を検出したときに“オン
゛から“オン゛状態に反転して直流モータMに回生制動
を掛ける。
The second switching element 2 [see FIG. 2(C)]
When the comparator 9 detects 'Ns>No', it reverses from the "on" state to the "on" state and applies regenerative braking to the DC motor M.

このように構成したため、停止前設定値N。0を直流モ
ータMおよび負荷の特性に合わせて設定しておくことに
よって、第2図(d)に示すように直流モータMの慣性
回転の速度は、第1の比較部9がllN5>No+1を
検出したときには充分に減速されて速度V。になってお
り、この状態で第2のスイッチング素子2を“オン”状
態にして回生制動を直流モータMに掛けることによって
、第2図(d)に破線で示した従来の制御特性に比べて
迅速に回転速度を“ゼロ゛にすることができ、従来に比
べてオーバーライドの量を減少させてロボットハンド8
をより正確に目的地に近付けて停止させることができる
Because of this configuration, the pre-stop setting value N. By setting 0 according to the characteristics of the DC motor M and the load, the first comparator 9 calculates the inertial rotation speed of the DC motor M such that llN5>No+1 as shown in FIG. 2(d). When detected, the speed is sufficiently reduced to V. In this state, by turning on the second switching element 2 and applying regenerative braking to the DC motor M, the control characteristics are improved compared to the conventional control characteristics shown by the broken line in Fig. 2(d). The rotation speed can be quickly brought to zero, reducing the amount of override compared to conventional robot hands.
The vehicle can be brought closer to the destination and stopped more accurately.

上記の実施例の停止前設定値N。0は、絶対量で設定し
てもよいがこの場合には目的地の変更に応じてこのN。
Pre-stop setting value N in the above embodiment. 0 may be set as an absolute amount, but in this case, this N may be set according to the change of destination.

0もその都度に変更することが必要になるが、直流モー
タMおよび負荷の特性に応じた値nを前記目標値N。か
ら差し引いてN。0を計算するように構成した場合には
、目的地の変更にともなってN。を設定変更するだけで
済む。
Although it is necessary to change 0 each time, the target value N is a value n depending on the characteristics of the DC motor M and the load. Subtract N. If the configuration is configured to calculate 0, N will be calculated when the destination is changed. All you have to do is change the settings.

上記の実施例ではロボットハンド8を直流モータMで駆
動する場合を例に挙げて説明したが、原料払い出し用の
直流モータを制御する場合も同様であり、本発明のモー
タ制御装置を採用することによって、原料の払い出し量
をより正確に目標量に近付けることができる。
In the above embodiment, the case where the robot hand 8 is driven by the DC motor M was explained as an example, but the same applies to the case where the DC motor for dispensing raw materials is controlled, and the motor control device of the present invention can be adopted. As a result, the amount of raw material dispensed can be brought closer to the target amount more accurately.

発明の効果 以上のように本発明によれば、目標値と制御対象となる
直流モータの出力軸に取り付けられたパルス発生器の発
生パルス数を比較する第1の比較部を設け、前記パルス
発生器の発生パルス数と前記目標値よりも少ない値の停
止前設定値とを比較する第2の比較部を設け、この第1
.第2の比較部の出力に基づいて、制御対象となる直流
モータの電源回路に直列に介装された第1のスイッチン
グ素子を第2の比較部が一致を検出するまで″オン”状
態にし、直流モータの電源回路に並列接続された第2の
スイッチング素子を、第1の比較部が一致を検出したと
きから゛′ネオン°状態にする制御部を設けたため、第
2のスイッチング素子を″オン”状態にして回生制動を
掛ける際の直流モー9− 夕の回転速度を充分に減速しておくことができ、直流モ
ータで駆動されている負荷のオーバーライド量を低減す
ることができる。
Effects of the Invention As described above, according to the present invention, a first comparison section is provided for comparing the target value and the number of pulses generated by the pulse generator attached to the output shaft of the DC motor to be controlled, and A second comparison section is provided for comparing the number of pulses generated by the device with a pre-stop setting value that is smaller than the target value, and
.. Based on the output of the second comparison section, the first switching element connected in series with the power supply circuit of the DC motor to be controlled is turned on until the second comparison section detects a match; Since a control section is provided that turns the second switching element connected in parallel to the power supply circuit of the DC motor into the "neon" state from the time when the first comparison section detects a match, the second switching element is turned on. It is possible to sufficiently reduce the rotational speed of the DC motor when regenerative braking is applied in the "state" state, and the amount of override of the load driven by the DC motor can be reduced.

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

第1図は本発明のモータ制御装置の一実施例の構成図、
第2図は同装置の要部波形図、第3図は従来のモータ制
御装置の構成図、第4図は従来装置の要部波形図である
。 M・・・直流モータ、t・・・第1のスイッチング素子
、2・・・第2のスイッチング素子、6・・・パルス発
生器、8・・・ロボットハンド〔制御対象〕、9・・・
第1の比較部、lO・・・制御部、11・・・第2の制
御部、No・・・目標値、No。・・・停止前設定値。
FIG. 1 is a configuration diagram of an embodiment of a motor control device of the present invention;
FIG. 2 is a waveform diagram of a main part of the same device, FIG. 3 is a block diagram of a conventional motor control device, and FIG. 4 is a waveform diagram of a main part of a conventional device. M... DC motor, t... First switching element, 2... Second switching element, 6... Pulse generator, 8... Robot hand [controlled object], 9...
1st comparison section, 1O...Control section, 11...Second control section, No....Target value, No. ...Setting value before stopping.

Claims (1)

【特許請求の範囲】[Claims] 1、制御対象となる直流モータの電源回路に直列に第1
のスイッチング素子を介装し、直流モータの電源回路に
並列に第2のスイッチング素子を接続し、前記直流モー
タの出力軸にパルス発生器を取り付けて、目標値と前記
パルス発生器の発生パルス数を比較して前記第1、第2
のスイッチング素子を制御するとともに、前記目標値と
前記パルス発生器の発生パルス数を比較する第1の比較
部を設け、前記パルス発生器の発生パルス数と前記目標
値よりも少ない値の停止前設定値とを比較する第2の比
較部を設け、第2の比較部が一致を検出するまでは第1
のスイッチング素子をオン、第2のスイッチング素子を
オフ状態とし、第2の比較部が一致を検出したときから
第1の比較部が一致を検出するまでの期間にわたって第
1、第2のスイッチング素子をオフ状態とし、第1の比
較部が一致を検出したときから第1のスイッチング素子
をオフ、第2のスイッチング素子をオン状態とする制御
部とを設けたモータ制御装置。
1. The first motor is connected in series to the power supply circuit of the DC motor to be controlled.
A switching element is inserted, a second switching element is connected in parallel to the power supply circuit of the DC motor, a pulse generator is attached to the output shaft of the DC motor, and the target value and the number of pulses generated by the pulse generator are determined. Compare the first and second
A first comparison unit is provided to control the switching element of the pulse generator and to compare the target value with the number of pulses generated by the pulse generator, and the number of pulses generated by the pulse generator before stopping is smaller than the target value. A second comparison section is provided to compare the set value, and until the second comparison section detects a match, the first
The first and second switching elements are turned on and the second switching element is turned off, and the first and second switching elements are turned on during the period from when the second comparison section detects a match until the first comparison section detects a match A motor control device comprising: a control section that turns off the first switching element and turns on the second switching element when the first comparison section detects a match.
JP17611789A 1989-07-07 1989-07-07 Motor controller for automatic vending machine Pending JPH0340194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17611789A JPH0340194A (en) 1989-07-07 1989-07-07 Motor controller for automatic vending machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17611789A JPH0340194A (en) 1989-07-07 1989-07-07 Motor controller for automatic vending machine

Publications (1)

Publication Number Publication Date
JPH0340194A true JPH0340194A (en) 1991-02-20

Family

ID=16007980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17611789A Pending JPH0340194A (en) 1989-07-07 1989-07-07 Motor controller for automatic vending machine

Country Status (1)

Country Link
JP (1) JPH0340194A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6217095B1 (en) 1997-11-26 2001-04-17 Nec Corporation Hand strap for a portable apparatus
CN105871260A (en) * 2015-12-23 2016-08-17 北京婴萌科技有限公司 Accurate control apparatus for motor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6217095B1 (en) 1997-11-26 2001-04-17 Nec Corporation Hand strap for a portable apparatus
CN105871260A (en) * 2015-12-23 2016-08-17 北京婴萌科技有限公司 Accurate control apparatus for motor

Similar Documents

Publication Publication Date Title
KR910001853B1 (en) Method and apparatus for controlling torque of a door opening and closing motor for an automatic door
US3616968A (en) Auger filler and control therefor
US4772022A (en) Apparatus for stopping the reels of a slot machine
JPH0340194A (en) Motor controller for automatic vending machine
ATE142943T1 (en) CONTROL DEVICE FOR CYLINDER PHASE ADJUSTMENT OF A PRINTING MACHINE
JPH0340195A (en) Motor controller for automatic vending machine
GB1148049A (en) Method and apparatus for controlling the over-run of a rotary member
EP0125117A2 (en) Ball mill control device
JPS5948176A (en) Paper feeder for printer
US4761591A (en) RPM regulation of an electromotor
US5272425A (en) A.C. motor control
JP2770054B2 (en) Home position stop device for household sewing machine
JPH03286288A (en) Controller for automatic dispenser motor
CA2085261A1 (en) Mailing machine including printing drum control system
JP2532580B2 (en) Clothes dryer control device
JPH02100882A (en) Control method for driving motor driver
JP2550903B2 (en) Rotation system motion controller
JPS6426345A (en) Winding device for rotary electric machine
JPH01138183U (en)
JPH03228524A (en) Temporarily fastening device
JPS6115015B2 (en)
JPH02206378A (en) Rotation angle controller
JPH0421377A (en) Dynamic brake unit for synchronous motor
JPH0330800A (en) Controller of clothing-drying machine
JP2820327B2 (en) Screw type metering device