1 2 Previous Next 14 Replies Latest reply on Apr 5, 2017 5:28 AM by jobi

    regarding speed for own motor config

    bunny

      Hello Professionals,

         

      I am trying to make BLDC control using sensorless for my own motor. I used an example to modify according to my motor parameters, and I entered my motor parameters in the program. But the motor rotates only at a certain speed like with a very low rpm(approx.1000rpm). What to do to get the more Rpm? my motor rated speed is 16000 rpm. Can anyone please tell me the solution?

         

       

         

      Thanks in advance

        • 1. Re: regarding speed for own motor config
          aceh

          Hi,

             

          Some more information is needed:

             

          What example did you use?

             

          Which MCU and/or starter Kit are you using?

             

           

             

          Basically you have to increase the frequency of your electric field for more rpm, because the rotor will follow it as long as enough torque is produced by the motor. Higher frequency equals higher rpm.

             

           

             

          I also think one thread is enough, so the discussion is not split in different sections, so I will delete the other one in the FM3 forum.

             

           

             

          kind regards,

             

          Achim

          • 2. Re: regarding speed for own motor config
            bunny

            Hi,

               

            Thank you very much for your reply. I adapted the Sensorless FOC motor control example project for my own motor configuration. I am using CY8CKIT-037 with sensorless FOC motor control program in PSoC 4 creator. How could I get Kp and Ki values to enter?

               

             

               

            Thanks

            • 3. Re: regarding speed for own motor config
              bunny

               Hi Mr.Achim,

                 

               

                 

              Could you please help me? I tried with more frequency but getting the same result?

                 

               

                 

              Thanks

              • 4. Re: regarding speed for own motor config
                aceh

                Hi,

                   

                Ok, it is PSoC4 based, so this is the wrong subforum. I will move it accordingly.

                   

                 

                   

                The speedcontrol is done in the function updateSpeedrefFromVR() in foc.c where a voltage reference (potentiometer) is referred to a desired speed and also the acceleration ramps are handled. This reference is then used in the FOC_MainLoop_ISR to control the speed.

                   

                Does changing the potentiometer change Motor speed?

                   

                 

                   

                Can you also share the motor specifications? Rated voltage, current, K/V, ...

                   

                 

                   

                kind regards,

                   

                Achim

                • 5. Re: regarding speed for own motor config
                  bunny

                   Hi,

                     

                  Motor specifications are:

                     

                  No.of.pole pairs: 5,  No.of phases: 3, Rated voltage:12V, Rated speed:1600rpm, Torque at 16000rpm: 0.04Nm approx,  Line to line resistance: 19mOhms, Line to line inductance: 26uH, Max peak current: 15Amps

                     

                  I tried the speed changing by varying the potentiometer but no changes were seen. And could you please tell me Do I have to make any changes at Kp and Ki constants?

                     

                   

                     

                  Thanks

                  • 6. Re: regarding speed for own motor config
                    bunny

                     Hi,

                       

                    could you please answer?

                       

                    Thanks

                    • 7. Re: regarding speed for own motor config
                      jobi

                      Hi,

                         

                      Please confirm you had set proper values in cymc_MAL.h file.

                         

                      I don't think the issue is with PI tunning. PI will help you attain the required speed,  fast and with stability. But it will reach the target speed nonetheless.

                         

                      Thanks

                         

                      Jobin

                      • 8. Re: regarding speed for own motor config
                        bunny
                                Hello, Thanks for the message. I set the correct values in cymc_MAL.h file. It reaches target speed but how to vary the speed? How much values to be there in the PI settings to get speed like 6000rpm? Thanks   
                        • 9. Re: regarding speed for own motor config
                          bunny
                                  Hello Mr.Jobin, Will it not be possible to run my own motor with its rated speed by adapting an example FOC sensorless Bldc code? If yes where could I change the speed parameter? Could you please tell me? Thanks   
                          • 10. Re: regarding speed for own motor config
                            jobi

                            Hello,

                               

                            You are mentioning that 'it reach the target speed'. Please mention the target speed, and how do you set this speed as the target speed.

                               

                            Jobin

                            • 11. Re: regarding speed for own motor config
                              jobi

                              Hello,

                                 

                              There are two examples. 1) Sensorless FOC and 2) Sensorless BLDC, so please confirm which one you are referring.

                                 

                              The rated speed is defined in Cymc_MAL.h, have you tried increasing the rated speed by changing the #define M_RATED_SPEED

                                 

                              Jobin

                              • 12. Re: regarding speed for own motor config
                                bunny
                                        Hello Mr.Jobin, I mean I adapted the sensorless FOC control example program and with this motor runs with some speed until the speed which is given in example program. How can I change the speed in this? Do I have to calculate values such as Kp,Ki,ramp up acceleration, rotor alignment time,etc., ? Will it not be possible to do my own motor configuration by adapting example program and changing the my own motor parameters? Thanks in advance   
                                • 13. Re: regarding speed for own motor config
                                  jobi

                                  Hi,

                                     

                                  The rated speed is defined in Cymc_MAL.h, have you tried increasing the rated speed by changing the #define M_RATED_SPEED. Please confirm.
                                  The Kp and Ki values will help you reach the rated speed fast. But there is no accurate value, you need to tune it. But one thing I like to confirm is you should be able to reach the required speed even with the current PI values.

                                     

                                  Jobin

                                  • 14. Re: regarding speed for own motor config
                                    bunny
                                            Hi Mr.Jobin, Yes, I tried increasing rated speed by changing #define M_RATED_SPEED, though it runs like with same speed as I saw before. Are any calculations needed for ramp up values and others? But I don't know what I made mistake. Thanks   
                                    1 2 Previous Next