JPH0241280A - Power source voltage detecting system for printer - Google Patents

Power source voltage detecting system for printer

Info

Publication number
JPH0241280A
JPH0241280A JP63193137A JP19313788A JPH0241280A JP H0241280 A JPH0241280 A JP H0241280A JP 63193137 A JP63193137 A JP 63193137A JP 19313788 A JP19313788 A JP 19313788A JP H0241280 A JPH0241280 A JP H0241280A
Authority
JP
Japan
Prior art keywords
voltage
power source
power supply
converter
controller
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
JP63193137A
Other languages
Japanese (ja)
Inventor
Masayuki Yamaguchi
山口 昌幸
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63193137A priority Critical patent/JPH0241280A/en
Publication of JPH0241280A publication Critical patent/JPH0241280A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To detect a power source voltage without influence of the irregularity of a voltage dividing resistor by comparing a measured voltage value read through an A/D converter at the time of monitoring a voltage with a boundary voltage value obtained by multiplying a measured voltage value read at the time of power source ON by a predetermined ratio, and controlling it. CONSTITUTION:A controller 1 identifies a control command from a host system at the time of delivery, and a measured value D0 obtained from the voltage E0 of a power source 7 in this case by an A/D converter 5 through a voltage divider 6 is stored in a nonvolatile memory 2. Then, the controller 1 transmits information to a printer controller 3 if the measured value of the voltage E1 of the power source 7 obtained through the divider 6 and the converter 5 becomes D1 (the value obtained by a formula (1)) or less during a printing operation. The controller 3 controls a printing head driving circuit 4 to divide the following printing operation into twice, and recovers the voltage of the power source 7.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プリンタの電源電圧検出方式に間し、特に電
源電圧に応じて印字動作を制御して電源の負荷を軽減さ
せるための電源電圧の検出方式〔従来の技術〕 従来、この種のプリンタの電源電圧検出方式は電源電圧
を分圧し、さらにA/Dコンバータを介して読み取った
値をそのまま利用して制御を行っていた。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a power supply voltage detection method for printers, and particularly relates to a power supply voltage detection method for controlling printing operations according to the power supply voltage to reduce the load on the power supply. Detection Method [Prior Art] Conventionally, the power supply voltage detection method for this type of printer divides the power supply voltage and performs control by directly utilizing the value read through an A/D converter.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプリンタの電源電圧検出方式は、分圧抵
抗のばらつきに対する補正が考慮されていないので分圧
抵抗に精度の高いものを使用しなければ精度の高い検出
が行えないという欠点がある。
The conventional printer power supply voltage detection method described above does not take into account correction for variations in voltage dividing resistors, and therefore has the disadvantage that highly accurate detection cannot be performed unless highly accurate voltage dividing resistors are used.

〔課題を解決するための手段〕[Means to solve the problem]

本発明は、 電源電圧を監視し、電源電圧が低下した場
合には電源への負荷を軽減させるよう印字動作を制御プ
リンタの電源電圧検出方式において、電源投入時に電源
電圧をA/Dコンバータを介して読み取った測定値にあ
る割合を掛けた値を境界電圧とし、電圧監視時には前記
A/Dコンパ−タを介して読み取った測定値と前記境界
電圧とを比較しながら制御することを特徴とする。
The present invention monitors the power supply voltage and controls the printing operation to reduce the load on the power supply when the power supply voltage drops.In the power supply voltage detection method of a printer, the power supply voltage is adjusted via an A/D converter when the power is turned on. The boundary voltage is defined as a value obtained by multiplying the measured value read by the A/D converter by a certain ratio, and the control is performed while comparing the measured value read through the A/D converter and the boundary voltage during voltage monitoring. .

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

出荷時に制御部1は作業者のスイッチ操作あるいは上位
装置からの制御コマンドを識別し、その時の電源7の電
圧Eoが分圧回路6を介しA/Dコンバータ5により得
られる測定値Doを不揮発性メモリ2に記憶する。次に
印字動作中、制御部1は分圧回路6およびA/Dコンバ
ータ5を通して得られる電源7の電圧の測定値がDl 
(後述の式(3)で得られる値)以下になった場合には
その情報を印字制御部3に伝達し、印字制御部3は印字
ヘッド駆動回路4に対し、それ以降の印字動作を2度に
分ける制御を行い電源7の電圧の回復をはかる。
At the time of shipment, the control unit 1 identifies a switch operation by a worker or a control command from a host device, and converts the voltage Eo of the power supply 7 at that time into a nonvolatile value Do obtained by the A/D converter 5 via the voltage divider circuit 6. Store in memory 2. Next, during the printing operation, the control unit 1 determines that the measured value of the voltage of the power supply 7 obtained through the voltage dividing circuit 6 and the A/D converter 5 is Dl.
(value obtained from equation (3) described later) or less, the information is transmitted to the print control unit 3, and the print control unit 3 instructs the print head drive circuit 4 to control the subsequent printing operation. The voltage of the power source 7 is restored by controlling the power source 7 at different times.

ここで電源7の出荷時の基準電圧Eo、印字動作中の電
圧E1+電源7の電圧の出荷時の測定値DO+印字動作
時の測定値D1の間には次の関係が成り立つ。
Here, the following relationship holds between the reference voltage Eo of the power supply 7 at the time of shipment, the voltage E1 during the printing operation, the measured value DO of the voltage of the power supply 7 at the time of shipment, and the measured value D1 during the printing operation.

Do =KEo −−(1) Dl=KE、・・・・・・(2) 上式でKは分圧比等を含んだ定数である。式(1)1式
(2)よりKを消去すると次式が得られる。
Do = KEo -- (1) Dl = KE, (2) In the above equation, K is a constant including the partial pressure ratio, etc. By eliminating K from equation (1) and equation (2), the following equation is obtained.

つまり、本例で印字動作を2度に分ける制御を行う境界
電圧の測定値D1は出荷時に記憶される測定値DOおよ
びEt、Eoによって決定され、分圧回路6に含まれる
分圧抵抗のばらつきの影響を受けない。
That is, in this example, the measured value D1 of the boundary voltage that controls the printing operation to be divided into two steps is determined by the measured values DO, Et, and Eo stored at the time of shipment, and is determined by the variation in the voltage dividing resistor included in the voltage dividing circuit 6. Not affected by

すなわち、本実施例では出荷時に基準電圧E。That is, in this embodiment, the reference voltage E is set at the time of shipment.

を装置毎に記憶させ、印字中に電源7の電圧が基準電圧
E。のある割合の電圧である電圧E1以下になった場合
には、それ以降の印字動作を2度に分けて行い、電源の
回復を待つような制御を正確に行うことができる。
is memorized for each device, and the voltage of the power supply 7 is the reference voltage E during printing. When the voltage falls below a certain percentage of the voltage E1, it is possible to accurately perform control such as performing subsequent printing operations in two steps and waiting for the power supply to recover.

次に、本発明の他の実施例を説明する。プリンタの構成
は第1図のブロック図に示すものと同一である。
Next, another embodiment of the present invention will be described. The configuration of the printer is the same as that shown in the block diagram of FIG.

まず、電源投入時に制御部1は無負荷状態の電源7の電
圧をA/Dコンバータ5を介して読み取り、読み出した
測定値にある割合を掛けた値を境界電圧としてメモリ2
に書込む。次に印字動作が始まると、制御部1は電源7
の電圧をA/Dコンバータ5を介して監視し、その測定
値がメモリ2に書込まれた境界電圧を下回った場合は印
字制御部3に情報を伝達し、印字制御部3は印字ヘッド
駆動回路4に対して例えばそれ以降の印字動作を分けて
行うなどの制御をして電源7の電圧の回復をはかる。
First, when the power is turned on, the control unit 1 reads the voltage of the power supply 7 in the no-load state via the A/D converter 5, and sets the value obtained by multiplying the read measured value by a certain ratio as the boundary voltage to the memory 2.
write to. Next, when the printing operation starts, the control unit 1
monitors the voltage through the A/D converter 5, and if the measured value is lower than the boundary voltage written in the memory 2, the information is transmitted to the print control unit 3, and the print control unit 3 starts driving the print head. The voltage of the power source 7 is restored by controlling the circuit 4, for example, by performing subsequent printing operations separately.

本実施例において、無負荷状態の電源7の電圧をE、、
A/Dコンバータ5による測定値が無負荷状態から10
%低下した境界電圧に対するで電源7の電圧をElとす
ると E+ =0.9E。
In this embodiment, the voltage of the power supply 7 in the no-load state is E,
The measured value by the A/D converter 5 is 10% from the no-load state.
If the voltage of power supply 7 is El for the boundary voltage that has decreased by %, then E+ = 0.9E.

となり、電圧E!は分圧回路の分圧比に影響されない。So, the voltage E! is not affected by the voltage division ratio of the voltage divider circuit.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、ある定電圧をかけた時に
A/Dコンバータを通して得られる測定値にある割合を
掛けた値を境界電圧とし、A/Dコンバータから出力さ
れる測定値と境界電圧とを比較することによって分圧抵
抗のばらつきの影響のない電源電圧検出を行なえる効果
がある。
As explained above, in the present invention, the value obtained by multiplying the measured value obtained through the A/D converter by a certain ratio when a certain constant voltage is applied is set as the boundary voltage, and the measured value output from the A/D converter and the boundary voltage This has the effect of making it possible to detect the power supply voltage without being affected by variations in the voltage dividing resistors.

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

第1図は本発明の一実施例のブロック図である。 1・・・・・・制御部、2・・・・・・不揮発性メモリ
、3・・・・・・印字制御部、4・・・・・・印字ヘッ
ド駆動回路、5・・・・・・A/Dコンバータ、6・・
・・・・分圧回路。
FIG. 1 is a block diagram of one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Control unit, 2... Non-volatile memory, 3... Print control unit, 4... Print head drive circuit, 5...・A/D converter, 6...
...Voltage dividing circuit.

Claims (1)

【特許請求の範囲】[Claims]  電源電圧を監視し、電源電圧が低下した場合には電源
への負荷を軽減させるよう印字動作を制御プリンタの電
源電圧検出方式において、電源投入時に電源電圧をA/
Dコンバータを介して読み取った測定値にある割合を掛
けた値を境界電圧とし、電圧監視時には前記A/Dコン
バータを介して読み取った測定値と前記境界電圧とを比
較しながら制御することを特徴とするプリンタの電源電
圧検出方式。
The power supply voltage is monitored and when the power supply voltage drops, the printing operation is controlled to reduce the load on the power supply.In the power supply voltage detection method of printers, the power supply voltage is changed to A/A when the power is turned on.
A value obtained by multiplying the measured value read through the D converter by a certain ratio is set as the boundary voltage, and control is performed while comparing the measured value read through the A/D converter and the boundary voltage during voltage monitoring. Power supply voltage detection method for printers.
JP63193137A 1988-08-01 1988-08-01 Power source voltage detecting system for printer Pending JPH0241280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63193137A JPH0241280A (en) 1988-08-01 1988-08-01 Power source voltage detecting system for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63193137A JPH0241280A (en) 1988-08-01 1988-08-01 Power source voltage detecting system for printer

Publications (1)

Publication Number Publication Date
JPH0241280A true JPH0241280A (en) 1990-02-09

Family

ID=16302894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63193137A Pending JPH0241280A (en) 1988-08-01 1988-08-01 Power source voltage detecting system for printer

Country Status (1)

Country Link
JP (1) JPH0241280A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7443704B2 (en) 2005-07-15 2008-10-28 Oh Chul-Woo AC high voltage detecting device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7443704B2 (en) 2005-07-15 2008-10-28 Oh Chul-Woo AC high voltage detecting device

Similar Documents

Publication Publication Date Title
JPH07102722B2 (en) Print head / motor control system
JPH0241280A (en) Power source voltage detecting system for printer
JPS639563A (en) Control of line-feeding pulse motor in printer
JPS62100196A (en) Drive circuit for stepping motor
JPS6023091A (en) Printer
JPH0118871B2 (en)
JP3319632B2 (en) Printer
JP3371968B2 (en) Printer and printer control method
JP2726085B2 (en) Printer overload printing control method
JPH06115139A (en) Method of controlling thermal printer
JPH04257480A (en) Thermal printer
JPH02301469A (en) Carriage driving control method of serial printer
JPH09295083A (en) Positional control device of roll feeder with mark on plate
JPS6325081A (en) Recording device
JPS60156126A (en) Data output device
JPH0330955A (en) Control apparatus of dot matrix printer
JPS6125857A (en) Overload detecting printing method in dot printer
JPS6274664A (en) Print starting position regulator for printer
SU1583919A1 (en) Device for programmed control of welding machine
JPH0292556A (en) Thermal head driving system
JPS62222858A (en) Apparatus for setting voltage of thermal head
JPS61154871A (en) Controlling system for hand-type printer
JPS58199178A (en) Method for controlling printing density
JPS6087063A (en) Control device of dot printer
JPH07177779A (en) Rotating speed controller of motor