Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KT36SSVPR-GPIF5- Testing #27

Open
ajo79 opened this issue Aug 3, 2022 · 0 comments
Open

KT36SSVPR-GPIF5- Testing #27

ajo79 opened this issue Aug 3, 2022 · 0 comments

Comments

@ajo79
Copy link

ajo79 commented Aug 3, 2022

Hello all,

I am using the git source code - https://github.com/stancecoke/BMSBatter ... _firmware
In this code, there is one java tool "OSEC Parameter Configurator", by which we can set the parameters (which will update config.h file in the source code).
I didn't get the "proven setting" .ini file for the controller model -KT36SSVPR-GPIF5
In this .h file, why do we have 3-speed limits?

#define limit 6
#define limit_without_pas 6
#define limit_with_throttle_override 6

Where can I get this ini file?

Also, I downloaded the program using the below config.h file.

By default, the Assist level speed limit is 6km/h. but the actual speed I am getting is 72 km/h(when I pressed LCD-3 down button). (motor is in noload condition)
Please guide me in the testing of this controller

/*

  • config.h
  • Automatically created by OSEC Parameter Configurator
  • Author: stancecoke
    */

#ifndef CONFIG_H_
#define CONFIG_H_

#define NUMBER_OF_PAS_MAGS 8
#define limit 6
#define timeout 3125
#define wheel_circumference 2040L
#define limit_without_pas 6
#define ADC_THROTTLE_MIN_VALUE 50
#define ADC_THROTTLE_MAX_VALUE 185
#define BATTERY_VOLTAGE_MIN_VALUE 116
#define BATTERY_CURRENT_MAX_VALUE 150L
#define PHASE_CURRENT_MAX_VALUE 500L
#define REGEN_CURRENT_MAX_VALUE 0L
#define MOTOR_ROTOR_DELTA_PHASE_ANGLE_RIGHT 237
#define current_cal_a 100
#define LEVEL_1 30
#define LEVEL_2 45
#define LEVEL_3 60
#define LEVEL_4 80
#define LEVEL_5 100
#define MORSE_TIME_1 50
#define MORSE_TIME_2 50
#define MORSE_TIME_3 50
#define RAMP_END 1500
#define P_FACTOR 0.5
#define I_FACTOR 0.1
#define GEAR_RATIO 44L
#define PAS_THRESHOLD 1.9
#define RAMP_START 64000
#define limit_with_throttle_override 6
#define CORRECTION_AT_ANGLE 127
#define DISPLAY_TYPE_KT_LCD3
#define ANGLE_4_0 1
#define ANGLE_6_60 43
#define ANGLE_2_120 86
#define ANGLE_3_180 128
#define ANGLE_1_240 171
#define ANGLE_5_300 213
#define TQS_CALIB 0.0
#define ACA 128
#define EEPROM_INIT_MAGIC_BYTE 132 // makes sure (chance of fail 1/255) eeprom is invalidated after flashing new config
#define ADC_BATTERY_VOLTAGE_K 70
#define ACA_EXPERIMENTAL 128
#define BATTERY_VOLTAGE_MAX_VALUE 155

#endif /* CONFIG_H_ */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant