odrive DC_BUS_OVER_REGEN_CURRENT
时间: 2023-10-11 07:05:22 浏览: 76
ODrive是一个开源的高性能电机驱动器,用于控制直流电机。DC_BUS_OVER_REGEN_CURRENT是ODrive中的一个错误代码,表示直流母线过反馈电流。
引用中提到了一些与ODrive相关的错误代码和问题,例如ERROR_INDEX_NOT_FOUND_YET、ERROR_DRV_FAULT和ERROR_MODULATION_MAGNITUDE。要解决这些错误,可以使用odrivetool运行dump_errors命令来列出所有错误代码,并采取相应的措施。对于ODrive v3.4存在的硬件问题,当M0以较大电流运行时,电机可能会停止工作。为了解决这个问题,可以限制M0电流为40A。
相关问题
veh_version=2002; % version of ADVISOR for which the file was generated veh_proprietary=0; % 0=> non-proprietary, 1=> proprietary, do not distribute veh_validation=0; % 0=> no validation, 1=> data agrees with source data,
2=> data matches source data except for minor deviation(s) veh_description='Sample vehicle file for ADVISOR'; % one line description of the vehicle veh_mfr='Generic'; % manufacturer's name veh_model='Sample Vehicle'; % vehicle model name veh_class='Small Car'; % EPA size class veh_year=2002; % model year veh_cold_tmp=20; % Cold engine temperature (C) veh_warm_tmp=95; % Warm engine temperature (C) veh_hot_tmp=105; % Hot engine temperature (C) veh_emis=[0 0 0 0 0 0 0 0 0 0]; % Vector of emissions index (g/mi) [HC CO NOx PM H2O N2O CO2 CH4 NMHC] veh_glider_mass=1000; % Vehicle mass w/o propulsion system (kg) veh_CD=0.32; % Coefficient of aerodynamic drag veh_FA=1.9; % Vehicle frontal area (m^2) veh_starter='Integr'; % Starter type ('Integr' or 'Standalone') veh_idle_spd=700; % Idle speed (rpm) veh_cargo_mass=0; % Cargo mass (kg) veh_passenger_mass=[75 0]; % Passenger mass (kg/person) [driver, passenger] veh_wheelbase=2.5; % Vehicle wheelbase (m) veh_track=1.5; % Vehicle track (m) veh_cargo_cp=[0 0.5 0]; % Cargo center of gravity (m) [X Y Z] veh_passenger_cp=[0.5 0.5 0]; % Passenger center of gravity (m) [X Y Z] veh_front_wt_frac=0.6; % Fraction of vehicle weight on front axle veh_rear_wt_frac=0.4; % Fraction of vehicle weight on rear axle veh_wheel_front_radius=0.3; % Front wheel radius (m) veh_wheel_rear_radius=0.3; % Rear wheel radius (m) veh_gear_ratio=[2.4 1.5 1 0.7 0.5]; % Gear ratios veh_gb_eff=[0.95 0.95 0.95 0.95 0.95]; % Gearbox efficiency veh_final_drive_ratio=3.5; % Final drive ratio veh_fd_eff=0.95; % Final drive efficiency veh_inertia=0; % Vehicle rotational inertia (kg-m^2) veh_acc_grade=0; % Vehicle acceleration grade (deg) veh_max_grade=10; % Maximum grade (deg) veh_road_load=[100 0 0 0]; % Road load coefficients [a b c d] (N) at 100 kph veh_tire='205/55R16'; % Tire size (example: '205/60R15') veh_num_of_pax=1; % Number of passengers in the vehicle veh_fuel_type='Gasoline'; % Fuel type (example: 'Diesel', 'Gasoline', 'Hybrid') veh_fuel_den=0.749; % Fuel density (kg/l) veh_fuel_lhv=43.0; % Fuel lower heating value (MJ/kg) veh_fuel_frac=[0.85 0.15 0 0 0 0 0 0 0 0]; % Fuel composition [C H O N S AR CO2 H2O N2 O2] (mass fraction) veh_fuel_tank=60; % Fuel tank capacity (l) veh_mech_brake=1; % Mechanical braking system (1=>yes, 0=>no) veh_regenerative_braking=1; % Regenerative braking system (1=>yes, 0=>no) veh_coolant_fluid='water'; % Engine coolant fluid type (example: 'water', 'ethylene glycol') veh_coolant_cap=3; % Engine coolant capacity (l) veh_oil_cap=4.3; % Engine oil capacity (l) veh_oil_type='SAE 5W-30'; % Engine oil type (example: 'SAE 5W-30') veh_oil_fluid='oil'; % Engine oil fluid type (example: 'oil', 'synth oil') veh_trans_fluid='oil'; % Transmission fluid type (example: 'oil', 'synth oil') veh_trans_cap=2.5; % Transmission fluid capacity (l) veh_clutch_type='Dry'; % Clutch type (example: 'Dry', 'Wet') veh_regen_brake_type='Electric'; % Regenerative braking type (example: 'Electric', 'Hydraulic')
ProSolidRegenerate 第二个参数
ProSolidRegenerate函数的第二个参数是一个整数,用于设置重生成模式。这个参数可以取以下几个值:
- PRO_REGEN_NORMAL:正常模式,对于需要重生成的特征进行重生成。
- PRO_REGEN_NO_REPLACE:不替换模式,只对没有替换过的特征进行重生成。
- PRO_REGEN_ONLY_REPLACE:仅替换模式,只对已经替换过的特征进行重生成。
- PRO_REGEN_SUPPRESS_MSG:抑制消息模式,重生成过程中不会显示消息。
需要注意的是,这个参数不是必须的,如果不传入该参数,则默认使用正常模式。