matlab_23550/Inu/Src2/main/params_norma.h

71 lines
1.4 KiB
C

/*
* params_norma.h
*
* Created on: 14 ôåâð. 2020 ã.
* Author: yura
*/
#ifndef _PARAMS_NORMA_H_
#define _PARAMS_NORMA_H_
////////////////////////////////////////////////////
#define NORMA_FROTOR_INT 20
#define NORMA_ACP_INT 3000
#define NORMA_ANGLE 360
////////////////////////////////////////////////////
////////////////////////////////////////////////////
//#define NORMA_FROTOR 20.0
//#define NORMA_ACP 3000.0
#define NORMA_FROTOR ((float)NORMA_FROTOR_INT)
#define NORMA_ACP ((float)NORMA_ACP_INT)
#define NORMA_MZZ_INT NORMA_ACP_INT
#define NORMA_MZZ ((float)NORMA_MZZ_INT)
#define NORMA_I_U_INT NORMA_MZZ_INT
////////////////////////////////////////////////////
////////////////////////////////////////////////////
////////////////////////////////////////////////////
//#define F_STATOR_MAX NORMA_FROTOR // ìàêñ. ñêîðîñòü îãðàíè÷åíà ýëåêòðîíèêîé
#define NORMA_ACP_P 100.0
#define NORMA_ACP_RMS 2127.66
#define NORMA_ACP_TEMPER_MILL_AMP 100.0 //
#ifndef PROJECT_SHIP
#error Íå óñòàíîâëåí PROJECT_SHIP â predifine Name
#else
#if (PROJECT_SHIP == 1)
#define NORMA_ACP_TEMPER 100.0 // äëÿ 23550.1
#endif
#if (PROJECT_SHIP == 2)
#define NORMA_ACP_TEMPER 200.0 // äëÿ 23550.3
#endif
#if (PROJECT_SHIP== 3)
#define NORMA_ACP_TEMPER 200.0 // äëÿ 23550.3
#endif
#endif
#endif /* _PARAMS_NORMA_H_ */