<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Analog Circuits</title><link>https://blog.ast.moe/en/tags/analog-circuits/</link><description>Recent posts: Gorimuchu</description><generator>Hugo</generator><item><title>Designing a circuit to attempt machine learning with analog electronics</title><link>https://blog.ast.moe/en/blog/2026-08-13/</link><pubDate>Thu, 13 Aug 2026 20:59:43 +0900</pubDate><guid>https://blog.ast.moe/en/blog/2026-08-13/</guid><description>&lt;p&gt;Last time we discussed how combining multiplication based on Ohm’s law with addition based on Kirchhoff’s current law could enable us to represent the neural network’s multiply‑accumulate operation in a physical circuit.&lt;/p&gt;
&lt;p&gt;This time, assuming we will eventually build an actual hardware circuit, we first consider the minimal circuit configuration.&lt;/p&gt;
&lt;p&gt;In this simulator we will keep the resistor values fixed and dynamically vary the voltage output from the microcontroller.&lt;/p&gt;
&lt;p&gt;With this setup, the weight updates and multiplications are performed on the microcontroller side, while the analog circuit handles voltage summation and inversion. We’re not trying to implement all of machine learning with an analog circuit, but this level of setup should be sufficient for first confirming the correspondence between the equations and the circuit.&lt;/p&gt;</description></item><item><title>Can machine learning be implemented with analog circuits?</title><link>https://blog.ast.moe/en/blog/2026-08-12-2/</link><pubDate>Wed, 12 Aug 2026 21:01:23 +0900</pubDate><guid>https://blog.ast.moe/en/blog/2026-08-12-2/</guid><description>&lt;h2 id="wouldnt-it-be-interesting-to-do-machine-learning-with-analog-circuits"&gt;Wouldn&amp;rsquo;t it be interesting to do machine learning with analog circuits?&lt;/h2&gt;
&lt;p&gt;Lately, large language models have become popular, but they require a lot of GPUs, money, and electricity. I thought it would be fascinating to try doing this with analog circuits.&lt;/p&gt;
&lt;p&gt;The calculations performed by neural networks are essentially multiplication and addition.&lt;/p&gt;
&lt;p&gt;So, this time I’ll give a rough overview starting from the basic theory.&lt;/p&gt;
&lt;h2 id="what-is-analog-computation"&gt;What is analog computation?&lt;/h2&gt;
&lt;p&gt;In digital computers, numbers are represented as combinations of 0s and 1s. Even if the voltage changes slightly during a calculation, the original information can be recovered as long as the change stays within the range where 0 and 1 can still be distinguished.&lt;/p&gt;</description></item></channel></rss>