Search found 296 matches

by pf26
20 May 2016, 10:11
Forum: General
Topic: Bluetooth
Replies: 17
Views: 5279

Re: Bluetooth

Yes there is a packet receive timeout. In the VESC it is set to 2ms which is ok. But in BLDC-tools, it is set to 50ms, which is too long, for instance when displaying rotor positions (which are sent every 10ms, and this prevents the timeout to fire anycase) - See in packetinterface.cpp, const int rx...
by pf26
17 May 2016, 15:51
Forum: General
Topic: Bluetooth
Replies: 17
Views: 5279

Re: Bluetooth

@ ViennaTom: I think your communication issues are noise related: i.e when the MOSFET are switching only. Did you try to scope your UART Rx and Tx signals ? Are you using a grid connected power supply or batteries ? I was just pointing I had issues when displaying realtime data in BLDCtools for some...
by pf26
13 May 2016, 12:12
Forum: Related Hardware
Topic: Current limit of motor
Replies: 21
Views: 6662

Re: Current limit of motor

tobawo wrote:Yes but the 50A motor current only flow for 1/10 of the time

No, the 50A may flow continuously, even with 5A battery current, (PWM increases the current and reduces the voltage seen by the motor)
by pf26
11 May 2016, 07:14
Forum: FOC
Topic: FOC Encoder Control Troubleshooting
Replies: 27
Views: 8367

Re: FOC Encoder Control Troubleshooting

FOC mode does use current limits. But 20A for an unloaded motor can produce violent moves. To position control over can, you just need to send can message, for example using PIC18F26K80 : typedef enum { // CAN commands CAN_PACKET_SET_DUTY = 0, CAN_PACKET_SET_CURRENT, CAN_PACKET_SET_CURRENT_BRAKE, CA...
by pf26
09 May 2016, 16:53
Forum: General
Topic: Bluetooth
Replies: 17
Views: 5279

Re: Bluetooth

I have used HC-06 (BTbee) at 115200bds to communicate between VESC and bldc-tools (windows) without issue. Even for firmware upgrade over bluetooth ! Sometimes the realtime data or encoder positions do freeze in bldc-tools. But this also occurs to me with a USB serial connection; I think this is due...
by pf26
09 May 2016, 15:29
Forum: FOC
Topic: FOC Encoder Control Troubleshooting
Replies: 27
Views: 8367

Re: FOC Encoder Control Troubleshooting

I think you need to check your encoder cabling. As far as I can remember, encoder lines A and B are connected to PIN Hall 1 and 2, and Index goes to Hall 3. A meter will tell you if there are shorts. A dc supply with current limit (at the very least, a small fuse) is recommanded when playing with di...
by pf26
08 May 2016, 17:14
Forum: FOC
Topic: FOC Encoder Control Troubleshooting
Replies: 27
Views: 8367

Re: FOC Encoder Control Troubleshooting

The Ratio of 500 is not correct. You should get the number of electrical pole per turn of your motor (I think this is also the number of magnets of the rotor divided by 2) First check your firmware : Either you can download a precompiled firmware "VESC_encoder.bin" (I think they used to be...
by pf26
26 Apr 2016, 18:54
Forum: General
Topic: uVESC - Slim design - Multicopter Edition
Replies: 15
Views: 4782

Re: uVESC - Slim design - Multicopter Edition

In theory, DutyCycle control is similar to a very agressive proportional SpeedControl because : MotorResistance x MotorCurrent = BatteryVoltage x SetDuty - MotorSpeedNow x MotorKv This is the same as : MotorCurrent = KP x (SpeedRef - MotorSpeedNow) But using SpeedControl and high proportional gain (...
by pf26
21 Apr 2016, 18:28
Forum: Hardware Problems
Topic: DRV8302 Magic Smoke
Replies: 35
Views: 10189

Re: DRV8302 Magic Smoke

Maybe you want to try with reduced max battery regen current (below 10 Amps). Just to see if DRV failures still occur.
Obviously this will affect braking capacity.
by pf26
20 Apr 2016, 18:40
Forum: FOC
Topic: FOC problems with small motor
Replies: 12
Views: 5113

Re: FOC problems with small motor

It is easy to change this firmware, because the code is very clean (never seen this before.) Go to hwconf/conf_general.h, and change this: #define CURRENT_SHUNT_RES 0.005 (this line already exists, remove the // and change value as per your shunts). Make sure it comes above the HW_VERSION define sta...

Go to advanced search