You are here

2. Motor Setup Wizard

Submitted by frank on Tue, 2017-10-03 19:49

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


Vesc-Tool_MSM_intro


Vesc-Tool_MSW_wiring


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.


Vesc-Tool_MSW_connect


Vesc-Tool_MSW_start


Vesc-Tool_MSW_default


VESC-Tool MSW_choose FOC


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!

VESC-Tool MSW_choose FOC


Vesc-Tool_FW_current limits warning


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.

Vesc-Tool_MSW_current limits set


Vesc-Tool_MSW_battery cutoff_warning

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

VESC-Tool MSW_battery cutoff_set values


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.

Vesc-Tool_MSW_select sensors


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

Vesc-Tool_MSW_motor parameter_01

Vesc-Tool_MSW_motor parameter_02

Vesc-Tool_MSW_motor parameter_03

Vesc-Tool_MSW_motor parameter_04

Vesc-Tool_MSW_motor parameter_05


Vesc-Tool_MSW_sensor calibration_01

Make sure that your motor can rotate freely, since the motor will start to turn slowly now.

Vesc-Tool_MSW_sensor calibration_02

Vesc-Tool_MSW_sensor calibration_03


Vesc-Tool_MSW_finish


Congratulations, you have finished the Motor Setup Wizard.

Please continue with the Input Setup Wizard.

Comments

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

A monkeytype is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

 

If you're interested in AI-powered writing assistance, you should definitely check out EssayWriters AI. I stumbled upon a review https://essay-reviews.com/essaywriters-ai-review of this platform that provides valuable insights into how it works and its effectiveness. With advancements in technology shaping the future of education, platforms like EssayWriters AI offer a glimpse into what's possible.

 

Monkey type is a free online typing practice website that offers a variety of typing tests and games to help improve your typing speed and accuracy. The website offers various typing exercises, including word, sentence, and paragraph typing tests, timed typing races, and typing games.

One of the features of Monkey type is that it provides real-time feedback on your typing performance, including your words per minute (WPM) typing speed and accuracy. It also provides detailed statistics on your typing performance, such as your error rate and typing speed over time, which can help you track your progress and identify areas for improvement.

Overall, Monkey type is an excellent resource for anyone looking to improve their typing skills, whether for personal or professional reasons. With various exercises and games to choose from, you can easily find typing practice that suits your needs and interests.

RecCloud offers seamless cloud-based solutions for your business needs. Streamline data management, enhance collaboration, and boost productivity with our innovative platform. Discover the power of RecCloud today.

I never imagined being able to afford a home on my budget, but ModularList's modular homes under 40k changed that. The quality and design of these homes are remarkable for the price. It's incredible to see such value being offered, making homeownership accessible to more people. My experience with ModularList has been nothing short of amazing, from browsing to moving in.

Join millions of players worldwide in the daily quest to crack the Wordle puzzle. Wordle nyt 
 

In NYT Wordle Each guess provides feedback on the letters that are correct and in the correct position or correct but in the wrong position. Wordle nytimes

As a student tasked with choosing a research paper topic, I often found myself overwhelmed by the sheer number of options. EssayHub's comprehensive list of research paper topics https://essayhub.com/blog/research-paper-topics came to my rescue, offering a diverse range of intriguing ideas across various disciplines. Whether I was interested in science, history, literature, or social issues, EssayHub had a topic that piqued my curiosity. The article provided valuable insights and inspiration, making the daunting task of topic selection much more manageable. Thanks to site, I found the perfect research paper topic that aligned with my interests and academic goals.

Metamask Login : Logging into your Metamask account is a breeze, giving you instant access to your cryptocurrency wallet and decentralized applications. To begin, simply open your browser and click on the Metamask extension icon. Enter your unique password to securely unlock your account and start exploring the world of digital assets at your fingertips. Metamask Login

Once logged in, you can seamlessly view your token balances, send and receive funds, and interact with various decentralized platforms. Metamask Login ensures a user-friendly experience by providing a clean interface designed for both beginners and experienced crypto enthusiasts alike.

Metamask Login

I often learn many new techniques and strategies from other players in 1v1 lol, this helps me develop my skills quickly and create dramatic matches. This makes the game more interesting and always new every time you participate.

Guarda Wallet Extension

Guarda Wallet Extension is a game-changer in the world of cryptocurrency storage. This innovative extension offers users a secure and convenient way to manage their digital assets directly from their web browser. With Guarda Wallet Extension, you can easily access your cryptocurrencies without compromising on security. One of the key features of Guarda Wallet Extension is its user-friendly interface, making it easy for both beginners and experienced users to navigate. The extension supports a wide range of cryptocurrencies, allowing you to store all your digital assets in one place.

Venom Wallet Extension

Introducing the Venom Extension , a secure and user-friendly tool for managing your cryptocurrency assets with ease. This extension offers a seamless way to store, send, and receive various digital currencies all in one place.With Venom Wallet Extension, you can rest assured that your funds are protected through advanced security features like encryption and multi-factor authentication. Say goodbye to worrying about the safety of your crypto investments.

 

The

final grade calculator is easy to use, with a simple interface and clear instructions. You can enter your grades quickly and easily, and the calculator will do the rest.

Your writings stick out to me since the content is interesting and simple to understand. Even though I've read a lot of websites, I still like yours more. Your essay was interesting to read. I can understand the essay better now that I've read it carefully. In the future infinite craft, I'd like to read more of your writing.

Heardle 70s is a fantastic music trivia game that celebrates the iconic hits of the 1970s, offering a nostalgic and entertaining challenge for music lovers.

Slither Io - This dynamic creates intense, high-stakes gameplay where survival depends on both skill and strategy.

 

A set of word puzzles. Playing word games is a great way to study. The games it provides are sure to meet your expectations.
Simple word games are called word games. But it's not easy either; playing with a companion makes it much more fun. An astounding degree of word search will be displayed to you. Difficult puzzles will be answered twice as quickly as normal. But it's not easy either; playing with a companion makes nerdle much more fun. An astounding degree of word search will be displayed to you. We will solve puzzles twice as quickly as normal.
 

The Motor Setup Wizard by Frank, submitted on October 3, 2017, is an invaluable tool for anyone looking to streamline their motor configuration process. It's user-friendly and efficient, making it a must-have for both novices and experts. For students who need assistance with similar technical projects or any academic assignments, I highly recommend checking out assignment writing services UK, like MyAssignmentHelp. Their expertise ensures top-notch support and quality.

assignment writing services uk

It's no wonder that you are aware of the conveniences that are brought about by digital payment platforms. But, at the same time, we all know that these platforms are different from each other up to a certain extent.

Specifically talking about PayPal, we can say that it is more than just a simple payment platform because the platform incorporates features that help you send and receive payments, shop across different spaces, and do much more.

 

You'll be amazed to know that this platform has two account options for different needs- An Individual PayPal login account and a Business account. Yes, that's true. You can opt for any one of these accounts to fulfill your requirements.

 

Sounds interesting? Well, you can know more about this particular service in detail by referring to the informative section that I am going to furnish below. PayPal Login

 

Capital one login : Securely access your account and manage your finances with ease using Capitalone login. Stay in control of your money with our trusted banking platform.

Capital one login

The Love language test is a personal inventory that allows you to measure and understand how you like to give and receive love in romantic relationships. It measures a concept similar to the five love languages, which was developed in the 1990's by psychologist and marriage counselor Dr. Gary Chapman, but with some key improvements based on Truity's empirical research.

MetaMask is a secure Ethereum wallet and browser extension for Chrome, enabling users to manage crypto assets and interact with decentralized applications (dApps). It provides an intuitive interface for storing, sending, and receiving Ethereum and ERC-20 tokens, ensuring seamless and secure blockchain transactions directly from your browser.

MetaMask Chrome Extension | MetaMask Chrome Extension

Thank you for taking the time to write and share these great cooking tips. I have learned a lot of new things. Play game bou's revenge free.

Zerion Wallet Extension empowers you to manage your crypto portfolio with ease. Access DeFi, NFTs, and multiple blockchains in one secure, user-friendly interface. Enjoy seamless transactions, real-time asset tracking, and advanced features to optimize your crypto experience. Your gateway to the decentralized web. Zerion Wallet Extension .

Phantom Wallet Extension offers a simple, secure way to manage your Solana and Ethereum assets. Easily swap tokens, collect NFTs, and explore Web3 with a user-friendly interface. Experience fast transactions, top-notch security, and seamless integration across multiple devices. Unlock the full potential of the decentralized world. Phantom Extension.

I appreciate you sharing this blog. For individuals who are looking for pertinent information, this is a huge aid. 

slope

Pages