dBm to Distance Converter

Software Defined Radios of all Types
User avatar
IB4TL
Member
Member
Reactions:
Posts: 5364
Joined: Mon Nov 05, 2018 6:02 pm

dBm to Distance Converter

#1

Post by IB4TL »


This tool calculates the maximum distance (miles or km) that can be achieved in a communication system using the transmitter power and receiver sensitivity in dBm.

The system includes a transmitter, transmit antenna, receiver and receive antenna.

To calculate the max distance, enter the following:
  • Transmit Power (dBm)
  • Receiver Sensitivity (dBm)
  • Frequency of operation (Hz/KHz/MHz/GHz)
  • Transmit Antenna Gain (dBi)
  • Receive Antenna Gain (dBi)
  • Total Cable and Other Losses (dB)

function doValidate_1(form) { window['cff_enabling_form' ] = function(_form){ if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form); _form.validate().settings.ignore = '.ignore,.ignorepb'; _form.removeData('being-submitted'); _form.find('.submitbtn-disabled').removeClass('submitbtn-disabled'); _form.find('.cff-processing-form').remove(); }; window['cff_disabling_form'] = function(_form){ if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form); if(cff_form_disabled(_form)) return; _form.find('.pbSubmit').addClass('submitbtn-disabled'); _form.data('being-submitted',1); var d = document.createElement('div'); $dexQuery(d).addClass('cff-processing-form').appendTo(_form.find('#fbuilder')); }; window['cff_form_disabled' ] = function(_form){ if(!(_form instanceof $dexQuery)) _form = $dexQuery(_form); return ('undefined' != typeof _form.data('being-submitted')); }; var form_identifier = '_1'; if(typeof cpcff_validation_rules == 'undefined') cpcff_validation_rules = {}; if(typeof cpcff_validation_rules[form_identifier] == 'undefined') cpcff_validation_rules[form_identifier] = {}; var $dexQuery = (fbuilderjQuery) ? fbuilderjQuery : jQuery.noConflict(), _form = $dexQuery("#cp_calculatedfieldsf_pform"+form_identifier), form_disabled = function(){cff_form_disabled(_form);}, disabling_form = function(){cff_disabling_form(_form);}, enabling_form = function(){cff_enabling_form(_form);}; if(form_disabled()) return false; _form.validate().settings.ignore = '.ignore'; var cpefb_error = !_form.validate().checkForm(); var validation_rules = cpcff_validation_rules[form_identifier], processing_form = function() { for(var rule in validation_rules) { if(!validation_rules[rule]) return; } _form.find("[name$='_date'][type='hidden']").each(function(){ var v = $dexQuery(this).val(), name = $dexQuery(this).attr( 'name' ).replace('_date', ''), e = $dexQuery("[name='"+name+"']"); if( e.length ){ e.val( $dexQuery.trim( e.val().replace( v, '' ) ) ); } }); _form.find("select option[vt]").each(function(){ var e = $dexQuery(this); e.attr('cff-val-bk', e.val()).val(e.attr("vt")); }); _form.find("input[vt]").each(function(){ var e = $dexQuery(this); e.attr('cff-val-bk', e.val()).val(e.attr("vt")); }); _form.find('.cpcff-recordset,.cff-exclude :input,[id^="form_structure_"]') .add(_form.find( '.ignore' )).attr('cff-disabled', 1).prop('disabled', true); disabling_form(); _form[ 0 ].submit(); setTimeout(function(){ _form.find('[cff-val-bk]').each(function(){ var e = $dexQuery(this); e.val(e.attr('cff-val-bk')).removeAttr('cff-val-bk'); }); _form.find('[cff-disabled]').prop('disabled', false).removeAttr('cff-disabled'); if(!/^(\s*|_self|_top|_parent)$/i.test(_form.prop('target'))) { enabling_form(); } $dexQuery(document).trigger('cff-form-submitted', _form); }, 4000); }; _form.find('[name="cp_ref_page"]').val(document.location.href); validation_rules['fields_validation_error'] = (cpefb_error==0); /* 1: Do not submit if the equations are being evaluated */ validation_rules['no_pending'] = (!(form_identifier in $dexQuery.fbuilder.calculator.processing_queue) || !$dexQuery.fbuilder.calculator.processing_queue[form_identifier]) && !$dexQuery.fbuilder.calculator.thereIsPending(form_identifier); if(!validation_rules['no_pending']) { $dexQuery(document).on('equationsQueueEmpty', function(evt, formId){ if(formId == form_identifier) { $dexQuery(document).off('equationsQueueEmpty'); validation_rules['no_pending'] = true; processing_form(); } }); } /* End :1 */ if (validation_rules['fields_validation_error']) { processing_form(); } else { _form.valid(); var page = $dexQuery('.cpefb_error:not(.message):eq(0)').closest('.pbreak').attr('page')*1; gotopage(page, _form); enabling_form(); } return false; } form_structure_1=[[{"form_identifier":"","name":"fieldname17","shortlabel":"","index":0,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Transmit Power (dBm)","predefined":"20","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname18","shortlabel":"","index":1,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Receiver Sensitivity (dBm)","predefined":"-110","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname2","shortlabel":"","index":2,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"col-sm-6","title":"Frequency","predefined":"1000","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname11","shortlabel":"","index":3,"ftype":"fdropdown","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"col-sm-6","title":"Units","size":"large","required":false,"exclude":false,"toSubmit":"value","merge":0,"choiceSelected":"MHz - 1000000","select2":false,"multiple":false,"vChoices":1,"showDep":false,"choices":["Hz","kHz","MHz","GHz"],"optgroup":[false,false,false,false],"choicesVal":["1","1000","1000000","1000000000"],"choicesDep":[[],[],[],[]],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname13","shortlabel":"","index":4,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Transmitting Antenna Gain (GTx)","predefined":"10","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname16","shortlabel":"","index":5,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Receiving Antenna Gain (GRx)","predefined":"10","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname19","shortlabel":"","index":6,"ftype":"fnumber","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Cable Loss (dB)","predefined":"3","predefinedClick":false,"required":false,"exclude":false,"readonly":false,"numberpad":false,"spinner":false,"size":"large","thousandSeparator":"","decimalSymbol":".","min":"","max":"","formatDynamically":false,"dformat":"number","formats":["digits","number","percent"],"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname4","shortlabel":"","index":7,"ftype":"fCalculated","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"","title":"Maximum Path Loss (dB)","predefined":"","required":false,"exclude":false,"size":"medium","eq":"fieldname17-fieldname18-fieldname19","min":"","max":"","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"dependencies":[{"rule":"","complex":false,"fields":[""]}],"form_identifier":"","name":"fieldname15","shortlabel":"","index":8,"ftype":"fCalculated","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"col-sm-6","title":"Distance","predefined":"","required":false,"exclude":false,"size":"medium","eq":"PREC((POW(10, (1\/20)*(fieldname4-20*(log(fieldname2*fieldname11))\/(log(10)) + fieldname13 + fieldname16 - 20*log((4*3.1415)\/299792458)\/(log(10)))))*(1\/fieldname14), 2)","min":"","max":"","suffix":"","prefix":"","decimalsymbol":".","groupingsymbol":"","readonly":true,"currency":false,"noEvalIfManual":true,"formatDynamically":false,"hidefield":false,"fBuild":{},"parent":""},{"form_identifier":"","name":"fieldname14","shortlabel":"","index":9,"ftype":"fdropdown","userhelp":"","audiotutorial":"","userhelpTooltip":false,"tooltipIcon":false,"csslayout":"col-sm-6","title":"Units","size":"large","required":false,"exclude":false,"toSubmit":"value","merge":0,"choiceSelected":"Kilometers - 1000","select2":false,"multiple":false,"vChoices":1,"showDep":false,"choices":["Kilometers","Miles"],"optgroup":[false,false],"choicesVal":["1000","1600"],"choicesDep":[[],[]],"fBuild":{},"parent":""}],{"0":{"title":"","description":"","formlayout":"top_aligned","formtemplate":"cp_cff_clean","evalequations":1,"evalequationsevent":2,"loading_animation":0,"autocomplete":1,"persistence":0,"animate_form":0,"customstyles":"","request_cost":"fieldname2"},"formid":"cp_calculatedfieldsf_pform_1","setCache":false,"cache":false}]; Payment options Formula The calculator uses the Free Space Path Loss (FSPL) equation:

FSPL = 20*Log10(d) + 20*Log10(f) + Lc + 20*Log10(4π/c) – GTx – GRx

to calculate d

20*Log10(d) = FSPL – 20*Log10(f) – Lc – 20*Log10(4π/c) + GTx + GRx

d = 10^((1/20)*(FSPL – 20*Log10(f) – Lc – 20*Log10(4π/c) + GTx + GRx))
Example Range Calculation
At a frequency of 2450 MHz (ISM band) and transmit power of +20 dBm, let’s take a look at the range of a Wi-Fi system in free space.

With a receive sensitivity of -90 dBm, transmit and receive antenna gain of 0 dBi, and 0 dB cable loss, the maximum distance is 3.1 km or 1.9 miles.

Important to remember that this calculation is outdoors and free space which is an ideal condition.

Assuming indoor conditions, using our indoor Wi-Fi range calculator the same level of received signal is achieved at only 55 meters. A much smaller range. This is to be expected as signals are attenuated more indoors than in free space.
How to use the Calculator Frequency of operation
This is the frequency at which the communication system operates. The range is higher at lower frequencies, so entering the highest operating frequency will give you an upper limit on the achievable range. In the case of L-band for instance, use f = 2.1 GHz.
Transmit Power
This is the power at the output connector of the transmitter. It is usually specified in dBm. If specified in Watt, use this calculator to convert to dBm.
Transmit Antenna Gain
This depends on the type of antenna used and is expressed in dBi. It can be calculated from the Antenna Factor and frequency of operation.
Receiver Sensitivity
Minimum level of input signal that a radio receiver can detect and demodulate. Use this calculator to find the sensitivity.
Receive Antenna Gain
Depends on antenna used and is expressed in dBi. In cases where the signal is from a particular direction, a high gain antenna (8 dBi for instance) can be used. This allows focusing of energy instead of from all directions. It can be calculated from the Antenna Factor and frequency of operation
Total Cable and Other Losses
This includes losses between connectors and antennas. If splitters are used, the loss should be accounted for as well. It is specified in dB. Use this calculator to find the loss due to antenna cable.



The post dBm to Distance Converter appeared first on OneSDR - A Wireless Technology Blog.


Source: https://www.onesdr.com/dbm-to-distance-converter/
Chow
IB4TL

Return to “Software Defined Radios”

Who is online

Users browsing this forum: No registered users and 0 guests