Search found 309 matches

by pf26
20 Jul 2016, 12:07
Forum: General
Topic: mc_configuration folder
Replies: 1
Views: 717

Re: mc_configuration folder

http://home.vedder.se/public/VESC_Beta_Jacob/bldc-tool/mc_configurations/turnigy_sk3_168kv.xml
(you need to change it for 245kV instead 168, but it will be a good start)
It may be somewhat outdated for newer bldctools version - use with caution.
by pf26
18 Jul 2016, 12:19
Forum: FOC
Topic: FOC Encoder Control Troubleshooting
Replies: 27
Views: 9280

Re: FOC Encoder Control Troubleshooting

I think your Id should contain the EID and SID fields, and the frame is extended. So most likely you can try : INT32U Id = (CAN_PACKET_SET_POS << 8); // CAN_PACKET_SET_POS in EIDH CAN0.sendMsgBuf( Id, 1, 8, stmp); Make sure your CAN_PACKET_SET_POS is unsigned 16 bits, otherwise <<8 will overflow.
by pf26
12 Jul 2016, 10:45
Forum: General
Topic: Vesc lvc and braking downhill
Replies: 29
Views: 5588

Re: Vesc lvc and braking downhill

I understand, it seems that your batteries are in bad shape: In fact, you get LVD because you are drawing current, and the internal battery resistance makes the voltage drop. This is why the LVD state does not remain a fault after the current gets interrupted. You can start again, and if your curren...
by pf26
12 Jul 2016, 10:32
Forum: General
Topic: VESC UART CAN BUS
Replies: 1
Views: 1155

Re: VESC UART CAN BUS

First you need to connect to each VESC separately using UART, and set a different controller ID in App configuration. Then you can chain them using CAN bus, and communicate with the VESC you want using CAN FWD (check this box) and ID number, near the serial connection options of BLDC tools. I assume...
by pf26
11 Jul 2016, 10:24
Forum: General
Topic: Vesc lvc and braking downhill
Replies: 29
Views: 5588

Re: Vesc lvc and braking downhill

I think that the VESC will stay in the "low voltage fault" state, unless the motor turns so fast that its output voltage reaches the low_battery voltage and starts charging the battery through the body diodes of the fets. To my understanding, "low voltage fault" state prevents PW...
by pf26
10 Jul 2016, 10:03
Forum: Feature Requests
Topic: Custom throttle mapping
Replies: 1
Views: 1322

Re: Custom throttle mapping

Yes, this can be done if you are familiar with C programming. Refer to: http://vedder.se/2015/08/vesc-writing-custom-applications/ I guess you can copy nearly everything from the ppm App, and add a function to modify the target speed, duty or current, whatever you want to use. It takes some time to ...
by pf26
08 Jul 2016, 17:17
Forum: General
Topic: FOC encoder position control
Replies: 3
Views: 1632

Re: FOC encoder position control

Yes, velocity is the velocity of the motor or the derivative of the encoder count (expressed in ERPM). From the first document I mentionned, there seems to be a difference between PID and PIV even for static target step response (possibly they use a different loop for velocity control and then for p...
by pf26
07 Jul 2016, 12:57
Forum: General
Topic: FOC encoder position control
Replies: 3
Views: 1632

FOC encoder position control

I tried to improve the current implementation of position control with FOC encoder to better track position at high speed. I modified the run_pid_control_pos() function to use a PIV control instead of PID (with PIV, the position error determines a velocity reference which is used in a velocity contr...
by pf26
07 Jul 2016, 10:27
Forum: Hardware Problems
Topic: No current measurement.
Replies: 2
Views: 1112

Re: No current measurement.

I think even BLDC dutycycle mode does need current sensing (to limit current to an acceptable value for the motor and Mosfets).
Unless you have highly resistive motor or power supply (or oversized controller), your controller will fail quickly without adequate current sensing.
by pf26
18 Jun 2016, 13:51
Forum: General
Topic: Training bike....
Replies: 5
Views: 1604

Re: Training bike....

I think it could work in theory, but I doubt your setup will resist the transient states. The power flow equation gives something like : Motor Power - Led Power = 0.5 x Capacitor x (dV/dt)² (where dV / dt is voltage variation rate of the VESC dc input) With 1000uF and 100W from the motor, voltage ri...

Go to advanced search