MC33810 Spark Duration

This MotoHawk™ block specifies spark duration to be made available for the requested resource.

Block ID

MC33810 SpkDur Defn

Library

MotoHawk_lib/Diagnostics

Description

Overview

This MotoHawk™ block specifies spark duration to be made available for the requested resource. This block can be used directly to recover the observed spark duration. Alternatively the Get MC33810 Spark Duration block can be used. Only a single definition block may exist for each resource, but multiple Get MC33810 Spark Duration blocks may exist.

This feature requires the module's hardware to utilize an MC33810. The feature is not supported if the block has an empty resource list.

There is also a MC33810 Spark Duration Trigger block that allows the model to be notified when a spark duration event for the referenced resource is observed. Note that the spark duration trigger will occur after the excitation (dwelling) event concludes (spark is initiated by the conclusion of the excitation event). Thus it quite likely that a trigger block like the PSP End Trigger will execute before the spark associated with that excitation event has completed. In such a situation the reported spark duration will still be for the previous excitation rather than the excitation that just occurred.

Behavior Limitations

The MC33810 hardware measures the spark duration and exports it to the microcontroller via a single, shared SPKDUR signal. Multiple spark duration definition blocks that target different resources may share the same SPKDUR signal. MotoHawk™ demultiplexes this signal when it is processed, but assumes that the behavior of excitation signal that generates the spark will be generated via PSP. Therefore this behavior will only work with PSP like behaviors including Dual PSP, Multiple PSP and the Spark Sequence blocks.

The SPKDUR signal that the microcontroller interprets to obtain spark duration may also be made available in a raw form via the Input Capture block. Spark duration will be reported if this block is configured to trigger on the rising edge. The Input Capture block may not coexist with the MC33810 Spark Duration block. Use the Input Capture block to construct an application specific spark duration capture mechanism when behaviors besides PSP are to be used.

Signals

Spark Duration (int16, uS)

Recovers the last observed spark duration for the associated resource in microseconds. A negative value (-1) implies that the MC33810 did not measure a spark duration. Blocks like the MC33810 Spark Control Definition and the MC33810 Spark Fliter Set may need to be configured to configure the hardware so that it can reliably measure spark duration.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single-quote enclosed This name will be used by associated Get MC33810 Spark Duration accessor block or MC33810 Spark Duration Trigger block to reference this definition. The name must be C-legal. Therefore is must have no special characters such as spaces, dashes or commas (underscore allowed). It should also be unique.
Resource Drop-down list Module resource for this block (target module dependent).
Show Output Port Checkbox Check this box to expose a signal port that will emulate the functionality offered by the Get MC33810 Spark Duration block.