JPS5983201A - Processing system of momentary break - Google Patents

Processing system of momentary break

Info

Publication number
JPS5983201A
JPS5983201A JP19362282A JP19362282A JPS5983201A JP S5983201 A JPS5983201 A JP S5983201A JP 19362282 A JP19362282 A JP 19362282A JP 19362282 A JP19362282 A JP 19362282A JP S5983201 A JPS5983201 A JP S5983201A
Authority
JP
Japan
Prior art keywords
motor
rotation
processing
momentary power
predetermined value
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
JP19362282A
Other languages
Japanese (ja)
Inventor
Hiroo Yamamoto
博生 山本
Eiji Hongo
本合 栄二
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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP19362282A priority Critical patent/JPS5983201A/en
Publication of JPS5983201A publication Critical patent/JPS5983201A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To restart and continue a processing immediately in case of a short- time momentary power break by outputting a reset interruption signal to a program control processing device when the rotating speed of a motor reaches a prescribed value or smaller. CONSTITUTION:In case of a momentary power break, a motor 2 continues the rotation for a time because of inertia. The rotating speed of this motor 2 is detected by a rotation detecting circuit 3. Only when the rotating speed of the motor 2 reaches a prescribed value or smaller, the reset interruption signal is outputted from a reset circuit 6 to a microcomputer 7. Thus, the processing is restarted and continued immediately in case of the short-time momentary power break.

Description

【発明の詳細な説明】 (a)発明の技術分野 本発明はマイクロコンピュータ(以下MPtB:略称す
る)を内蔵した信号処理装置にお番ノる瞬断処理方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to an instantaneous interruption processing method for a signal processing device incorporating a microcomputer (hereinafter referred to as MPtB).

(b)技術の背景 近時、MPUを内蔵した各種装置が事務所あるいは店頭
において用いられるようになりつつあるが、これらの使
用場所においては電源事情が必ずしも安定しておらず、
また装置側に十分な保安用の電源対策が設けられている
場合は少ない。
(b) Background of the technology Recently, various devices with built-in MPUs have come to be used in offices and stores, but the power supply situation is not always stable in these places where they are used.
Furthermore, there are few cases in which sufficient power supply measures for security are provided on the equipment side.

(c)従来技術と問題点 従来、上記のような装置において電源が瞬断した場合に
は、電源投入時と同様プログラム上においてリセット割
込が行われ、それまでの入力デーゾはエラーとして扱わ
れ、処理再開時にはあらためて初期プログラムロード(
IPL )や装置の保守診断(RAS )チェック等が
行われていた。
(c) Conventional technology and problems Conventionally, in the case of a momentary power outage in the above-mentioned device, a reset interrupt is generated in the program in the same way as when the power is turned on, and the input data up to that point is treated as an error. , When restarting processing, load the initial program again (
IPL) and equipment maintenance diagnosis (RAS) checks were being conducted.

このために、続けて処理ができるようになるまでに長時
間待たなければならない欠点があった。
For this reason, there is a drawback that it is necessary to wait for a long time before processing can be continued.

(d)発明の目的 本発明は、電源明断時にはこれを検出し、迅速に処理を
続行可能とする瞬断処理方式を提供することを目的とす
る。
(d) Purpose of the Invention An object of the present invention is to provide an instantaneous power failure processing method that detects when the power is cut off and allows processing to be continued quickly.

1(e)発明の構成 本発明は、モーターによる回転駆動機構を内蔵するプロ
グラム制御処理装置において、電源の瞬断が生じた場合
にモーターの回転を検出し、その回転速度が所定値以下
に達した時に始めてプロクラム制御処理装置に対してリ
セット割込信号を出し、アラーム処理を行わせることを
特徴とする。
1(e) Structure of the Invention The present invention is a program control processing device that incorporates a rotational drive mechanism using a motor, in which the rotation of the motor is detected when a momentary power interruption occurs, and the rotation speed reaches a predetermined value or less. The present invention is characterized in that a reset interrupt signal is issued to the program control processing device for the first time when the alarm processing is performed.

(f)発明の実施例 以下本発明の実施例を図面を参照して説明する。(f) Examples of the invention Embodiments of the present invention will be described below with reference to the drawings.

例えばPOSターミナルにおいては、商品に貼(=Jさ
れているバーコードラベルを読取るために、最近、ホロ
グラムを利用したスキャナーが多く用いられるようにな
っており、このスキャナーを回転させるためのモーター
が内蔵されている。
For example, in POS terminals, scanners that use holograms have recently been increasingly used to read barcode labels attached to products, and these scanners have a built-in motor to rotate them. has been done.

このような装置において、電源に瞬断が生した場合、モ
ーターは即時停止することなく、慣性によって暫くの間
は回転を続けている。
In such a device, when a momentary power failure occurs in the power supply, the motor does not stop immediately but continues to rotate for a while due to inertia.

したがって、この間におけるモーターの回転を検出して
おき、その回転速度が所定値以」二である時にはホール
ド信号を出力し、所定値以下となった場合にのみリセッ
ト割込信号を出力するようにすれば、瞬断時間の短い時
には直ちに処理を再開・続行させることができる。
Therefore, it is recommended to detect the rotation of the motor during this period, output a hold signal when the rotation speed is less than a predetermined value, and output a reset interrupt signal only when the rotation speed is less than a predetermined value. For example, when the instantaneous interruption time is short, processing can be restarted and continued immediately.

一方、電源を切断した後に再投入した場合には、リセッ
ト割込信号にもとづきワークエリアの初期設定およびP
OSレジスターとのインターフェースの初期化等が行わ
れる。
On the other hand, if the power is turned off and then turned on again, the initial settings of the work area and P
Initialization of the interface with the OS register, etc. is performed.

第1図は電源投入時におけるモーターの回転速度(イ)
、回転検出パルス(ロ)、IRQ信号(ハ)、リセット
割込信号(ニ)の関係を示すタイミングチャートである
Figure 1 shows the motor rotation speed (a) when the power is turned on.
, a rotation detection pulse (b), an IRQ signal (c), and a reset interrupt signal (d).

電源投入時においてモーターの回転速度が所定値レベル
Rに達するまでは、回転検出パルスの周期(1)は所定
値よりも長く、その結果、回転界雷割込信号(IRQ信
号)が出力される。
Until the rotation speed of the motor reaches a predetermined value level R when the power is turned on, the period (1) of the rotation detection pulse is longer than the predetermined value, and as a result, a rotation field lightning interrupt signal (IRQ signal) is output. .

ここで、一定期間(1゛)がタイマーで設定されており
、この期間内においてモーターが所定回転速度に達し、
前記tが所定値に達すれば圧密として以後の処理が行わ
れ、一方、前記期間内に所定値に達しない場合には、前
記IRQ信号によりアラーム状態とする。
Here, a certain period (1゛) is set by a timer, and within this period, the motor reaches a specified rotation speed.
If the t reaches a predetermined value, subsequent processing is performed as consolidation, while if it does not reach the predetermined value within the period, an alarm state is set by the IRQ signal.

第2図は電源瞬断時におけるモーターの回転速度(イ)
、回転検出パルス(ロ)、瞬断検出パルス(すなわち、
リセット割込信号(ボ))の関係を示すタイミングチャ
ートである。
Figure 2 shows the motor rotation speed (a) during a momentary power interruption.
, rotation detection pulse (b), instantaneous interruption detection pulse (i.e.
3 is a timing chart showing the relationship between reset interrupt signals (BO);

同図において、モーターの回転速度が所定値レベルRに
低下するまでは、回転検出パルスの周期tは所定値(例
えば12n8)以下であり、瞬断検出パルス(ホ)が出
力されても、処理は継続して再開される。
In the same figure, until the rotational speed of the motor falls to a predetermined value level R, the period t of the rotation detection pulse is less than a predetermined value (for example, 12n8), and even if the momentary interruption detection pulse (e) is output, the processing will continue to be resumed.

もし前記tが所定値以上になったことが検出された場合
は、前記瞬断検出パルス(ホ)によってIRQ信号が出
力され、電源投入時と同様にしてエリアの初期設定、P
OSレジスターとのインターフェースの初期化およびR
ASチェック等が行われる。
If it is detected that the above-mentioned t has become a predetermined value or more, an IRQ signal is output by the instantaneous interruption detection pulse (e), and the initial setting of the area and P
Initialization of interface with OS registers and R
AS check etc. are performed.

第3図は本発明に係る瞬断処理方式を実施するための機
能ブロック図であり、1はモーター駆動回路、2はモー
ター、3はモーターの回転数をチェックするための回転
検出回路で、モーター3の回転に同期して回転検出パル
スの周期(1)を基準値(τ)と比較し、t≦τならば
ホールド信号を、またt〉τならばIRQ信号を出力す
る。
FIG. 3 is a functional block diagram for implementing the instantaneous power failure processing method according to the present invention, in which 1 is a motor drive circuit, 2 is a motor, 3 is a rotation detection circuit for checking the rotation speed of the motor, and 3 is a rotation detection circuit for checking the rotation speed of the motor. The period (1) of the rotation detection pulse is compared with a reference value (τ) in synchronization with the rotation of No. 3, and if t≦τ, a hold signal is output, and if t>τ, an IRQ signal is output.

また、4は電源電圧をチェックし該電圧が所定値以下に
達した時にパルスを出力するための瞬断検出回路、5は
電源、6は前記瞬断検出回路4からの信号パルスあるい
は電源5の投入を検出してリセット割込信号を出力する
リセ・ノド回路、7はMP[Iであって、前記回転検出
回路3からのホールド信号もしくはIRQ信号、および
リセント回路6からのリセット割込信号が入力した場合
に、これらの組合せから電源の瞬断かあるいは電源投入
かを判断し、上記のようにして処理再開条件を決める。
Further, 4 is an instantaneous power failure detection circuit for checking the power supply voltage and outputting a pulse when the voltage reaches a predetermined value or less, 5 is a power supply, and 6 is a signal pulse from the instantaneous power failure detection circuit 4 or the power supply 5. A recess/node circuit 7 detects the input and outputs a reset interrupt signal, and 7 is an MP[I, which receives the hold signal or IRQ signal from the rotation detection circuit 3 and the reset interrupt signal from the resent circuit 6. When input, it is determined from these combinations whether the power is momentarily cut off or turned on, and the conditions for restarting the process are determined as described above.

(g)発明の効果 本発明によれば、短時間の電源瞬断の場合には処理を継
続して再開することができ、処理能率の低下を防止でき
る効果がある。また、本発明の実施は比較的簡単な回路
を追加するのみで可能であり、従来の瞬断検出方式に比
べ低コストを可能とする効果がある。
(g) Effects of the Invention According to the present invention, in the event of a short power interruption, processing can be continued and restarted, and a reduction in processing efficiency can be prevented. Furthermore, the present invention can be implemented by simply adding a relatively simple circuit, and has the effect of enabling lower costs than conventional instantaneous power failure detection methods.

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

第1図および第2図は本発明に係る瞬断処理方式におけ
る信号のタイミングチャート、第3図はその機能ブロッ
ク図である。 図において、1はモーター駆動回路、2はモーター、3
は回転検出回路、4は瞬断検出回路、5は電源、6はリ
セット回路、7はMPUである。 オフa 才2図
1 and 2 are timing charts of signals in the instantaneous interruption processing method according to the present invention, and FIG. 3 is a functional block diagram thereof. In the figure, 1 is a motor drive circuit, 2 is a motor, and 3
4 is a rotation detection circuit, 4 is a momentary interruption detection circuit, 5 is a power supply, 6 is a reset circuit, and 7 is an MPU. off a year old 2 figure

Claims (1)

【特許請求の範囲】[Claims] モーターによる回転駆動機構を内蔵するプログラム制御
処理装置において、電源の瞬断が生じた場合にモーター
の回転を検出し、その回転速度が所定値以下に達した時
に始めてプログラム制御処理装置に対しりセント割込信
号を出し、アラーム処理を行わせることを特徴とする瞬
断処理方式。
In a program control processing device that has a built-in rotation drive mechanism using a motor, the rotation of the motor is detected when a momentary power interruption occurs, and only when the rotation speed reaches a predetermined value or less does the program control processing device An instantaneous interruption processing method characterized by issuing an interrupt signal and performing alarm processing.
JP19362282A 1982-11-04 1982-11-04 Processing system of momentary break Pending JPS5983201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19362282A JPS5983201A (en) 1982-11-04 1982-11-04 Processing system of momentary break

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19362282A JPS5983201A (en) 1982-11-04 1982-11-04 Processing system of momentary break

Publications (1)

Publication Number Publication Date
JPS5983201A true JPS5983201A (en) 1984-05-14

Family

ID=16310997

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19362282A Pending JPS5983201A (en) 1982-11-04 1982-11-04 Processing system of momentary break

Country Status (1)

Country Link
JP (1) JPS5983201A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993004415A1 (en) * 1991-08-27 1993-03-04 Fanuc Ltd Method for dealing with instantaneous voltage drop of power supply in cnc equipment, and apparatus therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1993004415A1 (en) * 1991-08-27 1993-03-04 Fanuc Ltd Method for dealing with instantaneous voltage drop of power supply in cnc equipment, and apparatus therefor

Similar Documents

Publication Publication Date Title
US4072852A (en) Digital computer monitoring and restart circuit
GB2290891B (en) Multiprocessor system
US4162526A (en) Failsafe primary power control apparatus for systems using computer controlled power sequencing
JPS5983201A (en) Processing system of momentary break
JP2967219B2 (en) External power supply for digital computer
KR910010317A (en) A reset control system and method for performing a resume processing while checking the operation mode of the CPU
JPH064301A (en) Time division interruption control system
JPH01237852A (en) Abnormality monitoring timer controller
JPS5525119A (en) Microprogram controller
JPH0814779B2 (en) Initialization method for arithmetic and control unit
SU1693609A1 (en) Device for program execution time check
JPH0652017A (en) Program runaway detecting system
JPH01245322A (en) Power failure control circuit for microprocessor
JPH0683654A (en) Cpu runaway preventing circuit
JP2592525B2 (en) Error detection circuit of common bus system
JPS5587251A (en) Error recovery system of logic unit
JPH02112038A (en) Reset signal generation circuit
JPS62239245A (en) Out-of-control program detection system
JPH03140870A (en) Abnormal speed detector
JPH05100760A (en) Power supply control system
JPS6295646A (en) Microprogram controller with run monitoring function
JPS61131135A (en) Runway detector of microprocessor
JPH02211550A (en) Information processing system
JPS58140827A (en) Input/output controller
JPS6295647A (en) Microprogram controller with run monitoring device