JPH0295221A - Spectrophotometer - Google Patents

Spectrophotometer

Info

Publication number
JPH0295221A
JPH0295221A JP24843088A JP24843088A JPH0295221A JP H0295221 A JPH0295221 A JP H0295221A JP 24843088 A JP24843088 A JP 24843088A JP 24843088 A JP24843088 A JP 24843088A JP H0295221 A JPH0295221 A JP H0295221A
Authority
JP
Japan
Prior art keywords
signal
waveform
cpu
input
sampling
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
JP24843088A
Other languages
Japanese (ja)
Inventor
Toshiaki Fukuma
福間 俊明
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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP24843088A priority Critical patent/JPH0295221A/en
Publication of JPH0295221A publication Critical patent/JPH0295221A/en
Pending legal-status Critical Current

Links

Landscapes

  • Spectrometry And Color Measurement (AREA)

Abstract

PURPOSE:To synchronize the measurement output sampling period of the spectrophotometer with a source alternating current without using any circuit means by converting a source AC waveform and obtaining a pulse signal having the same period with the source alternating current, and using this signal as an interrupt signal at the time of measurement output sampling by a CPU. CONSTITUTION:A waveform shaping circuit 2 outputs a rectangular wave obtained by shaping the source AC waveform to an input/output device 1. When a rectangular wave rises, the input/output device 1 outputs the pulse signal, which is inputted directly to the interrupt signal input terminal of the CPU. The CPU performs specific interrupting operation when the signal is inputted to the input terminal. In such interrupting operation, the output sampling of a photodetector D and storing operation for a RAM are carried out. Thus, the pulse signal obtained by converting the current AC waveform is used as an interrupt signal, so the data sampling operation is synchronized with the source alternating current automatically.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は分光光度計における測定出力のサンプリング装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a sampling device for measurement output in a spectrophotometer.

(従来の技術) 分光光度計で測定出力をCPUによってデータ処理する
場合、測定出力を一定時間間隔でサンプリングしてA/
D変換し、測定出力をディジタルデータとしてCPUに
取込ませる必要がある。この場合分光光度計の電源とし
て商用交流が用いられているので、測定出力には交流電
源と同周波数のハムノイズや交流電源の高調波成分によ
るノイズが乗っているので、これらのノイズの影響を防
ぐため、測定出力のサンプリング動作を交流電源の周波
数に同期させることが行われている。このような同期サ
ンプリング方式の従来例としては特開昭63−1349
25号がある。この従来例では測定出力サンプリング動
作を電源交流の周波数と同期させるのに回路的な手段を
用いている。即ちこの従来例ではA/D変換の周期を決
める変換期間タイマ回路手段を有し、このタイマ回路手
段は電源交流電圧が供給され、電源交流電圧の所定サイ
クルにおける所定の位相に応答して旧変換期間の終了と
新変換期間の開始とを決めるようにしている。
(Prior art) When the measured output of a spectrophotometer is processed by a CPU, the measured output is sampled at regular time intervals and
It is necessary to perform D conversion and input the measurement output into the CPU as digital data. In this case, since commercial AC is used as the power source for the spectrophotometer, the measurement output contains hum noise at the same frequency as the AC power supply and noise due to harmonic components of the AC power supply, so it is necessary to prevent the effects of these noises. Therefore, the sampling operation of the measurement output is synchronized with the frequency of the AC power supply. A conventional example of such a synchronous sampling method is Japanese Patent Application Laid-Open No. 63-1349.
There is No. 25. In this conventional example, circuit means are used to synchronize the measurement output sampling operation with the frequency of the AC power source. That is, this conventional example has a conversion period timer circuit means that determines the period of A/D conversion, and this timer circuit means is supplied with a power supply AC voltage and responds to a predetermined phase in a predetermined cycle of the power supply AC voltage to perform an old conversion. The end of the period and the start of a new conversion period are determined.

(発明が解決しようとする課Iり 分光光度計で測定出力のサンプリング周期を電源交流の
周波数に同期させるのに上述従来例のような回路的手段
を用いると、その回路的手段の分だけ分光光度計の価格
が上昇することになる。
(Issues to be Solved by the Invention) If a circuit means such as the above-mentioned conventional example is used to synchronize the sampling period of the measurement output with the frequency of the AC power source in a spectrophotometer, the spectrophotometer The price of photometers will rise.

従って本発明は上述したような回路的手段を用いること
なしに分光光度計の測定出力サンプリング周期を電源交
流と同期化しようとするものである。
Therefore, the present invention seeks to synchronize the measurement output sampling period of a spectrophotometer with the mains alternating current without using the circuitry described above.

(課題解決のための手段〉 電源交流波形を変換して電源交流と同周期のパルス信号
を得、この信号をCPUにおける測定出力サンプリング
時のインクラブド信号とした。
(Means for Solving the Problems) The power supply AC waveform was converted to obtain a pulse signal having the same period as the power supply AC, and this signal was used as an included signal at the time of measurement output sampling in the CPU.

〈作用) CPUは分光光度計の測定出力のA/D変換。(effect) The CPU performs A/D conversion of the measurement output of the spectrophotometer.

A/D変換されたデータのメモリへの格納と云ったデー
タサンプリング動作の他、測定データの処理、分光光度
計の制御その他の動作を行っており、データサンプリン
グ動作はCPUの他の動作を中断して行うので、データ
サンプリングのためにはCPUにインタラプト信号を送
り、他動作を中断させてからデータサンプリング動作を
開始させるようにしである。本発明ではこのインクラブ
ド信号に電源交流波形を変換して得たパルス信号を用い
るので、データサンプリング動作は自動的に電源交流と
同期することになる。
In addition to data sampling operations such as storing A/D converted data in memory, it processes measurement data, controls the spectrophotometer, and performs other operations, and data sampling operations interrupt other CPU operations. Therefore, for data sampling, an interrupt signal is sent to the CPU to interrupt other operations and then start the data sampling operation. In the present invention, a pulse signal obtained by converting a power supply AC waveform is used as the included signal, so the data sampling operation is automatically synchronized with the power supply AC waveform.

(実施例) 第1図に本発明の一実施例装置を示す。Dは光検出器で
その出力は増幅器Aを介してA/D変換器A/Dに送ら
れる。CはCPUで分光光度計の制御、データ処理等の
動作を行っている。Roはそれらの動作プログラムを書
込んだROM、Raは光検出器出力その他各種のデータ
を格納するRAMで、1は入出力装置である。ROM、
RAM、入出力装置1等はパスラインBを介してCPU
に接続されている。2は波形整形回路で電源交流が入力
されている。波形整形回路2からは電源交流波形を整形
した矩形波が出力され入出力装置1に入力される。入出
力装置lは入力された矩形波の立ち上り時にパルス信号
を出力し、CPUのインタラプト信号入力端子IRQに
直接入力する。CPUはIRQ端子に信号が入ると所定
の割込み動作を行う。今の場合この割込み動作が光検出
器りの出力のサンプリング、RAMへの格納動作である
(Embodiment) FIG. 1 shows an apparatus according to an embodiment of the present invention. D is a photodetector whose output is sent via an amplifier A to an A/D converter A/D. C is a CPU that performs operations such as controlling the spectrophotometer and processing data. Ro is a ROM in which these operating programs are written, Ra is a RAM that stores photodetector output and other various data, and 1 is an input/output device. ROM,
RAM, input/output device 1, etc. are connected to the CPU via path line B.
It is connected to the. 2 is a waveform shaping circuit to which AC power is input. A rectangular wave obtained by shaping the power AC waveform is output from the waveform shaping circuit 2 and input to the input/output device 1 . The input/output device 1 outputs a pulse signal at the rise of the input rectangular wave, and directly inputs it to the interrupt signal input terminal IRQ of the CPU. The CPU performs a predetermined interrupt operation when a signal is input to the IRQ terminal. In this case, this interrupt operation is the sampling of the output of the photodetector and the storage operation in the RAM.

第2図は上述したサンプリング動作のタイムチャートで
ある。ACは電源交流波形、Bは上記波形から波形整形
回路2で整形された矩形波である。入出力装置1は上記
Bの波形の立上り時にパルス信号CをCPUのIRQ端
子に出力する。CPUはIRQ端子に信号が入ると第2
図りに示す期間中に光検出器りの出力をサンプリングし
A/D変換器ADを制御してA/D変換を行い、次のE
のタイミングで光検出器出力のディジタルデータをRA
Mに格納する。第2図のタイムチャートではCPUはイ
ンタラプト信号を受取ると直ちに光検出器出力のサンプ
リングを行っているが、割込み動作内に計時動作を入れ
てインタラプト信号から一定時間後にサンプリング動作
、A/D変換、データ格納等を行うようにすることも可
能である。
FIG. 2 is a time chart of the above-mentioned sampling operation. AC is a power supply alternating current waveform, and B is a rectangular wave shaped by the waveform shaping circuit 2 from the above waveform. The input/output device 1 outputs the pulse signal C to the IRQ terminal of the CPU at the rising edge of the waveform B. When a signal enters the IRQ terminal, the CPU
During the period shown in the figure, the output of the photodetector is sampled, the A/D converter AD is controlled, A/D conversion is performed, and the next E
RA the digital data of the photodetector output at the timing of
Store in M. In the time chart shown in Fig. 2, the CPU samples the photodetector output immediately upon receiving the interrupt signal, but by including a timing operation within the interrupt operation, the CPU performs the sampling operation, A/D conversion, and A/D conversion after a certain period of time from the interrupt signal. It is also possible to store data or the like.

(発明の効果) 本発明によれば電源交流と同期した信号さえ作れば、C
PUは割込み動作によって測定出力のサンプリング、A
/D変換等のの動作を行い、電源交流との位相関係の調
整等もCPUのソフトによって調整可能であり、またデ
ータの間引き或は−足回数のデータの積算等データ取込
み型式の変更に対してもソフト的に対処できる等回路構
成が簡単になると共に、動作上の自由度も向上する。
(Effect of the invention) According to the present invention, as long as a signal synchronized with the power source AC is generated, C
The PU performs sampling of the measurement output by interrupt operation.
/D conversion, etc., and the adjustment of the phase relationship with the power supply AC can be adjusted by the CPU software, and it is also possible to change the data import format such as thinning out data or integrating the data of the number of steps. This simplifies the circuit configuration and improves the degree of freedom in operation.

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

第1図は本発明の一実施例のブロック図、第2図は同実
施例の主要動作のタイムチャートである。 D・・・光検出器、AD・・・A/D変換器、B・・・
パスライン、1・・・入出力装置、2・・・波形整形回
路。 代理人  弁理士 縣  浩 介
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a time chart of the main operations of the embodiment. D...Photodetector, AD...A/D converter, B...
Pass line, 1... input/output device, 2... waveform shaping circuit. Agent Patent Attorney Kosuke Agata

Claims (1)

【特許請求の範囲】[Claims]  測光出力を取込み、データ処理を行うCPUと、電源
交流波形を変換して電源交流と同期した信号を得る手段
を有し、上記CPUに上記信号をインタラプト信号とし
て印加し、上記CPUは上記インタラプト信号によって
測光出力の取込み動作を行うようになっていることを特
徴とする分光光度計。
It has a CPU that takes in the photometric output and processes the data, and a means for converting the power AC waveform to obtain a signal synchronized with the power AC waveform, and applies the signal to the CPU as an interrupt signal, and the CPU receives the interrupt signal. A spectrophotometer characterized in that the photometric output is captured by the following.
JP24843088A 1988-09-30 1988-09-30 Spectrophotometer Pending JPH0295221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24843088A JPH0295221A (en) 1988-09-30 1988-09-30 Spectrophotometer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24843088A JPH0295221A (en) 1988-09-30 1988-09-30 Spectrophotometer

Publications (1)

Publication Number Publication Date
JPH0295221A true JPH0295221A (en) 1990-04-06

Family

ID=17178007

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24843088A Pending JPH0295221A (en) 1988-09-30 1988-09-30 Spectrophotometer

Country Status (1)

Country Link
JP (1) JPH0295221A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59143435A (en) * 1983-02-05 1984-08-17 Omron Tateisi Electronics Co Data transmission system
JPS63134925A (en) * 1986-11-07 1988-06-07 ザ・パーキン−エルマー・コーポレイシヨン Spectrometric device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59143435A (en) * 1983-02-05 1984-08-17 Omron Tateisi Electronics Co Data transmission system
JPS63134925A (en) * 1986-11-07 1988-06-07 ザ・パーキン−エルマー・コーポレイシヨン Spectrometric device

Similar Documents

Publication Publication Date Title
JPH0295221A (en) Spectrophotometer
JP3284145B2 (en) PLL synchronous measuring device
JP2893753B2 (en) Pulse width modulation inverter controller
JP3135635B2 (en) Power analyzer
JPH0155481B2 (en)
JP2002090393A (en) Input circuit for measuring instrument
JPS6340867A (en) Amplitude value operation apparatus
JPH0486570A (en) Detection of peak point for ac signal
JPH077433A (en) Switching frequency synchronizing type a/d converter
SU1193592A2 (en) Apparatus for direct current measurement
JPS6073368A (en) Harmonic wave analyser
JPS593688B2 (en) electromagnetic flowmeter converter
JP2870047B2 (en) Inverter current controller
JP2879452B2 (en) Digital power meter
JP3142589B2 (en) Harmonic measurement device
JPS61178457U (en)
JP3314843B2 (en) AC measuring device
JPH0139119Y2 (en)
JPH0249573Y2 (en)
JPH10242858A (en) Input/output module
JPS5899283A (en) Control device for dc motor
JPS59220830A (en) Analog input system of digital processor
JPS628200A (en) Voice analysis system
JPS6214019A (en) Data logger apparatus
JPS5939120A (en) Input switching circuit