meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:controller:setup [2023/09/30 15:00] dmitry |
en:controller:setup [2025/03/19 09:36] (current) dmitry [Connection diagram] |
||
---|---|---|---|
Line 18: | Line 18: | ||
^Battery wires| | ^Battery wires| | ||
^Hall connectors| | ^Hall connectors| | ||
- | ^Wires length| | + | ^Wires length| |
- | ^Control modes| | + | ^Control modes| |
^Protection| | ^Protection| | ||
^Protection class| | ^Protection class| | ||
Line 40: | Line 40: | ||
* Controller-side inputs for connection throttle, brakes levers directly to the Controller. | * Controller-side inputs for connection throttle, brakes levers directly to the Controller. | ||
* PWM/PAS wire for connection PAS, fans for cooling or brake lights. | * PWM/PAS wire for connection PAS, fans for cooling or brake lights. | ||
- | |||
===== Connection diagram ===== | ===== Connection diagram ===== | ||
Line 46: | Line 45: | ||
First, connect the three phases of the electric motor. It does not matter in which order and by which color you connect the phases, the controller will automatically detect them during auto-setup. Next, connect the hall connector as shown in the diagram below. You also need to connect the throttle lever and battery power. We also recommend connecting the brake levers, as their actuation turns off the motor. A simple rule — in any incomprehensible situation, press the brake. | First, connect the three phases of the electric motor. It does not matter in which order and by which color you connect the phases, the controller will automatically detect them during auto-setup. Next, connect the hall connector as shown in the diagram below. You also need to connect the throttle lever and battery power. We also recommend connecting the brake levers, as their actuation turns off the motor. A simple rule — in any incomprehensible situation, press the brake. | ||
- | When the power is turned on for the first time, the controller will start automatically. To enable/ | + | When the power is turned on for the first time, the controller will start automatically. To enable/ |
- | You can find the wiring diagrams | + | You can find the wiring diagrams |
- | If you want to connect peripherals directly to the Controller, you need to order " | + | If you want to connect peripherals directly to the Controller, you need to order " |
+ | {{: | ||
- | {{: | + | ~~CL~~ |
- | ~~CL~~ | + | |
===== Connecting multiple controllers ===== | ===== Connecting multiple controllers ===== | ||
- | If you want to connect two or more Controllers, | + | If you want to connect two or more Controllers, |
- | + | ||
- | For example, for a two-motor connection scheme, which is used on all-wheel-drive electric scooters, in addition to the second controller, you will need a CAN-splitter and one more CAN wire (there are 2, 1.2, and 0.3 meters long). Each Controller has a standard CAN-wire 1.2 m long. These wires from both controllers must be connected to a CAN-splitter, | + | |
- | <WRAP center round important 60%>\\ | + | For example, for a two-motor |
- | Pay attention to the connection | + | |
- | First connect | + | |
- | </ | + | |
- | {{:en:controller: | + | <WRAP center round important 60%> \\ Pay attention to the connection diagram. ** Do not disconnect power grounds when system wires are connected! ** First connect all power wires and only then CAN wires. When disconnecting the controllers, |
+ | {{: | ||
====== How to start? ====== | ====== How to start? ====== | ||
- | After you have connected the Controller and Controls according to the diagram, you need to configure the battery parameters. For this, go to the **Settings** > **Devices** section, select the Controller in the list of devices, then go to the **Controller** > **Battery** section and specify the supply voltage range. For a detailed description, | + | After you have connected the Controller and Controls according to the diagram, you need to configure the battery parameters. For this, go to the **Settings** |
- | {{: | + | {{: |
- | After configuring the battery, you need to run Auto-setup in the **Controller** > **Auto-setup** menu section. Ensure that the phase and battery wires are well contacted and insulated before running auto-setup. Check that the Hall sensor wire connectors are fully inserted into the mating parts. For details, see the section **Auto-setup**. After auto-setup, you need to adjust the speedometer to display the speed correctly, see the section [[en: | + | After configuring the battery, you need to run Auto-setup in the **Controller** |
====== Menu navigation ====== | ====== Menu navigation ====== | ||
- | Use the On-board computer buttons to navigate through the menus. Left button — return to the previous menu or cancel editing. Right button — go to the menu section and confirm the parameter selection. The two middle buttons — to move up/down through the menu and select the value of the menu item.\\ | + | Use the On-board computer buttons to navigate through the menus. Left button — return to the previous menu or cancel editing. Right button — go to the menu section and confirm the parameter selection. The two middle buttons — to move up/down through the menu and select the value of the menu item. |
===== Settings saving ===== | ===== Settings saving ===== | ||
- | In the menu item **Controller** > **Save settings** you can save all the settings made. Press the right button of the Onboard-computer and select **On** to save. If you do not save the settings, they will be reset after restart. | + | In the menu item **Controller** |
===== Auto-setup ===== | ===== Auto-setup ===== | ||
- | The auto-setup function in the **Controller** > **Auto-setup** menu section allows you to automatically set up the electric motor, throttle, and brake levers. If the throttle and brake levers are connected to the On-board computer, then they must be configured in [[en: | + | The auto-setup function in the **Controller** |
- | {{: | + | {{: |
- | The auto-setup menu starts the subprogram and shows only the process. All settings are saved under **Controller** > **Motor setup**. After restarting the Controller, all switches will be in the **Off** position. | + | The auto-setup menu starts the subprogram and shows only the process. All settings are saved under **Controller** |
- | Once you have specified the battery supply voltage in the **Controller** > **Battery** section, you can proceed to calibrate the motor and levers in the Auto-setup section. | + | Once you have specified the battery supply voltage in the **Controller** |
- | Before auto-setup the angles, we recommend specifying the correct number of motor pole pairs in menu item **Controller** > **Auto-setup** > **Pole pairs**. See **[[[: | + | Before auto-setup the angles, we recommend specifying the correct number of motor pole pairs in menu item **Controller** |
- | \\ | + | |
- | <WRAP center round important 60%>\\ | + | |
- | **Be careful! Before running autotuning, check that the drive wheels of your e-bike are not touching the surface and that the pedals (if equipped) do not touch anything when spinning. When adjusting the Hall sensors, the motor rotates in both directions, be careful and do not stand near the bicycle pedals. The motor will rotate five times, once when the motor is detected and four times when correcting the angle.** | + | |
- | </ | + | |
If you have a throttle lever and an analog brake connected, then you need to enable Full Setup, and follow the instructions on the On-Board computer screen. The corresponding menu items will indicate when to press and release the throttle or brake lever. | If you have a throttle lever and an analog brake connected, then you need to enable Full Setup, and follow the instructions on the On-Board computer screen. The corresponding menu items will indicate when to press and release the throttle or brake lever. | ||
- | If only one throttle lever is connected, you must independently turn on the items step-by-step: | + | If only one throttle lever is connected, you must independently turn on the items step-by-step: |
- | If the motor is heavy and autodetect does not happen, you can gently push it with your hand or increase the tuning current in the **Controller** > **Auto-setup** > **Setup current** section, for example, twice. The setup current can be selected in the range from **2A** to **50A**, in increments of **1A**. | + | If the motor is heavy and autodetect does not happen, you can gently push it with your hand or increase the tuning current in the **Controller** |
- | If the motor is rotating in the wrong direction, go to **Controller** > **Auto-setup** > **Spin direction** and change the direction of rotation. You can choose from two options **Forward** or **Invert**. A similar setting is available in the **Controller** > **Motor setup**> **Spin direction** menu. It doesn' | + | If the motor is rotating in the wrong direction, go to **Controller** |
- | If an error occurs during autotuning, see the section **[[en: | + | If an error occurs during autotuning, see the section **[[:en: |
===== Firmware update ===== | ===== Firmware update ===== | ||
- | In the menu section **Controller** > **Update and Settings**, you can update the Controller' | + | In the menu section **Controller** |
{{: | {{: | ||
- | **Import config.** — loads the settings from the file ** NCconf.cfg ** - ** NCconf9.cfg ** up to a maximum of 9 different configurations, | + | **Import config.** |
- | \\ | + | |
- | **Export config.** - saves the settings to the ** NCconf.cfg ** - ** NCconf9.cfg ** file up to a maximum of 9 different configurations, | + | |
- | \\ | + | |
- | **Reboot** — restarts the device. If the settings have not been saved, they will be reset.\\ | + | |
- | \\ | + | |
- | **Reset Wh usage** — resets the accumulated number of Watt-Hours in the controller. This indicator is displayed in the statistics of the On-board computer, see section **[[: | + | |
- | \\ | + | |
- | **Reset stats** — resets mileage in kilometers.\\ | + | |
- | \\ | + | |
- | **Load defaults** — after a reset, the default settings are loaded but not saved. If you restart the Controller without saving after a reset, the previous settings will be loaded.\\ | + | |
- | \\ | + | |
- | **Erase data storage** — This function may be needed for the correct firmware update, rollback to default settings, in a situation where user actions lead to incorrect operation of the Controller. If the controller has stopped saving the settings, do a reset, wait 3 seconds, and try to save again.\\ | + | |
- | \\ | + | |
- | **Update firmware** — starting the firmware update process. You can download the current firmware version and read the rules of update in the **[[: | + | |
===== Control modes ===== | ===== Control modes ===== | ||
- | In the menu section **Controller** > **Control modes** you can configure and save three presets of the parameters of the electric motor and switch between them using a 3-position switch or buttons on the On-board computer. The currently active mode number is displayed at the top of the main screen. After setting, it is necessary to activate the modes in the menu item **Controller** > **Additional modes** > **Enable additional modes** by setting the value **On**. In the same menu **Controller** > **Additional modes** you can make detailed settings for each mode (see the section Additional modes). | + | In the menu section **Controller** |
- | If there is no speed switch, then mode 1 is the default. If the switch is connected to the On-board computer, it is necessary to configure the On-board computer buttons in the **On-board computer** > **Button settings** menu. See section **[[: | + | If there is no speed switch, then mode 1 is the default. If the switch is connected to the On-board computer, it is necessary to configure the On-board computer buttons in the **On-board computer** |
==== Modes setup ==== | ==== Modes setup ==== | ||
Line 143: | Line 121: | ||
{{: | {{: | ||
- | The ** # Current mode ** line displays the currently selected control mode. List of possible options:\\ | + | The ** # Current mode ** line displays the currently selected control mode. List of possible options: \\ **N** — neutral. \\ **S1** |
- | **N** — neutral.\\ | + | |
- | **S1** — speed 1.\\ | + | |
- | **S2** — speed 2.\\ | + | |
- | **S3** — speed 3.\\ | + | |
- | **RV** — reverse. | + | |
- | Four parameters are used to configure each mode:\\ | + | Four parameters are used to configure each mode: \\ **Phase** |
- | **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** |
- | **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** |
- | **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 **[[: | + | **Speed** |
==== Electric brake setup ==== | ==== Electric brake setup ==== | ||
- | **Braking phase** — the value of the phase current of braking by the motor, in Amperes (**A**). Select of values from **0A** to **500A**, in increments of **2A**. For braking to zero, it is recommended to enable **Active braking** in the section **Controller** > **Control**. When using limit switches on mechanical brakes, lower brake current change speed makes recuperation more smooth. | + | **Braking phase** |
==== Braking phase at speed control ==== | ==== Braking phase at speed control ==== | ||
- | **Braking ph. at speed** — phase braking current during speed control, in Amperes (A). Select of values from **0A** to **500A**, in increments of **2A**. This function allows you to slow down when you reset the throttle stick. Works only with Direct Drive motors, without a clutch. | + | **Braking ph. at speed** |
+ | |||
+ | Also to use this mode should be selected: **Speed** | ||
- | Also to use this mode should be selected: **Speed** or **Speed and Torque** mode in the **Controller** > **Control** > **Throttle Mode** menu item. In the menu item **Controller** > **Control** > **Speed lim. at 0% throttle** enable the speed limit at 0% throttle (optional), enable if you need braking with completely released throttle. | ||
==== Regenerative braking setting ==== | ==== Regenerative braking setting ==== | ||
- | **Braking ph. at 0% throttle** — phase braking current with the throttle handle released, in Amperes (A). Select of values from **0A** to **500A**, in increments of **2A**. This function allows regenerative braking to be initiated when the throttle is released. | + | **Braking ph. at 0% throttle** |
+ | |||
+ | This function will be active if additional modes are disabled in the **Controller** | ||
- | This function will be active if additional modes are disabled in the **Controller** > **Advanced modes** menu section or if, with activated additional modes, in one of the menu sections **Mode S1**, **Mode S2** or **Mode S3** in menu item **Braking ph. at 0% throttle** was setup is **0A**. | ||
==== Reverse setup ==== | ==== Reverse setup ==== | ||
- | **Speed reverse** — reverse speed, in percentage (%). Select of values from ** 2% ** to ** 150% **, in increments of ** 2% **. The value of this parameter determines the percentage of speed depending on the reference speed (see section **[[: | + | **Speed reverse** |
+ | |||
+ | **Phase reverse** | ||
- | **Phase reverse** — the value of the reverse phase current, in Amperes (**A**). Select of values from **10A** to **500A**, in increments of **2A**. | ||
==== Field weakening setup ==== | ==== Field weakening setup ==== | ||
- | **Field weakening** — the magnitude of the field weakening current, in Amperes (**A**). Select of values from **0A** to **500A**, in increments of **2A**. This setting allows you to increase the maximum motor speed and depends on the supply voltage, in any case, the speed will be no more than the maximum supply voltage (**Vmax**) of the controller (**95V limit**).< | + | **Field weakening** |
- | <WRAP center round warning 60%> | + | |
To set up the weakening, you need: | To set up the weakening, you need: | ||
Line 209: | Line 184: | ||
To activate the control modes, select **Controller** | To activate the control modes, select **Controller** | ||
- | In the menu **Controller** | + | In the menu **Controller** |
- | **Neutral timer** — switches neutral on after a certain time in seconds (**s**), which is set in the settings. To turn it off, switch the speed mode. \\ | + | **Neutral timer** |
~~CL~~ | ~~CL~~ | ||
Line 251: | Line 226: | ||
In the menu section **Controller** | In the menu section **Controller** | ||
- | To be able to connect the PAS system, it is necessary to order the PWM IO/PAS cable as an option. The PAS system connects to the Controller via the PWM IO/PAS wire to the **P1/P2** or **IO5/IO6** ports of the **USB/ | + | To be able to connect the PAS system, it is necessary to order the PWM IO/PAS cable as an option. The PAS system connects to the Controller via the PWM IO/PAS wire to the **P1/ |
- | Note: to use **P1/P2** or **IO5/IO6** ports, setup them to **Spec.** mode in IO Configuration. | + | |
You can look at the connecting methods of various PAS systems at **[[: | You can look at the connecting methods of various PAS systems at **[[: | ||
Line 258: | Line 232: | ||
The PAS, unlike the Torque sensor, controls the throttle by frequency and not by the force of rotation. The PAS setup menu consists of the following items: | The PAS, unlike the Torque sensor, controls the throttle by frequency and not by the force of rotation. The PAS setup menu consists of the following items: | ||
- | {{: | + | {{: |
- | **PAS** — selection of pedaling assistant type **PAS sensor** | + | **PAS** |
- | **PAS connection** — 1-wire or 2-wire connection option, two wires are used for the angle sensor (encoder). \\ | + | **PAS connection** |
- | **Invert PAS** — change of direction in case of 2-wire connection. Select of values **On** | + | |
- | **PAS poles** — number of impulses per pedal revolution. Select of values from **1** to **200**, in increments of **1**. \\ | + | |
- | **PAS min. freq.** — the minimum pedal speed (cadence) at which the motor starts, RPM. Select of values from **1 RPM** to **500 RPM**, in increments of **1 RPM**. \\ | + | |
- | **PAS max freq.** — the maximum pedal speed (cadence) at which the motor starts, RPM. Select of values from **10 RPM** to **1000 RPM**, in increments of **5 RPM**. | + | |
- | **# PAS freq.** — the value of the signal coming from the PAS in real-time. \\ | + | **# PAS freq.** |
- | **PAS timeout** — the time after which the motor turns off after stopping pedaling, in seconds (s). Select of values from **0.02s** | + | |
- | **PAS filter** — smoothing the control signal for smoother operation, in hertz (Hz). Select of values from **1 Hz** to **100 Hz**, in increments of **1 Hz**. \\ | + | |
- | **PAS min out** — minimum control level when PAS is running, in percent (%). Select value from **0%** | + | |
- | **PAS max out** — maximum control level, in percent (%). Select of values from **0%** | + | |
Further in the menu are the settings related to the pressure sensor (Torque sensor). | Further in the menu are the settings related to the pressure sensor (Torque sensor). | ||
- | **Pressure scale** — in Newton-meters/ | + | **Pressure scale** |
- | **Zero pressure** — zero pressure, in millivolts (mV). Select of values from **0mV** | + | |
- | **Protection pressure** — switching off the pressure sensor when the threshold of the specified value is exceeded, in millivolts (mV). Select of values from **0mV** | + | |
- | **Torque averaging** — period for which is torque value updated. Measured in half turns (turn/2). If the torque sensor measures only one pedal, then the period must be a multiple of two. Select of values from **1 turn/ | + | |
- | **# Torque** — shows the current torque at the sensor, in Newton meters (Nm). | + | **# Torque** |
- | **# Human watt** — shows the average power you develop when pedaling, in watts (W). \\ **Human watt min** — the minimum power you develop to activate the motor, in watts (W). Select of values from **0 W** to **500 W**, in increments of **10 W**. \\ | + | **# Human watt** |
- | **Human watt max** — the maximum power for 100% activation, in watts (W). Select of values from **0 W** to **1000 W**, in increments of **10 W**. | + | |
- | + | ||
- | **Torque min** — the torque at which the throttle signal starts to increase, Newton-meters (Nm). Select of values from **0 Nm** to **100 Nm**, in increments of **2 Nm**. All values less than this level is 0% of throttle. \\ | + | |
- | **Torque max** — the torque, which limits the level of 100% throttle, Newton-meters (Nm). Select of values from **0 Nm** to **300 Nm**, in increments of **2 Nm**. \\ | + | |
- | **Instant Torque** — allows torque sensor activation without rotation. Select of values **On** | + | |
- | **Start torque** — minimum torque to trigger " | + | |
- | **Default scale** — starting power level of PAS control (for changing PAS level with buttons), in percentages (%). Select of values from **1%** to **100%**, in increments of **1%**. \\ | + | |
- | **Button step** — power step change with button, in percentages (%). Select of values from **1%** to **100%**, in increments of **1%**.\\ | + | |
- | **# Set scale** — current PAS power level, in percentages (%). | + | |
+ | **Torque min** — the torque at which the throttle signal starts to increase, Newton-meters (Nm). Select of values from **0 Nm** to **100 Nm**, in increments of **2 Nm**. All values less than this level is 0% of throttle. \\ **Torque max** — the torque, which limits the level of 100% throttle, Newton-meters (Nm). Select of values from **0 Nm** to **300 Nm**, in increments of **2 Nm**. \\ **Instant Torque** | ||
==== Remote control ==== | ==== Remote control ==== | ||
Line 379: | Line 334: | ||
{{: | {{: | ||
- | Three throttle modes options are available: \\ | + | Five throttle modes options are available: \\ **Speed** |
- | **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** | + | |
- | **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** |
==== Throttle and brake voltage range setup ==== | ==== Throttle and brake voltage range setup ==== | ||
Line 398: | Line 348: | ||
**# Brake** | **# Brake** | ||
- | **Brake button power** | + | **Brake button power** |
- | **Invert brake** | + | |
- | **Active braking** | + | |
- | **Brake at overheat** | + | |
- | **Lock throttle at brake** — disables the throttle lever after the brake is applied until the throttle is fully released. Helps with throttle lever glitches, in this case, the **Throttle lock** flag will be set in the menu **Status flags**. \\ | + | |
- | **Reverse on brake** | + | |
==== Boost mode ==== | ==== Boost mode ==== | ||
- | **Boost duration** (User level) — maximum power operation time, in seconds. Select of values from **0.2**s to **10**s, in increments of **0.2**s. The function works as follows: in the **Controller** > **Control modes** menu, configure the battery current to be greater than the discharge current in the battery settings in the **Controller** > **Battery** > **Discharge max** menu. Next, select the boost operating time in the **Controller** > **Controls** > **Boost duration** menu. Now, while driving, when the battery current increases more than **Discharge Max**, the countdown of the time during which this excess will work begins, i.e. Boost. After this time, the battery current will be reset to the **Discharge max** setting level. In order for the boost mode to be available again, it is necessary to drive for 1 minute at a battery current value of no more than 70% of the Discharge max value. | + | **Boost duration** |
- | + | ||
- | For example, on the Sur-Ron Ultra Bee, this mode allows you to squeeze the maximum out of the standard battery and achieve a power of 21 kW instead of 12 kW. \\ | + | |
+ | For example, on the Sur-Ron Ultra Bee, this mode allows you to squeeze the maximum out of the standard battery and achieve a power of 21 kW instead of 12 kW. | ||
==== Setup 100% speed value ==== | ==== Setup 100% speed value ==== | ||
Line 441: | Line 385: | ||
In the menu section **Controller** | In the menu section **Controller** | ||
- | {{: | + | {{: |
**°t max** — maximum electric motor temperature, | **°t max** — maximum electric motor temperature, | ||
Line 449: | Line 393: | ||
It is recommended to install a temperature sensor so close as possible on the stator windings, while not in contact with the stator iron. If you don't know what kind of sensor is in the motor, you can check all types of sensors and select the one that displays data the most closely to room temperature. The current measured temperature is displayed at **# Value °t**. | It is recommended to install a temperature sensor so close as possible on the stator windings, while not in contact with the stator iron. If you don't know what kind of sensor is in the motor, you can check all types of sensors and select the one that displays data the most closely to room temperature. The current measured temperature is displayed at **# Value °t**. | ||
- | The **# °t resistance** | + | The **# °t resistance** |
+ | |||
+ | **Resistance Offset** | ||
- | **Resistance Offset** — temperature sensor offset, in Ohms. Select values from **-100 Ohm** to **100 Ohm**, in increments of **1 Ohm**. \\ | ||
- | **Temperature correction** — temperature sensor correction with wire resistance. Select of values **On** or **Off**. \\ | ||
- | **GND wire resistance** — resistance of a ground wire, in Ohms. Select values from **0 Ohm** to **1000 Ohm**, in increments of **1 Ohm**. \\ | ||
- | **Sensors current** — hall sensor current consumption, | ||
- | **# Total current:** — calculated current, to check with a tester, in mA. | ||
==== Clutch ==== | ==== Clutch ==== | ||
Line 478: | Line 419: | ||
**Sensor type** | **Sensor type** | ||
- | **Sensor mode** | + | **Sensor mode** |
**Interpolate sensors** | **Interpolate sensors** | ||
Line 490: | Line 431: | ||
Further in the menu section **Controller** | Further in the menu section **Controller** | ||
- | {{: | + | {{: |
**Hall filter** | **Hall filter** | ||
- | **State filter** | + | **State filter** |
- | **Min step filter** — minimum hall switch time, in microseconds (µs). Select values from **25 µs** to **5000 µs**, in increments of **1 µs**. | + | **Min step filter** |
- | **Direction filter** — select the delay time for changing the direction of rotation of the electric motor (forward/ | + | **Direction filter** |
- | **Idle filter** — when the motor is not moving, the sensor position is reset to the middle position. Selection of values from **10ms** to **1000ms**, in **5ms** increments. | + | **Idle filter** |
- | **Disable pullup** — disable hall pullup, mostly not needed. Select of values On or Off. \\ | + | **Disable pullup** |
- | The next menu sections shows the Hall indices and Hall angles for the two directions of rotation of the electric motor. These indices are used for the internal operation of the Controller. | + | The next menu sections shows the Hall indices and Hall angles for the two directions of rotation of the electric motor. These indices are used for the internal operation of the Controller. |
~~CL~~ | ~~CL~~ | ||
Line 522: | Line 463: | ||
==== Encoder setup ==== | ==== Encoder setup ==== | ||
- | In the menu **Controller** | + | In the menu **Controller** |
- | **Note:** on older controllers encoder use **P1** input as PWM for initial position detection, setup ports **P1 (I5)** and **P2 (I6)** to **OFF** and disable PWM output. Settings applied after reboot. | + | |
Wiring and connectors Compatibility: | Wiring and connectors Compatibility: | ||
Line 539: | Line 479: | ||
Items in the **Controller** | Items in the **Controller** | ||
- | {{: | + | {{: |
**Pole pair** | **Pole pair** | ||
- | **Spin direction** | + | **Spin direction** |
- | **Gear ratio** — additional motor reduction factor for motors with built-in gearbox. Simplifies setting wheel ratios for speed calculation. | + | **Gear ratio** |
**Integration thr.** | **Integration thr.** | ||
Line 565: | Line 505: | ||
**Inductance q** — the result of measuring the inductance of the electric motor along the q axis during auto-setup (menu item **Motor LR**), in microHenry (µH). The q-axis (" | **Inductance q** — the result of measuring the inductance of the electric motor along the q axis during auto-setup (menu item **Motor LR**), in microHenry (µH). The q-axis (" | ||
- | **Flux linkage** | + | **Flux linkage** |
- | **FOC Optimization** — changes the FOC PWM mode with a choice of **Efficiency** or **Ripple**. In **Efficiency** mode — reduces losses in the controller. In **Ripple mode** — reduces current ripple in the motor and, in some cases, slightly increases motor efficiency and reduces motor noise. | + | **FOC Optimization** |
- | **MTPA (IPM Motor)** — enable (**On**) the MTPA function for IPM motor, for all other motors this function must be disabled (**Off**). | + | **MTPA (IPM Motor)** |
- | **FOC Vq limit** — improves field weakening on some motors. Select of values **On** and **Off**. | + | **FOC Vq limit** |
**# Square wave settings:** \\ **Square offset** | **# Square wave settings:** \\ **Square offset** | ||
Line 579: | Line 519: | ||
In the **Controller** | In the **Controller** | ||
- | **#Quick voltage setup** — feature to help you select the correct parameters for your battery. To automatically configure the items **Full charge**, **Supply max**, **Supply min**, you need to select the type of battery chemistry from the following options:\\ | + | **#Quick voltage setup** |
- | **LiIon (3.6V)** for li-ion battery.\\ | + | |
- | **LFP (3.2V)** for lithium-iron-phosphate battery (LiFePO4).\\ | + | |
- | **LTO (2.3V)** for lithium-titanate battery (Li4Ti5O12).\\ | + | |
- | Next, select the **Cell count**, values from **8S** to **28S**, in increments of **1S**. After that, in the **Apply setup** item, select **Yes**. After saving the settings, you will see a window with new battery parameters. It is important to remember that we guarantee the operation of controllers with voltages up to 90V. The device is technically rated for 95V, but operating above 90V will void the warranty and you will be warned about this in a pop-up window. For example, if you try to select 22S for a lithium-ion battery. If the settings exceed 95V, the controller will also warn you that you are trying to set the voltage too high.\\ | + | Next, select the **Cell count**, values from **8S** |
- | **# | + | **# |
- | **Full charge** | + | |
**Supply max** and **Supply min** — battery voltage range, in volts (**V**). Select values from **20.00V** | **Supply max** and **Supply min** — battery voltage range, in volts (**V**). Select values from **20.00V** | ||
Line 627: | Line 563: | ||
**Supply drop U** — allowable voltage drop on wires or power supply, in volts (**V**). Select of values from **0.50 V** to **10.00 V**, in increments of **0.25 V**. | **Supply drop U** — allowable voltage drop on wires or power supply, in volts (**V**). Select of values from **0.50 V** to **10.00 V**, in increments of **0.25 V**. | ||
- | **Max motor t°** — setting the limitation of the heating temperature of the motor during charging, in degrees Celsius (**°C**). Select of values from **50°C** | + | **Max motor t°** — setting the limitation of the heating temperature of the motor during charging, in degrees Celsius (**°C**). Select of values from **50°C** |
- | **MPPT** — enables and disables the maximum power point tracking feature when charging the battery through the controller from a solar panel. | + | **MPPT** |
- | Below in the menu section, through the **#** sign, the real-time values of voltages, currents and power are shown: \\ | + | Below in the menu section, through the **#** sign, the real-time values of voltages, currents and power are shown: \\ **# Battery I** \\ **# Battery U** \\ **# Charging power** \\ **# Supply I** \\ **# Supply U** |
- | **# Battery I** \\ | + | |
- | **# Battery U** \\ | + | |
- | **# Charging power** \\ | + | |
- | **# Supply I** \\ | + | |
- | **# Supply U** | + | |
After plugging in the power supply, the On-board Computer will display the battery charging process. | After plugging in the power supply, the On-board Computer will display the battery charging process. | ||
Line 652: | Line 583: | ||
In the **Controller** | In the **Controller** | ||
- | Sixteen CAN ports are additionally available **CAN port 1** - **CAN port 16**, the signal source for which can be configured on the On-board computer or uLight. These are software values, there are fewer physical inputs on the boards, at the moment there are eight CAN ports **IO1** | + | Sixteen CAN ports are additionally available **CAN port 1** - **CAN port 16**, the signal source for which can be configured on the On-board computer or uLight. These are software values, there are fewer physical inputs on the boards, at the moment there are eight CAN ports **IO1** |
- | + | ||
- | {{: | + | |
+ | {{: | ||
In the section **Controller** | In the section **Controller** | ||
- | If the controls are connected to the On-board computer, then it is necessary to check the activation when contact shorted to GND in the **On-board computer** | + | If the controls are connected to the On-board computer, then it is necessary to check the activation when contact shorted to GND in the **On-board computer** |
- | **# PAS An** — shows an analog PAS sensor voltage, in volts (V). \\ | + | **# PAS An** — shows an analog PAS sensor voltage, in volts (V). |
- | ~~CL~~ | + | |
+ | ~~CL~~ | ||
In the item ** Controller **> **I/O configuration** | In the item ** Controller **> **I/O configuration** | ||
- | {{: | + | {{: |
- | Available functions for the Controller ports **I1**, **I2**, **I3**, **I4**, **IO5**, **IO6**, **I7**, **I8**-**I13** and CAN ports **CAN port 1** - **CAN port 16**: \\ | + | Available functions for the Controller ports **I1**, **I2**, **I3**, **I4**, **IO5**, **IO6**, **I7**, **I8**-**I13** |
- | **OFF** | + | |
- | **Spec.** | + | |
- | **RV** | + | |
- | **CRe** | + | |
- | **CR+** | + | |
- | **CR-** | + | |
- | **CRr** | + | |
- | **BK** | + | |
- | **DM** | + | |
- | **DTH** | + | |
- | **DPAS** | + | |
- | **P+** — PAS power level increase. \\ | + | |
- | **P-** — PAS power level decrease. \\ | + | |
- | **SWSNS** | + | |
- | **N** — activates the neutral mode forcibly, resets speed mode counter if used. If neutral is activated by default, you need to change speed mode again to exit neutral. \\ | + | |
- | **ENTH** — enable throttle. \\ | + | |
- | **nBK** | + | |
- | **S1** | + | |
- | **S2** | + | |
- | **S3** | + | |
- | **S1of3** | + | |
- | **S3of3** | + | |
- | **Scyc** | + | |
- | **S++** | + | |
- | **S--** — decrement speedи, switching the speed from high to low with one button. \\ | + | |
- | **SPSNS** | + | |
- | **CL1**-**CL5** | + | |
Further in the menu, there are items for configuring the PWM outputs. | Further in the menu, there are items for configuring the PWM outputs. | ||
Line 714: | Line 618: | ||
* **t°C motor** | * **t°C motor** | ||
* **t°C controller** | * **t°C controller** | ||
- | **PWM IOn Min** / **Max** | + | **PWM IOn Min** / **Max** |
- | **PWM IOn t° Min** / **t° Max** — selection of motor or controller temperature, | + | |
===== Extra parameters ===== | ===== Extra parameters ===== | ||
Line 741: | Line 644: | ||
{{: | {{: | ||
- | **Speed calculation** | + | **Speed calculation** |
- | + | **Circumference** | |
- | **Circumference** | + | **Motor sprocket** |
- | + | **Wheel sprocket** | |
- | **Motor sprocket** | + | |
- | + | ||
- | **Wheel sprocket** | + | |
If you have a wheel motor, then in the section **Controller** | If you have a wheel motor, then in the section **Controller** | ||
Line 767: | Line 667: | ||
For example, you have a 2WD scooter and two 12F controllers, | For example, you have a 2WD scooter and two 12F controllers, | ||
- | If you are using a 3WD drive or more, then both prefixes must be used for the controller name. For example, if the controller is driving a rear right motor, the setting will look like this: **Prefix 1** — **Rear**, **Prefix 2** — **Right**. | + | If you are using a 3WD drive or more, then both prefixes must be used for the controller name. For example, if the controller is driving a rear right motor, the setting will look like this: **Prefix 1** — **Rear**, **Prefix 2** — **Right**. |
==== Access level ==== | ==== Access level ==== | ||
- | Four levels are available: | + | Four levels are available: \\ **Novice** \\ **User** \\ **Advanced** \\ **Engineer** |
- | **Novice**\\ | + | |
- | **User**\\ | + | |
- | **Advanced**\\ | + | |
- | **Engineer**\\ | + | |
- | + | ||
- | Depending on the selected access level, some menu items will be hidden to make it easier to configure the controller. For example, at the **Novice** level, a minimum basic set of settings will be displayed. At the Engineer level, all possible settings will be available. You can choose your level yourself.\\ | + | |
- | **Important note**: now after updating | + | Depending on the selected access |
+ | **Important note**: now after updating the firmware to v0.8.13, the default level will be set to **Novice**. Remember this when you don’t find the usual menu items in the controller settings. | ||
===== PID regulators ===== | ===== PID regulators ===== | ||
Line 796: | Line 691: | ||
The **Controller** | The **Controller** | ||
- | {{: | + | {{: |
- | **Reset? | + | **Reset? |
- | **Max acceleration** | + | |
- | **Min deceleration** | + | |
- | **Overload current** | + | |
- | **Overload** | + | |
- | **High V ripple** — overcurrent on the P24F controller (plate) which is monitored via voltage ripple. Values **On** and **Off**. \\ | + | |
- | **Over-Field weakening** | + | |
- | **Supply overvoltage** | + | |
- | **Supply undervoltage** | + | |
- | **12V protection** | + | |
- | **Control fail** | + | |
- | **Brake error** | + | |
- | **Throttle error** | + | |
- | **Throttle lock** — indicates that the throttle lever is disabled. Values **On** | + | |
- | **Position sensor error** | + | |
- | **Square index error** | + | |
- | **Thread error** | + | |
- | **PAS protection** | + | |
- | **Controller overheat** | + | |
- | **Protection fail** | + | |
- | **ADC sample error** | + | |
- | **VBUS sample error** | + | |
- | **Voltage on phases** | + | |
- | **LEC** | + | |
- | **Receive w/ | + | |
- | **Sent w/ | + | |
- | **CAN state** | + | |
- | **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** | + | |
===== Debug information ===== | ===== Debug information ===== | ||
Line 865: | Line 731: | ||
**Start logging** | **Start logging** | ||
- | **Stop logging** | + | **Stop logging** |
- | **Continuous logging** — allows you to activate the continuous logging mode, including during stops. In firmware before v0.8.12 the log was written only during driving and electric motor operation. | + | **Continuous logging** |
~~CL~~ | ~~CL~~ | ||
Line 912: | Line 778: | ||
{{: | {{: | ||
- | **Nucular Controller** | + | **Nucular Controller** |
- | date. | + |