# Electronics Handbook/Electricity Source

There are 2 sources of Electricity used in provide power to Electronic circuits to operate . DC which stands for Direct Current and AC which stands for Alternating Current

## DC

Direct Current provides constant voltage over time and the flow of electric charge is only in one direction. Mathematically DC can be represented by a function

Direct current is generated from many sources

## AC

Alternate Current provide voltage varies sinusoidally over time with one complete cycle equals to

An AC voltage *v* can be described mathematically as a function of time by the following equation:

- ,

where

- is the peak voltage (unit: volt),
- is the angular frequency (unit: radians per second)
- The angular frequency is related to the physical frequency, (unit = hertz), which represents the number of cycles per second , by the equation .

- is the time (unit: second).

The peak-to-peak value of an AC voltage is defined as the difference between its positive peak and its negative peak. Since the maximum value of is +1 and the minimum value is −1, an AC voltage swings between and . The peak-to-peak voltage, usually written as or , is therefore .

### Power and root mean square

The relationship between voltage and the power delivered is

- where represents a load resistance.

Rather than using instantaneous power, , it is more practical to use a time averaged power (where the averaging is performed over any integer number of cycles). Therefore, AC voltage is often expressed as a root mean square (RMS) value, written as , because

For a sinusoidal voltage:

The factor is called the crest factor, which varies for different waveforms.

- For a triangle wave form centered about zero

- For a square wave form centered about zero

### Example

To illustrate these concepts, consider a 230 V AC mains supply used in many countries around the world. It is so called because its root mean square value is 230 V. This means that the time-averaged power delivered is equivalent to the power delivered by a DC voltage of 230 V. To determine the peak voltage (amplitude), we can rearrange the above equation to:

For our 230 V AC, the peak voltage *V*_{peak} is therefore , which is about 325 V. The peak-to-peak value of the 230 V AC is double that, at about 650 V.

Note that some countries use a frequency of 50 Hz, while others use a frequency of 60 Hz. The calculation to convert from RMS voltage to peak voltage is independent of the frequency.

In certain applications, different waveforms are used, such as triangular or square waves. Audio and radio signals carried on electrical wires are also examples of alternating current. In these applications, an important goal is often the recovery of information encoded (or modulated) onto the AC signal.