Calibrating your Current Sensor in INAV

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ย. 2024

ความคิดเห็น • 69

  • @NoAgendaFPV
    @NoAgendaFPV 4 ปีที่แล้ว +1

    Been running my current build to 1000mAh drawn on OSD and then charging like 8 times now trying to get it calibrated. Will be using this method now!

    • @MrD
      @MrD  4 ปีที่แล้ว +1

      This should be much more accurate. And you can do it on the bench 🙂

  • @luckyphilfpv
    @luckyphilfpv 3 ปีที่แล้ว +1

    this is a great tool, I started using this to setup all my FPV planes and when I recheck via my OSD the readings are the same as the watt meter across the throttle range. thanks mate

    • @MrD
      @MrD  3 ปีที่แล้ว

      Awesome. Its always great to hear feedback like this. It’s worked well for me on my builds too 👍🏻 Thank you.

  • @avsaase
    @avsaase 3 ปีที่แล้ว +1

    This is great, much better than that charger method. I'd like to suggest a simple sanity check in case someone enters a wrong value by checking if the R-squared is above 0.99. Since both current meters are linear, the scatter plot point should all lie on a straight line. Any point that are significantly far away from this line must be the result of measurement error or a typo.

    • @MrD
      @MrD  3 ปีที่แล้ว

      Thanks Alexander. That’s a great tip too. The plots usually are pretty linear, with only a little deviation. I’ll see if I can get some sanity checking added.

  • @emmanuelsab1095
    @emmanuelsab1095 2 หลายเดือนก่อน

    this guy is my god, from rc user point of view , of course

  • @51im
    @51im 4 ปีที่แล้ว +1

    I've found the Matek figures to be fairly accurate, under the wiring guide and mixer tab of the product page.
    For the f411 wing
    Voltage scale = 1100
    Amps scale = 423

    • @MrD
      @MrD  4 ปีที่แล้ว +1

      Matek are definitely one of the better providers, with pretty good base scales. However, my F411-WING has a scale of 445 plus an offset. So there is still room for improvement.

  • @SILVIOFRANCO1
    @SILVIOFRANCO1 3 ปีที่แล้ว +1

    Great instructions here, Darren. I was needing this. Thanks. BTW, last thursday in got my first 10km with a Mini Drake. Good adrenaline.

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      Awesome Silvio. The Mini Drak is a fantastic plane. Hope you have loads more fun with it.

    • @SILVIOFRANCO1
      @SILVIOFRANCO1 3 ปีที่แล้ว +1

      Something went wrong. After calibration I have noticed a dolphin effect when she was on Cruise Mode.

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      That’s strange Silvio. The current sensor calibration will have no effect on how the plane files. It only alters how the value from the current sensor is interpreted.
      Dolphining could be too high rates on the pitch axis. Also check that your control surfaces aren’t binding, move smoothly, and centre correctly.

    • @SILVIOFRANCO1
      @SILVIOFRANCO1 3 ปีที่แล้ว

      @@MrD Thanks, Darren. Also I will try auto tune and see what happens. ✌️✌️✌️

  • @WX4CB
    @WX4CB 4 ปีที่แล้ว +1

    i used a dc clamp meter that can go up to 100 amps, as far as the props yes cannot agree more, i actually taped mine down between the washing machine and drier so if anything it hits those and not my fingers :D

    • @MrD
      @MrD  4 ปีที่แล้ว

      Totally. Anything that can be done to minimise the chance of a prop strike is a good thing.

  • @Claymore_83
    @Claymore_83 3 ปีที่แล้ว +1

    Nice one Darren, I take it this will also work with a quad, just need to put a brick on top of it lol

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      🤣 or tie a brick underneath it. Yes, it should be no different. Its just current draw at different throttle levels. The calculator will even give betaflight values 👍🏻

    • @Claymore_83
      @Claymore_83 3 ปีที่แล้ว +1

      @@MrD Very useful, thanks very much!

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      No worried Greig 👍🏻

  • @Crottorfer
    @Crottorfer 3 ปีที่แล้ว +1

    Awesome - as always a great and informative video! 😊
    But one question remains for me, because I would rather calculate offline: how do you determine the offset? When I do this with Excel, I get a different offset displayed in the formula of the scatter plot (the rest fits perfect)...

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      Sorry for the delay in getting back to you. I had to revisit it myself. All the data is in Excel, but needs some changing to get the correct values for the flight controller.
      You'll need the slope, offset and new sensor scale. The easiest way to get that is by turning on "Display Equation on chart" trendline option. You will get something like y = 1.0044x + 0.276. The 1.0044 is the slope, and the 0.276 is the offset.
      If you want to use this with a mA based offset, you can just multiply the offset by 1000. For example 276mA. That would work fine with BetaFlight. However, iNav uses mV for the offset, so we need to do a little processing. We need to use the offset, slope, and new current sensor scale.
      To get the new current sensor scale, you need the last scale and the slope:
      newScale = round(oldScale * slope)
      newScale = round(443 * 1.0044)
      newScale = 445
      To get the offset for iNav, you need to do the following:
      iNavOffset = chartOffset / (10 / newScale)
      iNavOffset = 0.276 / (10 / 445)
      iNavOffset = 0.276 / 0.02247
      iNavOffset = 12.3 mV

    • @MrD
      @MrD  3 ปีที่แล้ว

      I've created an article on this, for anyone else who would like all the details. www.mrd-rc.com/tutorials-tools-and-testing/inav-flight/current-sensor-scale-and-offset-calculation-how-it-works/

  • @sebdewey
    @sebdewey 2 หลายเดือนก่อน +1

    Hi. Thank you for this video and the article on your website. Could you tell us if we should do this with or wihout VTX and servos powered during the calibration? If we add offset calculation, is the value drop to zero amps even if we power the VTX and ESC or the value would be greater than zero? Thank you.

    • @MrD
      @MrD  2 หลายเดือนก่อน +1

      Have everything connected 👍🏻

    • @sebdewey
      @sebdewey หลายเดือนก่อน

      I did the calibration with my OSD goggles and everything connected, drone armed. Perfect for me. Thank you!

  • @samcollins6394
    @samcollins6394 4 ปีที่แล้ว +1

    Really informative thank you

    • @MrD
      @MrD  4 ปีที่แล้ว

      Thanks for watching Samantha 🙂

  • @grim-upnorth
    @grim-upnorth 4 ปีที่แล้ว +1

    I used your website tool to calibrate my matek boards, thanks.
    Any chance I could get a copy of the spreadsheet with the formulas too please? I actually only used 2 throttle level values, and I like the look of the graph.

    • @MrD
      @MrD  4 ปีที่แล้ว +1

      The spreadsheet doesn't actually have any formulas. It is just used as an example. I literally just added the flight controller and power meter readings to cells, then created an X Y scatter graph from those readings. The line of best fit is a trend line option you can select, as is to display the equation. The y= value, up to the x, is what you multiply your scale by to get the new scale (I added that in a cell labelled slope). All the real calculations are done on the web page. I was looking in to adding a graph on the page, but so far, couldn't find a solution that works with a line of best fit. But I will keep looking if people find the graph useful.
      I'd highly recommend doing more readings. At least 4 or 5. If you just take 2 readings, you are just drawing a line between those points. With more readings, the errors are averaged out, which will give a more accurate scale and offset.

  • @divingfalconfpv4602
    @divingfalconfpv4602 3 ปีที่แล้ว +1

    Im setting my curr right now. I goto motor tab because when i adjusted ADC scale i noticed its sitting on desk at 3.5a. But when i spin the motors the amps go down 😳 lol

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      Yeah, I think that needed calibrating 🤣

    • @divingfalconfpv4602
      @divingfalconfpv4602 3 ปีที่แล้ว +1

      @@MrD I put a negative number in.. and will go test today.. but evewrytime i change the negative number i have to adjust offset. what a headache

  • @eltio77556
    @eltio77556 3 ปีที่แล้ว +1

    Hello Daren,
    Would you suggest soldering the XT60 or the XT90?
    Anyway i will not be passing the 45 A with my plane.
    Thanks

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      I went for XT90’s as this can handle a fair amount of current. I also use XT90 to XT60 adapters and XT60 to XT30 adapters, so it will work on any setup I want to use it with.

    • @eltio77556
      @eltio77556 3 ปีที่แล้ว +1

      @@MrD thx Darren.
      Gonna use it with lion 4s2p 8000mah.
      I m gonna end up doing the same as you, xt90 :)

  • @traxxi2003
    @traxxi2003 2 ปีที่แล้ว +1

    Hello Mr. D, greetings from California! I have a question, I’m in the middle of a new build, I’m using the F411WSE by MATEK and even with the factory current scale value recommended by MATEK and the voltage offset set to 0. When conducting the calibration INAV shows current draw of 22A while my amp meter shows only about 5A @50% throttle. With power applied to the model and no motor running INAV trades and amp dray of 8.7A. This is with INAV 4.0 Could I have a bad flight controller?

    • @MrD
      @MrD  2 ปีที่แล้ว

      I think I saw your post in either the INAV or INAV Fixed Wing Group on Facebook. Something doesn't seem right there. I did check the F411-WSE in my Dart 250G yesterday. That's not far off the recommended scale. It could be faulty. Have you tried running the calibration? Maybe a wrong component has been fitted which has adjusted the scale. 5A @ 50% throttle sounds about right on the ground. In the air, my Dart was pulling around 4.1 - 4.2A at 50% throttle.

  • @heyjackfpv5469
    @heyjackfpv5469 2 ปีที่แล้ว +1

    if you follow the same steps with the props off will it be too far off of the real numbers ?

    • @MrD
      @MrD  2 ปีที่แล้ว +1

      With props off, you won’t get the current draw you would with props on. It may be thag full throttle isn’t near your cruise throttle. The amps going through the sensor will be the same measurement. But you won’t get the range of current draw that you do with props on. Still, try it with props off if you feel safer that way.

    • @heyjackfpv5469
      @heyjackfpv5469 2 ปีที่แล้ว +1

      @@MrDgot it , thank you

  • @VVielebny
    @VVielebny 2 ปีที่แล้ว

    Hi Mr d. I have a problem with current meter - maybe you know the answer?
    My equipment is a stac (Holybro Kakute F7, ESC Tekko32 4in1 45A and VTX Atlatl HV V2)
    There is no way to calibrate the current measurement because the readings are very strange, for example:
    I connect the Lipo battery to the ESC with the connected flight controller (no other devices) and, for example, inav displays the current consumption value of 0.5A to me - it is logical that after connecting a device, the power consumption should increase. For me it is the other way around. For example, I connect the receiver and the value in inav changes to 0.4A I connect another device (e.g. more power-hungry) VTX, the value in inav drops again to 0.0A
    Turning on the engines also does not increase the value of current consumption, well, maybe slightly ...

    • @MrD
      @MrD  2 ปีที่แล้ว

      I wouldn't worry too much about current readings under 1A. Some flight controllers use a flat reading below 1A, due to it not being accurate. Others can just have strange readings. The best thing to do is calibrate the current sensor from 1A and up. If when the motors are on and at a decent throttle level, and you're not seeing a change. There is something wrong.

  • @tracibeacer670
    @tracibeacer670 3 ปีที่แล้ว +1

    Hi there, I have callobrated my esc in inav 3.0 and when I power on it cuts out on anything above 20% 1.3amps . At 20% the voltage drops off to 10 volts in seconds. When I check this on my meter there is no voltage loss. What am I doing wrong ? At first i thought it was a duff motor not sure now .TA

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      Do you have a smoke stopper connected? I’ve done this a couple of times and wondered why the motor keeps stopping. Then I usually slap myself 🤣

    • @tracibeacer670
      @tracibeacer670 3 ปีที่แล้ว +1

      @@MrD omg no .How on earth. I have kicked the shit out of mysef . Many thanks . This hobby sometimes .....

    • @tracibeacer670
      @tracibeacer670 3 ปีที่แล้ว +1

      As soon as u said smoke stopper my head fell into my hands.Cheers again it works.

    • @MrD
      @MrD  3 ปีที่แล้ว +1

      No problem Traci. Better that than the smoke stopper being needed and not connected. BTW, it’ll happen again 🤣 It’s just one of those things. I know I’ll do it again at some point and wonder what’s going on.

  • @aaronwood9523
    @aaronwood9523 ปีที่แล้ว +1

    So having current sensors problem. Maybe u can share some of your magic maytek h743v1 inav 5.0 at an idle current sensor reads 30 amps maytek say to use current scale 250. I’ve tried all kind of different scales and nothing works. I did find some cli commands to use but not sure if they r correct.

    • @MrD
      @MrD  ปีที่แล้ว

      Hi Aaron. That does sound pretty strange. What happens with the current when you increase the power? Does it go up still or just stay around 30A?
      For me, all I do is set the voltage using a reasonably decent multimeter. Then calibrate the current sensor using my tool www.mrd-rc.com/tutorials-tools-and-testing/flight-controller-therapy/setting-the-current-sensor-in-inav/. I don't change anything in CLI.

    • @aaronwood9523
      @aaronwood9523 ปีที่แล้ว +1

      @@MrD it goes up but not right away I am using maytek pdb hex the high dollar one but only running v batt through it no signal just power I also have cap on pdb and fc both r 470 uf I wouldn’t think that would cause any problems. I’ve tried multiple current scales amps nothing seems to fix it. Battery voltage is spot on. To me it has to be the pdb causing the problem

    • @aaronwood9523
      @aaronwood9523 ปีที่แล้ว +1

      I really love this plane rmrc anaconda supper slow flyer when flaps r down very sturdy plane. I’m about to add a foxeer 30x zoom cam and a hevey duty pan and tilt mount. Haven’t really thought about this yet but I need a way to have full speed on pan when cam is zoomed out and then slow pan down when zoomed in I think I could do it I may just find a happy medium that would be easy.

    • @aaronwood9523
      @aaronwood9523 ปีที่แล้ว +1

      Back to current censor at idle it jumps around a bit 30 40 in flight be up around 120 the plane only draws 25 amps at full throttle on my meter I run lion bats so it’s kinda important to know amp draw

    • @MrD
      @MrD  ปีที่แล้ว

      It could be down to the PDB. Which model flight controller and PDB exactly? Also, how is the power connected. Battery to FC, FC to PDB?

  • @Chris-vc1dh
    @Chris-vc1dh ปีที่แล้ว

    can you use clamp meter with no wires?

    • @MrD
      @MrD  ปีที่แล้ว

      No, but you can’t connect a battery without wires either 😉

  • @Chris-vc1dh
    @Chris-vc1dh 4 ปีที่แล้ว +1

    why did you put manual mode if you are not using tx?

    • @MrD
      @MrD  4 ปีที่แล้ว

      Because if you are not using a TX it defaults to ACRO mode. Which means the servos will be trying to correct while you are performing the test.

    • @Chris-vc1dh
      @Chris-vc1dh 4 ปีที่แล้ว +1

      Mr.D - Falling, with style ok
      Thank you my Friend

    • @Chris-vc1dh
      @Chris-vc1dh 4 ปีที่แล้ว +1

      I had to put 470 capacitor to esc as amps were going crazy in osd

    • @MrD
      @MrD  4 ปีที่แล้ว

      This can happen. More on smaller ESCs with less draw too. I hope you managed to get a good reading after.

    • @Chris-vc1dh
      @Chris-vc1dh 4 ปีที่แล้ว

      Mr.D - Falling, with style if esc has capacitor built in then no need to put additional one?

  • @bobfin4291
    @bobfin4291 2 ปีที่แล้ว

    So were's the video shown TAR

    • @MrD
      @MrD  2 ปีที่แล้ว

      Sorry Bob, I don't follow?

  • @Chris-vc1dh
    @Chris-vc1dh ปีที่แล้ว +1

    your site not working?

    • @MrD
      @MrD  ปีที่แล้ว +1

      Thanks Chris. It decided to break when I went on holiday. It's back up and running now.