Search found 85 matches

by michael_wintergarden
21 Dec 2016, 03:00
Forum: General
Topic: VESC and Simulink in windows
Replies: 12
Views: 3432

Re: VESC and Simulink in windows

Hi, I think I don't really understand you. Maybe I'm wrong, I don't know. I dont want to embarras you, but to make sure to understand I just want to explain something (I don't know if I'm right): Wether you use external mode in matlab or not, you always have to generate C-code from your simulink mod...
by michael_wintergarden
18 Dec 2016, 20:58
Forum: General
Topic: VESC and Simulink in windows
Replies: 12
Views: 3432

Re: VESC and Simulink in windows

There already exists a position control inside the VESC with much higher sampling rate than the possible sampling rate available with simulink. Because of the communication speed, it is very difficult to get a control loop faster than 0.005 seconds per cycle. But with the internal control loop insi...
by michael_wintergarden
30 Nov 2016, 12:07
Forum: Custom Applications
Topic: Avoiding stick-slip chatter in positon control mode
Replies: 0
Views: 519

Avoiding stick-slip chatter in positon control mode

Hi guys, I have seen that the motor-rotor of an automotive throttle body is always vibrating a little bit within the backlash of the gearbox. This "trick" is used to avoid/minimize the non-linear behaviour of stick-slip during position controlling. I wonder if the VESC would allow to let t...
by michael_wintergarden
24 Nov 2016, 09:03
Forum: Custom Applications
Topic: "soft start" to reduce high-current spikes at start-up
Replies: 7
Views: 1457

Re: "soft start" to reduce high-current spikes at start-up

Also setting the current limiter influences the PID (if in use).

So you need to adjust the PID if you change the current limit of the motor...
For a skateboard it most likely doesn't matter, but for robotics or some mechanical drives it could be/is a problem.
by michael_wintergarden
23 Nov 2016, 12:14
Forum: Custom Applications
Topic: "soft start" to reduce high-current spikes at start-up
Replies: 7
Views: 1457

Re: "soft start" to reduce high-current spikes at start-up

Or lower the motor current somewhat.... But this means less power output... E.g. if the current is set to 20 Amps, it still reaches sometimes the absolute max current limiter which is set per default to 130 amps... The current limiter just doesn't work as it should, probably because of the low resi...
by michael_wintergarden
16 Nov 2016, 17:12
Forum: FOC
Topic: Position Control with PPM
Replies: 2
Views: 1223

Re: Position Control with PPM

Position control with PPM (and therefore remote control) works now. Here are the changes what I made: modify app_ppm.c : This change will use "PID speed control no reverse" to enable position control with PPM: case PPM_CTRL_TYPE_PID_NOREV: if (fabsf(servo_val) < 0.001) { pulses_without_pow...
by michael_wintergarden
14 Nov 2016, 16:41
Forum: FOC
Topic: Position Control with PPM
Replies: 2
Views: 1223

Re: Position Control with PPM

Hi, I think most of the coding regarding ppm is allocated in app_ppm.c : Maybe some minor changes can allow to do position control with ppm.... switch (config.ctrl_type) { case PPM_CTRL_TYPE_CURRENT: case PPM_CTRL_TYPE_CURRENT_NOREV: current_mode = true; if (servo_val >= 0.0) { current = servo_val *...
by michael_wintergarden
13 Nov 2016, 12:22
Forum: Hardware Problems
Topic: E: Version '4.9.3.2015q3-1trusty1' for 'gcc-arm-none-eabi' was not found
Replies: 2
Views: 913

Re: E: Version '4.9.3.2015q3-1trusty1' for 'gcc-arm-none-eabi' was not found

I fixed the problem by changing one command:

Code: Select all

udo apt-get install gcc-arm-none-eabi

instead of

Code: Select all

sudo apt-get install gcc-arm-none-eabi=4.9.3.2015q3-1trusty1
by michael_wintergarden
13 Nov 2016, 12:00
Forum: Hardware Problems
Topic: E: Version '4.9.3.2015q3-1trusty1' for 'gcc-arm-none-eabi' was not found
Replies: 2
Views: 913

E: Version '4.9.3.2015q3-1trusty1' for 'gcc-arm-none-eabi' was not found

Hi, I just got a freshly installed debian and wanted to set-up the VESC software again. But it failed after doing this: test@debian:~$ sudo apt-get install gcc-arm-none-eabi=4.9.3.2015q3-1trusty1 Reading package lists... Done Building dependency tree Reading state information... Done E: Version '4.9...
by michael_wintergarden
13 Nov 2016, 11:33
Forum: Hardware Problems
Topic: FAULT_CODE_ABS_OVER_CURRENT
Replies: 0
Views: 332

FAULT_CODE_ABS_OVER_CURRENT

Hi, I have set the current limiter to 20 Amps but I sometimes get this error message: "FAULT_CODE_ABS_OVER_CURRENT" and the VESC shuts the motor off. Fault : FAULT_CODE_ABS_OVER_CURRENT Current : 22.6 Current filtered : 20.1 Voltage : 13.96 Duty : 0.03 RPM : 262.7 Tacho : 33392 Cycles runn...

Go to advanced search