уменьшение дедтайма до 3 мкс

изменение коэфф-в для другого мотора
увеличение ограничения тока до 25 ампер
This commit is contained in:
seklyuts 2023-12-28 13:27:54 +03:00
parent 5bbcece870
commit 0b491c0a8b
4 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -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

View File

@ -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)
{

View File

@ -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