How can I convert loss units, dB/mm, to mm^-1

In summary: Does that help?I am not good at code, but I don't see these refractive index values being used in your code. You need to include them in the calculations. Also is this a plane wave with linear loss? or is there an exponential factor? (as Baluncore suggested with E vs P)
  • #1
4
0
I am trying to simulate mode loss for a waveguide and the units I get for loss are dB/mm, but I want to convert the units to just mm^-1 so I can the absorption (α) value. I am guessing there is a specific value that I need to either multiply or divide my values with, but I'm just not sure what that value is.
 
Engineering news on Phys.org
  • #2
Welcome to PF.

The dB is just one way to express a ratio as a logarithm, so addition can replace multiplication, and multiplication can replace exponentiation.

I believe you are correct, you may just need to convert the distance the signal takes to fall by 1 dB, into the distance the signal takes for to fall to 1/e.

Can you please give us the equations you are using that employ the absorption coefficient, α.
 
  • Like
Likes BvU
  • #3
Baluncore said:
Welcome to PF.

The dB is just one way to express a ratio as a logarithm, so addition can replace multiplication, and multiplication can replace exponentiation.

I believe you are correct, you may just need to convert the distance the signal takes to fall by 1 dB, into the distance the signal takes for to fall to 1/e.

Can you please give us the equations you are using that employ the absorption coefficient,
Thank you, and thank you for your reply.

The equation I have is T = I_0 * e^{-x*α}, where T is the transmission and α the absorption coefficient. Essentially, I need graphs that show α vs frequency, but I'm just having trouble with converting the units, as I mentioned in the question.
 
  • #4
Are you considering the power, or the electric or magnetic field?
What is the form of your equation given dB?
Do you use; dB =10⋅Log(power ratio); or, dB = 20⋅Log(amplitude ratio) .
 
  • #5
Baluncore said:
Are you considering the power, or the electric or magnetic field?
What is the form of your equation given dB?
Do you use; dB =10⋅Log(power ratio); or, dB = 20⋅Log(amplitude ratio) .
Hi, I have these 2 equations: V=V_0*e^(-αL) and V=V_0*10^(-α_dB*L/20) where α_dB is loss in dB/mm and α is attenuation which has 1/mm units. When I solve for α, I get α = α_dB*ln(10)/20, but when I use
T = T_0 * e^{-L*α} to convert it to transmission, the values are not correct. The image shows a plot of what I'm trying to achieve. I want to match the MODE with the FDTD transmission. When I divide by 10 rather than 20, I get the correct values, but I can't seem to find these equations anywhere to check if they are correct. Am I using the correct equations? Where do the first 2 equations come from, it's still not clear for me?
 

Attachments

  • T vs f 100um (1).jpg
    T vs f 100um (1).jpg
    10.2 KB · Views: 64
Last edited:
  • #7
TonyStewart said:

I have tried this before, here is the code
Code:
tra1filedata = genfromtxt("T vs f (1mm L=100).txt") #transmission data from FDTD
lossfiledata = genfromtxt("loss vs f xspan 200.txt") #loss data from MODE
loss_dB = lossfiledata[:,1]/1000

lambda_0 = 0.25*2.27 #wavelength
kappa = (loss_dB*lambda_0)/(20*2*np.pi*0.43) 
k0 = (2*np.pi*2.27 + kappa*1j)/lambda_0

alpha1 = 2*kappa*k0

alpha2 = 10**(loss_dB/10)

alpha = loss_dB*((math.log(10))/20) 

T = np.exp(alpha1*-1*0.1) #transmission converted from loss MODE

plt.plot(lossfiledata[:,0]*1e-12, T, label = "T @ 100um (MODE)");

plt.plot(tra1filedata[:, 0]*10e-13, tra1filedata[:, 1], label="T @ 100um (FDTD)");
For the GaAs I'm simulating, the refractive index is 3.6 and the imaginary refractive index is 0.01.
But then I'm not exactly sure how to plot it or if the code I wrote so far is correct. As you can see, I tried 3 different equations for alpha, and none of them have yielded the result I want. Would I still need to use
T = T_0 * e^{-L*α}? Because I'm essentially trying to convert the loss data from MODE to match with the transmission data from FDTD. I know the simulations are correct because the loss from both methods matches, so the error must be in the equations I'm using, I'm just not sure what it is.
 
Last edited by a moderator:
  • #8
I am not good at code, but I don't see these refractive index values being used in your code. You need to include them in the calculations. Also is this a plane wave with linear loss? or is there an exponential factor? (as Baluncore suggested with E vs P)
 

Similar threads

Replies
4
Views
580
Replies
6
Views
886
  • Electrical Engineering
Replies
12
Views
38K
  • Electrical Engineering
Replies
11
Views
1K
Replies
1
Views
706
  • Other Physics Topics
Replies
2
Views
506
Replies
10
Views
1K
Replies
19
Views
4K
Replies
14
Views
2K
Replies
6
Views
4K
Back
Top