OBR Control Systems Inc Control Systems Introduction ..............................6 Hardware ..............................8 Software installation ........................... 9 Software installation from web-download ................... 9 PC Software and Firmware Releases ....................9 Connection to system ......................... 9 Wiring Harness ........................... 9 Main Menu ..............................10 File ..............................
Page 3
OBR Control Systems Inc Control Systems 5.3.7 CAN Inputs – Lost CAN Action ....................18 5.3.8 CAN Lost Timer ........................... 18 5.3.9 Start State ........................... 18 5.3.10 Output ............................ 18 5.3.11 Multiplier ..........................18 5.3.12 Counter ..........................18 5.3.13 Clock ............................18 Miscellaneous ...........................
Page 4
OBR Control Systems Inc Control Systems 10.1 Digital Inputs ............................. 54 10.2 Analogue Inputs ..........................54 10.3 CAN Inputs ............................55 10.4 Events............................... 55 10.5 Outputs ............................. 55 CAN BUS............................56 11.1 Data Bus ............................56 11.1.1 CAN Bus Name ........................56 11.1.2...
Page 5
14.5 CAN Bus ............................73 Standard CAN Protocol – Transmit from MSP ..................73 14.5.1 Standard CAN Protocol – Receive switch status from PCM2 ..........75 14.5.2 Standard CAN Protocol – Receive fault status from PCM2 ........... 76 14.5.3 Speed / Termination / PCM Select ..................77 14.5.4...
Do not connect any of these four channels to any output load. In addition to the 4 CAN ports, PCM2 is also equipped with a LIN bus. PCM2 can be configured as either a LIN bus master or slave.
Page 7
The current draws and channel status can be exported via one of the available CAN bus. PCM2 offers CAN routing between ay of the 4 available CAN ports. Please note that the PCM is not intended to be used to control safety-critical systems on a vehicle, such as ABS braking, power steering, etc.
Control Systems 2 Hardware The PCM2 enclosure is CNC machined to the highest standards. The two parts of the casing are sealed by an O-ring, located in a recess in the main half. A lip in the lid presses on the O-ring and assures a water tight sealing. The connectors are individually sealed.
3.2 PC Software and Firmware Releases Each new release of PCM2 firmware requires an updated, specific PC tool release. Any new release of the PC tool is backwards compatible, meaning that it will support earlier PCM2 firmware releases. Please note, that new features visible in the new tool will not functioning if used in conjunction with old firmware versions.
You can display differences between two configuration files by selecting the function COMPARE WITH. Please refer to section 6. Click on EXIT to close the PCM2 tool. Use F7 as a hot key to close the programme. 4.2 Product This tool supports two versions from the PCM2 product family: PCM2 is this 48-channel module.
Click on FIRMWARE to update the PCM2 firmware. Once the firmware has been transmitted, PCM2 performs an automatic re-boot. A new firmware includes new PCM2 features and it is essential that you also update your PC tool, too. The latest PC tool released is always backwards compatible. It can be used with older versions of firmware, but new features in the tool will of course not work without a firmware update.
PCM2. 4.5.2 Sync Time Automatically When connecting to PCM2, it is possible to automatically synchronise its real time clock with the PC connected. Tick this option to synchronise the time and date between PCM2 and the PC.
INPUTS, sections “Analogue Inputs” and “CAN Inputs”. 5.3 Event Handling PCM2 is controlled by configurable events. Events are used to create simple as well as complex logic conditions. For example, a digital input can switch a single output using a single event, or by a complex string of events.
OBR Control Systems Inc Control Systems 5.3.1.2 Input toggle Name the event to make it easy to trace it later. Select the input trigger for the event. Set the conditions for switching between true and false. For example, selecting a digital input, the event will switch ON when the switch is pressed momentary ON.
A typical installation combines the fault warning light and a reset switch. PCM2 has a dedicated output for a fault warning light. Pin 42 in connector #4 provides a 5 volt signal out in case one of the output channels goes into a fault mode.
5.3.1.15 Always ON Use this event to switch the event to true once power is applied to the PCM2, for example when the master switch is ON. 5.3.1.16 Tri-state output The tri-state outputs are used as triggers for external systems. Their value can change between 0, 2.5 and 5.0 volts.
Fault status CAN inputs (from all four CAN ports) Counters Temperature 5.3.3.1 Fault Status To detect a failed PCM2 output create an event for each output. Select Event Type as Input Follow. Name the event, for example Fault LP01.
OBR Control Systems Inc Control Systems Tri-state outputs Wipers Event Flash Event Delay On Event Delay Off 5.3.6 Time (ms) Set the On and OFF timers for use with these functions: Flash Delay Input On Delay Input Off 5.3.7 CAN Inputs – Lost CAN Action For safety reasons it is possible to set conditions for channels controlled via CAN.
Create an event for activating the starter solenoid. Set this event for example as EVENT 01. Click on Set Output Map to open the configuration tables. Each PCM2 output can be linked to 8 conditioning events. To turn a specific output OFF when the input event is true tick the box for the outputs as shown.
OBR Control Systems Inc Control Systems 5.6 Counters This section is used to define PCM2’s ability to count sequences. 16 individual counters are can be configured. Two types of counters are available; one counting up to maximum 255 and one counting down from maximum 255.
Status for digital switches are shown as Open, Low or High. Analogue channels displays sensor input voltage. PCM2 on-board temperature measurement in degrees Celsius on signal and power boards. CAN channels displays decimal channel values. Counters are not yet implemented.
Displays value "128" in tool on status page. This diagnostics can also display a combination of errors. 5.8 Events Monitor This section displays the status of PCM2 events. Green resembles a TRUE event. Blue resembles a FALSE event. Events not assigned are coloured grey or you are off-line.
Page 23
Error status codes are normally shown as a combination of numbers: If you see a value of 17 the PCM2 is trying to switch the channel on, but the current draw has exceeded the low hardware (OCL) threshold and has gone into an error status.
OBR Control Systems Inc Control Systems 6 Compare two Calibration Files PCM2 can compare 2 configuration files, but this feature depends on the settings in User Access Rights, please see section 7. If the configuration allows file comparison, first load the main configuration file.
When installed, the tool opens in Read Only mode by default. Once another user access level has been selected by entering the correct password, this setting is stored within PCM2 and the tool. When the tool is re-connected to a PCM2, it will check for user rights and if the PCM2 setting matches the tool setting, the tool will apply the previous selected user access level.
If the new settings initially are not desired, close the user window by clicking on the “X” in its upper right hand corner. The settings are temporarily stored in the tool, but will be cancelled if the PCM2 is switch off or the tool is closed.
Control Systems 8 Inputs PCM2 has 14 digital and 16 analogue inputs. These inputs can be used with sensors or switches. Furthermore, PCM2 has 4 individual CAN lines with a maximum of 64 CAN channels and unlimited assigning of identifiers.
Control Systems 8.2 Analogue Inputs PCM2 has 16 analogue 0..5V sensor inputs with a 10 bit resolution and sampled at typically 10 Hz. Furthermore, these inputs can be grouped to create 8 differential inputs (not implemented yet). Input names can be up to 15 characters long.
Analogue channel values are exported in in millivolts if the calibration table is left blank. Analogue channel values are exported as scaled values when the calibration table is used. Please note that the analogue inputs are disabled in the instant when power to the PCM2 is switched off.
Control Systems 8.3 CAN Inputs PCM2 has 4 individual CAN ports with a total of 64 input channels. Each CAN port can be defined using 11 or 29 bit identifiers. Additionally, each CAN port can be individually terminated in software and the baud rate for each is also selectable, ranging from 10 kbps to 1 Mbit/s.
Page 31
OBR Control Systems Inc Control Systems Section Set Points gives access to a linearization table having 32 breakpoints. Any number of breakpoints can be used; a 2-point calibration of a pressure sensor only requires two. If a sensor A/D value is below the minimum breakpoint, the minimum value is applied.
Page 32
OBR Control Systems Inc Control Systems Byte 4 = 32..39 bits Byte 5 = 40..47 bits Byte 6 = 48..55 bits Byte 7 = 56..63 bits Using the bit wise operator it is possible to address for example status of 8 individual switches.
Page 33
Click on the “Visualise” button to open the visualisation display. See section 8. PCM2 can detect and report an error on any CAN bus by flashing the warning lamp (if fitted). If the CAN bus is exposed to a short circuit, the CAN communication will recover when the cause of the fault has been fixed.
0x300. PCM2 will read “Shift Pressure” from this location when the row count value is 0, it will read “Oil Pressure” from this location when the row count value is 1 and it will read “Fuel Pressure” from this location when the row count value is 2.
Control Systems 9 Outputs PCM2 has 48 power channels with current measurement plus 4 tri-state outputs. Additional 3 VREF 5V sensor supplies plus a fault warning light are available, providing max 1A each. All power outputs are designed for use in harsh environments and include self-recovery features.
OBR Control Systems Inc Control Systems 9.2 Low Power Outputs This section gives access to: Naming of output Set inrush current threshold Set time interval for inrush current Set the normal fused threshold Set the number of retries once a fault is detected before switching off ...
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
OBR Control Systems Inc Control Systems 9.2.2 Pin Configuration Low Power Outputs Max continuous Max recommended LP OUT Connector 3 current, A current, A AS2 20-39 SA AS2 20-39 SA AS2 20-39 SA AS2 20-39 SA AS2 20-39 SA AS2 20-39 SA...
OBR Control Systems Inc Control Systems 9.3 Low Power PWM Outputs This section gives access to: Naming of output Set inrush current threshold Set time interval for inrush current Set the normal fused threshold Set the number of retries once a fault is detected before switching off ...
Page 40
OBR Control Systems Inc Control Systems Switching an output ON, an inrush current up to and in excess of 75 A is allowed for a 20 usec time interval. After these 20 usec the current level must be below OCH which is 75 A.
Page 41
OBR Control Systems Inc Control Systems Duty Cycle Maps Duty cycle maps are designed with variables on both X and Y axis. Use the drop down menus to select the channels used for the X and Y axis of the table.
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
OBR Control Systems Inc Control Systems 9.4 High Power Outputs This section gives access to: Naming of output Set inrush current threshold Set time interval for inrush current Set the normal fused threshold Set the number of retries once a fault is detected before switching off ...
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
OBR Control Systems Inc Control Systems 9.5 High Power PWM Outputs This section gives access to: Naming of output Set inrush current threshold Set time interval for inrush current Set the normal fused threshold Set the number of retries once a fault is detected before switching off ...
Page 46
None Output disabled Dig out No PWM used, output is off or on 100% DO NOT USE THIS OPTION ON PCM2 SERIAL <076 Duty intrp Interpolation between duty cycle breakpoints Duty down Duty cycle from nearest lower breakpoint applied ...
Page 47
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
OBR Control Systems Inc Control Systems Clicking on Trigger will open the main event controlling this output. A warning may appear if several events are used to control it. 9.5.3 Pin Configuration High Power PWM Outputs Max continuous Max recommended...
OBR Control Systems Inc Control Systems 9.6 Very High Power This section gives access to: Naming of output Set inrush current threshold Set time interval for inrush current Set the normal fused threshold Set the number of retries once a fault is detected before switching off ...
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
OBR Control Systems Inc Control Systems 9.7 Wiper Outputs 2 dedicated outputs for wiper motors are available. These two channels have additional protection diodes and can handle the load dump created when the wiper motor stops. Wiper motors can also be controlled by the LIN bus (in preparation).
Use the Manual option to test the output connection. When Manual is active (see section 4.3), PCM2’s event handling has been deactivated and all channels are OFF by default. Click the ON button for each individual channel to switch the output ON.
9.9 Warning Light PCM2 is equipped with a warning light for error detection. The driver output is found in connector 4, pin 42. If a fault is detected, the channel switches 5.0 volts ON, maximum current draw is 1.0 A.
OBR Control Systems Inc Control Systems Visualisation A graphic visualisation is available in the tool. This feature displays links between any inputs, events and outputs. On-screen editing of event configuration and settings of inputs and outputs is available. Inputs are green, events are blue and outputs are orange.
OBR Control Systems Inc Control Systems 10.3 CAN Inputs The visualisation display is opened by clicking the visualisation button found in the lower right hand corner of the CAN input configuration window. The digital input box displays: CAN input name...
“T” displays whether the CAN us is terminated or not. “Tx” and “Rx” displays whether there is traffic on the CAN bus. If a CAN bus fails, for example after a short circuit, PCM2 will automatically reset the CAN stream. 11.1.1 CAN Bus Name Each CAN bus can be labelled individually to ease identification.
It is possible to enable internal termination resistors in PCM2, terminating one end of the CAN string. Each CAN bus can be individually terminated. By ticking the box, a 120 Ohm resistor within PCM2 is connected between CAN H and CAN L on the selected CAN bus.
OBR Control Systems Inc Control Systems 11.1.4.2 Incorrectly Terminated CAN Bus If the CAN bus is incorrectly terminated, having NO termination resistors, the data transfer will be instable. Please note the shift in voltage level and wave forms: If the CAN bus is incorrectly terminated, having only one single termination resistor, the data transfer will be instable.
OBR Control Systems Inc Control Systems If the CAN bus is incorrectly terminated, having three termination resistors, the data transfer will be instable. Please note the shift in voltage level and wave forms: 11.1.5 Error Report Tick the box to enable reporting of errors on each individual CAN bus.
Control Systems 11.3 CAN Export PCM2 can export up to 64 individual messages on any of the four CAN ports. The opening screen displays the general setting for 16 CAN export channels on each of four pages. On each page is displayed: ...
Current draw from each of the 48 power outputs can be measured. This byte export current draws between 256..65,535 mA. Combining Output Current Low Byte and Output Current Mid Byte PCM2 exports currents between 0..65,535 mA. OBR Control Systems Inc Telephone : +1 (248) 672-3339 ole.buhl@obrcontrolsystems.com...
Error status codes are normally shown as a combination of numbers: Displaying a value of 17, PCM2 is trying to switch the channel on, but the current draw has exceeded the low hardware (OCL) threshold and has gone into an error status.
Current draw from each of the 48 power outputs can be measured. This byte export current draws exceeding 65,536 mA. Combining Output Current Low Byte, Output Current Mid Byte and Output Current Top Byte PCM2 it is possible to export current measurements exceeding 65.5A.
OBR Control Systems Inc Control Systems “PFM” - PWM Frequency MSB The frequency of the pulse width modulation channels can be exported. The MSB channel can export values between 256..65,525 Hz. Combining export of the LSB and MSB channels, frequencies between 0..65,535 Hz can be exported.
11.3.3 CAN bus export with row count PCM2’s CAN export can be designed to work with row counts. It is possible to define which byte to use as the row count and it is possible to let all bytes rotate, exporting whatever is required.
OBR Control Systems Inc Control Systems LIN Bus – Wiper Motor Control In addition to CAN and serial data ports PCM2 has a capability to control external modules via its LIN bus. The LIN bus has been introduced from software version 1.47.
Page 67
Configuration of byte 2, 3, 4, 5, 6 and 7: The wiper motor has a 4-way connector: Pin 1 = LIN bus signal, connect to PCM2 connector #4, pins 25+26, PCM2 has to be Master. Pin 2 = Not used.
OBR Control Systems Inc Control Systems Serial Link PCM2 has a serial link which can be viewed as an additional tool. To enable the link connect three pins from connector #4 this way: Pin 17 in connector #4 (RS232 TX) to pin 2 in the serial DB9 connector ...
Communication with the MSP is established using either a Peak System PCAN interface or EFI Technology’s EFP02 and EFT20 CAN communication interfaces. OBR or your wiring loom manufacturer can provide you with the cable suitable for your installation and selected connectors.
Click on Open (or press F2) to load a configuration from disc. Click on Save (or press F3) to save a configuration to disc. Save Hex is an OBR feature only. Admin is an OBR feature only. Click on Exit (or press F7) to c lose the MSP tool.
OBR Control Systems Inc Control Systems 14.4 Switches 14.4.1 Position and Numbering Panels are available with different layouts, but the switches are numbered according to this 20-key example matrix. Bytes are numbered 0..7: Switch Switch Switch Switch Switch Switch Switch...
- Local = Disabled. - Leg RX ID1 = Receive trigger signal from for example a PCM2. The LED will turn on when PCM2 confirms the output is in fault mode. Typically selected when the car has a single PCM2.
Switch 20 transmits on byte 5, bit 3 (absolute bit number 43). In PCM2 a CAN input for a dedicated switch can be configured to display 0 or 1 when toggling between ON and OFF. When reading data from the CAN bus, any switch position can be allocated to any bit position in the CAN input byte.
Page 74
OBR Control Systems Inc Control Systems Again, with PCM2 for example, to define a CAN input for switch 1, you can proceed this way: Define the identifier for the byte in which to look for MSP key status. NOTE: Maximum value is 7FF when using an 11 bit identifier.
The green LEDs are controlled by bit values in bytes 3, 2 and 1. MSP will turn ON a LED if the received value is “1” and OFF if the received value is “0”. In PCM2 use the CAN Export to configure transmission of the output switch status to the membrane panel: ...
MSP will turn ON a LED if the received value is “1” and OFF if the received value is “0”. To detect a failed PCM2 output an event for each output must be configured. In PCM2 define an event this way: ...
A second option is to use “ID2” to transmit data from MSP. ID1 is used for communication with the tool and a primary PCM2 in advanced CAN mode. ID2 is used for communication with a secondary PCM2 in advanced CAN mode.
Page 78
A second option is to use “ID2” to receive data from external systems. ID1 is used for communication with the tool and a primary PCM2 in advanced CAN mode. ID2 is used for communication with a secondary PCM2 in advanced CAN mode.
OBR Control Systems Inc Control Systems 14.6 CAN Bus Export This section is used for configuring the extended CAN bus export, selected in section XTRA on the “Switches” tab. It is also used to export data from the 3 analogue inputs and the panel battery voltage.
Page 80
OBR Control Systems Inc Control Systems - Analogue Inputs The 3 available analogue channels all have a 10 bit resolution. This means that the data resolution splits the 0...5,000 mV sensor range into 1024 steps and requires 2 bytes (a word) to send this data.
OBR Control Systems Inc Control Systems 14.7 Miscellaneous Functions This tool support software for both hardware version of the CAN controller. MSP1 covers hardware version 1. MSP2 covers hardware version 2. The MSP panel is backlit by an electro luminescent layer.
Page 82
OBR Control Systems Inc Control Systems A CAN bus analysing tool is included in the PC tool. By default the monitor displays the load on the actual CAN bus. The monitor is only active once the “Monitor On” box is ticked.
OBR Control Systems Inc Control Systems Steering Wheel Controller The steering wheel controller is a very compact controller, converting digital and analogue inputs to CAN. It is small enough to fit inside a steering wheel, measuring just 55 mm in diameter and only requires a 4-wire connection to include it in the car wiring, considerably simplifying wiring of the steering wheel.
Page 84
OBR Control Systems Inc Control Systems All switch inputs can be configured as latching or momentary in the software. This means that using momentary acting switches it is possible to control the switching in two different ways: Set as momentary, the SWC registers the signal ON as long as the switch is pressed.
Page 85
OBR Control Systems Inc Control Systems Name Description LED - 16 SWITCH 16 LED LED -1 SWITCH 1 LED LED – 4 SWITCH 4 LED LED - 17 SWITCH 17 LED MCU Programming Header LED - 19 SWITCH 19 LED...
OBR Control Systems Inc Control Systems PCM2 Pin Configuration 16.1 Connector 1 – Battery Power Supply Mating connector: Deutsch ASHD6 14-1 SN C35 16.2 Connector 2 – High Power Outputs Mating connector: Deutsch AS6 20-16 PN or Souriau 8STA62016PN Used for...
OBR Control Systems Inc Control Systems 16.3 Connector 3 – Low Power Outputs Mating connector: Deutsch AS6 20-39 PA or 8STA62039PA Used for Max Recommend / Max Peak (A) *) Channel Wiper 2 13 / 75 Tri-State Output 2 Trigger 0 / 2.5 / 5 volt ***) Tri-State Output 4 Trigger 0 / 2.5 / 5 volt ***)
OBR Control Systems Inc Control Systems 16.4 Connector 4 – Signal and Inputs Mating connector: Deutsch AS6 16-35 PN or Souriau 8STA61635PN Used for Comments Digital Input 7 Trig High / Low / Open Digital Input 5 Trig High / Low / Open...
Page 89
OBR Control Systems Inc Control Systems Used for Comments Analogue Input 2; 12 bit Pull-up 0 / 3.16k / 47k Analogue Input 6; 12 bit Pull-up 0 / 3.16k / 47k Analogue Input 9; 12 bit Pull-up 0 / 3.16k / 47k Analogue Input 11;...
OBR Control Systems Inc Control Systems Specifications 17.1 Inputs Number of digital input Number of analogue inputs 16 (0..12 volts; 16 bit resolution) Can be regrouped as 8 differential inputs Number of CAN ports Number of CAN input channels Number of membrane switch inputs via CAN 17.2...
OBR Control Systems Inc Control Systems *) Current draw based on typical race car wiring quality with maximised performance of Deutsch Autosport connector specifications. 17.2.7 Sensor supplies & warning light Number of 5 volts reference sensor supplies 4; each 1.0 A @ 5 volts 17.2.8...
OBR Control Systems Inc Control Systems 17.7 Dimensions Length x Width x Height 197 x 183 x 38 mm excl. connectors Weight 1,190 grams OBR Control Systems Inc Telephone : +1 (248) 672-3339 ole.buhl@obrcontrolsystems.com 32233 West 8 Mile Road www.obrcontrolsystems.com...
Need help?
Do you have a question about the PCM2 and is the answer not in the manual?
Questions and answers