Tuesday, November 25, 2025

HW#10 Electronics using AI

   AI for solving amplifier electronics (課堂講義內有參考解答)


 建議工具

使用 Claude Sonnet 4

使用 ChatGPT 5

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 Grok 4



 課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject HW#10  [your id, your name]

How to share a Claude link

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


 AI for solving amplifier electronics (課堂講義內有參考解答)

任選兩題


1. Using A* search to design a two stage amplifier using BJT.

Gain approximately 8000, bandwidth 2Hz to 100 kHz

Hint: A* guide  using A* search algorithm to design a two-stage BJT amplifier. This is a fascinating application of AI search to circuit design optimization!

2. Use A* to design a class AB amplifier. The first stage is class A. the second is class B. freq response cut off at 10Hz and 25 KHz





schematic enhanced by Gemini 3.0 Pro




artifact enhanced by Claude (share) opus 4.5




3.  animate in three.js (one of them)

animation of Turbofan jet engine, protein folding, CO2 capture

enhance schematic




Protein Folding artifact  html
highly accomplish it artifact improved on student work
2 highly accomplish it artifact improved on student work




Carbon capture artifact html
(graph by Gemini, artifact re-rendered by Claude)


4. from spec to animation

參考齒輪規格

製作其中一組規格的 3D 齒輪動畫




Follow up to #9

 1. staged or not staged, that is the question.



not staged, all in one, Claude Opus 4.5



Gemini 3.0 Pro



depending on the model.


why Chain of Thought may not work

because it is not summoned. 


AI is the new dev environment


Code, run, debug, verify







IDE+VM+ AI Partner
API discovery and integration
piecing everything together








AI is the new UI.


 

Summary of the Paradigm Shift

FeatureOld UI (Graphical User Interface)New UI (Generative Interface)
InputClicks, Drag-and-Drop, MenusNatural Language (Text/Voice)
Skill RequiredTool proficiency (How to use the software)Articulation (How to describe the goal)
OutputStatic results based on manual inputDynamic, unique results generated on the fly
FrictionHigh (Many steps to achieve 1 result)Low (1 step to achieve complex result)
My examples (Gemini 3 pro)
My examples (Claude Sonnet 4.5,中文) pptx

今年國科會計畫寫甚麼好呢?

Wednesday, November 19, 2025

Optimize circuit design using A*

Two stage Amp








 






Make it fully optimized by A*













Using A* search to design a two stage amplifier using BJT.

Hint: A* guide  using A* search algorithm to design a two-stage BJT amplifier. This is a fascinating application of AI search to circuit design optimization!

Use A* to design a class AB amplifier. The first stage is class A. the second is class B. freq response cut off at 10Hz and 25 KHz



schematic enhanced by Gemini 3.0 Pro



Tuesday, November 18, 2025

HW#9 Electronics

  AI for solving amplifier electronics (課堂講義內有參考解答)


 建議工具

使用 Claude Sonnet 4

使用 ChatGPT 5

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 Grok 4



 課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject HW#9  [your id, your name]

How to share a Claude link

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


 AI for solving amplifier electronics (課堂講義內有參考解答)

任選兩題


1. Plot frequency response for the following amplifier circuit using matplotlib

Compare two methods Claude Sonnet 4.5 Freq resp (all in one) vs. staged



AI Model Results:

Note: Lower cut-off comes from coupling capacitors (not shown here).


Generate professional grade Bode plot.

Using AI tools to generate professional plot using Matplotlib


Bode plot

ChatGPT integrates Python environment so it directs generates Bode plot.










Bode plot 

1. React (Claude) - AIStudio - Python w/ Matplotlib - Colab - Plot

2. Reasoning (AIStudio) - AIStudio - Python w/ Matplotlib - Colab - Plot



2. solve for the gain


 (source)



share (Claude running Python internally on VM)






3. Solve for the gain. Plot frequency response for the following  amplifier circuit.



share (Av=-2.31, Lower Cutoff 20 Hz, Upper Cutoff 10.46MHz)

Analysis with Cπ = 22.1 pF, Cμ = 3.0 pF

20Hz is assumed, not by calculation

Analysis with Cπ = 22.1 pF, Cμ = 3.0 pF: 








Design Alternative




 以上參考答案
(1) -4  (2) -165 (3) -2.31 答案誤差10%以內都是正常的


Friday, November 14, 2025

Simulating Random Process

Visualization of Manufacturing Process,  simulation of pipelines (inspired by Edward Chang)





市區交通模擬

 (credit: 與專題生共同創作)




Drone deployment




author 帥氣



Submarine sonar detection 
hi accomp share (artifact)

Supplemental

潛艇的惡夢  video

Tomahawk video




simulate submarine detection with random sensor arrays
Case study teaching guide


artifactshare 4.5 opus
artifactshare 4.5 sonnet




Saturday, November 08, 2025

Follow up to #8

 1. Gemini 2.5 Pro for 2-stage amp, Freq Response





staged calculation leads to better, more accurate results.



2. 繪圖,動畫:  建議 使用 Claude Sonnet 4.5

推理,複雜問題:  建議使用以下 

使用 Claude Sonnet 4.5 extended thinking 付費版

使用 Gemini 2.5 Pro 免費額度最高 1M tokens

使用 ChatGPT 5

使用 Grok 4




Monday, November 03, 2025

ASML

ASML High-NA EUV Lithography: The Mechanical Marvel Atomic-precision motion control + 40 years of mechanical engineering mastery 🏭 CLASS 1 CLEANROOM - Everything inside costs $$$$ EUV Source (LPP) CO₂ Tin droplets → Plasma @ 500,000K → 13.5nm EUV Collector Mirror M1 M2 Complex Mirror Optics 6-14 mirrors, each with 40+ layers (0.1nm precision) Zeiss exclusive, $100M+ per set Reticle Stage (4× pattern) Reticle Mask Pattern Synchronized Stage (4:1 ratio) Projection Optics (0.55 NA) 4× demagnification ⚙️ WAFER STAGE: The Real Moat (40 Years of R&D) 300mm Wafer 6-DOF Motion Control x, y, z, Rx, Ry, Rz - all synchronized 4G acceleration @ atomic precision < 0.1nm positioning < 2nm overlay Laser Interferometers X-axis position Y-axis position Z-axis position Real-Time Control 1000+ corrections/sec Temp: 0.001°C Vib. isolation SYNC ASML's 40-Year Moat: Key Technologies 1. Motion Control ✓ Air bearing stages ✓ Magnetic levitation ✓ Voice coil actuators ✓ Piezo fine positioning ✓ 6-DOF simultaneous Dev time: 15+ years Japanese precision + Dutch integration Nikon/Canon couldn't replicate 2. Metrology ✓ Laser interferometers ✓ Encoder systems ✓ Alignment sensors ✓ Real-time correction ✓ Sub-nm accuracy 1000+ measurements/sec Proprietary algorithms Hardware + software IP 3. Synchronization ✓ Reticle + Wafer sync ✓ 4:1 speed ratio ✓ Overlay < 2nm ✓ Dynamic focus ✓ Vibration damping 4G acceleration sync'd Dual-stage architecture 200 wafers/hour throughput 4. Supply Chain ✓ Zeiss mirrors (exclusive) ✓ Japanese bearings ✓ US control systems ✓ Dutch integration ✓ 1000+ suppliers Ecosystem depth 40 years of relationships Cannot be replicated quickly This is why Intel with $100B+ budget still can't catch up. This is why Substrate's "solve the light source" strategy misses 99% of the challenge.