Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. ESCs
  3. Motor issues when running ESC calibration

Motor issues when running ESC calibration

Scheduled Pinned Locked Moved ESCs
108 Posts 3 Posters 61.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Alex KushleyevA Alex Kushleyev

    @rdjarvis , thank you for clarifying.

    it seems there is some hardware issue. Can you please confirm that nothing is making contact with the ESC components, which could cause a short or something like this? Also please inspect the 4-pin UART connector on the ESC (and around it) to make sure there is no short or anything like that cause by loose debris or anything else.

    rdjarvisR Offline
    rdjarvisR Offline
    rdjarvis
    Regular
    wrote on last edited by rdjarvis
    #62

    @Alex-Kushleyev

    Top lines are from FPV ESC#2. (GREEN ESC DETECTED)

    Bottom lines are from FPV ESC#1.

    ERROR: voxl_uart_read_bytes: Bus '12' is not initialized

    This has been a common ERROR with these tests. What is "Bus 12" and how do we initialize it?Screenshot 2024-04-17 155555.png

    1 Reply Last reply
    0
    • Alex KushleyevA Alex Kushleyev

      @rdjarvis , thank you for clarifying.

      it seems there is some hardware issue. Can you please confirm that nothing is making contact with the ESC components, which could cause a short or something like this? Also please inspect the 4-pin UART connector on the ESC (and around it) to make sure there is no short or anything like that cause by loose debris or anything else.

      rdjarvisR Offline
      rdjarvisR Offline
      rdjarvis
      Regular
      wrote on last edited by
      #63

      @Alex-Kushleyev

      **UPDATE.

      #2 ModalAI FPV connected to VOXL2 and 4x T-Motor 2203.5 2850kv

      Good connections, good lights and tones, VOXL2 connected to PC perfectly

      Loaded params provided by you and conducted good spin test.

      Connected to QGC, arm/disarm/motor kill all successful. (spins / stops)

      Armed in Manual and Stabilized, motors armed and when throttle added there is no response from motors. we can view on QGC when throttle (Channel 3) is increased and get positive value.

      Verified all other channels operating in QGC Radio tab. Low, High PWM values are in limits, positive response for pitch, roll, and yaw commands.

      NO RESPONSE FROM ESC/MOTORS ON THROTTLE INPUTS. MOTORS DO RESPOND TO DIFFERENT ANGLES TO TRY AND LEVEL BUT NO THROTTLE INPUT REGISTERED WHEN USING RC.

      Alex KushleyevA 1 Reply Last reply
      0
      • rdjarvisR rdjarvis

        @Alex-Kushleyev

        **UPDATE.

        #2 ModalAI FPV connected to VOXL2 and 4x T-Motor 2203.5 2850kv

        Good connections, good lights and tones, VOXL2 connected to PC perfectly

        Loaded params provided by you and conducted good spin test.

        Connected to QGC, arm/disarm/motor kill all successful. (spins / stops)

        Armed in Manual and Stabilized, motors armed and when throttle added there is no response from motors. we can view on QGC when throttle (Channel 3) is increased and get positive value.

        Verified all other channels operating in QGC Radio tab. Low, High PWM values are in limits, positive response for pitch, roll, and yaw commands.

        NO RESPONSE FROM ESC/MOTORS ON THROTTLE INPUTS. MOTORS DO RESPOND TO DIFFERENT ANGLES TO TRY AND LEVEL BUT NO THROTTLE INPUT REGISTERED WHEN USING RC.

        Alex KushleyevA Offline
        Alex KushleyevA Offline
        Alex Kushleyev
        ModalAI Team
        wrote on last edited by
        #64

        @rdjarvis, so when you arm, the motors are spinning at idle rpm and rpms are not changing? Can you send me a short px4 log of this test?

        Did you update px4 params for voxl esc min and max rpms?

        rdjarvisR 1 Reply Last reply
        0
        • Alex KushleyevA Alex Kushleyev

          @rdjarvis, so when you arm, the motors are spinning at idle rpm and rpms are not changing? Can you send me a short px4 log of this test?

          Did you update px4 params for voxl esc min and max rpms?

          rdjarvisR Offline
          rdjarvisR Offline
          rdjarvis
          Regular
          wrote on last edited by
          #65

          @Alex-Kushleyev yes motors spin when armed and respond appropriately to pitch, yaw and roll inputs (motors slowing and speeding up)

          We have exhausted our efforts for this evening and will re-attack in the morning.

          Thank you for all the help with hunting down these issues. We appreciate it and understand the frustration with these things.

          Thank you,
          RDJ

          Alex KushleyevA 1 Reply Last reply
          0
          • rdjarvisR rdjarvis

            @Alex-Kushleyev yes motors spin when armed and respond appropriately to pitch, yaw and roll inputs (motors slowing and speeding up)

            We have exhausted our efforts for this evening and will re-attack in the morning.

            Thank you for all the help with hunting down these issues. We appreciate it and understand the frustration with these things.

            Thank you,
            RDJ

            Alex KushleyevA Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #66

            @rdjarvis , based on your latest post, it seems the motors are spinning and responding to roll, pitch, yaw inputs, so i think the remaining issues may be in PX4 params.

            By the way, I also wanted to mention, we have a fork of px4 flight review tool here : https://github.com/modalai/px4-flight-review . There is a quickstart guide in readme how to run this locally. Our version allows you to display ESC data such as commanded and actual RPMs, ESC temperatures, individual motor currents (where available) and total battery current.

            By the way, since you are probably not using an APM for voltage/current monitoring, you should set (or double check) the voxl_esc px4 driver to publish the voltage/current measurement, using VOXL_ESC_PUB_BST set to 1 .Then you will see the battery voltage and total current in battery status. (however if you are using APM, then you dont need that, set to 0)

            Alex

            rdjarvisR 1 Reply Last reply
            0
            • Alex KushleyevA Alex Kushleyev

              @rdjarvis , based on your latest post, it seems the motors are spinning and responding to roll, pitch, yaw inputs, so i think the remaining issues may be in PX4 params.

              By the way, I also wanted to mention, we have a fork of px4 flight review tool here : https://github.com/modalai/px4-flight-review . There is a quickstart guide in readme how to run this locally. Our version allows you to display ESC data such as commanded and actual RPMs, ESC temperatures, individual motor currents (where available) and total battery current.

              By the way, since you are probably not using an APM for voltage/current monitoring, you should set (or double check) the voxl_esc px4 driver to publish the voltage/current measurement, using VOXL_ESC_PUB_BST set to 1 .Then you will see the battery voltage and total current in battery status. (however if you are using APM, then you dont need that, set to 0)

              Alex

              rdjarvisR Offline
              rdjarvisR Offline
              rdjarvis
              Regular
              wrote on last edited by rdjarvis
              #67

              @Alex-Kushleyev We are using the supplied PM from ModalAI C11 dev kit.

              Tested this morning. All VOXL2 systems good.

              Arm/Disarmed-Good
              Arm/Motor Kill-Good

              Arm/Manual-Throttle Increase on RC Controller, UAV motors do not respond proportional to RC inputs. When throttle is increases, motors perform a very slow increase in RPM that does achieve flight. RPMs stay very low.

              Could you point us to the PX4 params that we should be looking at to verify proper configuration?

              Screenshot 2024-04-18 134704.png

              Alex KushleyevA 1 Reply Last reply
              0
              • rdjarvisR rdjarvis

                @Alex-Kushleyev We are using the supplied PM from ModalAI C11 dev kit.

                Tested this morning. All VOXL2 systems good.

                Arm/Disarmed-Good
                Arm/Motor Kill-Good

                Arm/Manual-Throttle Increase on RC Controller, UAV motors do not respond proportional to RC inputs. When throttle is increases, motors perform a very slow increase in RPM that does achieve flight. RPMs stay very low.

                Could you point us to the PX4 params that we should be looking at to verify proper configuration?

                Screenshot 2024-04-18 134704.png

                Alex KushleyevA Offline
                Alex KushleyevA Offline
                Alex Kushleyev
                ModalAI Team
                wrote on last edited by Alex Kushleyev
                #68

                @rdjarvis , besides the PID tuning params, you need to make sure the min and max rpms in PX4 match what you have in esc params: VOXL_ESC_RPM_MIN and VOXL_ESC_RPM_MAX. did you set these PX4 params to 4000 and 40000? (btw in your test, was the motor able to reach 40K rpm? with my more aggressive prop, i think i had about 35K max).

                It is not a big deal if your ESC param in the ESC itself has maximum rpm that is higher than the motor can achieve. The ESC will just try to apply 100% power and will reach whatever rpm the motor can run at 100% power. But in PX4 params, you need to make sure that you set the maximum rpm that is actually achievable, otherwise PX4 will request the rpm that ESC cannot achieve and the drone will be less stable at maximum thrust.

                rdjarvisR 1 Reply Last reply
                0
                • Alex KushleyevA Alex Kushleyev

                  @rdjarvis , besides the PID tuning params, you need to make sure the min and max rpms in PX4 match what you have in esc params: VOXL_ESC_RPM_MIN and VOXL_ESC_RPM_MAX. did you set these PX4 params to 4000 and 40000? (btw in your test, was the motor able to reach 40K rpm? with my more aggressive prop, i think i had about 35K max).

                  It is not a big deal if your ESC param in the ESC itself has maximum rpm that is higher than the motor can achieve. The ESC will just try to apply 100% power and will reach whatever rpm the motor can run at 100% power. But in PX4 params, you need to make sure that you set the maximum rpm that is actually achievable, otherwise PX4 will request the rpm that ESC cannot achieve and the drone will be less stable at maximum thrust.

                  rdjarvisR Offline
                  rdjarvisR Offline
                  rdjarvis
                  Regular
                  wrote on last edited by
                  #69

                  @Alex-Kushleyev

                  Yes, we confirmed the Params in PX4 QGC are identical to the Params in VOXL. Yes, Max RPM when performing calibration tests was 42k. I set it at 40k in both PX4 and VOXL-esc-params.

                  No response from throttle input when armed. We recalibrated the Radio and ensured RC Channel 3 was responding to Tx input.

                  Alex KushleyevA 1 Reply Last reply
                  0
                  • rdjarvisR rdjarvis

                    @Alex-Kushleyev

                    Yes, we confirmed the Params in PX4 QGC are identical to the Params in VOXL. Yes, Max RPM when performing calibration tests was 42k. I set it at 40k in both PX4 and VOXL-esc-params.

                    No response from throttle input when armed. We recalibrated the Radio and ensured RC Channel 3 was responding to Tx input.

                    Alex KushleyevA Offline
                    Alex KushleyevA Offline
                    Alex Kushleyev
                    ModalAI Team
                    wrote on last edited by
                    #70

                    @rdjarvis , have you tried using actuator test to spin the motors (obviously be careful if props are on, or remove the props for the test). The actuator test should allow you to test the motors in the full range that you specified

                    rdjarvisR 1 Reply Last reply
                    0
                    • Alex KushleyevA Alex Kushleyev

                      @rdjarvis , have you tried using actuator test to spin the motors (obviously be careful if props are on, or remove the props for the test). The actuator test should allow you to test the motors in the full range that you specified

                      rdjarvisR Offline
                      rdjarvisR Offline
                      rdjarvis
                      Regular
                      wrote on last edited by
                      #71

                      @Alex-Kushleyev Good morning.

                      Yes, Actuator tab in Vehicle Setup in QGC has VOXL ESC selected, motor directions are correct, and motor slider controls the motors.

                      Ch 3 RC Throttle Tx input does not apply actual throttle inputs when UAV is armed in any flight mode.

                      RC calibration was successful and RC Ch3 reacts correctly when Spektrum Tx mode 2 throttle stick is manipulated.

                      I will get you a log this morning when I'm clear of my meetings.

                      As always, thank you,
                      RDJ

                      Alex KushleyevA 1 Reply Last reply
                      0
                      • rdjarvisR rdjarvis

                        @Alex-Kushleyev Good morning.

                        Yes, Actuator tab in Vehicle Setup in QGC has VOXL ESC selected, motor directions are correct, and motor slider controls the motors.

                        Ch 3 RC Throttle Tx input does not apply actual throttle inputs when UAV is armed in any flight mode.

                        RC calibration was successful and RC Ch3 reacts correctly when Spektrum Tx mode 2 throttle stick is manipulated.

                        I will get you a log this morning when I'm clear of my meetings.

                        As always, thank you,
                        RDJ

                        Alex KushleyevA Offline
                        Alex KushleyevA Offline
                        Alex Kushleyev
                        ModalAI Team
                        wrote on last edited by
                        #72

                        @rdjarvis, yes lets get a log where you are in manual flight mode (thrust, roll, pitch, yaw control) and you arm the drone and just move the thrust stick up and down a few times trying to take off. As a separate test, at idle throttle try to move roll and pitch stick to see the response from those inputs.

                        It looks like a px4 configuration issue but i am not sure what exactly.

                        rdjarvisR 1 Reply Last reply
                        0
                        • Alex KushleyevA Alex Kushleyev

                          @rdjarvis, yes lets get a log where you are in manual flight mode (thrust, roll, pitch, yaw control) and you arm the drone and just move the thrust stick up and down a few times trying to take off. As a separate test, at idle throttle try to move roll and pitch stick to see the response from those inputs.

                          It looks like a px4 configuration issue but i am not sure what exactly.

                          rdjarvisR Offline
                          rdjarvisR Offline
                          rdjarvis
                          Regular
                          wrote on last edited by
                          #73

                          @Alex-Kushleyev Awesome, will do.

                          Thank you,
                          RDJ

                          Alex KushleyevA 1 Reply Last reply
                          0
                          • rdjarvisR rdjarvis

                            @Alex-Kushleyev Awesome, will do.

                            Thank you,
                            RDJ

                            Alex KushleyevA Offline
                            Alex KushleyevA Offline
                            Alex Kushleyev
                            ModalAI Team
                            wrote on last edited by
                            #74

                            @rdjarvis,

                            Also please check the value you use for the following param THR_MDL_FAC. Just curious about the current value, it should be close to one (0.7-0.8) for rpm control, but i can help you compute it exact value.

                            Link Preview Image
                            Thrust Curve Compensation through THR_MDL_FAC

                            As suggested in the MC Tuning Guide, I try to compensate thrust nonlinearities through the THR_MDL_FAC parameter, which is described as follows: THR_MDL_FAC (FLOAT) Thrust to PWM model parameter Comment: Parameter us…

                            favicon

                            Dronecode Forum | Open Source Drone Development (discuss.px4.io)

                            rdjarvisR 1 Reply Last reply
                            0
                            • Alex KushleyevA Alex Kushleyev

                              @rdjarvis,

                              Also please check the value you use for the following param THR_MDL_FAC. Just curious about the current value, it should be close to one (0.7-0.8) for rpm control, but i can help you compute it exact value.

                              Link Preview Image
                              Thrust Curve Compensation through THR_MDL_FAC

                              As suggested in the MC Tuning Guide, I try to compensate thrust nonlinearities through the THR_MDL_FAC parameter, which is described as follows: THR_MDL_FAC (FLOAT) Thrust to PWM model parameter Comment: Parameter us…

                              favicon

                              Dronecode Forum | Open Source Drone Development (discuss.px4.io)

                              rdjarvisR Offline
                              rdjarvisR Offline
                              rdjarvis
                              Regular
                              wrote on last edited by
                              #75

                              @Alex-Kushleyev How do I upload a log? The forum say I do not have permission.

                              Alex KushleyevA 1 Reply Last reply
                              0
                              • rdjarvisR rdjarvis

                                @Alex-Kushleyev How do I upload a log? The forum say I do not have permission.

                                Alex KushleyevA Offline
                                Alex KushleyevA Offline
                                Alex Kushleyev
                                ModalAI Team
                                wrote on last edited by
                                #76

                                @rdjarvis

                                Upload it here and you can view results too. https://review.px4.io/ . The official flight review does not plot our custom esc data, but i will let you know how to view it later. I can download the log from the link above after you upload it and share a link

                                rdjarvisR 2 Replies Last reply
                                0
                                • Alex KushleyevA Alex Kushleyev

                                  @rdjarvis

                                  Upload it here and you can view results too. https://review.px4.io/ . The official flight review does not plot our custom esc data, but i will let you know how to view it later. I can download the log from the link above after you upload it and share a link

                                  rdjarvisR Offline
                                  rdjarvisR Offline
                                  rdjarvis
                                  Regular
                                  wrote on last edited by
                                  #77

                                  @Alex-Kushleyev [mavlink] Event dropped (78, 65529)

                                  1 Reply Last reply
                                  0
                                  • Alex KushleyevA Alex Kushleyev

                                    @rdjarvis

                                    Upload it here and you can view results too. https://review.px4.io/ . The official flight review does not plot our custom esc data, but i will let you know how to view it later. I can download the log from the link above after you upload it and share a link

                                    rdjarvisR Offline
                                    rdjarvisR Offline
                                    rdjarvis
                                    Regular
                                    wrote on last edited by
                                    #78

                                    @Alex-Kushleyev https://review.px4.io/plot_app?log=ae01b6f0-7910-43e4-a1c2-0d36ecc909d1

                                    Alex KushleyevA 1 Reply Last reply
                                    0
                                    • rdjarvisR rdjarvis

                                      @Alex-Kushleyev https://review.px4.io/plot_app?log=ae01b6f0-7910-43e4-a1c2-0d36ecc909d1

                                      Alex KushleyevA Offline
                                      Alex KushleyevA Offline
                                      Alex Kushleyev
                                      ModalAI Team
                                      wrote on last edited by
                                      #79

                                      @rdjarvis said in Motor issues when running ESC calibration:

                                      Link Preview Image
                                      Flight Review

                                      favicon

                                      (review.px4.io)

                                      It seems you have something wrong with the thrust control (some filter?) the motors respond fine to roll / pitch but not thrust. see plots below showing RPMs. The ESC is tracking the desired RPMs well (actually a bit higher than desired at high rpm, but that is ok for now)

                                      ed5ca03f-84de-47c8-aa0c-6c0783febed2-image.png

                                      1ef15a4a-964e-4764-b915-6ca7fe402f74-image.png

                                      Alex KushleyevA 1 Reply Last reply
                                      0
                                      • Alex KushleyevA Alex Kushleyev

                                        @rdjarvis said in Motor issues when running ESC calibration:

                                        Link Preview Image
                                        Flight Review

                                        favicon

                                        (review.px4.io)

                                        It seems you have something wrong with the thrust control (some filter?) the motors respond fine to roll / pitch but not thrust. see plots below showing RPMs. The ESC is tracking the desired RPMs well (actually a bit higher than desired at high rpm, but that is ok for now)

                                        ed5ca03f-84de-47c8-aa0c-6c0783febed2-image.png

                                        1ef15a4a-964e-4764-b915-6ca7fe402f74-image.png

                                        Alex KushleyevA Offline
                                        Alex KushleyevA Offline
                                        Alex Kushleyev
                                        ModalAI Team
                                        wrote on last edited by
                                        #80

                                        (look at how desired motor outputs and desired rpms rise very slowly when you increase the desired thrust, never reaching enough rpms to hover)

                                        rdjarvisR 3 Replies Last reply
                                        0
                                        • Alex KushleyevA Alex Kushleyev

                                          (look at how desired motor outputs and desired rpms rise very slowly when you increase the desired thrust, never reaching enough rpms to hover)

                                          rdjarvisR Offline
                                          rdjarvisR Offline
                                          rdjarvis
                                          Regular
                                          wrote on last edited by
                                          #81

                                          @Alex-Kushleyev Thank you. We understand that the desired inputs and actual input are not the same.

                                          We have no filters. All ModalAI Hardware and Software are being used. ModalAI PX4 QGC Skin is used. Spektrum Rx/Tx DSMX as suggested by ModalAI is used.

                                          We have purchased 2 ModalAI FPV 4n1 ESC and multiple VOXL and VOXL2 Dev kits to keep all hardware in the same ecosystem for easy integration and R&D for our product.

                                          There is a disconnect between the FC/ESC comms on throttle Ch 3.

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups