How to import voltage waveforms measured with an oscilloscope into LTspice

YouTube

How to import voltage waveforms measured with an oscilloscope into LTspice

I can't figure out how to get the actual voltage waveforms measured on the oscilloscope into LTspice.

There are three steps to capturing voltage waveforms, so let's look at them in order!

In this article, we will talk about "how to import voltage waveforms actually measured with an oscilloscope into LTspice".

Reproduce voltage waveforms in LTspice

This section explains how to import actual chattering waveforms into LTspice.

Although LTspice provides voltage sources such as sine and square waves, complex waveforms such as switch chatter are difficult to create, so it is more accurate and efficient to import actual measured waveforms for simulation.

There are a total of three steps for capturing voltage waveforms.

電圧波形を取り込む方法3ステップ

  1. Output waveforms observed by oscilloscope in CSV format
  2. Read CSV files on a PC and process them into a format that can be recognized by LTspice
  3. Read the processed CSV file on LTspice

In the case of my oscilloscope, RIGOL's DS1054, I will explain in detail starting with the method in step (1)!

STEP.1
STEP.2
STEP.3

Next, we will take a closer look at step (2), which is to read the CSV file on the computer and process it into a format that can be recognized by LTspice.

STEP.1
STEP.2
STEP.3
STEP.4
STEP.5

Finally, we will look at the procedure for reading the processed CSV file into LTspice as step (3).

STEP.1
To read the CSV file, first right-click on the power supply on the circuit input screen
STEP.2

STEP.3
STEP.4
STEP.5
Finally, click OK.

Now we can create a voltage source that reads CSV data!

If you compare the waveform observed on the oscilloscope with the waveform reproduced on LTspice, you will see that it can be reproduced at a very fine level of detail.

summary

In this issue, we have talked about "how to import voltage waveforms actually measured with an oscilloscope into LTspice".

This site also provides other videos and articles to help beginners learn electronics construction systematically from zero, including explanations of the minimum knowledge and tools they need to acquire.

Please also see our articles on chattering causes and countermeasure circuits!