Configuration of your VESC® or VESC® based ESC using the VESC®-Tool Software.
In this tutorial we will configure a genuine VESC® motor controller in combination with a BLDC motor.
We will run the motor in FOC mode and we will make use of Hall sensors.
Make sure to use the latest VESC-Tool version!
Download from http://www.vesc-project.com/vesc_tool
Connect your VESC® to your computer using a mini/micro USB cable.
Mini USB is used for HW 4.xx only. Some cheap micro USB cables are designed for charging your
phone and will not work properly! Try another cable if you experience any issues.
Run the VESC®-Tool software.
Now we get the following options:
FOC = Field-Oriented Control
Advanced control mode (sinusoidal, silent, more efficient,
better motor sensor operation).
May cause damage to 3rd party hardware!
BLDC = Trapezoidal Control
More simple control mode (block commutation), noisier, hall-sensor operation
less accurate at this stage. Safer for operation of 3rd party hardware.
DC = Only for DC motors. Use phase wire A and C only!
The following explanations will help you to configure your current limits correctly:
Motor Current Max: The maximum current your motor can handle continuously (Ampere). Please refer to the motor specifications of your motor. You may use lower values to de-power your setup.
Our motor can handle 50A, but we will only set it to 30A to get started. You can boost your settings once you feel comfortable. A safe approach towards higher values is highly recommended (e.g. start with 15A only).
Hint: This value can be greater than the Battery Current Max value, resulting in a higher motor power output at part throttle. At max throttle the Battery Current Max is the limiting value if set lower than Motor Current Max.
Motor Current Max Brake: The maximum current output you allow your motor to produce when operated as a generator. Electric vehicles may use the motor as a brake, generating energy when slowing down the vehicle. The energy produced will be stored in the battery. In this tutorial we will set the value to -25A to get started. The value should not be higher than the max. continuous current specification of the motor.
Hint: Higher values will result in stronger brakes if the Battery Current Max Regen settings allows the storage of the current generated.
Battery Current Max: The maximum continuous current your battery is rated for. Please refer to your battery specifications for safe settings. LiPo-pack batteries are usually C-rated. A 5800mAh, 25C rated battery can handle 5.8A x 25=145A max. Manufacturers often overrate the batteries and cutting the value in half is recommend. We will use 72A max for safety reasons.
Hint: Since our Motor Current Max is set to 30A, we could use 30A for the battery as well.
Technically there is no reason to use a higher value than the Motor Current Max.
Battery Current Max Regen: The maximum current you allow the VESC to push towards your battery or battery management system (if incorporated in your system) when braking. This value should not exceed the maximum charge current rating of your battery or capability of your battery management system. Our battery is 5C rated for charging. We use a 5800mAh battery.
5.8A x 5 = 29A max. charge current. Again: Better be pessimistic with those values! We will set it to -20A.
Hint: Since this value is lower than the Motor Current Max Brake (-25A), the firmware will limit the ampflow towards the Battery to -20A, regardless of the higher value we specified for Motor Current Max Brake (-25A). In consequence our maximum motor brake force is limited by the lower Battery Current Max Regen value.
Now we will configure your battery cutoff voltage.
If you discharge your battery below a certain voltage, it will get damaged permanently. LiPo packs or Lithium ion Batteries usualy operate between 4.2V and 3.1V per cell. Do not allow your system to discharge them beyond 3.1V per cell! For this reason the VESC will measure your battery voltage and will start to softly cutoff the power at 3.4V per cell (Battery Votage Cutoff Start) and it will perform a hard cutoff at 3.1V per cell (Battery Votage Cutoff End).
You can also set custom values if your cells have different ratings.
Battery Voltage Cutoff End = number of cells in series x minimum cell voltage
Next step is the choice of motor sensors
Sensors help the VESC to know the rotor position in refenrence to the copper coils. This way the motor can perform a relatively smooth startup from 0 RPM. If your motor features sensors you should make use of them. At higher RPM, the VESC will use back EMFs to calculate the rotor position. The RPM for switching to back EMF operation can be defined later.
No sensors: without motor sensors the motor needs to turn a bit, so the VESC can calculate the rotor position from the back EMF current flow that the magnets will induce into the copper coils when they rotate around the the motor stator. Startup from 0 RPM is possible but a bit shaky.
Hall sensors: A transducer that varies its output voltage in response to a magnetic field. Usually a set of three sensors are acurately positioned inside or outside the motor to roughly determin the position of the rotor.
Commonly used, not very precise, good enough to guarnatee a smooth startup of a vehicle from standstill.
AS5047 Encoder: This is a chip sensing the magnetic field of a diametrally magnetized magnet, attached to the motor shaft. The precision is very high (14 bit) and allows very accurate determination of the rotor position.
ABI: Output signal of an incremental rotary encoder (mechanical, optical or magnetic).
Our motor has Hall sensors, so we will choose Hall sensor operation.
Next step is to measure your motor parameters
For the best possible result, do the detection without attached drive train, propellers etc.
Every single motor is unique and the VESC needs to know certain parameters to run the motor. The VESC needs to know the motor resistance, electrical inductance and flux linkage (λ). From these basic values other values can be calculated that are essential for the motor operation. So that‘s what we will do now.
Step 1:measure RL
The motor will make a loud humming noise
Step 2:measure λ
The motor will spin up. Make sure to disassemble propellers or lift up your vehicle from the ground or take any preparations necessary to allow your motor to spin up freely.
Step 3:Apply values
Make sure that your motor can rotate freely, since the motor will start to turn slowly now.
Congratulations, you have finished the Motor Setup Wizard.
Please continue with the Input Setup Wizard.
Comments
Jerky BDLC Motor
Hello,
I am trying to go through the set up wizard for a BDLC motor and it will briefly work but then instantly stop. How can I debug this?
Thanks
Check the wiring: Make sure
Check the wiring: Make sure that all the connections are secure and wired correctly. Check the wiring against the wiring diagram provided in the setup wizard. Ensure that the wires are connected to the correct terminals. mapquest driving directions
patience
With patience and regular practice, you will gradually improve your skills and be able to conquer difficult levels in geometry dash game. Good luck and have fun playing!
Use a debugger: If you have
Use a debugger: If you have access to a debugger, use it to step through the code and identify any errors wordle or issues in the code that may be causing the motor to stop.
/*-->*/
I really like your posts. Thanks for this useful information
bitlife
Your insights are incredibly
Your insights are incredibly zapatas valuable, thank you for sharing them with us.
Many motor controllers
Many motor controllers provide error codes when there is an issue with the motor. Check the manual for your specific motor controller wordiply to see if there are any error codes and what they mean.
Your articles have helped me
Your articles have helped me to learn a lot of interesting information on this topic
mapquest directions and they are important material from which I can come up with many good ideas.
slither io
Looking to boost your website
Looking to boost your website's authority and visibility? A guest posts service is a powerful tool that can help you achieve that. By publishing high-quality content on reputable sites, you not only gain backlinks but also increase traffic and credibility. This service is essential for anyone aiming to grow their online presence through organic SEO efforts.
I love how you incorporate
I love how you incorporate bar pitti personal anecdotes into your posts.
great
i like this post.
البادل لعبة زوجية، وهي هجين بين ثلاث ألعاب الإسكواش لوجود الزجاج، وبين التنس الأرضي لوجود الشبكة، والراكت، في البادل لا حرج في ارتطام الكرة بالزجاج ما دامت قد وطأت الأرض أولاً.
لعبة بادل
Some invisible energy urges
Some invisible energy urges me to read more about these topics Head Soccer
The Motor Setup Wizard
The Motor Setup Wizard article is a well-crafted, invaluable resource that offers clear and concise guidance for configuring motor settings. It simplifies the often complex process of motor setup, making it accessible to both beginners and experienced users. basketrandom.net
The wizard will guide you
The wizard will guide you through identifying each motor and verifying that they are connected correctly. Some software may spin each motor individually to help you confirm their placement. basketball legends
This post really resonated
This post really resonated lost boys clothing with me. Thanks for sharing!
bitlife
BitLife always brings new things to players thanks to regular updates. New features, events and unique challenges are constantly added, making the game never boring. You will always have new things to discover, from raising pets, participating in adventurous activities, to experiencing new careers. This is the reason why bitlife always maintains its appeal and attracts a large number of players around the world.
Reader
Motors have many advantages if we compare it to the engine. Cost is a major reason in any aspect that we take in the notice and i have read in essays-studymoosereviews as a major advantage of its lower cost than engines. Overall this article is new for me to get information from here..!!
Fans of word puzzles will
Fans of word puzzles will like Strands Game. It evaluates your critical thinking and vocabulary. It retains the attraction and variety of challenges of the interaction. The game's simple design makes for countless hours of fun.
Hello, I have the same
Hello, I have the same problem. Did your issue get resolved?
t
/*-->*/
In order to test your ability to defy gravity, you must guide a ball up steep slopes in the Slope Game. The objective is to roll the ball as far as you can while dodging obstacles and negotiating difficult terrain.
We are best Professional SEO,
We are best Professional SEO, Digital Marketing, Web Designing and Web Development Company in Bangalore.
best digital marketing agency in bangalore
seo services company in bangalore
/*-->*/
You've done it again by providing this knowledge, mapquest directions which is engaging and educational from beginning to end.
We all come to work everyday
We all come to work everyday to solve the most basic to the most complex visa related problems. We are passionate about providing you best suited solution to your needs.
canada visa immigration lawyer in india
crs score
/*-->*/
Your post Share is a magnificent jewel due to the breadth and mapquest directions depth with which it treats the topic.
I'm always excited to see f&w
I'm always excited to see f&w schmitt's family farm a new post from you in my feed.
กาแฟดอยช้าง
Thank you for this great website. I am trying to read some more posts but I cant get your blog to display properly in my Firefox Browser. Thank you again! กาแฟดอยช้าง
Jasa pindah rumah
Great blog article.Really looking forward to read more ! Jasa pindah rumah
Jasa pindah murah
I read that Post and got it fine and informative. Jasa pindah murah
event cosplay
the information on this blog is very helpful, im happy to stop by this blog! event cosplay
aplikasiqq
I read that Post and got it fine and informative. aplikasiqq
You could have heard about
You could have heard about Lean Six Sigma Experts of New Hampshire but you are not sure of who we are, what we do, and the cities that we serve. To start off, we are the best Sigma Six Company in the State of New Hampshire.
lean six sigma new hampshire
Akreditasi Itenas
this blog is interesting, im happy to stop by this blog! Akreditasi Itenas
Cara SMS Banking BRI Transfer
this blog is interesting, im happy to stop by this blog! Cara SMS Banking BRI Transfer
Nice information, valuable
Nice information, valuable and excellent design jasa pindahan rumah murah
poker qq
this blog is interesting, im happy to stop by this blog! poker qq
Well done information.thanks
Well done information.thanks for the excellent article cara sadap wa jarak jauh 2021 tanpa scan
This is very interesting, Don
This is very interesting, Don't forget to visit our website cara membuat akun tiktok shop
jasa desain grafis
What a great blog! enjoy the visit here. <a href="https://solusiprinting.com/niat-jadi-jasa-desain-grafis-ini-10-rekomenda...">prinsip desain grafis</a>
situs judi togel terpercaya
Great blog article.Really looking forward to read more ! situs judi togel terpercaya
Cool article pagar panel
Cool article pagar panel beton
gaple
Nice blog, thanks gaple
Reader
I thought the blog was bad but it turned out to be good! sewa mobil di bali
Nice blog, thanks sewa mobil
Nice blog, thanks sewa mobil cirebon
Reader
I thought the blog was bad but it turned out to be good! pkv judi qq
same
We have the same point of view here bandar slot gacor
Nice blog, thanks jasa
Nice blog, thanks jasa penerjemah tersumpah
enlightening
The article you write here is enlightening slot bonus new member
Reader
this is very interesting blog! Bandar Togel
Nice blog, thanks http://180
Nice blog, thanks http://180.215.200.81/
Reader
This is a great blog! bandar judi slot
Pages