уменьшение дедтайма до 3 мкс
изменение коэфф-в для другого мотора увеличение ограничения тока до 25 ампер
This commit is contained in:
parent
5bbcece870
commit
0b491c0a8b
Binary file not shown.
@ -14,7 +14,7 @@
|
||||
|
||||
#define FREQUENCY_BRAKE 200000.0 //Hz
|
||||
#define FREQUENCY_MOTOR 10000.0 //Hz
|
||||
#define EPWM_DB_mkS 6.0 //mkS
|
||||
#define EPWM_DB_mkS 3.0 //mkS
|
||||
|
||||
#define PERIOD_BRAKE (SYS_PWM_FREQUENCY/2.0/FREQUENCY_BRAKE) //Tic
|
||||
#define PERIOD_MOTOR (SYS_PWM_FREQUENCY/2.0/FREQUENCY_MOTOR) //Tic
|
||||
|
@ -18,7 +18,7 @@
|
||||
#include "skvt.h"
|
||||
#include "adc_init.h"
|
||||
|
||||
#define IMAX_A 10.0 //A
|
||||
#define IMAX_A 25.0 //A
|
||||
#define IMAX (IMAX_A*BIT_MAX/FACTOR_CURRENT_MOTOR_A)
|
||||
|
||||
typedef struct {
|
||||
@ -78,7 +78,7 @@ uint16_t SectorCheckOn=1;
|
||||
volatile int16_t UdcFiltered = 0;
|
||||
float UdcVolt = 0;
|
||||
volatile float VdcFactor = FACTOR_VDC;
|
||||
volatile VoltProcImit = 0;
|
||||
volatile uint16_t VoltProcImit = 0;
|
||||
|
||||
void vectorFault(void)
|
||||
{
|
||||
|
@ -35,8 +35,8 @@
|
||||
|
||||
#define VOLT_MAX_PROC 94.0
|
||||
#define VOLT_MAX_FACTOR VOLT_MAX_PROC/100.0
|
||||
#define PI_REG_I_PROPOR 16.0
|
||||
#define PI_REG_I_INTEGR 0.05
|
||||
#define PI_REG_I_PROPOR 30.0
|
||||
#define PI_REG_I_INTEGR 0.04
|
||||
#define CURRENT_MAX 40.0 //A
|
||||
#define ZERO_LVL 0.00001f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user