dB to G relationship
post-148409
Thread Starter
Post #1 of 5

Nezer

Antibacterial soap... kills bacteria... bad karma?
Joined
Dec 6, 2001
Messages
1,273
Reaction score
13
Joined
Dec 6, 2001
Posts
1,273
Likes
13
Now, Tangent you have my ass all confused on the dB to G relationship. I thought it was :

dB=20 log(G)

Where G=5 is about 14dB and where G=10 is 20? This gives a differenc of 6dB.

The formula that matchs your values (in the other thread I decided to keep this discussion out of) is

dB=10 log(G)

which is only useful when G is a watts value.

Uggh! Now I'm so confused again!!

So, in our case, calculating *voltage* gain, which of these formulas is accurate:

dB=10 log(Vout/Vin)

or

dB=20 log(Vout/Vin)

*when dealing with amps the Vin is assumed as 1 becasue we are more intrested in the gain ratio. So a gain of 5 would mean 5 volts out to every 1 volt in.

Would one of you creatures that is infinity more intelligent than I please clear this mess up for me!?

And while your at it, could you also invert the equation so that I can calculate voltage gain based on a dB?
 
     Share This Post       
post-148421
Post #2 of 5

Nezer

Antibacterial soap... kills bacteria... bad karma?
Joined
Dec 6, 2001
Messages
1,273
Reaction score
13
Joined
Dec 6, 2001
Posts
1,273
Likes
13
From another thread:

Quote:

Originally posted by tangent
The inverse of a logarithm is exponentiation. If:

X = log_subY_(Z)

then:

Z = Y^X

The subY part is the "base" of the logarithm. Since decibels are figured using base-10 logs, the inverse function is:

dB = 10 ^ (G / 20)

That is, divide the gain value you calculated by 20, and then raise 10 to that power. Any calculator with a base-10 log function will have a 10^x function as well .... and now you know why!


Don't you mean:

G = 10^(dB/20)

As I've already got the formula with dB on the LHS.

So, log (x) is just shorthand for (assuming base-10 log): 10^(x)?

Sorry for having to have the math lesson on this board.
 
     Share This Post       
post-148621
Post #4 of 5

tangent

Top Mall-Fi poster. The T in META42.
Formerly with Tangentsoft Parts Store
Joined
Sep 27, 2001
Messages
5,969
Reaction score
55
Joined
Sep 27, 2001
Posts
5,969
Likes
55
Sorry for the confusion, Nezer: I wrote that out on the fly without checking it. Slindeman's got the right equations, and I fixed that other thread.
 
     Share This Post       
post-148623
Post #5 of 5

Nezer

Antibacterial soap... kills bacteria... bad karma?
Joined
Dec 6, 2001
Messages
1,273
Reaction score
13
Joined
Dec 6, 2001
Posts
1,273
Likes
13
Quote:

Originally posted by tangent
Sorry for the confusion, Nezer: I wrote that out on the fly without checking it. Slindeman's got the right equations, and I fixed that other thread.


I'm just glad to get it cleared-up and have an understanding of what a log is (mathmatically speaking). Like I've said 899+101 times before, math is NOT my strongest subject.
 
     Share This Post       

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top