JPS6373340A - Power source controller - Google Patents
Power source controllerInfo
- Publication number
- JPS6373340A JPS6373340A JP61218427A JP21842786A JPS6373340A JP S6373340 A JPS6373340 A JP S6373340A JP 61218427 A JP61218427 A JP 61218427A JP 21842786 A JP21842786 A JP 21842786A JP S6373340 A JPS6373340 A JP S6373340A
- Authority
- JP
- Japan
- Prior art keywords
- inspection
- program
- input
- microprocessor
- inspection mode
- 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
Landscapes
- Power Sources (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は電源制御装置、特にマイクロプロセッサを用い
たプログラム制御方式の電源制御装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a power supply control device, and particularly to a program control type power supply control device using a microprocessor.
最近、特定の電子機器用の電源装置を制御する電源制御
装置にマイクロプロセッサを内蔵しているものが用いら
れている。このような電源制御装置はその電子機器の上
位装置からの電源投入および電源切断等を指示する信号
、ならびに被制御電源装置からの電源投入の確認および
障害の通報等の信号を受けて、それらの内容に応じて必
要な出力を送出するもので、一般に出力は決められたシ
ーケンスで送出することになっている。即ち、内蔵され
たマイクロプロセッサは格納された運用プログラムによ
って入力信号を解析し、決められたシーケンスで出力回
路を動作するようになっている。BACKGROUND ART Recently, power supply control devices that control power supply devices for specific electronic devices are equipped with a built-in microprocessor. Such a power supply control device receives signals for instructing power-on and power-off, etc. from the higher-level device of the electronic equipment, as well as signals for confirming power-on, reporting a failure, etc. from the controlled power supply device. It sends out the necessary output depending on the content, and generally the output is sent out in a predetermined sequence. That is, the built-in microprocessor analyzes input signals according to a stored operating program and operates the output circuit in a predetermined sequence.
そこで、とのような電源制御装置の製造時等における検
査は、従来、入力信号を与える擬似回路等から試験用の
入力を与え、出力端子に記録装置を接続して出力を調べ
るとか、試験用に与える入力を周期的に繰返し、出力端
子に接続したオッシロスコープによシ波形を観測するこ
とによって行なわれている。Therefore, conventionally, inspections during the manufacturing of power supply control devices such as This is done by periodically repeating the input given to the output terminal and observing the waveform with an oscilloscope connected to the output terminal.
しかしながら、従来の電源制御装置では、その検査に上
述のように擬似回路から入力を与えて、予定された出力
が得られるかを調べるよ多方法がなく、この予定された
出力にシーケンスを追って出力が変化するものが含まれ
ていて、総ての出力データを得るのに時間がか\るとか
、このデータが正しいか時間も考慮して調べる要があシ
煩雑であると云う問題点がある。しかも制御がプログラ
ム制御であるためプログラムの誤り以外にシーケンスの
誤りは考えられず、プログラムに誤シがないものとすれ
ばハードウェアに誤シが有るか無いかを調べればよい筈
のものを時間をかけてシーケンスまで調べなければ判定
できないと云う欠点がある。However, with conventional power supply control devices, there is no way to test it by giving input from the pseudo-circuit as described above and checking whether the expected output is obtained, and instead outputting the planned output in sequence. There are problems such as the time it takes to obtain all the output data, and the need to take time into consideration to check whether the data is correct, which is cumbersome. . Moreover, since the control is program control, sequence errors are not possible other than program errors.Assuming there are no errors in the program, it would be better to check whether there is an error in the hardware or not. The disadvantage is that it cannot be determined unless the sequence is examined by multiplying by .
本発明の目的は上記の問題点や欠点を除去し、シーケン
ス動作を調べることなく、ハードウェアの正常性を確認
することにより、検査が容易に行なえる電源制御装置を
提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a power supply control device that eliminates the above-mentioned problems and drawbacks and allows easy inspection by confirming the normality of the hardware without checking the sequence operation.
本発明はマイクロプロセッサを用いた電源制御装置にお
いて、検査モードの指定を入力信号の1つに与える検査
モード入力手段と、入力信号の組合せから出力信号の組
合せを作る検査プログラムと、検査モードの指定を受け
て運用時のプログラムから検査プログラムに切替えるモ
ード切替えプログラムとを有して構成される。The present invention provides a power supply control device using a microprocessor, including a test mode input means for specifying a test mode to one of the input signals, a test program that creates a combination of output signals from a combination of input signals, and a test mode designation. and a mode switching program that switches from the operating program to the inspection program in response to the received data.
以上の構成により、検査モードに切替えて、擬似入力回
路から複数の組合せの入力を与えることによシ、出力端
子から複数の異なる組合せの出力を得ることができ、こ
の出力に設けられたランプ等による表示を予め作られた
表と対応して、ハードウェアの正常性を確認することが
できる。With the above configuration, by switching to the inspection mode and applying multiple combinations of inputs from the pseudo input circuit, it is possible to obtain multiple different combinations of outputs from the output terminal, and the lamps etc. The normality of the hardware can be checked by matching the display with a pre-made table.
以下、本発明の実施例について図面を参照して説明する
。Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例のブロック図で、上位装置お
よび被制御の電源装置と接続するm個の入力端子I!、
I2〜Imを有し、電源装置と動作表示板とに接続する
n個の出力端子0..02〜Onを有する場合を示して
いる。この電源制御装置は検査モード指定回路lと、こ
の検査モード指定回路1の信号とm個の入力端子からの
信号とを受ける入力ボート2と、入力ボート2に接続さ
れたマイクロプロセッサ3と、マイクロプロセッサ3に
接続された出力ポート4と、出力ポート4のn個の出力
のそれぞれに接続されたn個のバッファアンプを有する
ドライブ回路5と、マイクロプロセッサ3に接続された
ROM6とを有して構成される。またROM6は通常の
動作時に使用される運用プログラムと、検査プログラム
と、運用プログラムと検査プログラムとを切替える切替
えプログラムを格納してる。FIG. 1 is a block diagram of an embodiment of the present invention, in which m input terminals I! are connected to a host device and a controlled power supply device. ,
n output terminals 0.I2-Im connected to the power supply device and the operation display board; .. 02-On is shown. This power supply control device includes an inspection mode designation circuit 1, an input port 2 that receives signals from the inspection mode designation circuit 1 and signals from m input terminals, a microprocessor 3 connected to the input port 2, and a microprocessor 3 connected to the input port 2. It has an output port 4 connected to the processor 3, a drive circuit 5 having n buffer amplifiers connected to each of the n outputs of the output port 4, and a ROM 6 connected to the microprocessor 3. configured. Further, the ROM 6 stores an operation program used during normal operation, an inspection program, and a switching program for switching between the operation program and the inspection program.
以上の構成において、通常は運用プログラムによって、
従来と同じく入力ボート2に与えられた信号に対して電
源装置に所定の出力を与えるとか、動作表示板のランプ
等を点灯する。In the above configuration, normally the operation program
As in the conventional case, a predetermined output is given to the power supply device in response to a signal given to the input boat 2, or a lamp on an operation display board is turned on.
ところで検査モード指定回路1が操作されて、検査モー
ドの信号が入力ボートに与えられると、マイクロプロセ
ッサ3は検査プログラムに従った動作を行なう。なお、
検査を行なう場合には入力端子I、、I2〜Imにはそ
れぞれ信号を与えることのできる試験用入力回路を接続
し、出力端子01.02〜Onにはそれぞれ出力を可視
できるランプ等が接続される。By the way, when the test mode designation circuit 1 is operated and a test mode signal is applied to the input port, the microprocessor 3 operates according to the test program. In addition,
When performing an inspection, a test input circuit that can give a signal is connected to each of the input terminals I, I2 to Im, and a lamp or the like that can make the output visible is connected to each of the output terminals 01.02 to On. Ru.
第2図はROM6に格納された検査プログラムの一部で
ある変換用データの一例を示す割付図で、変換用データ
は試験用入力回路から入力ボートに与えられる複数の入
力データのそれぞれに対応して出力ポートの出力データ
を設定したものである。FIG. 2 is a layout diagram showing an example of conversion data that is part of the inspection program stored in the ROM 6. The conversion data corresponds to each of a plurality of input data given to the input board from the test input circuit. The output data of the output port is set.
この複数の入力データおよび出力データは、1つのボー
トに対してV″1“とv′0“とが少カくとも1回は現
われるように組合わされ、何れの回路の動作と復旧とも
確認できるように設定されていればよい。These multiple input data and output data are combined so that V″1″ and v′0″ appear at least once for one boat, and the operation and recovery of any circuit can be confirmed. It is sufficient if it is set as follows.
第3図は几OM6に格納された検査プログラムを主とし
たフローチャートである。FIG. 3 is a flowchart mainly showing the inspection program stored in the OM6.
以下第2図および第3図を参照して検査の動作について
説明を進めると、マイクロプロセッサ3は先ず入力ボー
トからの検査モードの信号の有無を調べ(ステップ■)
、検査モードであれば入力ボート2から試験入力回路に
より与えられた入力端子■1〜Imの入力データを読込
む(ステップ■)。次いで変換用データのメモリアドレ
スを設定しくステップ■)、そのメモリのデータを読取
る(ステップ■)。次いで入力データとメモリのデータ
とを照合しくステップ■)、一致しなければ設定したメ
モリアドレスに1を加えて(ステップ■)ステップ■に
戻シ再びステップ■で照合される。ステップ■、■およ
び■が繰返えされて一致が得られるとこの一致を見たメ
モリアドレスに100を加え(ステップ■)、このメモ
リアドレスのメモリのデータを読取シ(ステップ■)、
このデータを出力ポートに与へる(ステップ■)。Referring to FIGS. 2 and 3 below, the inspection operation will be explained. First, the microprocessor 3 checks whether there is an inspection mode signal from the input port (step ■).
, if it is the test mode, the input data of the input terminals 1 to Im given by the test input circuit are read from the input board 2 (step 2). Next, the memory address of the conversion data is set (step (2)), and the data in that memory is read (step (2)). Next, the input data and the data in the memory are compared (step (2)), and if they do not match, 1 is added to the set memory address (step (2)), and the process returns to step (2). Steps ■, ■, and ■ are repeated, and when a match is obtained, 100 is added to the memory address where the match was found (step ■), and the data in the memory at this memory address is read (step ■).
This data is applied to the output port (step ■).
そこでこの出力に対応した出力がドライブ回路を介して
出力され、検査用に接続されたランプが点灯する。次い
でステップ■の後、再びステップ■に戻る。なお、ステ
ップ■で検査モードでなければ運用プログラムが実行さ
れ(ステップO)、このプログラムも一連のステップの
終了後に再びステップ■に戻る。Therefore, an output corresponding to this output is outputted via the drive circuit, and a lamp connected for inspection is lit. Then, after step (■), the process returns to step (2) again. Note that if the test mode is not set in step (2), the operation program is executed (step O), and this program also returns to step (2) after completing the series of steps.
従って検査者は第2図に示した変換データに対応する一
覧表を有して、試験入力回路から入力データに対応する
試験信号を投入し、出力端子に接続されたランプによ多
出力データが正しいかを較べ、順次この操作を入力デー
タの総てについて行なえば、ハードウェアの正常性を確
認できる。Therefore, the inspector has a list corresponding to the conversion data shown in Figure 2, inputs a test signal corresponding to the input data from the test input circuit, and outputs multiple output data to the lamp connected to the output terminal. By comparing whether the input data is correct and sequentially performing this operation on all input data, the normality of the hardware can be confirmed.
なお以上の実施例では、試験入力回路および出力端子に
接続されるランプを人手による操作で実行するものとし
たが、これらを総て電気回路によυ構成し自動化したも
のであっても一層に拘わない。In the above embodiments, the test input circuit and the lamps connected to the output terminals are operated manually, but even if these are all configured by electric circuits and automated, I don't care.
以上詳細に説明したとおシ、本発明はマイクロプロセッ
サを用いた電源制御回路において、従来の時間関係の測
定を排除し、て検査ができるので、検査を容易にするこ
とができると云う効果がある。As described above in detail, the present invention has the effect of facilitating inspection in a power supply control circuit using a microprocessor by eliminating conventional time-related measurements. .
さらに外部に接続した試験回路を自動化することによシ
、検査の一層の高速化を達成できる効果もある。Furthermore, by automating the externally connected test circuit, it is possible to achieve even faster testing.
第1図は本発明の一実施例のブロック図、第2図は第1
図のROMに格納される検査プログラムの一部である変
換データの一例の割付図、第3図は第1図のROMに格
納される検査プログラムを′主としたフローチャートで
ある。
1・・・・・・検査モード指定回路、2・・・・・・入
力ボート、3・・・・・・マイクロプロセッサ、4・・
・・・・出力ポート、5・・・・・・ドライブ回路、6
・・・・・・ROM0琳2図FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a layout diagram of an example of conversion data that is a part of the inspection program stored in the ROM shown in the figure, and is a flowchart mainly showing the inspection program stored in the ROM shown in FIG. 1...Inspection mode designation circuit, 2...Input board, 3...Microprocessor, 4...
...Output port, 5...Drive circuit, 6
...ROM0 Rin 2 figure
Claims (1)
装置に制御信号を送出するマイクロプロセッサを用いた
電源制御装置において、検査モードの指定信号を入力信
号の1つに与える検査モード入力手段と、前記マイクロ
プロセッサのプログラムメモリに格納された入力信号の
組合せから出力信号の組合せを作る検査プログラムと、
前記マイクロプロセッサのプログラムメモリに格納され
た前記検査モードの指定信号を受けて運用モードと検査
モードとを切替えるモード切替えプログラムとを有する
ことを特徴とする電源制御装置。In a power supply control device using a microprocessor that receives input signals from a host device and a controlled device and sends control signals to the controlled device, an inspection mode input means for supplying an inspection mode designation signal to one of the input signals; a test program that creates a combination of output signals from a combination of input signals stored in a program memory of the microprocessor;
A power supply control device comprising: a mode switching program for switching between an operation mode and an inspection mode in response to the inspection mode designation signal stored in a program memory of the microprocessor.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61218427A JPS6373340A (en) | 1986-09-16 | 1986-09-16 | Power source controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61218427A JPS6373340A (en) | 1986-09-16 | 1986-09-16 | Power source controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6373340A true JPS6373340A (en) | 1988-04-02 |
Family
ID=16719740
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61218427A Pending JPS6373340A (en) | 1986-09-16 | 1986-09-16 | Power source controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6373340A (en) |
-
1986
- 1986-09-16 JP JP61218427A patent/JPS6373340A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63153483A (en) | Semiconductor integrated circuit | |
| JP2000221242A (en) | Semiconductor test equipment | |
| JPH02189476A (en) | Measuring method for electronic circuit | |
| JPS6151578A (en) | Fault diagnostic system of electronic circuit device | |
| JPH1090360A (en) | LSI terminal short / open inspection device | |
| SU734693A1 (en) | Device for functional testing of digital circuits | |
| JPS61223569A (en) | Inspection of control substrate | |
| JPS6363068B2 (en) | ||
| JPS63295979A (en) | Self-diagnostic apparatus for electronic circuit package | |
| JPS5912626Y2 (en) | input multiplexer | |
| JPS60231186A (en) | Self-testing circuit | |
| JPS62242423A (en) | Test circuit for decoder | |
| JPH026759A (en) | Testing device for logic integrated circuit | |
| JPS63157075A (en) | Measuring instrument for electronic circuit | |
| JPH04169873A (en) | Device testing apparatus and method | |
| JPH05107309A (en) | Insert kit test system | |
| JPH04162148A (en) | Pseudo fault control system | |
| JPH04355383A (en) | Semiconductor integrated circuit | |
| JPS6283676A (en) | Ic testing system | |
| JPS62126444A (en) | Failure diagnosing system | |
| JPS63103985A (en) | Inspecting device for integrated circuit element | |
| JPS6077207A (en) | Testing method of input/output unit device | |
| JPS6291872A (en) | Testing circuit | |
| JPH07117573B2 (en) | Semiconductor integrated circuit tester | |
| JPS62151031A (en) | Data processor |