# Difference between revisions of "Lab 6 RS"

Lab 6 Pulses and RC Filters

# Differentiator

## Construct the circuit below selecting an RC combination such that RC s

Taking  and


## Adjust the pulse generator to output square pulses which at RC/10, RC and 10 RC

1)

2)

3)


## Measure and . Sketch a picture comparing and . ( 3*5 = 15 pnts.)

Table1. Differentiator circuit for different pulse width

From the plots above (at point a):





## Questions

### What happens if the amplitude of is doubled.( 5 pnts.)

The amplitude of  is doubled as well.


### What happens if R is doubled and C is halved?( 5 pnts.)

The times constant  becomes unchangeable so nothing is really happened


# Integrator

Now repeat the above experiment with the resistor and capacitor swapped to form the low pass circuit below.

Table1. Integrating circuit for different pulse width

From the plots above (at point b):





## Questions

### What happens if the amplitude of is doubled.( 5 pnts.)

The amplitude of  is doubled as well.


### What happens if R is doubled and C is halved?( 5 pnts.)

The times constant  becomes unchangeable so nothing is really happened


# Pulse Sharpener

The goal of this section is to demonstrate how well the circuit below can sharpen an input pulse

1.) The first step is to create an input pulse which is rounded, similar to the output of the integrator circuit when RC = 10 . You can do this using a capacitor shorted across the output of the pulse generator. This will essential be coupled to the input impedance of the pulse generator and form a low pass circuit.

As a result the input voltage is given as

where

= impedance of the function generator at output which produces V_{in}
= capacitor shorting the function generator output to ground (not shown in the above picture)

Taking and by measurement of rising time I was able to estimate the input impedance of oscillator plus cable equal to . This measurements was done by taking oscillator input and plus capacitor shorted acros the output without any aditional circut.

2.) The output should be given by

where

## Make measurements of the rise time and . The rise time is defined as the time it take the pulse to go from 10% of its max value to 90% of its max value.( 5 pnts.)

### Rise time measurements

Input voltage is given by
At time
At time
From the plot above my measurement of rise time is:



### Rise time measurements

Output voltage is given by
At time
At time
From the plot above my measurement of rise time is:



## Compare the measurement of to what you expected based on your measured values of , and .( 15 pnts.)

Expected value:

Taking

and

I was able to estimate the expected value of rising time is equal to

Measured value:

Our measured value of rising time is equal to

As we can see from results above my measured and expected value different one from each other more then absolute values of error interval. The reason can be in derivation of expected value of . This result is the solution of inhomogeneous differential equation:

And in order to this result be true the should be equal to . Then the term in equation above will be zero and the solution becomes where that gives us the result above about rising time of output voltage.

In real situation the term is not equal to zero and we can not really use the formula . That can be seen from my measurements of rising time of input pulse for two cases: 1) with capacitor shorted the oscillator but without any additional circuit in output and 2) with real circuit . In this case the theoretical values of expected error is difficult to handle. We need somehow to solve this equation exactly that could be done numerically or we need somehow to estimate the error of not including this term in equation.

## Questions

1.) Qualitatify, why is ?( 10 pnts.)

so is always less than .

Qualitatively we can think about circuit above as differentiator. Because of taking derivative of input shape, output voltage shape becomes more sharpened. It is explain why the rising time of output voltage becomes less than input one.

2.) How is worse than ( 10 pnts.)

So the output voltage is always less then input one by the factor