基于架空线路铁塔震动,缆线疲劳,风偏,舞动的远程报警的NB实现

响应国网加快推进泛在电力物联网建设的要求

架空线路现场存在铁塔震动,倾斜,缆线疲劳,风偏,舞动等故障

当出现故障后及时时唤醒nb模块进行预警

NB-iot远传低功耗技术,基于MT2625的opencpu开发

NB-iot模块,ME3616,opencpu,片上编程

陀螺仪6轴加速度传感器MPU6050

检测到x,y轴加速度多次大于0.5之后,或者x,y轴的和加速度大于0.3时,进行预警,I2C总线获取6轴状态

        IICreadBytes(0x50, AX, 24,&chrTemp[0]);
		a[0] = (float)CharToShort(&chrTemp[0])/32768*16;
		a[1] = (float)CharToShort(&chrTemp[2])/32768*16;
		a[2] = (float)CharToShort(&chrTemp[4])/32768*16;
		w[0] = (float)CharToShort(&chrTemp[6])/32768*2000;
		w[1] = (float)CharToShort(&chrTemp[8])/32768*2000;
		w[2] = (float)CharToShort(&chrTemp[10])/32768*2000;
		h[0] = CharToShort(&chrTemp[12]);
		h[1] = CharToShort(&chrTemp[14]);
		h[2] = CharToShort(&chrTemp[16]);
		Angle[0] = (float)CharToShort(&chrTemp[18])/32768*180;
		Angle[1] = (float)CharToShort(&chrTemp[20])/32768*180;
		Angle[2] = (float)CharToShort(&chrTemp[22])/32768*180;
        if ((a[1]>0.5) ||(a[0]>0.5)||((a[0]>0.3)&&(a[1]>0.3)))
        {
            checktimes++;
            if(checktimes>=3)
                status |=DROPBIT;
        }
        else
        {
            checktimes=0;
        }

当出现舞动和震动,x,y加速度会出现高出范围波动

当铁塔倾斜是,角度会发生偏移

git链接:https://github.com/dading105/NB_StatusDetect

技术交流群:334312796 验证密码:深圳友先达
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值