Тёмный

EBike PAS in VESC - Basic Setup. WHAT is GOING ON?! (It Needs Work) 

EBikeBuilder
Подписаться 3,1 тыс.
Просмотров 1,9 тыс.
50% 1

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@Bengy22
@Bengy22 4 месяца назад
I'm glad you are shining a light on VESC pedal assist, I have the same thoughts you do. Hopefully you gain more attention on it. And I hope you have seen my message on changing the control type and rpm settings, more testing is needed! I need to catch up on a few videos of yours, been busy so hopefully I didn't miss anything important!
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
I couldn't get PAS to work at all when i changed the CONTROL TYPE from Cadence to Constant Torque, i think that is for a torque sensor? I think right now, the cadence PAS behavior in vesc is kinda hard coded and basic. The best way to set it up might be changing the RPMs to a low value that is the same ... so its not doing this RPM funny business based on how fast your cranks are spinning. I don't know how much i want to fuss around with this PAS trying to make it work, Lol I am ready to start coding something. Thanks for that reply to my email I read it at like 4am I have to read it again Lols. You havent missed anything important I just got the regen working with my g62. ANd the Talaria Stuntman did a wheelie straight into a gate, that was funny.
@Bengy22
@Bengy22 4 месяца назад
@EBikeBuilder_ Yeah not sure why it doesn't work, I've read about it it's supposed to even with cadence sensors. Just gives the set power at all times of any rotation. Problem with setting stop rpm low as well is going above it cuts pas power. But I get what you mean. Maybe you can test out a fancy torque sensor on the bike, I know vesc can support it because cyc uses vesc for their controllers now. Good luck on the coding adventure, maybe you can make sense of the Luna code to implement it into yours for a display and pas modes. Oh yeah I watched a bit of those videos but they are very low haha, didn't get time to finish them. I think you should get a second vesc for the front hub to go awd. The vesc's can connect together and work together
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
@@Bengy22i would hook another flipsky to the front motor But that thing is so loud its not great for videos, when i had both motors on 1 throttle and the front one was always going the motor noise was unbearable Lol😂 i want to get another flipsky But i need one for my BBSHD mountain bike first…. I want to get back to that also. My front hub i only use some times so its not a super high priority… but if flipsky sent me a couple controllers or something i would make some dual ESC content. Otherwise i gotta buy a bunch of flipskys and I’m OCD about buying things i don’t absolutely need 😅
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
just to be clear guys - I'm not a fan of SONIC THE HEDGEHOG pedal assist, I don't like how how PAS starts based on a crank RPM, then the power output of PAS is based on HOW FAST YOU SPIN THE CRANKS!! LOL! But the good news is, VESC is open source, and it is possible to change the behavior of PAS 😎
@rdd3adeye
@rdd3adeye 4 месяца назад
Im not a fan of those type of PAS either, that’s why i opted for a torque and cadence sensor. The torque sensor allows for easy startup, then the cadence sensor with kick in when you pedal fast enough. i just have to find out how to configure it on the vesc.
@nicod974
@nicod974 4 месяца назад
​@@rdd3adeyegood Luck
@toffifee416
@toffifee416 4 месяца назад
Hi, I might try changing the positive and negative ramp time. Like he does with the acceleration lever, for example, where the time basically determines the output delay. I would try lowering the values to make the PAS more agile and react faster to changes. Otherwise, I'm glad the developers implemented this option and I'd like to try it myself on my e-bike, because when I want to do a bit of sport, but want to have some of that electric power available, it's annoying to fiddle with the lever :D. What firmware version are you running on your VESC? Greetings from the Czech Republic.
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
I think the Flipsky has firmware 6 , i think you are right about lowering the PAS start RPM to a low value like 2. Then set the PAS end rpm to something low also that is a comfortable cadence and power output. I don’t like how the PAS power output is based on the pedal RPM , i might try to change the code and add a different option. To make it behave more like a normal cadence sensor. I agree its nice some form of PAS had been implemented in Vesc as its a good starting point for further improvements. 🎉
@E1320_
@E1320_ Месяц назад
I'd try using a 12 magnet PAS sensor and lowering the pedal rpm then working your way up. I haven't got my Flipsky working yet, but I appreciate all the work you're putting in.
@stevecumming6427
@stevecumming6427 4 месяца назад
Cool as Ima bout to connect the Flipsky with the key switch & volt meter on a Pro V2. I was experimenting on a Mars 2.0 after removing the chain ring & chain, on getting the PAS to work by using only 1 magnet. By wiggling the crank arm over 1 magnet pick up, it was possible to keep the motor being powered. So try less magnets is what I think I did before the factory contoler bricked for some reason. Maybe the controller didn't like the 63kph being run with free wheeling in the shop.
@EBIKESBR
@EBIKESBR 4 месяца назад
I managed to use a 3-wire sensor, using the ppm input and lisp programming, it works perfect!
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
i saw some one mention that on a forum some where, it looks like that may be the way to go, I see the LISP scripts are sand boxed and shouldnt cause any bricking problems
@paulpostel9721
@paulpostel9721 4 месяца назад
What forum are you using EB?
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
@@paulpostel9721 this is the thread that I have found on the VESC forums that has a sample LISP - VESC script of how to read a PPM 3 wire cadence PAS sensor... vesc-project.com/node/3689 I am taking this script and using it to learn LISP VESC scripting , this script is very basic hard-coded and not very complete , I have changed the script a bit to read the PAS signal from the RX pin instead of the PPM or whatever it was doing. And i think I have a handle on the scripting. But that script wont work for my PAS sensor it seems, I need to do some scripting I am working on it right now
@paulpostel9721
@paulpostel9721 4 месяца назад
@@EBikeBuilder_ thanks man. I truly like your videos with the flipsky in combo with the G062 motor. I use that motor and now own the flipsky, actually I'm wiring up the flip tomorrow. I'm going to use the crew dart platform with a inverted fork and 60v HD battery.
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
I think one possibility guys to have it behave more like a normal cadence sensor, is set both PEDAL START RPM and PEDAL END RPM to a low value that's the same?? I havent' tried that yet. But maybe if you set them both to 2, it just gives you full power right when you start pedaling
@nicod974
@nicod974 4 месяца назад
You have a good point there. Try it
@bmxriderforlife1234
@bmxriderforlife1234 Месяц назад
The issue is from the skate board side. Vesc is thinking the sensor is the joystick for certain boards. Push forwards go forwards push back go back. But based off the amount of movement. Someone just changed it to rpm vs movement percentage.
@NoInfoFound
@NoInfoFound 4 месяца назад
Thanks for trying to sort out the pedal assist. Do you have the brake motor cut off enabled and will it stop it when it starts rolling on its own?
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
for this video i turned the regen with ADC Brake Center off / i have the regen disabled in this video. When the brake is ON, the PAS is OFF- that was REALLY throwing me off. Since I had the brake set up to center, with throttle min mapped to center, it was engaging the brake when i was off the throttle, and I could only get PAS to start when i would engage the throttle enough to release the brake. So for this video I just disabled regen. There's a few ways you can hook up the regen brake. I liked it on the throttle but it's at odds with PAS. I think if you want PAS with the regen you need some way to control the regen, or disable regen, its kind of annoying to have to hold the throttle beyond a certain point to get PAS to engage
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
i think another option might be to use the profiles feature. and set up one profile for PAS and ADC. and then set up another profile for the ADC Brake Center with regen. if you are on the streeet and want regen. Im still trying to think through all of this and how to make it work best
@NoInfoFound
@NoInfoFound 4 месяца назад
@@EBikeBuilder_ PAS + Regen Brake would be interesting, but I was thinking more basic: PAS + just motor cutoff on brake. The idea is that if the motor gets frisky for some reason, the grabbing the brake will at least start friction brake and also signal motor cut off to the controller.
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
@@NoInfoFound Its possible to set the brake up as more of a button yeah. You would connect a brake lever with the 3 wires to GND and 3.3V (in parallel with the throttle) and then the brake signal goes to ADC2, is how the Flipsky wiring diagram has it shown to connect the brake lever. And probably have to map the maximum. and minimum voltages of the brake similar to how you map the adc throttle voltages. Then hitting the brake lever should be like an on/off toggle on ADC2. And in the ADC control mode you would use Current No Reverse Brake ADC2 I think, or Current No Reverse Brake Button , Im not sure which control mode it would be to hook up to that brake signal on ADC2, probably something like that. I was thinking about mapping my regen to the ADC2 brake as well. But I only have those mechanical / cable pull brake levers with the electronic shut offs, I dont have any of those ones where you glue the magnet on with the sensor for hydraulics, and Im not about to take my hydraulic levers off my bike. So i dont think i am going to put regen on the brake lever. There's no way to modulate the power of the regen when its on a brake lever like that, unless you have some kind of a special brake lever that acts more like a throttle with a range of voltage, as opposed to the brake cut off which is more of an on / off thing. So I think for regen. I will probably try to make something similar to Grin Tech where its like back pedal regen Or something like that maybe, IDK, I still dont know what to do about regen. But Its important to be able to control the power of it. And I dont want a whole separate throttle just for regen. So its alot of like trying to figure out how to make it all work togethjer in a way that is user friendly and not annoyhing while riding. I never set up my regen with the grin tech stuff I will have to look into how they do regen. I remember in that grin tech talk about regen , justin talked like half an hour just about this challenge and how to engage regen
@Calibike
@Calibike 16 дней назад
your temp is good my temp sensor goes to 65c quickly 80a phase 29a bat max
@EBikeBuilder_
@EBikeBuilder_ 14 дней назад
@@Calibike on 72v with bbshd it needs a very low gearing and then enable field weakening to increase the rpm , it wants to spin fast, When i tried 72V bbshd and shifting gears with derailleur it will very quickly heat up in high gears
@stevekight4507
@stevekight4507 29 дней назад
If I'm Understanding this correctly.... in the video you set peddle assist at 60 max (60% of motor assist aka ... 60% throttle at max rpm?) you have peddle assist at 6 revolutions per minute.... try lowering it to start faster (or increase max % motor assist)... , Next your Max is 30per minute (Does this mean you have to peddle 30rpm to get your max 60% Power?... I would try Putting start at like 1-3rpm, and max at 15-30rpm, and increasing max motor to 100%... I won't know for sure until my Pas sensor gets here... but this is what It appears Is happening in your video...... also... Try using a 24 pole pas sensor, grin and a couple other places make them...
@EBikeBuilder_
@EBikeBuilder_ 29 дней назад
pedal assist shouldnt require understanding lmao. It should be intuitive. The VESC PAS sucks man; im not even going to bother with it. Sonic the Hedgehog is NOT how to do PAS lmao
@stevekight4507
@stevekight4507 29 дней назад
@@EBikeBuilder_ thats why Im saying to lower the max... so it can go faster with less peddle... I actually like the fact that they did it that way since it gives you some control over how fast it moves... rather than my current ebike that just goes full throttle when it moves 1/4 way around... basically... I dont think Peddle assist should be an on/off switch... but it could be if you put the min 1 and max low like 2rpm
@davidhazel36
@davidhazel36 4 месяца назад
I have a 2000w dual motor smlro xdc600 ive made many changes / mods too. The pas system it uses is the best I've ever used and it's customizable. Right now i have it set to engage with 3 crank rotations and have setup 5 levels of speed. 1 is set to 10 mph, 2 at 15, 3 at 20, 4 at 30 and 5 at 40. I have a 60t chain ring on it and 7 spd cassette 11 - 34 and i can pedal up too 40. Since i shunt modded both controllers and added two 52v 30ah batteries this thing screams and the tires are getting so worn out they are showing threads from all the peeling out i do. Looks like I'll only be getting about 200 miles from a new set of chao yangs 😂. After 40 i will ghost pedal to look more like a cyclist if im in town. Unfortunately i cant get it to go any faster than 43mph at the moment. My goal with this bike is to be able to cruise at 45. I dig your content and have learned a few things. Keep up the great work 👍 👏 💪
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
ty for the kind words mate I appreciate that, Your bike sounds fun, I like how that PAS on your bike is set up, working based on crank rotations and different levels of speed. That is more what i would expect from a cadence PAS system!!
@Calibike
@Calibike 16 дней назад
i modded vesc code to use 3 wire ppm to be pas. but still has take off effect
@maxvanthart3128
@maxvanthart3128 Месяц назад
hey man i've been trying to get my pas to work however i've had no success, i think i almost have the same setup as you have, i'm using a makerbase vesc 75200v2 on firmware 6.02, that's the only difference. where there any troublepoints you had that i'm perhaps overseeing?
@EBikeBuilder_
@EBikeBuilder_ 12 дней назад
do you see the red LED light on your PAS sensor when you pass the magnet by it? it needs to be hooked up to the 5V and GND on your VESC comm pins. If you see the light on the PAS sensor, then I would check which pins on your VESC you have wired the sensor to. The Vesc source code makes it so that by default the Rx and Tx pins are where it looks for PAS signals. but its possible Makerbase changed the vesc firmware source code. and made it different. Especially if makerbase has some kind of a display that also connects to Rx and Tx, they may have remapped that. Its a problem within the VESC source code, i dont know why they used Rx and Tx as the PAS input pins, beacuse RX and TX is what displays use. It could be a number of things TBH, i ended up writing a script for PAS in VESC that I never completed but it could potentially help you debug which pins your PAS sensor is going to, Send me an email if you delve into it further. RU-vid never sends me notifications for replies
@captainchedo3592
@captainchedo3592 2 месяца назад
I've been thinking of a controller I can get that will get me a bit more speed around 40mph I'm wondering if my 750 hub motor possible 🚲💨
@EBikeBuilder_
@EBikeBuilder_ 12 дней назад
I won’t try to do much more than 40 mph on a 750w motor especially if its not dual motors. I have a 1000w bafang hub. But 750s can have less copper abs smaller magnets. And motor connectors that handle less continuous amps
@georgescg7342
@georgescg7342 24 дня назад
imagine if the brakes also bug-out at full-speed, I appreciate open source stuff but I could never really trust them like this.
@EBikeBuilder_
@EBikeBuilder_ 24 дня назад
yeah, its a concern, i had the throttle go wide open one time with my flipsky and i have no idea why, could have been the throttle But im really not sure, im lucky i was able to grab the bike quickly and lift it up. and then managed to just disconnect the battery
@thebalancepointmatrix
@thebalancepointmatrix 4 месяца назад
The best PAS is throttle control, throttle trail braking action on the twist or thumb throttle is all i ever used....😮
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
Yeah don’t really use PAS myself. I got tired of ghost pedaling years ago, it leads to repetitive stress injuries. I would rather use the throttle. And if i want to pedal i use the throttle when i need some motor power. However People have been asking me about PAS in VESC so i wanted to try it and see what is available
@nicod974
@nicod974 4 месяца назад
Only one explanation, the code for PAS could be wrong. Or the wiring of the sensor... That' what that pulse effect tells me
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
I think the pulsing was because I was going above, and below, that minimum 6 pedal RPM, and it was the Upramping and Downramping. that was kind of pulsing, I think if there was no ramping it would have been jerking on and off abruptly
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
I think the code for PAS is just weird unusual logic yes, the behavior is not typical, I will find some way to improve it
@Johnny_Guitar
@Johnny_Guitar 4 месяца назад
TX = Transmitter RX = Receiver
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
Yeah i am not sure why those are the default pins for pas, i thought those were for a display
@EBIKESBR
@EBIKESBR 4 месяца назад
If you want the lisp code I will send it to you by email
@EBikeBuilder_
@EBikeBuilder_ 4 месяца назад
sure that would be super helpful Mate! I am messing around with the LISP VESC scripting right now. i'm ebikebuilder at protonmail dot com
Далее
First Time VESC User - The Real Experience
15:00
Просмотров 33 тыс.
Watching This On Loop ♾️
00:32
Просмотров 10 млн
Шоколад приходит на Землю.
00:23
Просмотров 160 тыс.
Vesc tuning! Basic set up.
34:01
Просмотров 4 тыс.
Smart Meter Disaster!!
16:33
Просмотров 526 тыс.
COMPLETE VESC ONEWHEEL SETUP VIDEO
34:04
Просмотров 4,4 тыс.
Full Overview: Upgrading your E-Bike to VESC!
18:00
Просмотров 44 тыс.
A50S Quick FOC setup and HFI Tuning
13:53
Просмотров 1,8 тыс.
HOW TO TRUE YOUR WHEEL! *VERY IN-DEPTH*
11:47
Просмотров 52 тыс.