回路の素101 043 電流-電圧変換 差動アンプ型
差動電流出力型のセンサなどからの電流出力を電圧に変換する
回路図作成
- 基本的な構成
出力電圧 は下記になる
今回の回路の場合は、1mA -> 1V に変換
応答性確認
シミュレーションを tranモード(デフォルト) で実行し、応答を見る
import matplotlib.pyplot as plt import numpy as np from PyLTSpice import RawRead fname = 'PrimaryCircuit4-043.raw' LTR = RawRead(fname) fig = plt.figure(figsize=(6, 4)) ax1 = fig.add_subplot(2, 1, 1) ax2 = fig.add_subplot(2, 1, 2, sharex=ax1) x = LTR.get_trace('time').get_time_axis(0) tmp1 = LTR.get_trace('I(I1)').get_wave(0) ax1.plot(x * 1000, tmp1 * -1e3, label='Iin+') tmp1 = LTR.get_trace('I(I2)').get_wave(0) ax1.plot(x * 1000, tmp1 * -1e3, label='Iin-') tmp1 = LTR.get_trace('V(vout)').get_wave(0) ax2.plot(x * 1000, tmp1, label='Vout') ax1.legend(); ax1.grid() ax1.set_xlabel('[ms]'); ax1.set_ylabel('[mA]') ax2.legend(); ax2.grid() ax2.set_xlabel('[ms]'); ax2.set_ylabel('[V]') fig.tight_layout() fig.savefig('PrimaryCircuit4-043_Graph1.png')
2つの入力が合成されて、電圧で出力されている
参考文献
この記事は以下の書籍を参考にしましたが、
私の拙い知識で書いておりますので、誤り等ありましたらご指摘ください