MENU

Fun & Interesting

【初心者向け】電気屋じゃなくても分かる回路シミュレーション

今日から始める電子工作 13,354 lượt xem 2 years ago
Video Not Working? Fix It Now

This time, I would like to talk about circuit simulation, which you don't have to be an electrician to understand, for those who would like to try circuit simulation.

If you have not tried circuit simulation yet, please read this article until the end.

-Table of Contents
0:00 Opening
0:23 What is circuit simulation
2:10 How to use circuit simulation
9:12 Important point of circuit simulation
9:52 Conclusion

-Related Link
https://www.analog.com/jp/design-center/design-tools-and-calculators/ltspice-simulator.html

-Introduction
Hardware engineer
9 years as a Maker

-SNS
Web : https://start-electronics.com/
Twitter : https://twitter.com/buonoatsushi

#Electronics #LTspice

-Content
First, let us explain what circuit simulation is in the first place.
Circuit simulation is the process of modeling an electronic circuit in a simple form and reproducing its operation on a computer.
With circuit simulation, you can check, for example, how many volts are applied to each electronic component, how many amperes of current are applied to each route, and how these values change when the temperature changes. Also, although this is a bit more specialized, it can be useful to compare the response to sudden changes in the magnitude of current or voltage over time, or the behavior of each component when its parameters are changed, on a graph.
The advantages of using circuit simulation include the ability to predict the operation of each part before actually turning on the power, which can reduce component failures, and the ability to safely conduct experiments. Another hidden advantage is that you can store the knowledge for yourself and share it with others since you create the circuit on your PC, although the perspective changes a little. On the other hand, there are some demerits, such as the time and effort required to create a circuit on a computer, and the delay in finding the cause of a problem when it actually occurs because you believe too much in the results of the simulation. The second point, in particular, requires attention because it is easy to do this if you are not aware of it.
Another thing to keep in mind is the selection of simulation software. There are many types of simulation software out there, from free to paid, but if you are new to simulation, LTspice is the best choice for you. This software is free, easy to use compared to other software, and there are many books on the subject, making it the best software for beginners. Moreover, it is an excellent software that is commonly used in the design field because it has quite a lot of functions.
Next, let's actually simulate a circuit using LTspice.
First, download and install LTspice from the official website. At the moment, version 17 is the latest version, which is compatible with both Windows and Mac OS, but the Mac version is a little peculiar to use, so we recommend using the Windows version if you can choose it. This video will also be based on the Windows version.
After installing and launching the software, you will see this screen. First, open a new schematic by selecting New schematic from File on the top menu bar. You will create a schematic on this screen. Note that I have customized the color settings so it will look a little different, but don't worry about that.
I have prepared a simple circuit here, and I would like to make this circuit. The rough flow of the process is to first make a schematic, then input parameters and labels for each component, run a simulation, and finally measure the voltage and current.
Let's start with the circuit diagram. You can place them in any order, so you can proceed from the easiest one. In this example, we will start with resistors. Click the resistor symbol on the toolbar above, and rotate it 90° by clicking the rotate button since it is vertical by default. Click the Copy button, click the resistor you just placed, and click once more on an empty space to copy it. →Then place three of them. Next, place a battery as the DC power source. The battery is not in the toolbar above, so we call such a component by pressing the component button. In this component, all the components registered in LTspice are registered, and the battery is registered under the name "battery". By the way, there are many components, so if you know their names, it is faster to look them up by typing "battery" in the search window here. Double-click it and place it on the schematic screen. There is another DC power supply component called "cell," but you can use either one since they have exactly the same function, just different appearance.
Next, find GND in the toolbar and place it on the schematic, as it is a component that exists only in the simulation and is used as the reference for 0V. Then, click on Wire to connect these components.

Comment