> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/hyperlab/example-models/power-electronics/half-wave-rectifier.md).

# Half-wave Rectifier

## Description

A Half-Wave Rectifier is a power electronic circuit designed to convert an alternating current (AC) voltage into a unidirectional, pulsating direct current (DC) voltage. Unlike a full-wave rectifier, which utilizes both halves of the AC waveform, a half-wave rectifier allows only one half-cycle of the input signal to reach the load.

This example uses a **single diode** to convert a sinusoidal AC input voltage into a pulsating positive output voltage.

A smoothing capacitor connected across the load resistor can reduce output voltage fluctuations, producing a more stable DC voltage.

The half-wave rectifier is one of the simplest AC/DC conversion circuits and provides a practical introduction to diode operation, rectification, and capacitive filtering.

## Requirements

This example does not require any additional resources.

## Detailed explanation

This example allows users to investigate the behavior of a Half-Wave Rectifier and understand how a smoothing capacitor influences the quality of the DC output voltage.

The input voltage is a sinusoidal AC waveform with a peak amplitude of approximately **100 V**, as illustrated in the graph.

The interactive interface provides a circuit schematic, voltage measurements, and real-time graphs displaying:

* **Input voltage (v\_src):** The sinusoidal AC voltage applied to the diode.
* **Output voltage (v\_R):** The rectified voltage measured across the load resistor.

Users can modify the smoothing capacitor value to investigate its influence on output voltage ripple.

<figure><img src="https://2712201518-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fbs0l9jugXixa0ghErrqs%2Fuploads%2Fn9Gos5k6JoA3bymwOWCN%2Fhalf-wave-rectifier.png?alt=media&amp;token=2ab8f067-335c-4468-82cf-8252ab9d60cc" alt=""><figcaption></figcaption></figure>

## Simulation and results

#### **Experiment 1 – Half-Wave Rectification**

Start with a very small smoothing capacitance, such as **1 µF (1 × 10⁻⁶ F)**.

Observe the input and output voltage waveforms.

Notice how the positive half-cycles of the input sinusoidal voltage appear at the output, while the negative half-cycles are blocked by the diode.

Compare the frequency of the input waveform with the frequency of the rectified output waveform.

Verify that the output voltage pulses repeat at the same frequency as the AC input.

#### **Experiment 2 – Influence of the Smoothing Capacitor**

Increase the smoothing capacitance progressively and observe the resulting output voltage.

Suggested capacitance values:

| Capacitance | Expected Behavior                                                           |
| ----------- | --------------------------------------------------------------------------- |
| 1 µF        | Significant voltage ripple; output closely follows the positive half-cycles |
| 10 mF       | Reduced voltage ripple; improved smoothing                                  |
| 100 mF      | Very low voltage ripple; output approaches a constant DC voltage            |

Observe how increasing the capacitance allows the capacitor to maintain the output voltage during the negative half-cycles and between successive positive peaks.

#### **Experiment 3 – Analysis of Output Voltage Ripple**

Compare the output voltage waveforms obtained with different capacitance values.

Measure the maximum and minimum output voltages and calculate the peak-to-peak ripple:

```
V_ripple = V_max - V_min
```

Analyze how the ripple amplitude decreases as the smoothing capacitance increases.

Observe that the output voltage becomes progressively more stable, approaching the peak value of the input sinusoidal waveform.

#### **Experiment 4 – Comparison with Full-Wave Rectification**

Compare the behavior of the half-wave rectifier with that of a full-wave bridge rectifier.

For the same AC input voltage, load resistance, and smoothing capacitance, observe the differences in output voltage ripple and average DC voltage.

Notice that the half-wave rectifier charges its capacitor once per AC cycle, whereas the full-wave rectifier charges its capacitor twice per cycle.

This comparison highlights the advantages of full-wave rectification for applications requiring a smoother DC output.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/hyperlab/example-models/power-electronics/half-wave-rectifier.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
