JPS62225163A - Electronic power unit - Google Patents

Electronic power unit

Info

Publication number
JPS62225163A
JPS62225163A JP61064908A JP6490886A JPS62225163A JP S62225163 A JPS62225163 A JP S62225163A JP 61064908 A JP61064908 A JP 61064908A JP 6490886 A JP6490886 A JP 6490886A JP S62225163 A JPS62225163 A JP S62225163A
Authority
JP
Japan
Prior art keywords
timer
circuit
time
pulse signal
control
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
JP61064908A
Other languages
Japanese (ja)
Inventor
Kazutoshi Shimada
島田 和俊
Toshihiko Akeboshi
俊彦 明星
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP61064908A priority Critical patent/JPS62225163A/en
Publication of JPS62225163A publication Critical patent/JPS62225163A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Voltage And Current In General (AREA)
  • Dc-Dc Converters (AREA)
  • Inverter Devices (AREA)

Abstract

PURPOSE:To control instantaneous voltage of power in program, by a method wherein current control having period and ON-time corresponding to load variation is performed based on data from ROM. CONSTITUTION:A pulse signal generator 13 outputs pulse signal l3a having ON-time and period of value inputted in form of data from a ROM 10. A DC chopper circuit 14 performs power control based on the pulse signal l3a, and even if there is load variation current control (instantaneous voltage control) having period and ON-time corresponding to the load variation is performed, and the control is performed so that the output voltage becomes constant. DC output voltage is supplied to an error voltage detector 16, and the error voltage is supplied through an A/D converter 15 to a control circuit 11.

Description

【発明の詳細な説明】 [a業上の利用分野] 本発明は例えば複写機の帯電器等に用いられる電源装置
、特に例えばマイクロコンピュータ等を用いてデジタル
電力制御を行う電源装置に関するものである。
[Detailed Description of the Invention] [Field of Application in Industry A] The present invention relates to a power supply device used, for example, in a charger of a copying machine, and particularly to a power supply device that performs digital power control using, for example, a microcomputer. .

[従来の技術] 従来のマイクロコンピュータ等の論理制御回路で制御さ
れるパルス発生回路は、周波数固定でパルス幅のみを変
えるものが多い。しかも、このようなパルス発、生回路
でのマイクロコンピュータの役割は、外部アナログ回路
に基準値(時定数)を設定する為のD/A変換の目的の
みの場合が多い。しかし、マイクロコンピュータが高機
能、高速化してくると、マイクロコンピュータによって
アナログ回路自身を制御する事により、部品の削減や設
定値の柔軟性を要求するようになり、その結果、デユー
ティ比のみでなく周期可変のパルスも必要となる場合が
ある。
[Prior Art] Conventional pulse generation circuits controlled by logic control circuits such as microcomputers often have a fixed frequency and change only the pulse width. Moreover, the role of the microcomputer in such pulse generation and generation circuits is often only for the purpose of D/A conversion for setting reference values (time constants) in external analog circuits. However, as microcomputers become more sophisticated and faster, it becomes necessary to reduce the number of components and set values by controlling the analog circuits themselves.As a result, not only the duty ratio but also the Pulses of variable period may also be required.

即ち、例えばチョッパ回路等を用いた電源装置等の場合
のように、トランスなどの誘導性負荷に電力供給する必
要に迫られ、その結果パルス幅(デユーティ比)のみな
らず周波数も共に変化させなくてはならなくなる。所謂
、瞬時値制御である。更にこのような電源部分の緻密な
制御というa!題と共に以下のような課題も生まれてき
た。例えば複写機の帯電器等に用いられている高電圧発
生装置は、単独に動作する独立ユニットとしてアナログ
回路で構成されているが、従来はこの高電圧発生装置の
電源投入、電源断の動作のみをマイクロコンピュータが
シーケンス制御していた。しかし、複写機の機能向上や
卓上型複写機等に見られる所謂“軽薄短小化”の要請で
、従来分離しそいた制御機能を中央にまとめ、制御対象
の制御値を柔軟に変えることや、余分な部品を削除し、
実装密度の向上が望まれるために、そのような複写機の
電源装置の電力制御もマイクロコンピュータを使う事が
望まれてきた。
That is, for example, in the case of a power supply device using a chopper circuit, etc., it is necessary to supply power to an inductive load such as a transformer, and as a result, not only the pulse width (duty ratio) but also the frequency do not change. It will no longer be possible. This is so-called instantaneous value control. Furthermore, the a! Along with this issue, the following issues have also arisen: For example, high-voltage generators used in copying machine chargers, etc. are constructed of analog circuits as independent units that operate independently, but in the past, only the power-on and power-off operations of this high-voltage generator were performed. A microcomputer controlled the sequence. However, due to the demands for improved functionality of copying machines and the so-called "lighter, thinner, and smaller size" seen in desk-top copying machines, etc., control functions that had been difficult to separate in the past have been brought together in a central location, making it possible to flexibly change the control values of control objects and Delete the parts that are
Since it is desired to improve the packaging density, it has been desired to use a microcomputer to control the power of the power supply device of such a copying machine.

[発明が解決しようとする問題点] 本発明は上記要請に答え、電力制御をプログラム的に瞬
時値制御を行う電源装置を提供するものである。
[Problems to be Solved by the Invention] In response to the above-mentioned demands, the present invention provides a power supply device that performs programmatic instantaneous value control of power control.

[問題点を解決するための手段] 上記課題を達成するために例えば第1図に示す実施例の
電源装置は、例えば直流チョッピングする直流チョッパ
回路14と、この直流チョッパ回路14を例えばパルス
幅変調にて制御するためのパルス13号13aを発生ず
るパルス信号発生回路13と、負荷変動を検知するため
の誤差電圧検出回路16.A/D変換器15と、この負
荷変動に応じて設定されるべぎパルス信号13aに対応
するデータを予め記憶しているROMl0と、検知され
た負荷変動に応じてROMl0から読出したデータをパ
ルス信号発生回路13に入力する制御回路11とを有す
る。
[Means for Solving the Problems] In order to achieve the above-mentioned problems, the power supply device of the embodiment shown in FIG. A pulse signal generation circuit 13 generates a pulse number 13a for control, and an error voltage detection circuit 16 for detecting load fluctuations. The A/D converter 15, the ROM10 which stores in advance data corresponding to the pulse signal 13a set in accordance with this load fluctuation, and the pulse pulse of the data read from the ROM10 in accordance with the detected load fluctuation. It has a control circuit 11 that inputs to the signal generation circuit 13.

[作用] 上記構成において、パルス信号発生回路13は例えば第
3図(a)のような構成をしており、ROM10からデ
ータの形で入力される値のON時間と周期をもつパルス
信号13aを出力する。このパルス信号13aにより直
流チョッパ回路14は電力制御を行い、負荷変動があっ
ても、その負荷変動に応じた周期、ON時間をもつ電流
制御(瞬時値制御)を行い、出力電圧一定になるように
制御する。このように、単なる周期一定、ON時間可変
のパルス幅変調(PWM)更にON時間一定1周期可変
のパルス周期変調(PFM)と異なり負荷変動に応じた
瞬時値制御が可能となり、特に誘導性負荷の変動に対し
て効果的である。
[Function] In the above configuration, the pulse signal generation circuit 13 has a configuration as shown in FIG. Output. The DC chopper circuit 14 performs power control based on this pulse signal 13a, and even if there is a load fluctuation, current control (instantaneous value control) is performed with a period and ON time according to the load fluctuation, so that the output voltage is constant. to control. In this way, unlike pulse width modulation (PWM) with a constant period and variable ON time, and pulse period modulation (PFM) with a constant ON time and variable 1 period, instantaneous value control according to load fluctuations is possible, especially for inductive loads. effective against fluctuations in

[実施例] 以下添付図面を参照しつつ本発明に係る実施例を更に詳
細に説明する。第2図にパルス発生回路の基本構成図を
、第3図(a)、(b)に具体的なパルス発生回路の回
路図を、第4図(a)、(b)にそのタイミングチャー
トを示し、第51図以降に前記パルス発生装置を一部に
用いた電源装置を示す。
[Examples] Examples according to the present invention will be described in more detail below with reference to the accompanying drawings. Figure 2 shows the basic configuration of the pulse generation circuit, Figure 3 (a) and (b) show the specific circuit diagram of the pulse generation circuit, and Figure 4 (a) and (b) show the timing chart. 51 and subsequent figures show a power supply device using the pulse generator as a part.

くパルス信号発生回路〉 第2図はパルス発生装置の基本概念図である。Pulse signal generation circuit FIG. 2 is a basic conceptual diagram of the pulse generator.

21はいわゆるマイクロコンピュータ(MPU)であり
、パルス信号発生回路24で発生されるパルスの周期、
デユーティ比、ON時間、OFF時間(これらを時間デ
ータと以下総称する)等を決定するデータを、それらが
格納されているROM20から読出してラッチ22.2
3にラッチさせるものである。ラッチ22.23の目的
は、パルス信号発生回路24に用いられているタイマが
パラレルロード型のバイナリカウンタを用いられている
ために、そのカウンタの再トリガ一時にラッチ22.2
3から時間データをもってこられるようにしてMPU2
1が時間データをいちいちROM20から読出す必要が
ないようにしている。
21 is a so-called microcomputer (MPU), and the period of the pulse generated by the pulse signal generation circuit 24;
Data that determines the duty ratio, ON time, OFF time (hereinafter collectively referred to as time data), etc. are read out from the ROM 20 in which they are stored and latched into the latch 22.2.
3 is latched. The purpose of the latches 22.23 is that since the timer used in the pulse signal generation circuit 24 uses a parallel load type binary counter, the latches 22.23 are used when the counter is retriggered.
3 so that time data can be brought from MPU2
1 eliminates the need to read time data from the ROM 20 one by one.

第3図(a)は、ラッチ22.23に格納される時間デ
ータとして周期とON時間を設定する方式のパルス信号
発生回路24の例である。第3図(a)のパルス信号発
生回路のタイミングチャートを第4図(a)に示す。3
0.31はパラレルロード型の8ビツト(=258)パ
イナリカクンタで、30は周期を設定するため、31は
ON時間を設定するためのものである。CLKoは4M
Hz、CLK、は8MHzのクロックである。CLKo
を4MH2にしているのは、周期は常にON時間よりも
長いものであるから低周波数にする事により、ROM2
0に格納されるデータ量が少なくても周期を広範囲にと
れるようにするためである。プリセット用のデータ入力
部はラッチ22.23に接続されていて、各カウンタに
ロード信号(LOAD/)が入力されるごとにラッチ2
2.23の値がカウンタ30,31に再セットされ、従
って、各カウンタは再トリガ−タイプとなっている。E
Pはカウンタの付勢端子であり、”1”が入力されたと
きのみカウント可能になる。
FIG. 3(a) shows an example of a pulse signal generating circuit 24 in which the cycle and ON time are set as time data stored in the latches 22 and 23. A timing chart of the pulse signal generation circuit of FIG. 3(a) is shown in FIG. 4(a). 3
0.31 is a parallel load type 8-bit (=258) pinarikunta, 30 is for setting the cycle, and 31 is for setting the ON time. CLKo is 4M
Hz, CLK is an 8 MHz clock. CLKo
The reason why the ROM2 is set to 4MH2 is that the period is always longer than the ON time, so by setting the frequency to a low one, the ROM2
This is to allow a wide range of cycles even if the amount of data stored in 0 is small. The preset data input section is connected to latches 22 and 23, and each time a load signal (LOAD/) is input to each counter, the latch 2
The value of 2.23 is reset in the counters 30, 31 so that each counter is of the retrigger type. E
P is an energizing terminal of the counter, and it becomes possible to count only when "1" is input.

従って、カウンタ30は常時カウント可能であり、カウ
ンタ31はJKフリップフロップ32がセットしている
ときのみカウント可能になる。
Therefore, the counter 30 can count at all times, and the counter 31 can count only when the JK flip-flop 32 is set.

又、RCOはリップルキャリー出力でありカウンタが(
256一時間データ)個のクロックをカウントすると”
1”となる。即ち、RCOが“1”になるとカウンタは
タイムアウトしたことになる。
Also, RCO is a ripple carry output and the counter is (
If you count 256 hourly data) clocks,
In other words, when the RCO becomes "1", the counter times out.

今、カウンタ30がタイムアウトした時点からの回路動
作の説明を始める。このRCOによって、ロード信号は
付勢状態となり、カウンタ30.31に時間データがセ
ットされる。RCoは又、フリップフロップ32をセッ
トし、フリップフロップ320セツト状悪はカウンタ3
1を付勢する。即ち、カウンタ30のタイムアウト後に
、カウンタ30は直ちにカウントを再開し、カウンタ3
1はそれまでの消勢状態から抜け、カウントを開始する
。カウンタ31は(256−ON時間)個のCL K 
rをカウントするとRCOを出力する。このRCOでフ
リップフロップ32をリセットする。即ち、カウンタ3
1に設定された(256−ON時間データ)xcLK+
がパルスのON時間となる。カウンタ30に設定された
時間の残りの時間が経過すると、カウンタ30がタイム
アウトしてフリップフロップ32を再セットし上述の動
作を繰返す。(256−周期データ)xCL K oが
パルスの周期を決定する。第4図(a)に上記動作のタ
イミングチャートを示す。
The circuit operation from the time the counter 30 times out will now be explained. This RCO activates the load signal and sets time data in the counters 30 and 31. RCo also sets flip-flop 32 and flip-flop 320 is set to counter 3.
1 is energized. That is, after the counter 30 times out, the counter 30 immediately resumes counting, and the counter 30
1 comes out of the deactivated state and starts counting. The counter 31 has (256-ON time) CLK
When r is counted, RCO is output. This RCO resets the flip-flop 32. That is, counter 3
(256-ON time data) xcLK+ set to 1
is the ON time of the pulse. When the remaining time set in the counter 30 has elapsed, the counter 30 times out, resets the flip-flop 32, and repeats the operation described above. (256-period data)xCL K o determines the period of the pulse. FIG. 4(a) shows a timing chart of the above operation.

第3図(b)はOFF時間とON時間を設定する方式の
パルス信号発生回路の例である。第3図(a)の回路と
基本的には変わらないが、カウンタ35はフリップフロ
ップ37がリセット状態時のみ付勢され、反対にカウン
タ36はフリップフロップ37がセット状態時のみ付勢
される。第4図(b)にその動作タイミングチャートを
示す。
FIG. 3(b) is an example of a pulse signal generation circuit that sets OFF time and ON time. Although the circuit is basically the same as that of FIG. 3(a), the counter 35 is activated only when the flip-flop 37 is in the reset state, and the counter 36 is activated only when the flip-flop 37 is in the set state. FIG. 4(b) shows the operation timing chart.

このように、ラッチ22.23にセットされた時間デー
タ(周期、ON時間、OFF時間)に従ったパルスがパ
ルス信号発生回路24から出力され、この事はMPU2
1がROMに格納された時間データを所定の目的に合わ
せて読出せば所望の周期、ON時間をもつパルス信号が
得られることを意味する。そこで、上記パルス信号発生
回路から発生したパルスをチョッパに応用した電源装置
の例を以下に゛説明する。
In this way, pulses according to the time data (period, ON time, OFF time) set in the latches 22 and 23 are output from the pulse signal generation circuit 24, and this fact is reflected in the MPU 2.
1 means that if the time data stored in the ROM is read out in accordance with a predetermined purpose, a pulse signal having a desired period and ON time can be obtained. Therefore, an example of a power supply device in which the pulses generated from the pulse signal generation circuit described above are applied to a chopper will be described below.

〈電源装置〉 第5図はそのような電源装置の回路構成図であり、−例
として例えば複写機の転写用直流高電圧、*筒用直流高
電圧を発生させるための電源装置である。50は電力制
御を行なうマイクロコンピュータ−であり、51はパル
ス信号発生回路で、高圧用のトランスを付勢する直流チ
ョッパ回路52を制御するパルスを発生する。このパル
ス信号発生回路51は第3図(a)のパルス信号発生回
路と基本的に同じもので、発生するパルスの周期及びO
N時間を変えることにより、PWM制御を一歩進めた所
謂、瞬時値制御による電力変換を行う、、53はA/D
変換器、54はMPU50が実施例の電力制御を行うた
めのサービス間隔を決定するタイマ、即ちインタラブド
タイマである。55は高圧用のフライバックトランス、
PVは帯電用出力、TVは転写用出力である。図示して
いないがPV、TVの先には、複写機の帯電、転写部が
あり、各々定格で十数MΩの負荷となっている。この負
荷変動に対して高圧トランス55の一次側をドライブす
る直流チョッパ回路52は、第2図のように周期とON
時間の両方が変化するパルス信号により、負荷に流れる
電流が一定となるようにフィードバックをかける。トラ
ンス55が誘導性負荷である事から瞬時値制御が適して
いる。
<Power Supply Device> FIG. 5 is a circuit configuration diagram of such a power supply device, which is, for example, a power supply device for generating a DC high voltage for transfer of a copying machine, and a DC high voltage for a cylinder. 50 is a microcomputer that performs power control, and 51 is a pulse signal generation circuit that generates pulses that control a DC chopper circuit 52 that energizes a high voltage transformer. This pulse signal generation circuit 51 is basically the same as the pulse signal generation circuit shown in FIG.
By changing the N time, power conversion is performed using so-called instantaneous value control, which is a step beyond PWM control. 53 is an A/D
The converter 54 is a timer, ie, an interwoven timer, that determines the service interval for the MPU 50 to perform power control in the embodiment. 55 is a high voltage flyback transformer,
PV is an output for charging, and TV is an output for transfer. Although not shown, there is a charging and transfer section of the copying machine beyond the PV and TV, each of which has a rated load of more than ten MΩ. The DC chopper circuit 52 that drives the primary side of the high-voltage transformer 55 responds to this load fluctuation by changing the period and ON state as shown in FIG.
Feedback is applied to keep the current flowing through the load constant using a pulse signal that changes both over time. Since the transformer 55 is an inductive load, instantaneous value control is suitable.

複写機の帯電、転写は感光体、トナーの特性によって印
加する電圧の極性が違うが、本実施例においては、負荷
側から電流を引っばる負極性の印加となっており、帯電
電流は抵抗56を通して筐体グランドFGへ、転写電流
は抵抗57を通して筐体グランドFGへ流れ込む。その
ときの帯電電流値は、抵抗56間の電圧をA/D変換器
53によってデジタル化して、MPU50にとりこまれ
る。A/D変換器53はMPU50からの一定時間毎に
出される変換スタート信号(A/DSTART)によっ
て変換を開始し、変換終了(A/DCOMPLETE)
 で、MPU50に割り込みをかける。この割込はMP
U50のEX I NTに入力し、A/D変換値はMP
U50のデータバス(Do〜D?)に入力され、RAM
59に格納される。
The polarity of the applied voltage for charging and transfer in a copying machine differs depending on the characteristics of the photoreceptor and toner, but in this embodiment, a negative polarity is applied that draws the current from the load side, and the charging current is passed through the resistor 56. The transfer current flows through the resistor 57 to the housing ground FG. The charging current value at that time is obtained by digitizing the voltage across the resistor 56 by the A/D converter 53 and taking it into the MPU 50. The A/D converter 53 starts conversion in response to a conversion start signal (A/DSTART) issued from the MPU 50 at regular intervals, and completes the conversion (A/D COMPLETE).
Then, an interrupt is sent to the MPU 50. This interrupt is MP
Input to EX I NT of U50, A/D conversion value is MP
It is input to the data bus (Do~D?) of U50, and the RAM
59.

MPU50の他の機能を説明すると、パルス信号発生回
路51へ供給される時間データの内、周期についてはボ
ートA (PAo〜PA、)から、ON時間データにつ
いてはボートB(Pa、〜PB7)から出力される。尚
、M P U 50.の各出力ボートはラッチ機能をも
っているので、第2図の如くラッチは必要ない。前述の
A/DSTARTはPC,から、インタラブドタイマ5
4の設定時間はP CI−P C7から出力される。イ
ンタラブドタイマ54の割込はTo I NTに入力す
る。
To explain other functions of the MPU 50, among the time data supplied to the pulse signal generation circuit 51, the period is supplied from boat A (PAo to PA,), and the ON time data is supplied from boat B (Pa, to PB7). Output. In addition, MPU 50. Since each output port has a latch function, there is no need for a latch as shown in FIG. The above-mentioned A/DSTART is from the PC, and is connected to the interwoven timer 5.
The set time of 4 is output from PCI-PC7. Interrupts from the interwoven timer 54 are input to To I NT.

又、ROM58は第2図の80M2oに相当するもので
、第6図に示した電力制御の為の周期及びON時間デー
タが後述する制御プログラムと共に格納されている。R
AM59は制御プログラム実行時に必要な中間データを
格納するためのものでありその詳細は第7図に示す。
The ROM 58 corresponds to 80M2o in FIG. 2, and stores cycle and ON time data for power control shown in FIG. 6 together with a control program to be described later. R
The AM 59 is for storing intermediate data necessary for executing the control program, and its details are shown in FIG.

第6図はROM58に格納されている時間データの例で
、負荷変動(インピーダンス変化)に応じた修正後の周
期、ON時間の値がROM58中にベアの組み合わせで
格納され、ROMテーブル化しである。又、図示のよう
に直線状に変化する関数であるために、計算式化してお
く事も可能である。第8図に示したROM58の構成に
よると前記ROMテーブルのスタートアドレスはDPT
R(RAM59中の領域67に格納)によって示され、
DPTRからのオフセット量はP (RAM59中の領
域64に格納)で表わされ、DPTR十Pに周期データ
が、DPTR+P+1にON時間データが格納されてい
る。尚、本実施例では負荷変動を電流変化としてとらえ
、負荷に所定電流が流れるようにするものであるが、負
荷変動を出力電圧変化としてとらえ、電源装置の出力イ
ンピーダンスを変化させて一定出力電圧を得るような制
御もある。しかし、本実施例の瞬時値制御は出力電流制
御に向いているといえる。
Figure 6 is an example of time data stored in the ROM 58. The period and ON time values after correction according to load fluctuations (impedance changes) are stored in bare combinations in the ROM 58, and are made into a ROM table. . Furthermore, since it is a function that changes linearly as shown in the figure, it is also possible to formulate it into a calculation formula. According to the configuration of the ROM 58 shown in FIG. 8, the start address of the ROM table is DPT.
R (stored in area 67 in RAM 59),
The amount of offset from DPTR is represented by P (stored in area 64 in RAM 59), period data is stored in DPTR+P, and ON time data is stored in DPTR+P+1. In this embodiment, load fluctuations are treated as current changes and a predetermined current flows through the load, but load fluctuations are treated as output voltage changes and the output impedance of the power supply device is changed to maintain a constant output voltage. There's also the kind of control you get. However, it can be said that the instantaneous value control of this embodiment is suitable for output current control.

第9図(a)〜(d)は高電圧制御用のフローチャート
を示す。第9図(a)はROM58内のプログラム構成
を示す。第9図(a)中、INT解析70は発生する各
割込の種類を解析し、その種類に応じた処理ルーチンへ
のベクタデープルを含む。本実施例では割込として、前
述したようにTo I NTとEX I NTの2つで
あり、それらのINT処理は夫々、第9図(C)及び(
d)に示す。又、各割込処理ではそのINT固有の処理
を実行し、更に必要に応じて次に実行すべきTASKを
示すテーブル(RAM59にある例えば計算フラグ60
である)をセットして、割込元アドレスにリターンする
。TASKスケジュールルーチンリングを実行するもの
で、本実施例に係るTASKは電力制御TASK72で
あり、その詳細を第9図(b)に示す。
FIGS. 9(a) to 9(d) show flowcharts for high voltage control. FIG. 9(a) shows the program configuration in the ROM 58. In FIG. 9(a), an INT analyzer 70 analyzes the type of each interrupt that occurs, and includes a vector table to a processing routine according to the type. In this embodiment, there are two interrupts, To I NT and EX I NT, as described above, and their INT processing is shown in FIG. 9 (C) and (
Shown in d). In addition, each interrupt process executes a process specific to that INT, and if necessary, a table indicating the next TASK to be executed (for example, calculation flag 60 in RAM 59) is executed.
) and returns to the interrupt source address. The TASK that executes the schedule routine is the power control TASK 72, the details of which are shown in FIG. 9(b).

さて、制御手順について、インタラブドタイマ54によ
るT.OINT発生の時点から説明する事とする。To
 I NTが発生すると、INT解析処理ルーチン70
からTo I NTfi埋73に制御が移り、第9図(
C)のフローチャートを実行する。ステップS40でイ
ンタラブドタイマ54に新たにタイマ値66をセットす
る。ステップS42でA/DSTART信号をボートC
を通じてA/D変換器53に出力して、割込元アドレス
にリターンする。やがて、A/D変換終了割込(EXI
 NT)が発生する。するとステップS44で、計算フ
ラグ60をセットする。ステップS46で入力ボートか
らA/D測定値をデータバスに入力して、RAM 5 
9の領域61に格納する。
Now, regarding the control procedure, T. We will explain from the point of occurrence of OINT. To
When an I NT occurs, the INT analysis processing routine 70
Then control is transferred to To I NTfi 73, and the process shown in FIG. 9 (
Execute the flowchart in C). In step S40, a new timer value 66 is set in the interwoven timer 54. In step S42, the A/DSTART signal is sent to port C.
The interrupt signal is output to the A/D converter 53 through the interrupt source address, and returns to the interrupt source address. Eventually, the A/D conversion end interrupt (EXI
NT) occurs. Then, in step S44, the calculation flag 60 is set. In step S46, the A/D measurement value is input from the input port to the data bus, and
9 is stored in area 61.

さて、通常のプログラム制御はTASKスケジュール7
1が制御していて、該ルーチンが次に実行すべきTAS
Kをサーチしている。前述のステップS44で計算フラ
グ60がセットされている事から、TASKスケジュー
ルルーチン71は電力制御TASK72を実行する。先
ず、ステップS2で、計算フラグがセットされている事
を確認し、A/D変換で測定された測定値(61)と基
準値(62)との差Δ(63)を求め、その差に従って
現在トランスを付勢しているパルス信号の周期,ON時
間の値を増減させる。パルス信号の周期、ON時間の値
は第6図で示すような関係になっていて、ROM58に
格納されている事は前述した通りである。電流制御の概
略は次のようである。Δ(6・3)の値に応じて制御が
別れ、Δ(63)の絶対値が3未満であるときは、本実
施例では大きな負荷変動が無.いとして、周期,ON時
間を変えることはしない。しかしながらΔ(63)が3
以上であるときは、それが8未満であるか否かによって
制御は更に別れる。3≦1Δ1く8であれば、現在の周
期,ON時間(DPTR+Pでポイントされる)に相対
的に僅かの修正を加える(ステップS12,S30)。
Now, normal program control is TASK schedule 7.
TAS that is controlled by 1 and that this routine should execute next
Searching for K. Since the calculation flag 60 was set in step S44 described above, the TASK schedule routine 71 executes the power control TASK72. First, in step S2, confirm that the calculation flag is set, calculate the difference Δ(63) between the measured value (61) measured by A/D conversion and the reference value (62), and calculate the difference according to the difference. Increase or decrease the period and ON time of the pulse signal currently energizing the transformer. As mentioned above, the period of the pulse signal and the value of ON time have the relationship as shown in FIG. 6, and are stored in the ROM 58. The outline of current control is as follows. Control is performed differently depending on the value of Δ(6·3), and when the absolute value of Δ(63) is less than 3, there is no large load fluctuation in this embodiment. Even if you want to, do not change the period or ON time. However, Δ(63) is 3
When it is above, control is further divided depending on whether it is less than 8 or not. If 3≦1Δ1×8, a relatively small correction is made to the current cycle and ON time (pointed to by DPTR+P) (steps S12 and S30).

一方、1Δ1≧8であれば、定常状態の基準より大幅に
ずれていると考えられるので周期、ON時間に加える修
正も大きくなる(ステップS22,532)。
On the other hand, if 1Δ1≧8, it is considered that there is a significant deviation from the standard of the steady state, and therefore the correction to be made to the period and ON time will also be large (step S22, 532).

Δ(63)の符号によってP(64)に減算したり加算
したりして変えるのは第6図の負荷一時間データ特性が
正の傾きをもつからである。又、同じくΔ(63)の符
号によって周期のセットタイミング(ステップS20,
536)とON時間のセットタイミング(ステップS1
6,540)が逆になっているのは第6図のような特性
では、例えばΔ(63)の符号が正であるときに、周期
から変更するとすると、周期設定直後にタイマ30.3
1にロード信号(LOAD/)が入力される事となった
場合に出力信号のデユーティが変更したい方向とは逆に
なるからである。
The reason why the sign of Δ(63) is changed by subtracting or adding to P(64) is that the load one-hour data characteristic shown in FIG. 6 has a positive slope. Similarly, the cycle set timing (step S20,
536) and ON time set timing (step S1
6,540) is reversed in the characteristics shown in Fig. 6. For example, if the sign of Δ(63) is positive and you change the period, the timer 30.3 is reversed immediately after setting the period.
This is because if the load signal (LOAD/) is input to the output signal 1, the duty of the output signal will be opposite to the direction in which it is desired to change.

第9図(C)のタイマ割り込みルーチンについて詳述す
る。このルーチンはA/D変tJls4W53に変換ス
タート信号のタイミングを与える。タイマ割り込みは必
ず一定期間@(例えば1m5ecVk)に実行されるよ
うに内部タイマをセットしておく。もし負荷変動が激し
い場合は、このセット時間を短くすると、負荷変動に対
する追随性が良くなる。
The timer interrupt routine shown in FIG. 9(C) will be described in detail. This routine provides the timing of the conversion start signal to the A/D converter tJls4W53. An internal timer is set so that the timer interrupt is always executed within a certain period of time (for example, 1m5ecVk). If the load fluctuations are severe, shortening this set time will improve the ability to follow the load fluctuations.

このようにソフトウェアを用いて、転写、帯電の電流値
を制御することができるため、環境条件や複写プロセス
条件の変換に対して電流設定値を変えるだけで簡単に対
応することができる。
As described above, since the transfer and charging current values can be controlled using software, it is possible to easily respond to changes in environmental conditions and copying process conditions by simply changing the current setting values.

前記実施例においては、MPU50の外部にパルス信号
発生回路とA/D変換器53を配したが、それぞれの機
能をワンチップ化し、内部バスと直結した第10図のよ
りなMPU90を用いてもよい。MPU90は第3図(
a)、(b)類似のパルス信号発生回路、A/D変換器
84内蔵等を含む。その場合、前述したボートA、B、
Cではなく、レジスタREG80.REG82にそれぞ
れ周期、ON時間を設定することで、第9図(b)〜(
d)に示した制御と同じ制御が可能となる。第11図は
第10図のMPUを用いた高圧発生回路図であり、ドラ
イバ、トランス部を除く部品は第5図に比べぞ更に少な
くなっている。
In the embodiment described above, the pulse signal generation circuit and the A/D converter 53 are arranged outside the MPU 50, but it is also possible to integrate the respective functions into one chip and use the MPU 90 shown in FIG. 10, which is directly connected to the internal bus. good. The MPU90 is shown in Figure 3 (
a) and (b) include a similar pulse signal generation circuit, a built-in A/D converter 84, etc. In that case, the aforementioned boats A, B,
C, but register REG80. By setting the period and ON time for REG82, Fig. 9(b) to (
The same control as shown in d) becomes possible. FIG. 11 is a high voltage generation circuit diagram using the MPU shown in FIG. 10, and the number of components other than the driver and transformer section is much smaller than in FIG. 5.

〈実施例の効果〉 以上説明したように本実施例のパルス発生装置によれば
周期とON時間を、又はON時間とOFF時間を夫々自
由に変えられることができるようになる。又、その回路
に汎用性がもたせられる。
<Effects of the Embodiment> As explained above, according to the pulse generator of the present embodiment, the period and the ON time, or the ON time and the OFF time, can be changed freely. Moreover, the circuit is given versatility.

デジタル的に上記時間を自由に設定で咎るため、マイク
ロコンピュータの使用が可能となり、マイクロコンピュ
ータによる一元的な中央制御も可能となる。
Since the time can be freely set digitally, it is possible to use a microcomputer, and it is also possible to perform unified central control using the microcomputer.

更に、上記パルス発生装置を含む電源装置を複写装置に
適用すれば、ソフトウェアを用いて帯電又は転写の電流
値を制御することができるため、環境条件や複写プロセ
ス条件の変換に対して電流設定値を変えるだけで簡単に
対応することができる。又、マイクロコンピュータによ
る電源をも含めた集中制御が可能になり、部品削減、実
装効率向上に寄与する“。
Furthermore, if the power supply device including the pulse generator described above is applied to a copying machine, the charging or transfer current value can be controlled using software, so the current setting value can be changed depending on the environmental conditions or copying process conditions. This can be easily addressed by simply changing the . It also enables centralized control, including the power supply, using a microcomputer, contributing to fewer parts and improved mounting efficiency.

[発明の効果] 以上説明したように本発明によれば、電力制御をプログ
ラム的に瞬時値制御を行う電源装置を提供できる。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide a power supply device that performs instantaneous value control of power control in a programmatic manner.

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

第1図は本発明に係る実施例の基本構成図、第2図は実
施例のパルス発生装置の基本構成図、 第3図(a)、(b)はパルス発生装置の具体的な実施
例の回、路図、 第4図(a)、(b)は′S3図(a)、(b)の回路
のタイミングチャート、 第5図は電源装置の回路図、 第6図はROM内に格納された時間データと負荷との関
係を示す図、 第7図はZRAM内のデータ構成図、 第8図はROM58のデータ構成図、 第9図(a)はROM58中のプログラム領域の構成図
、 第9図(b)〜(d)は電源装置の電流制御の手順を示
すフローチャート、 第10図、第11図は他の変形例の図である。 図中、 10.20.58・ROM、11 ・・・制御回路、1
2・・・直流電源、81.83・・・タイマ、21,5
0.90・・・MPU、22.23・・・ラッチ、13
゜24.51・・・パルス信号発生回路、30,31゜
35.36・・・カウンタ、32,37.85・・・フ
リップフロップ、14.52・・・直流チョッパ回路、
15.53.84・・・A/D変換器、54・・・イン
タラブドタイマ、55・・・トランス、80.82・・
・レジスタ、86・・・マルチプレクサである。 :、23図 (G) 第4図 (a) 第4図(b) 第9図 (0) 小9図(C) 衾9図 (d)
FIG. 1 is a basic configuration diagram of an embodiment according to the present invention, FIG. 2 is a basic configuration diagram of a pulse generator according to an embodiment, and FIGS. 3(a) and (b) are specific examples of a pulse generator. Figures 4 (a) and (b) are timing charts of the circuits in Figures 3 (a) and (b), Figure 5 is the circuit diagram of the power supply, and Figure 6 is the circuit diagram in ROM. A diagram showing the relationship between stored time data and load, Figure 7 is a diagram of the data configuration in ZRAM, Figure 8 is a diagram of the data configuration of ROM 58, and Figure 9 (a) is a diagram of the configuration of the program area in ROM 58. , FIGS. 9(b) to 9(d) are flowcharts showing the procedure of current control of the power supply device, and FIGS. 10 and 11 are diagrams of other modified examples. In the figure, 10.20.58・ROM, 11...control circuit, 1
2...DC power supply, 81.83...Timer, 21,5
0.90...MPU, 22.23...Latch, 13
゜24.51...Pulse signal generation circuit, 30,31゜35.36...Counter, 32,37.85...Flip-flop, 14.52...DC chopper circuit,
15.53.84... A/D converter, 54... Interwoven timer, 55... Transformer, 80.82...
-Register, 86...Multiplexer. :, Figure 23 (G) Figure 4 (a) Figure 4 (b) Figure 9 (0) Grade 9 Figure (C) Cram Figure 9 (d)

Claims (5)

【特許請求の範囲】[Claims] (1)入力直流電圧を電圧変換して負荷に電力を供給す
る電源装置において、チョッパ回路と、該チョッパ回路
を制御するパルス信号を発生するパルス信号発生回路と
、負荷変動を検知する検知回路と、該負荷変動に応じて
設定されるべきパルス信号に対応するデータを予め記憶
している記憶回路と、前記検知回路により検知された負
荷変動に応じて前記記憶回路から読出したデータを前記
パルス信号発生回路に入力する制御回路とを有する電源
装置。
(1) A power supply device that converts input DC voltage to supply power to a load, which includes a chopper circuit, a pulse signal generation circuit that generates a pulse signal to control the chopper circuit, and a detection circuit that detects load fluctuations. , a storage circuit that stores in advance data corresponding to a pulse signal to be set according to the load fluctuation; and a storage circuit that stores data corresponding to the pulse signal to be set according to the load fluctuation; and a storage circuit that stores data corresponding to the pulse signal to be set according to the load fluctuation; A power supply device having a control circuit that inputs input to a generation circuit.
(2)記憶回路に記憶されたデータはパルス信号の周期
とON時間に関するデータからなり、パルス信号発生回
路は、リトリガー可能な第1タイマと第2タイマと、該
第1タイマの出力及び第2タイマの出力を夫々をセット
入力、リセット入力とするフリップフロップと、第1タ
イマを常時付勢し第2タイマを前記フリップフロップが
セット状態のときのみ付勢するタイマ付勢回路とを有し
、制御回路は前記記憶回路から読出した周期データとO
N時間データとを夫々第1タイマのセット時間、第2タ
イマのセット時間として入力する事を特徴とする特許請
求の範囲第1項に記載の電源装置。
(2) The data stored in the storage circuit consists of data regarding the period and ON time of the pulse signal, and the pulse signal generation circuit has a retriggerable first timer and a second timer, and the output of the first timer and the second timer. It has a flip-flop that uses the output of the timer as a set input and a reset input, respectively, and a timer energizing circuit that always energizes a first timer and energizes a second timer only when the flip-flop is in the set state, The control circuit uses the periodic data read from the storage circuit and O
2. The power supply device according to claim 1, wherein the N time data are input as the set time of the first timer and the set time of the second timer, respectively.
(3)記憶回路に記憶されたデータはパルス信号のOF
F時間とON時間に関するデータからなり、パルス信号
発生回路は、リトリガー可能な第1タイマと第2タイマ
と、該第1タイマの出力及び第2タイマの出力を夫々を
セット入力、リセット入力とするフリップフロップと、
第1タイマを該フリップフロップがリセット状態のとき
のみ付勢し第2タイマを前記フリップフロップがセット
状態のときのみ付勢するタイマ付勢回路とを有し、制御
回路は前記記憶回路から読出したOFF時間データとO
N時間データとを夫々第1タイマのセット時間、第2タ
イマのセット時間として入力する事を特徴とする特許請
求の範囲第1項に記載の電源装置。
(3) The data stored in the memory circuit is the OF of the pulse signal.
Consisting of data regarding F time and ON time, the pulse signal generation circuit uses a retriggerable first timer and a second timer, and uses the output of the first timer and the output of the second timer as set input and reset input, respectively. flip-flop and
a timer energizing circuit that energizes a first timer only when the flip-flop is in a reset state and a timer energizing circuit that energizes a second timer only when the flip-flop is in a set state; OFF time data and O
2. The power supply device according to claim 1, wherein the N time data are input as the set time of the first timer and the set time of the second timer, respectively.
(4)第1タイマ及び第2タイマはプリセット可能なバ
イナリカウンタである事を特徴とする特許請求の範囲第
2項又は第3項に記載の電源装置。
(4) The power supply device according to claim 2 or 3, wherein the first timer and the second timer are presettable binary counters.
(5)記憶回路、制御回路、パルス発生回路はモノリシ
ックシリコン基板上に形成されている事を特徴とする特
許請求の範囲第2項乃至第4項のいずれかに記載の電源
装置。
(5) The power supply device according to any one of claims 2 to 4, wherein the memory circuit, control circuit, and pulse generation circuit are formed on a monolithic silicon substrate.
JP61064908A 1986-03-25 1986-03-25 Electronic power unit Pending JPS62225163A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61064908A JPS62225163A (en) 1986-03-25 1986-03-25 Electronic power unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61064908A JPS62225163A (en) 1986-03-25 1986-03-25 Electronic power unit

Publications (1)

Publication Number Publication Date
JPS62225163A true JPS62225163A (en) 1987-10-03

Family

ID=13271622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61064908A Pending JPS62225163A (en) 1986-03-25 1986-03-25 Electronic power unit

Country Status (1)

Country Link
JP (1) JPS62225163A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63257459A (en) * 1987-04-15 1988-10-25 Oki Electric Ind Co Ltd Switching regulator
JPH01157270A (en) * 1987-12-11 1989-06-20 Toshiba Corp Switching power source device
JPH01157269A (en) * 1987-12-11 1989-06-20 Toshiba Corp Switching power source device
JPH01298951A (en) * 1988-05-27 1989-12-01 Canon Inc Pulse width modulator circuit and stabilized power source using the same circuit
JPH0293807A (en) * 1988-09-30 1990-04-04 Toshiba Corp Power source controller
JP2003017319A (en) * 2001-06-29 2003-01-17 Denso Corp Current control apparatus of inductive load
JP2008131760A (en) * 2006-11-21 2008-06-05 Toyota Motor Corp Dc-dc converter and control method therefor

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63257459A (en) * 1987-04-15 1988-10-25 Oki Electric Ind Co Ltd Switching regulator
JPH01157270A (en) * 1987-12-11 1989-06-20 Toshiba Corp Switching power source device
JPH01157269A (en) * 1987-12-11 1989-06-20 Toshiba Corp Switching power source device
JPH01298951A (en) * 1988-05-27 1989-12-01 Canon Inc Pulse width modulator circuit and stabilized power source using the same circuit
JPH0293807A (en) * 1988-09-30 1990-04-04 Toshiba Corp Power source controller
JP2003017319A (en) * 2001-06-29 2003-01-17 Denso Corp Current control apparatus of inductive load
JP4660987B2 (en) * 2001-06-29 2011-03-30 株式会社デンソー Inductive load current controller
JP2008131760A (en) * 2006-11-21 2008-06-05 Toyota Motor Corp Dc-dc converter and control method therefor

Similar Documents

Publication Publication Date Title
TW432790B (en) Circuits and methods for controlling timing and slope compensation in switching regulators
US6407571B1 (en) Voltage detecting circuit for a power system
US5003454A (en) Power supply with improved power factor correction
US6911808B1 (en) Power supply apparatus having a reference voltage register and method of controlling
CN101510730B (en) Switching power converter and system for controlling a plurality of switching power converters
US6912139B2 (en) Multi-channel control methods for switched power converters
JPH03164912A (en) Driving device for duty solenoid valve
JPH03212799A (en) Two-wire type gauge
US10027219B1 (en) Switching controller circuit
JPS62225163A (en) Electronic power unit
JPS62222710A (en) Pulse generator
JPH0373234B2 (en)
JP2857442B2 (en) Power supply low voltage detector
JPS63305755A (en) Switching power source control circuit
JP3023680B2 (en) PWM controller
JPS62189520A (en) Clock count system for microcomputer
JPS5839269A (en) Power supply device
JPH03188709A (en) Sawtooth wave generating circuit
TW440760B (en) Control apparatus and method for changing the charging current based on the system load
JPH0338665A (en) Image forming device
JPH0534386A (en) Electronic watthour meter
JPH0515147A (en) Power supply device
JPS6035902Y2 (en) Unadjusted battery life detection circuit
JPS63161869A (en) High-tension power supply
JPH0362109A (en) Single-chip microcomputer