meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:controller:setup [2023/12/11 14:03]
vasilisk
en:controller:setup [2026/04/20 10:44] (current)
vasilisk [Status flags]
Line 25: Line 25:
 ^Weight|  280g (with compound 430g)  |  640g (with compound 890g)  |  1440g (compound filled)  | ^Weight|  280g (with compound 430g)  |  640g (with compound 890g)  |  1440g (compound filled)  |
 ^Warranty|  2 years (with compound potting — 3 year)  ||  3 year  | ^Warranty|  2 years (with compound potting — 3 year)  ||  3 year  |
- 
-//In the kit: // 
- 
-   * CAN-cable 1,2-meters length for connection to the On-board Computer. 
-  * Phase wires. 
-  * Battery wires 
-  * Hall sensors wire. 
- 
-Phase, battery, and Hall sensors wires are supplied with connectors, depending on the type and specification of the controller in the order. 
- 
-//Optionally you can order:// 
- 
-  * САN-cables 0,3 and 2 meters length. 
-  * Controller-side inputs for connection throttle, brakes levers directly to the Controller. 
-  * PWM/PAS wire for connection PAS, fans for cooling or brake lights. 
  
 ===== Connection diagram ===== ===== Connection diagram =====
Line 47: Line 32:
 When the power is turned on for the first time, the controller will start automatically. To enable/disable the controller, you must connect an external switch according to the diagram or configure the button located on the back of the On-board computer in the menu **Devices**  > **Controller**  > **Extra parameters**  > **Disable button**. When the power is turned on for the first time, the controller will start automatically. To enable/disable the controller, you must connect an external switch according to the diagram or configure the button located on the back of the On-board computer in the menu **Devices**  > **Controller**  > **Extra parameters**  > **Disable button**.
  
-You can find the wiring diagrams of the other devices on this [[https://bit.ly/3zPIYvn|link]]. By default, all peripherals (throttle, brake, switches, etc.) are connected into ports located on the backside of **[[:en:display:start|On-board computer]]** . To access the ports, you need to unscrew five screws and remove the plastic cover. For connection, use PHD 2.0 connectors and crimp pins, which are included in the kit. If you do not have a crimping tool such as Crimper SN-2549, you must order "Crimped wires for display". The On-board computer is connected to the controller with one CAN-wire 1.2 meters long, which is included in the controller kit. Be careful, the CAN-wire from the Controller is connected to the **SYSTEM**  connector on the backside of the On-board computer.+You can find the wiring diagrams for 6F,12F,24F, On-board computer and uLigt on this [[https://drive.google.com/file/d/175f4Cv4QuhjYu4UIwU951rA5HNJUEr5k/view?usp=drive_link|link]], wiring diagram for P24F and Encoder board [[https://docs.nucular.tech/doku.php?id=en:controller:schematic|here]]. By default, all peripherals (throttle, brake, switches, etc.) are connected into ports located on the backside of **[[:en:display:start|On-board computer]]** . To access the ports, you need to unscrew five screws and remove the plastic cover. For connection, use PHD 2.0 connectors and crimp pins, which are included in the kit. If you do not have a crimping tool such as Crimper SN-2549, you must order "Crimped wires for display". The On-board computer is connected to the controller with one CAN-wire 1.2 meters long, which is included in the controller kit. Be careful, the CAN-wire from the Controller is connected to the **SYSTEM**  connector on the backside of the On-board computer.
  
 If you want to connect peripherals directly to the Controller, you need to order "Control-side inputs", in the diagram below this switching option is designated as "Alternative connection". You can also use a mixed connection, for example, connect the throttle lever to the On-board computer, and the brake lever to the Controller. \\ If you want to connect peripherals directly to the Controller, you need to order "Control-side inputs", in the diagram below this switching option is designated as "Alternative connection". You can also use a mixed connection, for example, connect the throttle lever to the On-board computer, and the brake lever to the Controller. \\
Line 125: Line 110:
 Four parameters are used to configure each mode: \\ **Phase**  — the maximum value of the phase current, in Amperes (**A**). Select of values from **0A**  to **500A**, in increments of **2A**. When setting, consider the maximum phase current of your controller type. In most cases, we recommend specifying the value of the phase current 1.5-2 times higher than the battery current. Four parameters are used to configure each mode: \\ **Phase**  — the maximum value of the phase current, in Amperes (**A**). Select of values from **0A**  to **500A**, in increments of **2A**. When setting, consider the maximum phase current of your controller type. In most cases, we recommend specifying the value of the phase current 1.5-2 times higher than the battery current.
  
-**Battery**  — the maximum value of the battery current, in Amperes (**A**). Select of values from **2A**  to **400A**, in increments of **2A**. When setting up, consider the capabilities of the connected battery and the maximum battery current of your controller type.+**Battery**  — the maximum value of the battery current, in Amperes (**A**). Select of values from **2A**  to **400A**, in increments of **2A**. When setting up, consider the capabilities of the connected battery and the maximum battery current of your controller type. This parameter have priority over **Discharge max** in **Battery** menu and can be used to activate boost mode.
  
-**Power**  — maximum power (discharge) of the battery, in kilowatts (**kW**). Select of values from **0.00kW**  to **30.0kW**, in increments of **0.1kW**. Set to 0.0kW to disable the power limiting limit.+**Power** — maximum power (discharge) of the battery, in kilowatts (**kW**). Select of values from **0.00kW** to **30.0kW**, in increments of **0.1kW**. Optional parameter, by default set to 0.0kW to disable power limit (battery current will be used instead). Should be used with **Power** throttle modes for better power regulation by throttle.
  
 **Speed**  — maximum speed in percentage (%). Select of values from **4%**  to **150%**, in increments of **2%**. The value of this parameter determines the percentage of speed depending on the reference speed (see section **[[:en:controller:setup#speedometer_setup|Speedometer setup]]**). A speed value over 100% activates the field weakening mode, which allows the motor to accelerate above the supply voltage (see section **[[:en:controller:setup#field_weakening_setup|Field weakening setup]]**). **Speed**  — maximum speed in percentage (%). Select of values from **4%**  to **150%**, in increments of **2%**. The value of this parameter determines the percentage of speed depending on the reference speed (see section **[[:en:controller:setup#speedometer_setup|Speedometer setup]]**). A speed value over 100% activates the field weakening mode, which allows the motor to accelerate above the supply voltage (see section **[[:en:controller:setup#field_weakening_setup|Field weakening setup]]**).
Line 178: Line 163:
 ===== Advanced control modes ===== ===== Advanced control modes =====
  
-In the menu section **Controller**  > **Advanced modes**  enables the control modes and activates the advanced settings for each of these modes.+In the menu section **Controller** > **Advanced modes** enables the control modes and activates the advanced settings for S1/S2/S3 modes which are located in the corresponding menu section.
  
 {{:en:controller:k5_en.png?nolink&  }} {{:en:controller:k5_en.png?nolink&  }}
Line 334: Line 319:
 {{:en:controller:6_0.8.png?nolink&  }} {{:en:controller:6_0.8.png?nolink&  }}
  
-Three throttle modes options are available: \\ **Speed**  — a similar mode is used in Infineon controllers and non-programmable low-cost controllers and is characterized by the use of maximum current to reach a given speed. In this mode, the maximum thrust is used until the desired speed is reached, the thrust is not regulated by the throttle grip. \\ **Speed+torque**  — combined mode (as Kelly), similar to the operation of the gas pedal in a car with an internal combustion engine. In the case of selecting the **Speed+torque**  mode, pressing throttle to 50%, when achieved 50% speed, the current consumption will be reduced to hold speed. The acceleration current will also be proportionally lower. \\ **Torque**  — in this mode, the throttle controls phase current, the thrust is limited by the angle of rotation of the throttle. \\ **Power+torque**  — In this mode, it is possible to drive an ebike like a motorcycle with an internal combustion engine. The response is similar to the throttle grip on internal combustion engines. \\ **Power**  — in this mode, you can fine-tune the consumption from the battery using the throttle.+Five throttle modes options are available: \\ **Speed**  — a similar mode is used in Infineon controllers and non-programmable low-cost controllers and is characterized by the use of maximum current to reach a given speed. In this mode, the maximum thrust is used until the desired speed is reached, the thrust is not regulated by the throttle grip. \\ **Speed+torque**  — combined mode (as Kelly), similar to the operation of the gas pedal in a car with an internal combustion engine. In the case of selecting the **Speed+torque**  mode, pressing throttle to 50%, when achieved 50% speed, the current consumption will be reduced to hold speed. The acceleration current will also be proportionally lower. \\ **Torque**  — in this mode, the throttle controls phase current, the thrust is limited by the angle of rotation of the throttle. \\ **Power+torque**  — In this mode, it is possible to drive an ebike like a motorcycle with an internal combustion engine. The response is similar to the throttle grip on internal combustion engines. \\ **Power**  — in this mode, you can fine-tune the consumption from the battery using the throttle.
  
 **Adaptive throttle**  — this function allows you to more accurately dose throttle at high speed when the battery current in the settings is several times lower than the phase current. The default is set to 6%. **Adaptive throttle**  — this function allows you to more accurately dose throttle at high speed when the battery current in the settings is several times lower than the phase current. The default is set to 6%.
Line 689: Line 674:
 ===== Status flags ===== ===== Status flags =====
  
-The **Controller**  > **Status Flags**  menu section displays errors that may occur during the operation of the Controller. If an error occurs, the parameter value changes to **On**.+The **Controller** > **Status Flags** menu section displays errors that may occur during the operation of the Controller. If an error occurs, the parameter value changes to **On**. Status flags reset after controller reboot, if issue happens - try to check flags before turning off controller or resetting them.
  
 {{:en:controller:status_en_0504.png?nolink&  }} {{:en:controller:status_en_0504.png?nolink&  }}
  
-**Reset?**  — reset all statusesValues **On**  and **Off**. \\ **Max acceleration**  — maximum acceleration, in ERPM/s. \\ **Min deceleration**  — maximum deceleration, in ERPM/s. \\ **Overload current**  — the last recorded current on the phases, in Amperes. \\ **Overload**  — exceeding the permissible current values. Values **On**  and **Off**. \\ **High V ripple**  — overcurrent on the P24F controller (plate) which is monitored via voltage ripple. Values **On**  and **Off**. \\ **Over-Field weakening**  — weakening error. Values **On**  and **Off**. \\ **Supply overvoltage**  — too high supply voltage, the error will appear above 95V, but in general depends on the controller model. Values **On**  and **Off**. \\ **Supply undervoltage**  — too low supply voltage, less than the minimum battery supply threshold. Values **On**  and **Off**. \\ **12V protection**  — error on the 12V power line. Values **On**  and **Off**. \\ **Control fail**  — the controller was not able to smoothly turn off the electric motor in time when throttle released. May happen with certain motors when field weakening used, decrease FW current. Values **On**  and **Off**. \\ **12V protection**  — breaking down or error on the 12V power line. Values **On**  and **Off**. \\ **Brake error**  — brake lever connection error. Values **On**  and **Off**. \\ **Throttle error**  — throttle lever connection error. Values **On**  and **Off**. \\ **Throttle lock**  — indicates that the throttle lever is disabled. Values **On**  and **Off**. \\ **Position sensor error**  — motor position sensor connection error. Values **On**  and **Off**. \\ **Square index error**  — signal error from sensors when trapezoidal control. Values **On**  and **Off**. \\ **Thread error**  — processor overload. Values **On**  and **Off**. The error is not critical, let us know if it occurs. \\ **PAS protection**  — PAS error. Values **On**  and **Off**. \\ **Controller overheat**  — overheat protection of the controller. Values **On**  and **Off**. \\ **Motor overheat**  — overheating protection of the electric motor. Values **On**  and **Off**. \\ **Protection fail**  — hardware error, malfunction of all protection systems during controller self-test. If this error occurs, the operation of the Controller will be impossible. Values **On**  and **Off**. \\ **ADC sample error**  — software error of the analog-to-digital converter (ADC). Values **On**  and **Off**. \\ **VBUS sample error**  — supply voltage measurement error. Values **On**  and **Off**. \\ **Voltage on phases**  — overvoltage on phases. Values **On**  and **Off**. \\ **LEC**  — types of errors on the CAN bus. If everything is alright you will see the value **Ok**. In case of errors, there will be values - **Stuff**, **Form**, **Acknowledgment**, **Bit recessive**, **Bit dominant**, **CRC**, **SW**. Tell us the code if this error occurs. \\ **Receive w/error**  — CAN-bus errors on receiving. \\ **Sent w/error**  — CAN-bus errors on transmitting. \\ **CAN state**  — overloading buffers. If everything is alright you will see the value **Ok**. In case of errors, there will be values - **OVR0**, **OVR1**, **OVR01**. Tell us the code if this error occurs. \\ **CAN RX**  — the number of messages in the CAN bus to receive. \\ **CAN TX**  — the number of messages in the CAN bus to transmission. \\ **CPU Load**  — current load of the central processor, in percentage (**%**).+**Reset?** — reset all status flagsValues **On** and **Off**.   \\ 
 + **Max acceleration**  — maximum acceleration, in ERPM/s. \\ 
 + **Min deceleration**  — maximum deceleration, in ERPM/s. \\ 
 + **Overload current**  — the last recorded current on the phases, in Amperes. \\ 
 + **Overload**  — exceeding the permissible current values. Values **On**  and **Off**. \\ 
 + **High V ripple**  — overcurrent on the P24F controller (plate) which is monitored via voltage ripple. Values **On**  and **Off**. \\  
 +**Over-Field weakening**  — weakening error. Values **On**  and **Off**. \\ 
 + **Supply overvoltage**  — too high supply voltage, the error will appear above 95V, but in general depends on the controller model. Values **On**  and **Off**. \\ **Supply undervoltage**  — too low supply voltage, less than the minimum battery supply threshold. Values **On**  and **Off**. \\ **12V protection**  — error on the 12V power line. Values **On**  and **Off**. \\ **Control fail**  — the controller was not able to smoothly turn off the electric motor in time when throttle released. May happen with certain motors when field weakening used, decrease FW current. Values **On**  and **Off**. \\ **12V protection**  — breaking down or error on the 12V power line. Values **On**  and **Off**. \\ **Brake error**  — brake lever connection error. Values **On**  and **Off**. \\ **Throttle error**  — throttle lever connection error. Values **On**  and **Off**. \\ **Throttle lock**  — indicates that the throttle lever is disabled. Values **On**  and **Off**. \\ **Position sensor error**  — motor position sensor connection error. Values **On**  and **Off**. \\ **Square index error**  — signal error from sensors when trapezoidal control. Values **On**  and **Off**. \\ **Thread error**  — processor overload. Values **On**  and **Off**. The error is not critical, let us know if it occurs. \\ **PAS protection**  — PAS error. Values **On**  and **Off**. \\ **Controller overheat**  — overheat protection of the controller. Values **On**  and **Off**. \\ **Motor overheat**  — overheating protection of the electric motor. Values **On**  and **Off**. \\ **Protection fail**  — hardware error, malfunction of all protection systems during controller self-test. If this error occurs, the operation of the Controller will be impossible. Values **On**  and **Off**. \\ **ADC sample error**  — software error of the analog-to-digital converter (ADC). Values **On**  and **Off**. \\ **VBUS sample error**  — supply voltage measurement error. Values **On**  and **Off**. \\ **Voltage on phases**  — overvoltage on phases. Values **On**  and **Off**. \\ **LEC**  — types of errors on the CAN bus. If everything is alright you will see the value **Ok**. In case of errors, there will be values - **Stuff**, **Form**, **Acknowledgment**, **Bit recessive**, **Bit dominant**, **CRC**, **SW**. Tell us the code if this error occurs. \\ **Receive w/error**  — CAN-bus errors on receiving. \\ **Sent w/error**  — CAN-bus errors on transmitting. \\ **CAN state**  — overloading buffers. If everything is alright you will see the value **Ok**. In case of errors, there will be values - **OVR0**, **OVR1**, **OVR01**. Tell us the code if this error occurs. \\ **CAN RX**  — the number of messages in the CAN bus to receive. \\ **CAN TX**  — the number of messages in the CAN bus to transmission. \\ **CPU Load**  — current load of the central processor, in percentage (**%**).
  
 ===== Debug information ===== ===== Debug information =====