Hello guys. Im having a problem finding the average value of a specific V(o) function. Heres the circuit: When the diode is considered ideal, V(o)=V(i) (for the positive values of Vi) and V(o)=0V (for the negative values of V(i)). then: which can be simplified: But when the diode is considered real, with a 0,7V barrier... V(i)=20sinwt-0.7 How to solve this integral !
Maybe this is incorrect, but I would subtract the diode drop from 20 because that is what the circuit sees.
What these people are trying to say to you is that you have to first find at which angle your sine reaches the 0.7V threshold and then use that angle value to integrate from to .
While this seems reasonable at first glance, notice that for the first part, and last part, of the integration you have a negative voltage whereas you should have zero. So, as the others pointed out, you have to narrow the integration limits as well as substract off the voltage drop.
I hate those irregular sine waves. I know how to find and My question is: How to solve the integral, what to do with the -0.7 part. you know, a step by step solve. I know that first we have to 'divide' the integral in two parts.
I don't know what am I doing wrong. if then should be a positive number, because the diode is ON only for positive values of Vi (Diode ON if Vi>0.7V) but I get a negative result. How is this possible ? Do I have to convert to radian on the second part, when they multiply with 0.7 ?
Yes, you must have theta in radians. If you don't, the units don't work out. While putting something with units of degrees into the cosine function is well defined, the return value is still dimensionless making the units on that term volts. But your second term will have units of volt-degrees, which can't be added to volts. Hence, you KNOW the answer is wrong. But, like so many people, you won't track your units and so you can't catch a common error like this. Had your wrong answer come out positive, you very likely would have blindly reported it as your answer (and at least you did ask if the answer made sense and thereby caught the error that way -- good for you). Most mistakes that you make will mess up the units. If you are tracking your units, you catch the vast majority of these mistakes. As an engineer, as far as I am concerned, it is bordering on gross professional negligence not to track units and thereby fail to use one of the most powerful error detection devices around. As a student, failing to do so lowers your grade. As an engineer, failing to do so can kill a planeload of people. Never forget that doctors kill people one at a time while engineers do it in job lots.
This begs the question as to whether the OP would have been any the wiser had they noted the units as volts-radians.
Maybe, maybe not. Since radians are dimensionless, they can come and go as need be. I tend to carry them explicitly where it makes sense to flag the quantity as involving an angular measure and drop them elsewhere. But whether you keep them or not, degrees can't be dropped willy-nilly and the inconsistency is still evident if units are tracked. So whether he would have or not, hopefully he can see that value that tracking units has and will choose to track them in the future.
No doubt there is genuine advantage with tracking units and I admire your resolve to convince others of the merits of the approach. I would have also taken the OP to task had they blithely passed over the blatant inconsistency that their calculations showed [post #10] the integration of a 20V peak rectified sinusoid component having less value than the integration of a 0.7V DC value over the same interval. Clearly the OP was concerned at the strange result and proposed the notional reason as to the source of the error. An appreciation of the consistent magnitudes of various terms in a solution also provides some feedback for the observant student / professional as they work through a problem. At the moment I'd rather take the OP to task for that annoying avatar.
Absolutely agree. Units are a big part of error checking, but not the only thing. That's why you'll see me tout the dynamic duo of always track the units and always ask if the answer makes sense. The OP here is well ahead of so many people because he is asking if the answer makes sense, and just asked the question is the lion's share of the battle. Another extremely valuable tool is asking if the answer makes sense in the limits; in other words, take the answer (including at points along the way) and see if it reduces to something that is obviously right under simplifying assumptions, such as the frequency going to DC, or the capacitance and inductance going away, or the power factor going to unity, or one resistor becoming arbitrarily larger than another.