FREE REPAIR MANUALS & LABOR GUIDES 1982-2013 Vehicles
Courtesy of Operation CHARM: Car repair manuals for everyone.

GF54.21-D-3002H Outputs Interface, PSM, Function




GF54.21-D-3002H Outputs Interface, PSM, Function

- with CODE (ED5) Parameterizable special module (PSM)


- with CODE (ED8) Preinstallation for parameterizable special module (PSM)

Discrete outputs
The discrete outputs include high-side outputs, low-side outputs and outputs with extended functions. A signal must be assigned for each output. Unused outputs must be deactivated using the "Permanent LOW" signal. The permanently assigned properties must be defined during parameterization. Various properties must be changed in the case of outputs with extended functions. All outputs have short circuit detection and overload detection. The respective outputs are switched off if a short circuit or overload is detected. Up to 5 attempts are made to switch on the output again at an interval of 1 s. A fault entry is made if these attempts to switch the output back on fail.

The output remains deactivated. A further 5 attempts to switch on the output again are performed after a change in status from "Tml. 15R OFF" to "Tml. 15R ON" and when overvoltage or undervoltage returns to normal voltage.

Before a new request from the output can be made, the request must be canceled for at least 10 s.

Further technical information on the outputs, e.g. the limits for undervoltage/overvoltage shutoff or the interior wiring, can be found in the "Technical data" documents.

The load capacity of the outputs is configured for resistive loads. In the case of loads with increased switch-on current (e.g. bulbs, capacitive loads) the nominal loads reduce or shutdown can occur on account of a detected short circuit or overload.
In order to protect the vehicle wiring in the event of the current at Tml. 30.1 or Tml. 30.2 exceeding 25 A, the outputs concerned are deactivated in the following sequence:
- 10-A-output
- 5-A-output (capable of waking)
- 5-A-output
- 5-A-output (bridge, high-side)

High-side outputs
The high-side outputs can be assigned signals from the signal pool. The status is output in the case of bit signals. With byte, internal and pulse width modulation (PWM) signals, the output is activated provided that the signal value is not equal to 0.

Low-side outputs
The low-side outputs can be assigned signals from the signal pool. The status is output in the case of bit signals. With byte, internal and PWM signals, the output is activated provided that the signal value is not equal to 0.

Outputs with extended functions
With output 01 and 02, the switching direction can be set to high- active or low-active. If these two outputs are used as a full bridge, it is important to observe the notes given in the description of this parameterization option. Outputs 09 and 10 can optionally issue a PWM signal or a digital signal (discrete output).

Function example

External socket with activation by additional input
When a 12-V socket is installed in a vehicle, the PSM control unit can realize this function with one of its outputs capable of waking. In addition to this, it is also possible to specifically activate or deactivate the 12 V socket via a signal from the PSM control unit (e.g. emergency off or "External socket active" control in the vehicle).

Parameterization of output 04
The "Input 01 (high-active)" signal is used (signal ID 1013). Properties of output:
- Capable of waking
- Use as output
- Pull-up resistor active
- No other dependencies

Parameterization of current threshold for deactivation of output 04 = 5000 mA
This parameterization provides the following function.
When the PSM control unit is in rest mode, then the PSM control unit can be woken by applying a load. After waking up, the PSM control unit immediately switches the output 04 active when the input 01 is active. The current is measured one second after the output is switched on. If the current is below the parameterized value threshold of 5000 mA, the output is deactivated again.
If a current higher than the parameterized threshold is permanently applied, the output remains active and can be deactivated again by a reduction in load current, as a result of dependence on vehicle status (not used in the example) or due to deactivation of input 01.
Following removal of the load and the resulting drop in current, the output is deactivated and detection of load connection is reactivated after 1 s. The output can then be activated again by reconnecting a load.

If no load is applied, then the PSM control unit can go into rest mode again, provided that no other conditions for keeping awake are active.

Input or output
With this option, all outputs can also be used as discrete inputs. All high-side outputs give high-active inputs and all low-side outputs give low-active inputs. The half-bridge outputs 01 and 02 are always high-active inputs, irrespective of their polarity. The states of the inputs are made available in the signal pool.

If an output is used as an input, "1000 - supplies permanent LOW" must be entered as the signal setting for this output.
The input states in the signal pool are updated regardless of this parameterization, and can also be used as feedback for logic operations. Parameterization as an input therefore only prevents activation of the output.

External pull-up resistors or pull-down resistors must be used if the outputs (with the exception of outputs 03, 04, 05, 06 and 09) are used as inputs. With the outputs 03, 04, 05 and 06, the internal pull-up resistors must be deactivated if these outputs are used as inputs. In the case of output 09 the pull-down resistor must be connected for use as an input.

The pull-up resistor (with low-active) or the pull-down resistor (with high-active) should have a value of approx. 1 k Ohm.

The outputs 17 to 20 can also be used as high-active inputs. The previously mentioned external pull-up resistor, for detection of a low level, should not be connected in this case. The signal detected at the output is inverted relative to the externally pending signal. This means that if the output is open, a logical "1" is detected. If 12 V are applied at the output, a logical "0" is detected.

Pull-up resistors
With the outputs 03, 04, 05 and 06, this parameterization option is used to switch in pull-up resistors. With output 09, a pull-down resistor can be switched in (to generate a low-active PWM signal).

The values of the pull-up resistors or pull-down resistor are arranged in the following table:
Output Resistance value
Output 03 2700 Ohms
Output 04 2700 Ohms
Output 05 330 Ohms
Output 06 2700 Ohms
Output 09 470 Ohms







PWM output (with output 09 and 10
This setting enables the outputs 09 and 10 to be used as discrete outputs or as PWM outputs. If a PWM signal is output, a signal is output as a pulse-width modulated signal (e.g. travel distance or Tml. 58d). It must be remembered that here the load should be restricted due to the electromagnetic compatibility (EMC).
When using a PWM signal, it is strongly recommended to supply ground for the load via the PSM control unit (preferably via a low- active output). Load currents up to approx. 100 mA can be output, if necessary, without feedback of the ground line. Feedback of the ground supply for the load via the PSM control unit is an essential requirement for loads up to approx. 750 mA. PWM signals should not be used in combination with higher load currents.
In the case of parameterization as a PWM output, it is not possible to use the output as an input. The PWM output option has higher priority.

Parameterization options
The options which can be set for every output are listed in the overview "Parameterization options for outputs" in the document "Parameterization, PSM, function".

Interruption detection
With this option, an output can be configured in such a way that an open circuit fault is stored when a load current threshold of approx. 5% of the nominal current is underranged. This function is only

Short circuit detection
This function is supported by all outputs and cannot be deactivated.

wake capability and load detection
The outputs 03, 04, 05 and 06 can be parameterized capable of waking. In the case of a parameterized wake capability the output affected is activated by a 1 -> 0 signal edge and a PSM control unit in rest mode is awoken.
After the output has been activated, it can be deactivated either via its parameterized signal or as a result of the parameterized current threshold, under "Discrete outputs - Settings of properties", being underranged. To allow the load current to settle, it is not measured until 1 s after activation of the output. To ensure correct detection of the 1 -> 0 edge, the respective pull-up resistor of the output must also be parameterized as active.

High-side or low-side
This setting is preset for outputs 03 to 20 and cannot be changed. It must be assigned the settings given in the overview table. In the case of the half-bridge outputs 01 and 02 their switching direction can be selected via the parameterizing options.

PWM Softstart
If a PWM output is used as a switch (not a PWM signal but rather a normal discrete output), it is possible to activate a softstart. In the process when switching on first for 100 to 200 ms (typical 150 ms) an 80-% PWM is output, before the output is fully controlled. This allows, for example, lamps to be switched on safely and more smoothly.

Parameterizable dependence of outputs on vehicle status
An overview of the dependencies which can be parameterized for any output is given under "Parameterization options of outputs". If more than one dependence is selected, an AND operation is applied between the individual dependencies. The output is then only active if all dependencies are fulfilled. The output becomes inactive as soon as a dependence is no longer fulfilled.

Deactivation with Controller Area Network bus class B (interior) (CAN-B) fault
The output is then only active if the network management does not signal any CAN-B fault.
If this configuration bit is set, limp-home operation of the CAN-B (e.g. with cable break) also results in deactivation of the output.

Deactivation in case of parameterized undervoltage
The output is only active if the parameterizable undervoltage detection of the PSM control unit is in the "Normal" or "Undervoltage detected" state. If it changes to the "Undervoltage aborted" state, the output is inactive.

Terminal 61
The output is only active with "Tml. 61 ON".

Tml. 15
The output is only active with "Tml. 15 ON".

Tml. 15R
The output is only active with "Tml. 15R ON".

Tml. 15C
The output is only active with "Tml. 15C ON".

Vehicle unlocked
The signal "Vehicle unlocked" is set when the vehicle has been unlocked via the transmitter key or "terminal 5C ON" is active. "Vehicle unlocked" is reset with "Tml. 15C OFF" when the vehicle is locked via the transmitter key. The output is only active if the "Vehicle unlocked" signal is set.

Delayed-off running
The output is only active for as long as the run-on time for the PSM control unit has not yet expired. For more detailed information, see the chapter "Global functions" in the document "Functional scope of global functions, PSM, function".

Full-bridge mode (with output 01 and 02)
If the signal parameter "Full-bridge mode" is set for each of the two half-bridge outputs 01 and 02, the two half-bridges are connected together to form a full-bridge. If this is only done for one of the outputs, the full-bridge mode is not activated.
In addition, you must assign signals to the outputs to allow the full- bridge to be controlled. The signals of the two outputs then assume the following function:
- Signal at output 01:
- This signal determines the switching direction of the full- bridge.

- Signal at output 02:
- If this signal is active, the full-bridge is fully activated according to the switching direction.







The following restrictions apply in this operating mode:
- When using inductive loads, such as an electric motor, it must be ensured that the load current does not exceed 3.0 A in the active condition.
- The start-up current of an electric motor should have dropped to below 10 A within 200 ms as well as to below 6 A after a further 300 ms. If this is not the case, it will no longer be possible to guarantee correct start-up of the electric motor owing to the short-circuit/overload shutdown which then becomes active.
- If resistive loads and bulbs are used, a load current limit of 5.0 A applies.

The full-bridge is activated in stages. The respective low-side is activated first, followed by the respective high-side after 10 ms. The full-bridge is deactivated in the reverse order.

The full-bridge is switched over according to the following sequence:
- The previously active high-side is deactivated.
- The 2nd low-side is connected after 100 ms.
- After 100 ms, the previously activated low-side is deactivated.
- After 10 ms, the opposite high-side is activated.

Activation or deactivation of the full-bridge therefore requires approx. 20 ms, and switchover of the full-bridge requires approx. 220 ms.







Example: Actuation of an electric motor

Circuit diagram of an electric motor connected to PSM control unit
17 Output 01 (pin 13)
18 Output 02 (pin 16)
M Electric motor
N26/15 PSM control unit

The output 01 (pin 13) specifies the direction of rotation or polarity of the electric motor. Output 02 (pin 16) is used to activate the electric motor.

Parameterization options of outputs
The parameterization options for discrete outputs are shown in the following.