mirror of https://github.com/rusefi/bldc.git
Add no limits files to ubox 100V directory
Add no limits files to ubox 100V directory
This commit is contained in:
parent
d82d3a5df5
commit
9c0007c84f
|
@ -26,6 +26,8 @@
|
|||
#define HW_NAME "UBOX_V2_100"
|
||||
#elif defined (HW_UBOX_SINGLE_100)
|
||||
#define HW_NAME "UBOX_SINGLE_100"
|
||||
#elif defined (HW_UBOX_SINGLE_80)
|
||||
#define HW_NAME "UBOX_SINGLE_80"
|
||||
#else
|
||||
#error "Must define hardware type"
|
||||
#endif
|
||||
|
@ -238,7 +240,7 @@
|
|||
#define MCCONF_L_MIN_VOLTAGE 12.0 // Minimum input voltage
|
||||
#endif
|
||||
#ifndef MCCONF_L_MAX_VOLTAGE
|
||||
#define MCCONF_L_MAX_VOLTAGE 96.0 // Maximum input voltage
|
||||
#define MCCONF_L_MAX_VOLTAGE 93.0 // Maximum input voltage
|
||||
#endif
|
||||
#ifndef MCCONF_DEFAULT_MOTOR_TYPE
|
||||
#define MCCONF_DEFAULT_MOTOR_TYPE MOTOR_TYPE_FOC
|
||||
|
@ -263,7 +265,17 @@
|
|||
#define HW_LIM_CURRENT -135.0, 135.0
|
||||
#define HW_LIM_CURRENT_IN -135.0, 135.0
|
||||
#define HW_LIM_CURRENT_ABS 0.0, 180.0
|
||||
#define HW_LIM_VIN 11.0, 97.0
|
||||
|
||||
#ifdef HW_UBOX_V2_100
|
||||
#define HW_LIM_VIN 11.0, 95.0
|
||||
#elif defined HW_UBOX_SINGLE_100
|
||||
#define HW_LIM_VIN 11.0, 95.0
|
||||
#elif defined HW_UBOX_SINGLE_80
|
||||
#define HW_LIM_VIN 11.0, 76.0
|
||||
#else
|
||||
#error "Must define HW_LIM_VIN"
|
||||
#endif
|
||||
|
||||
#define HW_LIM_ERPM -200e3, 200e3
|
||||
#define HW_LIM_DUTY_MIN 0.0, 0.1
|
||||
#define HW_LIM_DUTY_MAX 0.0, 0.99
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2018 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_UBOX_SINGLE_100_NO_LIMITS_H_
|
||||
#define HW_UBOX_SINGLE_100_NO_LIMITS_H_
|
||||
|
||||
#define DISABLE_HW_LIMITS
|
||||
|
||||
#include "hw_ubox_single_100.h"
|
||||
|
||||
#endif /* HW_UBOX_SINGLE_100_NO_LIMITS_H_ */
|
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
Copyright 2018 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_UBOX_SINGLE_80_H_
|
||||
#define HW_UBOX_SINGLE_80_H_
|
||||
|
||||
#define HW_UBOX_SINGLE_80
|
||||
#define MCCONF_L_MAX_VOLTAGE 72.0
|
||||
|
||||
#include "hw_ubox_100_core.h"
|
||||
|
||||
#endif /* HW_UBOX_SINGLE_80_H_ */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2018 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_UBOX_SINGLE_80_NO_LIMITS_H_
|
||||
#define HW_UBOX_SINGLE_80_NO_LIMITS_H_
|
||||
|
||||
#define DISABLE_HW_LIMITS
|
||||
|
||||
#include "hw_ubox_single_80.h"
|
||||
|
||||
#endif /* HW_UBOX_SINGLE_80_NO_LIMITS_H_ */
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
Copyright 2018 Benjamin Vedder benjamin@vedder.se
|
||||
|
||||
This file is part of the VESC firmware.
|
||||
|
||||
The VESC firmware is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
The VESC firmware is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef HW_UBOX_V2_100_NO_LIMITS_H_
|
||||
#define HW_UBOX_V2_100_NO_LIMITS_H_
|
||||
|
||||
#define DISABLE_HW_LIMITS
|
||||
|
||||
#include "hw_ubox_v2_100.h"
|
||||
|
||||
#endif /* HW_UBOX_V2_100_NO_LIMITS_H_ */
|
|
@ -97,6 +97,7 @@ package_dict["UBOX_V1_75_MICRO"] = [['ubox_v1_75_micro', default_name]]
|
|||
package_dict["UBOX_V1_75_TYPEC"] = [['ubox_v1_75_typec', default_name]]
|
||||
package_dict["UBOX_V2_75"] = [['ubox_v2_75', default_name]]
|
||||
package_dict["UBOX_SINGLE_100"] = [['ubox_single_100', default_name]]
|
||||
package_dict["UBOX_SINGLE_80"] = [['ubox_single_80', default_name]]
|
||||
package_dict["UBOX_V2_100"] = [['ubox_v2_100', default_name]]
|
||||
package_dict["EDU"] = [['edu', default_name],
|
||||
['edu_no_limits', no_limits_name]]
|
||||
|
|
Loading…
Reference in New Issue