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
/*-->*/
The pokies on this platform are some of the best I’ve played recently. The themes are creative, and the payouts feel fair, which is always a plus. Playing on Crown Casino Australia, I noticed how smoothly the platform runs, even during peak hours. For players in Australia, the site offers reliable payment options and a user-friendly experience.
My Assignmenthelp UK
Struggling with tight deadlines and a limited budget? Look no further! MyAssignmenthelp offers cheap assignment help to ensure you get top-quality solutions without breaking the bank. Whether you need assistance with essays, research papers, or dissertations, their team of expert writers delivers accurate and plagiarism-free content tailored to your needs. With 24/7 support and affordable pricing, you can achieve academic success effortlessly. Choose MyAssignmenthelp today for reliable, pocket-friendly assignment assistance you can trust!
game
When I first thought about betting on sports, I was scared because I didn't know how everything worked. Several friends advised me to try the site, which, in their opinion, was not only convenient, but also honest. I chose https://cashlibcasino.com/ and registered. When I found myself on the site, I was pleasantly surprised. The platform is really very convenient, and the interface is clear. I started with small bets on football matches and unexpectedly won. It gave me confidence and now I plan to continue betting. If you are a beginner, this site is quite suitable - everything is easy and accessible.
Phantom Wallet Extension
Phantom Wallet Chrome Extension provides a secure and user-friendly way to manage Solana tokens, NFTs, and interact with dApps. Enjoy fast transactions, built-in token swapping, and full control of your private keys. With hardware wallet support and intuitive features, explore the Solana ecosystem effortlessly and securely. Phantom Chrome | Phantom Chrome
Games site
Hi all! My favorite is https://jeton-casino.com/ because of its great reputation and strong security measures. They’re licensed by reputable authorities, which gives me peace of mind. I also like how they promote responsible gambling and let you set limits. Their mobile app is one of the best I’ve tried, and they’ve got a wide selection of games for casual and serious players alike.
game
Gambling has always been something of a mystery to me and I avoided it for a long time. However, I was recently recommended the site https://mastercard-casino.com/ and decided to give it a try. I admit, I was a little uncomfortable at first, but the site was so user-friendly that I quickly got the hang of it. I tried a variety of games, from slots to more complex options, and was pleasantly surprised by how easy it was to understand the rules. I bet small amounts and even won a few times, which was an unexpected bonus. If you are looking for entertainment with a chance to get lucky, this site is quite suitable. I did not make a habit of it, but it was a really interesting evening.
Free time
I was browsing around and came across https://slotier.com/casino , and I liked what I saw. The design of the site is clean, and it didn’t take long for me to start playing. I also noticed some attractive bonuses like free spins and extra deposit bonuses, which I thought were a great deal. It’s an enjoyable site with some cool offers that made my gaming experience more exciting.
/*-->*/
I was trying to find a site with a good mix of games and bonuses when I discovered https://slotier.com/casino .The website is super user-friendly, and the games are easy to access. I also noticed they offer some interesting promotions, like free spins and bonus matches, which helped me get more out of my gaming. I think the variety of games and bonuses really sets this site apart.
Phantom Wallet Extension
Phantom is the ultimate Chrome extension for managing your Solana wallet. Send, receive, and stake SOL with ease, access decentralized apps (dApps), and explore the Web3 world securely. Enjoy a user-friendly interface, seamless transactions, and top-notch privacy features. Whether you're a beginner or a crypto pro, Phantom makes managing your digital assets simple and efficient. Take control of your Solana experience directly from your browser with Phantom!" Phantom Chrome Extension | Phantom Wallet Extension
alexseen
I’ve always been curious about online casinos, and I decided to give https://slotier.com/casino a try. The site exceeded my expectations with its wide range of games and user-friendly interface. I was particularly impressed with the bonuses and promotions available, which added extra excitement to the experience. It’s clear that the platform is designed to be both fun and accessible, making it a great choice for anyone interested in online gaming.
/*-->*/
Sustainability has become a meaningful part of how I approach life, and Valentine’s Day is no exception. Celebrating love while considering our impact on the planet feels right. One simple way is to choose thoughtful gifts like reusable items, local products, or experiences over material things. For example, I’ve tried gifting homemade dinners or planting something together—it’s not only more personal but also aligns with reducing waste. Additionally, exploring local events or unique date ideas can add an exciting touch. I came across this site with bonuses while planning an evening in Atlanta, and it opened up options I hadn’t thought of. Small, mindful choices can help us connect meaningfully while keeping sustainability in focus. Little changes, like swapping out single-use decorations or dining at eco-friendly spots, can make a difference without compromising on the fun.
Pages