The 1st part of the question 2a) requires the design of a triangle wave generator.
So i need to get values for the capacitor and the 2 resistors (see circuit)
Am I designing them correctly???
R3
R3=5V/0.1mA=50K
C1
C1=T/R3 f=50KHz phase thus T=1/f=20uS
C1=20uS/50K=400pF
R1 & R2
The current in R1 and R2 must be the same
Voltage of pwm output / R1 = current = Voltage at input / R2
5V/R1 = 10V/R2
so R1=10K and R2 = 20 K and current is 500uA
So i need to get values for the capacitor and the 2 resistors (see circuit)
Am I designing them correctly???
R3
R3=5V/0.1mA=50K
C1
C1=T/R3 f=50KHz phase thus T=1/f=20uS
C1=20uS/50K=400pF
R1 & R2
The current in R1 and R2 must be the same
Voltage of pwm output / R1 = current = Voltage at input / R2
5V/R1 = 10V/R2
so R1=10K and R2 = 20 K and current is 500uA
Attachments
-
54.1 KB Views: 17
-
58.3 KB Views: 24