Analyzing a GaAs FET Frequency Doubler with Microstrip Stub Filters in TINACloud

Analyzing a GaAs FET Frequency Doubler with Microstrip Stub Filters in TINACloud

In our latest video, we demonstrate the application of the Harmonic Balance (HB) method in TINACloud by analyzing a frequency doubler circuit that uses a GaAs FET transistor and microstrip stub filters to optimize circuit operation.

In TINA v16, TINACloud and later versions, you can analyze nonlinear RF and Microwave circuits using the Harmonic Balance analysis method.

The advantage of this approach is that it does not require detailed time-domain simulation, which can be prohibitive for GHz-range signals.

Instead, you simply specify the desired base harmonics, and the program calculates and displays the resulting spectrum lines.

GaAs FET Frequency Doubler circuit

Open the Frequency Doubler GasFET file from the TINA Examples\RF\HB folder.

This frequency doubler circuit generates a 4 GHz output signal, exactly two times the2 GHz input frequency, using a high frequency GaAs FET transistor.

Besides the GaAs FET transistor, the circuit contains two other parts of interest.

A short-circuited half-wavelength stub (λ/2, λ, 3λ/2, …), TL11, is connected to the gate of the FET. It exhibits resonant frequencies at 4 GHz and integer multiples, thereby suppressing the 4 GHz component and its harmonics at the gate. 

In addition, a second open-circuited quarter-wavelength stub (λ/4, 3λ/4, …), TL9, is connected to the drain of the FET. It exhibits resonant frequencies at 2 GHz and its odd multiples, thereby filtering out the 2 GHz fundamental frequency component from the output signal.   

GaAs FET Frequency Doubler circuit

Running the Harmonic Balance Analysis

To observe the output spectrum, navigate to the Analysis menu and select Harmonic Balance Analysis. Use the following parameters:

  • Base frequency: 1 GHz
  • Number of harmonics: 20
  • Output: Vout

The analysis results clearly demonstrate the circuit’s effectiveness. The dominant spectral component appears at 4 GHz (the second harmonic) with an amplitude of 199.34 mV. Meanwhile, the fundamental 2 GHz component is suppressed to a mere 8.45 mV, confirming successful frequency doubling.

Harmonic Balance Diagram

Verification: Transient and Fourier Analysis

TINACloud allows you to validate your HB results using traditional time-domain methods.

1. Transient Analysis

When you run a Transient Analysis, the waveform visually confirms the doubling effect: the output period is half that of the input. By placing cursors on the curves, the Diagram Window confirms the frequencies:

  • Vin: 2 GHz
  • Vout: 4 GHz
Transient Analysis Vin result: 2GHz
Transient Analysis Vout result: 4GHz

2. Fourier Series Analysis

For a final numeric check, we can convert the transient data into the frequency domain. Run Fourier Series Analysis with these settings:

  • Sampling Start time: 200 ns (to ensure the circuit has reached a steady state)
  • Base frequency: 1 GHz
  • Number of samples: 4096

The resulting Fourier amplitudes and phases show excellent agreement with the Harmonic Balance data, providing total confidence in the design.

2. Fourier Series Analysis diagram

Conclusion

The combination of GaAs FET technology and Microstrip Stub Filters creates a robust frequency doubler, and TINACloud’s Harmonic Balance tool provides the fastest way to analyze it. By avoiding the overhead of long time-domain simulations, you can iterate faster and refine your microwave designs with ease.

To learn more, visit our websites: www.tina.com;www.tinacloud.com
Explore more content from our Youtube channel:
https://www.youtube.com/@TinaDesignSuite

Nonlinear RF and Microwave Circuit Analysis using the Harmonic Balance Method with TINACloud

Nonlinear RF and Microwave Circuit Analysis using the Harmonic Balance Method with TINACloud

In our latest tutorial video, we demonstrate the application of the Harmonic Balance (HB) method in the online TINACloud software, where the high computational speed of the HB method provides a significant advantage.

Introduction to Harmonic Balance (HB)

In TINA v16, TINACloud and later versions, you can analyze nonlinear RF and Microwave circuits using the Harmonic Balance analysis method.

The HB Advantage: The advantage of this approach is that it does not require detailed time-domain simulation, which can be prohibitive for GHz-range signals. Instead, you simply specify the desired base harmonics, and the program calculates and displays the resulting spectrum lines.

Finding the Examples: You can follow along by opening the built-in examples. Navigate to the Examples > RF > HB folder within the TINACloud file menu.

1. Frequency Tripler Circuit

We start with a fundamental nonlinear process: frequency multiplication.

  • Example File: Tripler BJT.TSC (located in Examples/RF/HB).
Frequency Tripler Circuit

Circuit Overview: This frequency tripler circuit generates a 2.4 GHz output signal, exactly three times the 800 MHz input frequency, using a high-frequency bipolar transistor (MMBR941).

Executing the Simulation: To see the results, go to the Analysis menu and select Harmonic Balance Analysis. Ensure the settings are configured correctly and that Vout is designated as the Output.

The Results: The spectral output confirms a successful tripling effect:

  • The third harmonic (2.4 GHz) is the dominant peak, reaching an amplitude of 113.85 mV.
  • The fundamental component (800 MHz) is significantly lower at only 1.77 mV.
Frequency Tripler Circuit:Harmonic Balance Analysis

In TINACloud, you can also display the spectrum lines graphically by clicking the Diagram button in the Dialog window.


Frequency Tripler Circuit: Harmonic Balance Analysis, Amplitude diagram

2. AM Demodulator and Direct Frequency Specification

One of the most powerful features of TINACloud’s HB analysis is Direct Frequency Specification. This allows you to manually list the specific frequencies you wish to analyze—an invaluable feature for signals with vastly different frequency components.

  • Example File: AM Demodulator with PIN Diode.TSC

Circuit Overview: This circuit features a PIN diode detector designed to demodulate an Amplitude Modulated (AM) signal. An RC low-pass filter is integrated at the output to extract the original modulating information. The input consists of:

  1. A 1 GHz carrier wave.
  2. Two sidebands offset by 100 kHz from the carrier.

The Power of Direct Specification: If we tried to analyze this using a standard base frequency of 100 kHz, the software would have to calculate over 10,000 spectral lines to reach 1 GHz. This would be incredibly slow and unnecessary. The Solution: In the HB Analysis settings, we directly input only the three frequencies we care about. TINACloud then quickly calculates the resulting voltages, including the demodulated 100 kHz signal.


AM Demodulator with PIN Diode circuit: Harmonic Balance Analysis dialog

Transient Analysis and Fourier Analysis

While Harmonic Balance is excellent for frequency data, TINACloud allows you to verify these findings using traditional time-domain methods.

  1. Transient Analysis: Run a standard Transient simulation from the Analysis menu to see the high-frequency AM wave and the extracted low-frequency signal.
  2. Fourier Analysis: To perform the Fourier Series analysis, select Fourier Analysis from the Process menu of the dialog window, then click Fourier Series… Set the parameter values as shown in the Analysis dialog.
AM Demodulator with PIN diode circuit: Transient
AM Demodulator with PIN Diode circuit: Transient Analysis
AM Demodulator with PIN Diode circuit: Fourier Analysis dialog settings
Comparison:
  • Fourier Result: 208.75 mV at 100 kHz.
  • Harmonic Balance Result: 202.70 mV at 100 kHz.

AM Demodulator with PIN Diode circuit: Harmonic Balance and Fourier Analysis

The calculated 208.75 mV at 100 kHz is very close to the 202.70 mV calculated using the Harmonic Balance method.

Conclusion

  • The Harmonic Balance analysis method offers high computational efficiency, as it avoids detailed time-domain simulations that can be prohibitive for GHz-range signals. Instead, the desired base harmonics are specified directly, and the resulting spectral lines are calculated and displayed, making the method particularly well suited for online simulation.
  • The growing performance of modern computers makes time-domain methods increasingly competitive with the Harmonic Balance method.
To learn more, visit our websites:
www.tinacloud.com
www.tina.com
Explore more content from our channel:
https://www.youtube.com/@TinaDesignSuite

New features in TINA Design Suite v16 and TINACloud

New features in TINA Design Suite v16 and TINACloud

TINA version 16 is a major upgrade with plenty of new features.

Here are the most important ones:

  • Enhanced cross-platform support
  • Dark mode support: optional black background for schematics and simulation results
  • Harmonic Balance: New analysis method for RF and Microwave circuits
  • SP32 Microcontroller Simulation
  • AI improvements
  • New Components
  • Powerful DC-DC converter models

Enhanced cross-platform support:

TINA v16 is available for Windows, Apple macOS, and major Linux distributions, including Ubuntu, Mint, SUSE, and even Raspberry Pi OS.

New features in TINA Design Suite v16 and TINACloud: Enhanced cross-platform support

Dark mode support: optional black background for schematics and simulation results

Now TINA is also available in light and dark mode. Providing a comfortable, eye-friendly black background for your schematics and simulation results during late-night design sessions, designed for users who prefer a darker, more comfortable interface at any time of day.

New features in TINA Design Suite v16: Dark mode support

Harmonic Balance: New analysis method for RF and Microwave circuits

Using the Harmonic Balance Method In TINA v16 and later versions, you can analyze nonlinear RF and Microwave circuits using the Harmonic Balance analysis method. The advantage of this approach is that it does not require detailed time-domain simulation, which can be prohibitive for GHz-range signals. Instead, you simply specify the desired base harmonics, and the program calculates and displays the resulting spectrum lines.

Using this method you can easily analyse, RF and Microwave Frequency Mixers, Frequency Doublers, Frequency Triplers, Demodulators and other RF and Microwave Circuits.

Microwave Frequency Mixers circuit
Microwave Frequency Mixers: diagram
Microwave Frequency Doubler circuit
Microwave Frequency Doubler diagram
Frequency Tripler circuit
Frequency Tripler diagram
PIN Diode demodulator circuit with HB analysis

ESP32 Microcontroller Simulation

We’ve expanded our microcontroller simulation capabilities with new models-including the popular ESP32-C3 and ESP32-S3 models. These additions enable more advanced, realistic embedded-systems design, empowering engineers to prototype, test, and validate ESP32-based applications with greater confidence-before moving to hardware. 


ESP32 Microcontroller Simulation

AI improvements

  • Fast offline LLM models
  • Support for LM Studio
  • Speech support
  • Support for AMD GPUs, Intel Arc GPUs
  • Improvements in the AI AC/DC solver
  • Improved AI Supported Filter Design
  • More AI supported Oscillator Circuits
  • Python code generation using multiple LLMs (ChatGPT, Copilot, Claude, DeepSeek, and more)

New Components from:

  • Infineon Technologies
  • Texas Instruments
  • Analog Devices
  • Nisshinbo Micro Devices
  • Würth Elektronik
  • STMicroelectronics
  • Semtech

Powerful DC-DC converter models

TINA includes many switched-mode power supply models from leading manufacturers-such as Texas Instruments, Infineon Technologies, Analog Devices, Nisshinbo Micro Devices, Würth Elektronik, STMicroelectronics, Semtech and more. Most of these converters are available as a single unified model that supports Transient, Line-Step, Load-Step, AC Analysis, Efficiency-vs-load plots, and automatic redesign to user-defined specifications-all within the same model.

You can redesign these circuits either with the TINA Design Tool or with AI using natural language. The models are also available as fully SPICE-compatible files, so you can use them not only in TINA but also in other simulators such as PSpice, SIMetrix, and more.

LT8609 application circuit
LT8609 application circuit-Bode diagram

If you own TINA 16 or later, you’ll receive new and updated converter models free of charge through ongoing updates.

Enhanced with these new features, TINA can help you even more to advance your ideas and your product definition.

That wraps up our summary on the new features delivered with TINA 16 and its online version TINACloud.

New features in TINA Design Suite version 16 and TINACloud

You can learn more about TINA here: www.tina.com

You can learn more about TINACloud here: www.tinacloud.com

Explore more content from our channel: https://www.youtube.com/@TinaDesignSuite

TINA Design Suite v16 Launched

TINA Design Suite v16 Launched

We are thrilled to announce the release of TINA v16, the latest version of our powerful circuit simulation and analysis suite.

TINA v16 brings a wealth of new features and enhancements designed to elevate your circuit design experience.

List of New features in TINA v16

  • Enhanced cross-platform support: now available for Windows, Apple OS, and major Linux distributions (Ubuntu, Mint, SUSE, Raspberry Pi, and more).
  • Dark mode support: optional black background for schematics and simulation results
New features in TINA Design Suite v16 and TINACloud: Enhanced cross-platform support
New features in TINA Design Suite v16: Dark mode support

Powerful Import & Conversion Tools (Bring Your Designs to TINA)

  • LTSpice import: Converting LTSpice.asc file into TINA.TSC files
  • Conversion of Image-Based Schematic Diagrams into TINA Schematic Format

New analysis method for RF and Microwave circuits

  • Harmonic Balance Analysis: MW mixers, modulators, demodulators, and more.
Microwave Frequency Mixers circuit
Microwave Frequency Mixers: diagram
Microwave Frequency Doubler circuit
Microwave Frequency Doubler diagram
Frequency Tripler circuit
Frequency Tripler diagram
PIN Diode demodulator circuit with HB analysis

 AI improvements

  • Fast offline LLM models
  • Support for LM Studio
  • Speech support
  • Support for AMD GPUs, Intel Arc GPUs
  • Improvements in the AI AC/DC solver
  • Improved AI Supported Filter Design
  • More AI supported Oscillator Circuits
  • Python code generation using multiple LLMs (ChatGPT, Copilot, Claude, DeepSeek) 

New Components from

  • Infineon Technologies
  • Texas Instruments
  • Analog Devices
  • Nisshinbo Micro Devices
  • Würth Elektronik
  • STMicroelectronics 
  • Semtech 

New Microcontroller models

  • ESP32C3, ESP32S3
ESP32 Microcontroller Simulation
Discover the latest enhancements in TINA v16 and TINACloud by watching our new showcase video:

What is TINA v16 Design Suite and TINACloud

You can learn more about TINA here: www.tina.com

You can learn more about TINACloud here: www.tinacloud.com

Explore more content from our channel: https://www.youtube.com/@TinaDesignSuite

Code Compilation and Simulation on the ESP32C3 Microcontroller with TINA

Code Compilation and Simulation on the ESP32C3 Microcontroller with TINA

Our latest video guide is now available, featuring a comprehensive walkthrough of Code Compilation and Simulation on the ESP32C3 Microcontroller using TINA v16.

Prerequisites

Before you begin, ensure your environment is correctly configured:

  1. Compiler Installation: During the TINA installation process, you must have selected the ESP32 compiler package.
    • Note: If you missed this, you can add it later by running a Custom installation and enabling the ESP32 Compiler checkbox.
  2. Arduino Path Setup: Navigate to Analysis > Options > Digital Simulation > Advanced. Ensure the Arduino path is correctly set to your local installation.

Step 1: Creating a New Project

  1. Open TINA and locate the Logic_ICs-MCUs tab on the toolbar.
  2. Click the Arduino button.
  3. From the dropdown list, select the ESP32C3 microcontroller and place it onto your schematic workspace.

Step 2: Compiling Arduino Code

Open the Editor: Right-click on the ESP32C3 component and select Open MCU code editor…

Add Your Code: In the code editor window, click the “Add Existing file to Project” button to load your previously saved Arduino (.ino) program.

Compile: Press the “Make Project” button on the toolbar. TINA will now compile your code using the integrated ESP32 compiler.

Save: Once the compilation is successful, press the “Save Project” button and close the editor window.


ESP32C3 Microcontroller: Compiling and saving the Arduino code

Step 3: Building the Circuit

  • Add Components: Connect a switch to a GPIO input and an LED to a GPIO output.
  • Ready-to-Use Example: If you want to see a completed version of this setup, you can find it in the built-in examples:TINA Examples/Microcontrollers/ESP32/esp32c3_digitalread.tsc

Step 4: Running the Simulation

This example is designed to read the state of a physical switch. Depending on the switch position, the ESP32C3 will turn the LED on or off.

  1. Press the TR (Interactive Transient) button to start the simulation.
  2. Toggle the switch: Watch as the LED responds instantly to the input change.

ESP32C3 Microcontroller: Toggling the switch

Conclusion

By following these steps, you can rapidly prototype and debug your ESP32C3 applications in a risk-free virtual environment. TINA v16’s ability to compile Arduino code directly and simulate it alongside analog components makes it an invaluable tool for modern embedded design.

To learn more, visit our websites:
www.tinacloud.com
www.tina.com
Explore more content from our channel:
https://www.youtube.com/@TinaDesignSuite