如何使用RSSI计算距离? [英] How to calculate the distance using RSSI?

查看:361
本文介绍了如何使用RSSI计算距离?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我正在做一个室内本地化项目!实际上这对我自己来说是一个小项目。我需要知道如何使用RSSI计算客户端和接入点之间的距离。我在db中有信号强度,例如-15db,但我不知道如何找到距离。

我需要一个示例代码。



非常感谢。

解决方案

它可以告诉你距离吗? RSSI是接收信号强度指示器。这将只是数据库测量,它也可能受到很多东西,墙壁,窗户e.t.c的菲涅尔效应。存在干扰问题,例如微波炉等。



如果你想准确估计你实际上有一个完整的计算。以下是进行此计算的示例网站。



Wifi范围计算器 [ ^ ]



也许你可以使用延迟,但是你要测量短距离光速的延迟,所以我怀疑时钟是否足够准确。



采用科学的方法测量不同距离的db并绘制强度v距离曲线,然后创建紧跟曲线的公式。



我个人认为你需要一位数学家在编写代码之前解释计算。



考虑花费时间的备用选项可能实际上更便宜,可能是通过GPS定位器。


尝试下面的链接,它可能会帮助你。

http://www.s2is.org /Issues/v1/n2/papers/paper14.pdf


大家好!,

我的作业也有同样的问题。



我不知道如何找到RSSI的距离?

我需要公式来获取RSSI的距离,然后使用Trilateration找到确切的位置。



我需要首先了解逻辑,然后在JAVA中对此进行编码。



感谢您的帮助提前。

Hi everybody!
I'm working on an indoor localization project! Actually it's a small project for myself. I need to know how to calculate distance between client and access point using RSSI. I have signal strength in db, as an example -15db, but I don't know how to find the distance.
I need a sample code.

Many thanks.

解决方案

Can it tell you the distance? RSSI is received signal strength indicator. This will only ever be db measurement which could also subject to the Fresnel effect by lots of things, walls, windows e.t.c. There are interference issues such as microwaves e.t.c.

If you want to estimate accurately you actually have quite a complete calculation. The following is an example website which does this calculation.

Wifi Range Calculator[^]

Perhaps you could use latency but you're measuring latency against the speed of light over a short distance so I doubt the clock would be accurate enough.

Taking a scientific approach would measure the db at various distances and plot a strength v distance curve and then create formula which closely follows the curve.

Personally I think you need a mathematician to explain the calculation before working on the code.

The alternate option which considering time spent might actually be cheaper, would be to by a GPS locator.


try below link, it may help you.
http://www.s2is.org/Issues/v1/n2/papers/paper14.pdf


Hi everyone!,
I have the same question for my assignment.

I do not know how to find the distance from RSSI ?
I need the formula to get distance from RSSI and then find exact location using Trilateration.

I need to get to know the logic first and afterwards code this in JAVA.

Thank you for your help in advance.


这篇关于如何使用RSSI计算距离?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆