DVT Manual
DVT Manual
DVT Manual
www.borgwarner.com
2
Table of Contents
Table of Contents ................................................................................................................ 3
Chapter 1 - Legal Disclaimer ............................................................................................... 6
Chapter 2 - DVT Overview ................................................................................................... 9
2.1 Introduction ................................................................................................................. 9
2.2 Sevcon........................................................................................................................ 9
2.3 Technical support ....................................................................................................... 9
2.4 Installing ................................................................................................................... 10
2.5 CAN adapter support ................................................................................................ 15
2.6 Licensing .................................................................................................................. 16
2.7 DVT Main Page ........................................................................................................ 19
2.8 CAN Window ............................................................................................................ 19
2.9 CAN Baud................................................................................................................. 20
2.10 Vehicle interface ..................................................................................................... 21
2.11 Information Window ................................................................................................ 22
2.12 Command Window ................................................................................................. 23
2.13 Accessing the DVT Configuration Helper ............................................................... 24
2.14 Help Section ........................................................................................................... 26
Chapter 3 - DVT Configuration Helper ............................................................................... 28
3.1 Accessing Different Nodes ....................................................................................... 28
3.2 Operational and Pre-Operational .............................................................................. 28
3.3 Main Tab General Buttons ........................................................................................ 29
3.4 Motor Setup Buttons ................................................................................................. 30
3.5 Traction Application Buttons ..................................................................................... 49
3.6 Input / Output Buttons ............................................................................................... 53
3.7 Advanced settings .................................................................................................... 56
Chapter 4 - Configuration Tree .......................................................................................... 63
4.1 Tree .......................................................................................................................... 63
Chapter 5 - Input/Output -Configuration ............................................................................. 67
5.1 I/O Configuration ...................................................................................................... 67
5.2 Local Motor Control .................................................................................................. 68
5.3 Digital Inputs ............................................................................................................. 69
Chapter 6 - TPDOs/RPDOs ............................................................................................... 71
3
6.1 TPDOs/RPDOs......................................................................................................... 71
6.2 TPDOs ...................................................................................................................... 72
6.3 RPDOs ..................................................................................................................... 75
Chapter 7 - Motor Demand Control .................................................................................... 79
7.1 Introduction ............................................................................................................... 79
7.2 CANopen for Control ................................................................................................ 79
7.3 J1939 (BorgWarner H-and I-protocols) ..................................................................... 80
7.4 Debugging and Tracing ............................................................................................ 81
Chapter 8 - List of Figures ................................................................................................. 84
4
Chapter 1: Legal Disclaimer
www.borgwarner.com
Chapter 1 - Legal Disclaimer
Copyright
All rights reserved. The text, images and graphics, and their arrangement in the BorgWarner
DVT User Manual are all subject to copyright and other intellectual property protection.
These objects may not be copied for commercial use or distribution, nor may these objects
be modified or reposted to other sites.
Trademarks
Unless otherwise indicated, all marks are subject to the trademark rights of BorgWarner,
including each of its product name plates and its corporate logos and emblems.
This information is provided by BorgWarner and without warranty of any kind, expressed or
implied, including (but not limited to) any implied warranties of merchantability, fitness for
any particular purpose, or non-infringement of third-party rights. While the information
provided is believed to be accurate, it may include errors or inaccuracies. In no event shall
BorgWarner be liable to any person for any special, indirect or consequential damages
relating to this material.
Licenses
Electric vehicles (and their component parts such as motors, controllers and batteries) can
be dangerous and cause severe damage to property and individuals if not handled correctly.
All testing, fault-finding and parameter adjustment should be carried out by competent
personnel. High voltages, currents and mechanical forces are all present and have the ability
to cause harm.
Using BorgWarner DVT to modify motor controller parameters can lead to an unsafe or
dangerous system. DVT also allows for direct manual control of motor torque which should
be never used on vehicle system and is only intended for dynamometer test bench use by
sufficiently trained and competent persons where the DC electrical power can be easily and
quickly disconnected.
When setting up a new vehicle configuration, the vehicle should be immobilized until the
basic driver controls have been configured and the driver is able to stop the vehicle safely.
Before this point, it is possible for full torque to be output from the motor, regardless of the
driver demands. The vehicle manufacturer's manual should be consulted before any
operation is attempted. Recommended methods for immobilizing a vehicle is by either
6
disconnecting the line contactor coil supply (only suitable for low voltage vehicles), or raising
the drive wheels off the ground. Raised vehicles should be secured with blocks or axle
stands. Do not rely on a jack or crane.
Throughout this manual please take extreme caution when the following warnings are
shown.
A CAUTION indicates a hazard with a low level of risk, which if not avoided, could
result in a minor or moderate injury, or damage to the controller, motor or battery.
7
Chapter 2: DVT Overview
8
Chapter 2 - DVT Overview
2.1 Introduction
DVT is the main interface program used to communicate with the BorgWarner motor
controllers, such as Gen4, HVLP, Dragon8 and Gen5 controllers. Over the course of this
manual, you will be instructed on how to effectively use the DVT and the user interface
known as the DVT configuration helper.
NOTE: DVT is updated regularly to fix issues and add new features. It is
always recommended to install the latest version.
2.2 Sevcon
BorgWarner announced on 28th September 2017 that it has finalized its acquisition of
Sevcon, Inc. A global player in electrification technologies, Sevcon complements
BorgWarner’s power electronics capabilities utilized to provide electrified propulsion
solutions. https://www.borgwarner.com/acquires/sevcon
For direct customers of BorgWarner please contact one of the following BorgWarner offices
for assistance:
9
2.4 Installing
From the following customer portal link, it is possible to download the latest version of DVT.
An internet access is required to download the installer but then it can be transferred to an
“offline” computer for installation if required.
https://borgwarnerlugo.sharefile.com/d-s4c9732b2908d4c68a0be9a22d60b7e46
10
Proceed with the installation process. Please ensure that your Windows session has
administration rights to avoid any installation/activation issues.
NOTE: At present the install file is not digitally signed so you may get a
warning from your antivirus or windows. Please ensure the installer you
are using was obtained from a reputable source if not directly from the
borgwarnerlugo.sharefile.com site.
11
The next step is to select the components you wish to install. There are a number of
additional components required for DVT that can be selected on the page shown in Figure
3. If using the installer update version some items may not be shown.
Select the destination folder for the DVT installation (by default a new folder is created for
each new version, so multiple versions can be installed on a PC simultaneously without
corruption, please note that the previous version will not be uninstalled automatically);
12
Figure 4 DVT install folder
Shortcuts will be created automatically. On this page there is also the option to associate
.dcf (controller configuration files) to open with the DVT Helper. One shortcuts are selected
click Install and the DVT installation will then complete automatically.
The next step (if selected earlier) will open the installer for Microsoft Visual C++
Redistributable required for executing software compiled using Microsoft Visual Studio tools.
13
For the final step it launches the HMS Ixxat driver installer. You may need to restart your PC
for this to complete the install. You can leave all default options for this install.
14
2.5 CAN adapter support
Only IXXAT (HMS Networks) adapters are supported by DVT. The 2 most recommended
variants are the USB-to-CAN FD compact and USB-to-CAN V2 compact, particularly the
variants with galvanic isolation.
As an alternative to USB, the IXXAT CAN to Bluetooth adapter can be used, CANblue II.
Directly connecting the CANblue II to a Microsoft Windows laptop or tablet with Bluetooth.
Other CAN adapters made by IXXAT should be compatible in theory with DVT but have
not been tested.
15
2.6 Licensing
BorgWarner does not charge its direct customers for DVT. However, a licensing mechanism
is used to restrict unauthorized access.
Licenses must be requested by email using information in XML tags and if accepted a
license file is returned to activate the program. Previously a license.lic file was used but now
the file type is license.dat since 2023.05 DVT releases.
If you are installing a newer version of DVT typically you can use the same license file as
long as it hasn’t expired. Recent versions of DVT when re-installed or updated will
automatically find the previous license file and activate automatically, as it is stored locally
on your machine in the Windows ‘AppData’ folder.
NOTE: For DVT releases since 2023 the license file format has been
changed (license.dat) and therefore a different license file is needed
depending upon if using the latest DVT version or an older version. For
some time, license requests will be supplied with both file types and the
latest version of DVT is capable of being used with either file type.
When running DVT for the first time you are presented with this options for activation. If you
already have a file to use you can skip to step 2 on page 18.
There are two options in order to activate DVT depending on the purchase channel of the
motor controller:
16
Figure 11 DVT License Request window
Selecting “Direct from BorgWarner” indicates the controller was directly shipped and
invoiced from BorgWarner (formerly Sevcon) and not purchased through any 3 rd party. The
license request details should then be sent to the following email address
ITAdvtlicense@borgwarner.com.
This email address is not human monitored and applies an automated algorithm to
respond. If you are a new direct customer of BorgWarner you may 1st need to contact
your assigned applications engineering or sales contact to have your company added
to the list of automatically approved DVT licenses.
If the motor controller has been purchased from a BorgWarner authorized distributor or
reseller, then the license request should be sent directly to the distributor as it is shown in
the following figure.
Figure 12 The motor controller has been purchased from an authorized distributor
If the motor controller has been purchased from other sources, then the process is the same
as for a distributor and the request must be sent to the contact details of the point of
purchase for the motor controller.
17
2.6.2 Step2 – DVT Activation
After contacting using the correct email address according to the type of purchase, the user
will receive a license via email as soon as possible. Applying through the correct channel
will reduce the time taken to issue the license.
The license can then be activated in DVT is as follows, first by selecting the “browse for
license file” button to open the local computer’s file directory. The file can be found wherever
the user saves it.
After selecting the file, its pathway will show in the activation window. Finally select the
“Activate” button.
18
2.7 DVT Main Page
This is the main page of DVT. From here all the functions and settings of the BorgWarner
motor controller can be accessed:
19
Figure 16 CAN window
20
Figure 17 Blank CAN window due to selected wrong baud rate
In Figure 17 for the CAN network connected there is currently an incorrect baud of 100kbit
rate selected. This is indicated because the CAN window (seen in the blue box) is empty
even though an active CAN node is connected and the NMT message types are enabled. If
an incorrect baud rate is selected, then the CAN window remains blank. If correct baud is
selected, then CAN bus transmissions will be seen scrolling in the CAN window. The DVT
is now ready to perform operations.
21
Selecting the button will open a window separate to the DVT that looks like this:
This window will update in real-time with measurements and information about the motor
controller setup. Information displayed depends on the setup of TPDO, H- and I-protocols
of the motor controller.
This window can give a variety of information to the user such as faults being set inside the
controller or the CLI debug information.
22
CAN CLI messages will cause the controller to send text-based debug to the DVT window.
Such as the bootup message shown in Figure 22. It also lists any parameter range errors in
the configuration. You can enable and disable CLI message using button in the DVT
main window.
Also faults information of each node is reflected in Information window under its dedicated
node tab. For example, here the window shows a “low battery” fault in the controller
configured as Node 2:
After clearing the fault, the DVT will report to the user that the fault has been cleared by
showing the error message in green.
23
The command window allows direct modification of all parameters. Incorrect
configuration can lead to dangerous system operation.
The DVT comes with a low-level input window for giving commands manually to the
BorgWarner motor controller, you can find this window at the bottom part of the DVT:
This tool is recommended for more experienced users of DVT only and can be minimized
unless required, for more information please contact BorgWarner.
24
This is the DVT configuration helper, its features will be detailed in the following chapter. It
is recommended to save the existing configuration in a dcf file before changing any
parameters.
25
2.14 Help Section
Using help option in the DVT main window you can find fault codes list which gives you
useful information once you face a fault in settings.
26
Chapter 3: DVT Configuration Helper
27
Chapter 3 - DVT Configuration Helper
3.1 Accessing Different Nodes
If there are multiple nodes connected to the CAN network, DVT can be used to access each
node’s configuration via the DVT helper. This is done through the CANopen node ID switch
found here:
By clicking the small arrow seen above, you can cycle through different node ID numbers.
28
3.3 Main Tab General Buttons
3.3.1 Getting Controller Information
Basic hardware and software information about the BorgWarner controllers can be found by
selecting the “ ” button. The first button found on the main page of the
DVT configuration helper.
Selecting this button will cause a new window to open, which will fill with information on the
controller similar to Figure 31.
29
3.3.2 Fault information and report
BorgWarner motor controllers are designed to detect a range of operational faults and
warning conditions. Selecting the button will open a window which
displays the Fault ID code and simply description of any active faults at that time.
In order to change the motor control algorithm, you need to use the
button. Depending upon the BorgWarner motor controller variant and the installed firmware,
you may be able to switch between different control algorithms. As an example Dragon 8
30
motor controller gives the flexibility to switch between three different algorithms as it is
depicted in Figure 34 (a), while the Gen 4 motor controller with induction slip control firmware
does not give the flexibility to change the algorithm as the button is disabled in Figure 34
(b). The controller must be reprogrammed to change the motor algorithm.
(a) (b)
Figure 34 (a) change motor algorithm in Dragon 8 (b) No algorithm change possible in Gen4 with induction slip
firmware
When switching the control mode, DVT will first be automatically put into pre-op.
31
Figure 36 mode change confirmation
The DVT will then confirm whether you wish to set the defaults of the new mode. It is
recommended to only apply these default settings if the default torque or speed mode
configuration requires configuration. Please ensure you have already saved your existing
configuration into a DCF file as instructed in the section on page 58.
32
Figure 38 PMAC Encoder Window
If you are using a sin/cos encoder type, you will see the option to commission the peak and
trough of the connected sensor. Please ensure you have already rotated the motor at least
one mechanical revolution before activating this option.
Figure 39 sin/cos commission result (NOTE in this example the rotor hasn’t been turned before commissioning
as the peak and trough values are almost the same)
33
Figure 40 PMAC max speed calculation button
Selecting this button will open a screen containing the voltage data calculated based upon
the motor parameters already configured:
34
Figure 42 Power Limit map selection
The main function of the power limit table is to configure the maximum torque allowed across
the speed range of the motor, which then limits the power: speed*torque = power
Depending upon the motor type and algorithm being used different options to help set the
correct power limit map will be shown in the power limit helper window.
35
3.4.6 DC link Voltage Cutback Map
The DVT will allow control over the voltage cutbacks for the controller. This can be accessed
through the “ ” button.
In the table below, it is shown that the voltage for the connected controller is between 43V
and 70V. Inside this range, the torque request to the motor won’t be restricted. Above or
below these limits; however, the torque will decrease as configured in the voltage cutback
gain.
These limits are customizable and should be set according to the voltage rating of the
controller and system. Each value has two arrows shown here:
Each click of one of these arrows will increase/decrease the value in the corresponding box
by a value of 1 volt.
Alternatively, new values can be entered into the boxes manually through the keyboard.
36
The same customization can be applied to the level of torque that is cut back in the same
way. This is seen under the “New cutback” gain.
The easiest way to access these functions is the local limits “ ” button
found here:
For example, to change the Maximum torque from 100% to 80% of the peak, the process is
as follows:
37
And now enter the desired value:
To save the change to the controller, select the button in the bottom right of the
window.
38
Figure 49 Control Gains window
Depending upon the controller connected different gains are shown. In the example in Figure
49 the gains in red are used for configuring the speed control/limit gains in the motor torque
conditioner. The green gains are for the current control loop, setting different gains in yellow
are applied for the D-axis control only, then the gains in green are for Q-axis only. In most
cases the D-axis gains can be left at zero, so the green gains are used for both axes.
In order to get a smooth response from the controller perform slight changes on these values
until obtain the right desired response. For more information about tuning techniques please
contact BorgWarner.
39
way to configure this is using the thermistor configuration window opened from the Helper
main page: “ ”.
This window shows a summary of all the different thermistor parameters with links to open
them directly for editing:
Depending upon the controller connected different thermistor mode options may be shown.
Typically, either “None” or “Thermistor” options are used. Although some motors contain an
overtemperature thermal switch rather than a thermistor.
40
Due to the large number of thermistor variants available, a map is provided to configure
motor temperature feedback against resistance measured. The most common thermistor
types can be quickly configured by setting the option to set the user defined thermistor
map to for example KTY84.
To give full configuration of allowed motor torque with changing motor temperature, a map
is provided so that the desired de-rating profile of the motor can be set.
41
Figure 54 Manually configured cutback
If a failure occurs in the thermistor or its wiring during motor operation, this could lead to the
torque being rapidly removed during the vehicle operation, as the thermistor feedback
resistance makes the motor either seem to be very hot or very cold.
To avoid this, the thermistor wire-off cutback rate can be set to allow sufficient time for the
vehicle operator to react to the thermistor wire-off warning being set. The required recovery
time if a fault in the thermistor wiring resolves during vehicle operation.
42
Figure 56 Drive Pipeline button
This will open up the driver pipeline window for monitoring the controller:
43
3.4.11 Battery Limits
Incorrect DC link voltage configuration can lead to damage to other components
connected to the DC link
Protection for both the maximum and minimum DC link voltages that are applied to the
controller are configurable in the DVT. These settings can be changed using the window
opened with the “Battery Limits” button:
The battery limits / voltage cutback button displays the following window:
44
In a typical vehicle system with Traction Application enabled and a single local motor
controller used. There are 2 DC link voltage cutbacks available, one for the battery carried
out by TracApp (which is also applied to remote nodes driven over CAN) and one for the
local controller’s DC link capacitors calculated within the motor control “Torque Conditioner”.
1
2
5
3
Figure 60 using the DVT helper tree to search and configure an object
45
And then enter the desired under voltage limit (in this case, 48v)
To save the change to the controller, select the button in the bottom right of the
window.
Now reopening the Battery Limits window, it will be modified according to the change we
have applied:
46
3.4.12 V/F Ratio (Only for V/F Induction Motor on HVLP
and Slip Control Mode on Gen4 LV)
DVT can be used to configure the voltage/frequency ratio for induction motor control through
the “ ” button found here:
Selecting this button will open the induction motor Nameplate and V/f ratio calculation
window. Most induction motors have the key motor parameters supplied on a plate fixed to
the motor. Using these parameters some key control values can be automatically calculated.
If the plate is not present on the motor please contact the motor manufacturer or refer to the
motor datasheet for more information.
47
Figure 65 V/f parameter configuration
48
3.5 Traction Application Buttons
3.5.1 Baseline Profile
The Baseline profile is the default settings applied within the Traction Application in
BorgWarner’s motor controllers. You can find its configuration button under Traction
Application section inside DVT Configuration Helper main tab.
Once you select “ ” button it will bring up this window full of objects on the
right side of the DVT configuration helper:
49
As an example, let’s change the maximum forward and reverse speeds to be requested for
the motor. First click inside of the appropriate text boxes and delete the contents as shown.
Finally select the button found in the bottom right of the window to finalize the
values. The successful write should be indicated with a temporary change of the write
button.
Note: In order to write a single value, you can use CTRL+Enter keys. Also, by using
CTRL+Up or CTRL+Down keys you can write the ‘double of’ or ‘half of’ the current value.
Selecting either of these buttons will open the appropriate profile configuration window. The
available parameters are identical to the window from “Baseline Profile” and can be edited
in the same way.
The different profiles can be activated using external switches, over CAN or during
configurable vehicle operating conditions.
50
3.5.3 Steering
Dual motor vehicles with left and right motors, which use the drive motors for turning, require
some means of determining the angle of the steering wheel. If the vehicle steering wheel is
fitted with an angle sensor, configuration of this vehicle functionality can be accessed with
the “ ” button.
From this window, the steer angle voltages corresponding to fully left (-90 degrees), straight
ahead (0 degrees) and fully right (90 degrees) are accessible. The corresponding values
are used by the controller to calculate the steering angle based on the analogue voltages
from the steering potentiometer.
The steering map defines the relationship between the inner and the outer wheel speeds
and the steering angle. Each map (inside table and outside table) has 4 definable points;
this can be seen on the graph.
51
The steer map can be defined by 4 points relating the steering angle between 0 and 90
degrees and the torque/speed demand (per unit) between -1 and 1. Where a demand of -1
is shown at 90 degrees, this means the inner wheel demand will be equal and opposite of
the outer wheel.
In speed mode, the outer wheel speed target and maximum torque are scaled according to
the outer wheel map, while the inner wheel speed target and maximum torque is scaled to
the outer wheel demands according to the inner wheel map.
In torque mode, both inner and outer wheel maximum speeds are scaled according the outer
wheel map. The outer wheel target torque comes from the throttle. The inner wheel target
torque is scaled to the outer wheel actual torque according the inner wheel map.
52
3.6 Input / Output Buttons
3.6.1 Local IO Monitor
DVT can be used to monitor the digital and analog inputs wired to the controller, and also
the mapped VPDO inputs/outputs to the motor controller using the “ ”
button found here:
This will open a window showing the raw analogue inputs/outputs and also VPDO mapping
if available:
53
This will open the following window:
The setting highlighted above is going to be changed from 0 to 5V. To do this, first click
inside of the appropriate text box, and delete the contents.
Then, enter the desired figures into the boxes like so:
54
Finally select the button found in the bottom right of the window to finalize the
values. Alternative CTRL+ENTER shortcut can be used to write a single modified value.
Once you apply the full throttle, click on OK and the DVT will configure the throttle
automatically.
Using similar approach, you will be able to automatically configure footbrake too.
55
3.7 Advanced settings
3.7.1 Controller Access Level / Passwords
Changing the stored passwords within the controller, can permanently prevent access
to the controller configuration which can only be resolved returning the controller to
BorgWarner. This is not covered by warranty, so this section only explains changing
the passwords stored in DVT used to login to the controller.
The password configuration is launched from the Edit menu:
The password window allows custom passwords to be used for Gen4 size 2,4,6 login and
also separately for Gen4 DC, HVLP, Dragon8 and Gen5 size 9.
56
The firmware of the controller uses a .dld or .dldx file extension and is an integral part of
making the BorgWarner motor controller function correctly. On some products (Gen4) the
firmware must be changed to use different motor algorithms.
BorgWarner controllers will come with firmware already installed that in most cases should
be suitable, but sometimes downloading a different or updated firmware is required.
Selecting this will ask you to select the new firmware file to begin the process of installing
new firmware. Please note that this process is slightly different for different BorgWarner
motor controllers. While for Gen4 size products you need to select one dldx file, for Dragon
8 and HVLP you need to select first the dldx file for MCP (motor controller processor) and
then dldx file for IOP (input/output processor).
(a)
57
(b)
Figure 84 Dragon 8 Motor Controller Reprogramming with 2 dld files (a) Reprogramming Firmware button in DVT
Configuration Helper (b) Sequence of dld files selection
Selecting the desired DLD and opening it the DVT will then being automatically installing the
DLD into the controller, its progress can be viewed for the DVT main window.
Take into account that during the reprogramming process the controller will be in bootloader
mode where it will be unresponsive to commands and will display errors or timeout when
changes are attempted to anything aside from software. Please wait for programming to
complete.
58
Figure 86 Controller settings menu
Selecting “Save DCF from unit” will save the current configuration inside the controller to
wherever the user wants.
Loading a dcf typically overwrites all of the configuration in a controller. This cannot be
undone. It is recommended to create a backup of the existing configuration first.
Incorrect configuration can cause unexpected system operation.
Changing DCF however is done through the “Send DCF to unit” option. Selecting this option
will notify the user about new settings which cannot be undone.
Selecting a DCF will result in an upload bar opening over the DVT main screen showing the
progress of the DCF installation.
When the progress bar has filled, a message should appear at the bottom of the Information
Window confirming the successful installation.
59
Figure 89 DCF download check
To change the node ID of a unit, using the “Node ID” option shown in Figure 90 the user can
change the ID to the desired one and then using the button write the new value.
The DVT will prompt the user to recycle power on the system. After the power has been
recycled, the new node ID will be set. This can be checked by looking at the numbers in the
CAN traffic as shown below:
60
Figure 91 (a) Before (Node ID1) (b) After (Node ID2)
61
Chapter 4: Configuration Tree
62
Chapter 4 - Configuration Tree
4.1 Tree
The easiest way to navigate the settings and features of the BorgWarner motor controller is
the menu. Selecting this tab will open the Tree menu:
From this menu, there are a couple of different methods that can be used in searching for
specific variables or objects. For example, the most intensive of these is the "Search” tab.
Selecting it so will open a window that looks like so:
63
In this scenario, a search is going to be performed for the “Maximum Battery Voltage”. To
do this, enter the term into the search bar found at the top of the object search window.
There is then a choice between viewing the single sub-index that has been searched for or
the entire object the sub-index is contained in. Selecting either will present the selected
object/index here:
(a) (b)
Figure 95 (a) Single index (b) Full Object
Alternatively, the objects can be browsed through a series of drop-down menus. For
example, to find the under-voltage cutback in the tree; first open drop-down menus by
64
selecting the “+” icon until finding the relevant heading. In this case the Batt Under-volt
Protection.
Selecting this will create a window to the right of the tree. The settings can then be
read/changed using the same method as any other tab in the DVT configuration helper.
65
Chapter 5: Input/Output Configuration
66
Chapter 5 - Input/Output -
Configuration
Modifying the IO setup on a vehicle will change the functionality behind the
driver controls. Including those related to vehicle safety. Make sure the drive
wheels are raised on axle stands.
(a) (b)
Figure 97 Input/Output section in (a) CANopen based motor controllers, (b) J1939 compatible motor controllers
67
5.2 Local Motor Control
In CANopen the default setting is as shown in Figure 98. By default, the node control will be
set to “Motor drive left information”. This is the default setting when a single traction motor
system is being configured, if you would like information on the other settings however,
contact BorgWarner.
68
5.3 Digital Inputs
Both digital and analog inputs are governed by the pins in the control unit harness. The
settings for the digital inputs can be found here:
(a) (b)
Figure 100 Digital Input mapping (a) in CANopen based motor controller (b) in J1939 compatible motor
controllers
In Gen 4 the “’# of inputs” setting has to be set exactly. For example, if the number is set to
four, but there are five inputs configured; the DVT configuration helper and also the Gen4
controller will ignore the input configured in number five.
The # of inputs can be changed by the small arrows which will raise the number by one in
each direction as it is depicted Figure 100 (a). Alternatively, the number can be entered
manually in the white box beside the arrows. Setting the number to anything above thirteen
will result in the # of inputs back to its default.
To change a digital input; selecting the arrow of the input that will be changed will open a
drop-down menu.
In J1939 compatible motor controllers, you do not need to select the number of active digital
inputs, instead you need to select the J1939 source address.
Select the new inputs and select the button to finalize the changes.
69
Chapter 6: TPDOs/RPDOs
70
Chapter 6 - TPDOs/RPDOs
On a multi-node CAN system modifying the CAN configuration can cause
unexpected vehicle behavior
6.1 TPDOs/RPDOs
The BorgWarner motor controller can be configured to transmit and/or receive PDOs
information packets, known as TPDOs and RPDOs respectively. The configured message
structures can be viewed and edited through the tab. Selecting the tab will open
the PDO configuration window.
Up to five RPDOs and TPDOs can be configured at any one time, per BorgWarner controller.
The creation/editing window looks like this:
71
Figure 102 PDO configuration
Each PDO must have a unique Cob-ID which denotes the priority of the associated PDO,
the lower the number; the higher the priority of the PDO.
The PDOs have a data size limit of 64 bits (8 bytes), meaning that the TPDO and RPDO
can only contain a certain number of objects.
6.2 TPDOs
Begin by selecting the button; this will open a window in front of
the DVT configuration helper:
72
Figure 103 mapping PDO items
Selecting the search button or pressing any key will cause the window to fill with objects.
TPDO 1 in this scenario is going to be given the “Heatsink temp” object. To do this, enter
the terms into the search bar found at the top of the add object window, and then select the
search button.
Selecting the map objects button will add the object to the TPDO.
73
Finally, select the button to save the changes to the controller.
Note: When adding objects into a PDO, ensure that there are adequate bits left for the
desired objects.
74
6.3 RPDOs
Selecting the search button or pressing any key will cause the window to fill with objects:
75
Figure 107 mapping PDO items
RPDO1 in this scenario is going to be given the “Battery Voltage” and “Vehicle Speed”. To
do this, the procedure is the same as seen in the TPDO section of this guide:
Selecting the map objects button will add the object to the RPDO.
76
Figure 109 RPDO configuration
77
Chapter 7: Motor Demand Control
78
Chapter 7 - Motor Demand Control
7.1 Introduction
Controlling a motor direct from a laptop should only be performed on a motor
dynamometer test bench by suitably trained and competent personnel, where the
high-power supply to the controller can be quickly disconnected safely.
If the motor controller has been set up as a slave unit in the IO configuration, using the DVT
environment you will be able to send demands to the motor via the CAN communication.
For this purpose and according to the type of motor controller you need to use either
CANopen demand generator or J1939 transmission window as described in the following.
The first time you open then window you may see the warning window as it is depicted in
the Figure 111 (a). You need to take into account that CANopen 402 demand generator
uses SDO to command the motor controller. Due to the fact that SDOs go to object
dictionary, facing a communication loss or closing the demand generator window will cause
the last torque to be applied indefinitely. By clicking OK the CANopen demand generator
window will open as is depicted in Figure 111 (b) or (c) according to the mode of operation.
79
(a)
(b) (c)
Figure 111 (a) Warning prior to opening demand window (b) CANopen demand window in torque mode (c)
CANopen demand window in speed mode
By selecting the correct node according to your hardware setup, you will be able to command
contactors, change the control world and send the torque/speed demand and speed/torque
limit.
In the opened J1939 transmission window, you first need to select the type of motor
controller / CAN protocol you are working with from the drop down menu showed in Figure
113 (a). In addition to H-protocol and depending on the motor controller variant you can
select I- and G-protocols too (for more information about H-, I- and G-protocols refer to the
application notes from BorgWarner).
80
(a) (b)
Figure 113 J1939 transmission window (a) drop down menu (b) H-protocol parameters to send in torque mode
Once you select the H-protocol you need to set destination address (i.e. the inverter) and
CAN message transmit interval according your application. Then you can start spinning the
motor by sending HC1, HC2 and HC3 messages including torque demand, controlworld, as
well as forward/regen torque and speed limits.
to, you can select the style of the of window through drop down menu. It is also
possible to reduce the window update rate so that every CAN message is not displayed.
Typical message rates of 20ms are difficult to read and lead to high CPU load on the DVT
computer. Changing the display rate does not affect the rate that messages are logged to a
file.
81
Figure 114 Trace Items
In order to plot a trace, first you need to record the data. To do that you need to decide about
the log directory and file name. Following that, by pressing button the DVT starts logging
all the parameters shown inside the Vehicle Interface.
Once you stop recording, you can plot the recorded data using Log Viewer built-in
82
Chapter 8: List of Figures
83
Chapter 8 - List of Figures
Figure 1 First page of DVT installer ................................................................................... 11
Figure 2 Second page installer: DVT license ..................................................................... 11
Figure 3 component selection ............................................................................................ 12
Figure 4 DVT install folder ................................................................................................. 13
Figure 5 DVT shortcuts ...................................................................................................... 13
Figure 6 IXXAT driver installation ...................................................................................... 14
Figure 7 – IXXAT USB-to-CAN FD .................................................................................... 15
Figure 8 – IXXAT USB-to-CAN V2 ..................................................................................... 15
Figure 9 – IXXAT CANblue II ............................................................................................. 15
Figure 10 – DVT License Window ..................................................................................... 16
Figure 11 DVT License Request window ........................................................................... 17
Figure 12 The motor controller has been purchased from an authorized distributor .......... 17
Figure 13 DVT license file selection ................................................................................... 18
Figure 14 selecting the license file to activate DVT ........................................................... 18
Figure 15 DVT main page .................................................................................................. 19
Figure 16 CAN window ...................................................................................................... 20
Figure 17 Blank CAN window due to selected wrong baud rate ........................................ 21
Figure 18 CAN window with baud rate selected properly .................................................. 21
Figure 19 Vehicle Interface Button ..................................................................................... 21
Figure 20 Vehicle Interface Window .................................................................................. 22
Figure 21 Information Window ........................................................................................... 22
Figure 22 CLI bootup message on Node 1 ........................................................................ 23
Figure 23 Information Window with set fault message on Node 2 ..................................... 23
Figure 24 Information Window with cleared fault message on Node 2 .............................. 23
Figure 25 Command Window ............................................................................................ 24
Figure 26 DVT configuration helper ................................................................................... 24
Figure 27 DVT configuration helper ................................................................................... 25
Figure 28 Fault codes list ................................................................................................... 26
Figure 29 Node ID selection in DVT Configuration Helper ................................................. 28
Figure 30 Get Controller Info button .................................................................................. 29
Figure 31 Controller information ........................................................................................ 29
84
Figure 32 Active Faults ...................................................................................................... 30
Figure 33 Motor Setup Buttons .......................................................................................... 30
Figure 34 (a) change motor algorithm in Dragon 8 (b) No algorithm change possible in Gen4
with induction slip firmware ................................................................................................ 31
Figure 35 Change Control Mode ........................................................................................ 31
Figure 36 mode change confirmation ................................................................................ 32
Figure 37 mode change additional settings ....................................................................... 32
Figure 38 PMAC Encoder Window .................................................................................... 33
Figure 39 sin/cos commission result (NOTE in this example the rotor hasn’t been turned
before commissioning as the peak and trough values are almost the same)..................... 33
Figure 40 PMAC max speed calculation button ................................................................. 34
Figure 41 PMAC motor voltage calculations ...................................................................... 34
Figure 42 Power Limit map selection ................................................................................. 35
Figure 43 Power Limit Map ................................................................................................ 35
Figure 44 voltage cutback map .......................................................................................... 36
Figure 45 voltage cutback adjustment ............................................................................... 36
Figure 46 Selecting Local Motor Limits .............................................................................. 37
Figure 47 Local Motor Limits.............................................................................................. 37
Figure 48 Selecting Control Gains ..................................................................................... 38
Figure 49 Control Gains window ........................................................................................ 39
Figure 50 Motor Thermistor window .................................................................................. 40
Figure 51 Thermistor mode................................................................................................ 40
Figure 52 User Defined Thermistor Map shortcuts ............................................................ 41
Figure 53 User Defined Thermistor Map ............................................................................ 41
Figure 54 Manually configured cutback ............................................................................. 42
Figure 55 wire-off cutback back rate .................................................................................. 42
Figure 56 Drive Pipeline button .......................................................................................... 43
Figure 57 Driver Pipeline ................................................................................................... 43
Figure 58 Battery limit window selection ............................................................................ 44
Figure 59 Battery Limits Setup for Dragon8 96V Motor Controller ..................................... 44
Figure 60 using the DVT helper tree to search and configure an object ............................ 45
Figure 61 Under voltage limit parameter ............................................................................ 45
Figure 62 Under voltage parameter set to 48V .................................................................. 46
85
Figure 63 Battery Voltage configuration ............................................................................. 46
Figure 64 V/f ratio configuration ......................................................................................... 47
Figure 65 V/f parameter configuration ............................................................................... 48
Figure 66 TracApp Baseline Profile ................................................................................... 49
Figure 67 Traction baseline profile configuration ............................................................... 49
Figure 68 TracApp profile speed limits .............................................................................. 50
Figure 69 TracApp profile speed limits .............................................................................. 50
Figure 70 Additional Drive Profile ...................................................................................... 50
Figure 71 Steering configuration button ............................................................................. 51
Figure 72 Steering Setup window ...................................................................................... 51
Figure 73 Local IO monitor button ..................................................................................... 53
Figure 74 Local VPDO and IO monitoring.......................................................................... 53
Figure 75 Analog ranges button ......................................................................................... 53
Figure 76 analog input ranges ........................................................................................... 54
Figure 77 Analogue input 1 minimum ................................................................................ 54
Figure 78 Analogue input 1 minimum ................................................................................ 54
Figure 79 Throttle/Footbrake setup .................................................................................... 55
Figure 80 Throttle auto setup ............................................................................................. 55
Figure 81 Login password configuration ............................................................................ 56
Figure 82 Default login passwords ..................................................................................... 56
Figure 83 Firmware programming button ........................................................................... 57
Figure 84 Dragon 8 Motor Controller Reprogramming with 2 dld files (a) Reprogramming
Firmware button in DVT Configuration Helper (b) Sequence of dld files selection ............. 58
Figure 85 Firmware download progress............................................................................. 58
Figure 86 Controller settings menu .................................................................................... 59
Figure 87 DCF download confirmation .............................................................................. 59
Figure 88 DCF download progress .................................................................................... 59
Figure 89 DCF download check ......................................................................................... 60
Figure 90 Node ID configuration ........................................................................................ 60
Figure 91 (a) Before (Node ID1) (b) After (Node ID2) ....................................................... 61
Figure 92 Tree menu ......................................................................................................... 63
Figure 93 Tree search tab.................................................................................................. 63
Figure 94 Tree search for battery voltage .......................................................................... 64
86
Figure 95 (a) Single index (b) Full Object .......................................................................... 64
Figure 96 tree – battery application ................................................................................... 65
Figure 97 Input/Output section in (a) CANopen based motor controllers, (b) J1939
compatible motor controllers .............................................................................................. 67
Figure 98 Default settings in Input/Output window in CANopen based motor controller .... 68
Figure 99 Default settings in Input/Output window in J1939 based motor controller .......... 68
Figure 100 Digital Input mapping (a) in CANopen based motor controller (b) in J1939
compatible motor controllers .............................................................................................. 69
Figure 101 PDO configuration ........................................................................................... 71
Figure 102 PDO configuration ........................................................................................... 72
Figure 103 mapping PDO items ......................................................................................... 73
Figure 104 mapping PDO items......................................................................................... 73
Figure 105 TPDO configuration ......................................................................................... 74
Figure 106 RPDO configuration ......................................................................................... 75
Figure 107 mapping PDO items ......................................................................................... 76
Figure 108 mapping PDO items ......................................................................................... 76
Figure 109 RPDO configuration ......................................................................................... 77
Figure 110 CANopen 402 demand generator button ......................................................... 79
Figure 111 (a) Warning prior to opening demand window (b) CANopen demand window in
torque mode (c) CANopen demand window in speed mode .............................................. 80
Figure 112 J1939 Motor Demands button.......................................................................... 80
Figure 113 J1939 transmission window (a) drop down menu (b) H-protocol parameters to
send in torque mode .......................................................................................................... 81
Figure 114 Trace Items ...................................................................................................... 82
87