The present invention relates to a method for operating a management system of function modules. In particular, the invention relates to a management system in which individual function modules are capable of being released or not released for execution using an inhibitor module.
Although the present invention will be described hereinafter with reference to a diagnosis system management (DSM) for an engine control system, the present invention is not limited thereto.
A diagnosis system management (DSM) is used inter alia for controlling an operating procedure of an engine. The control takes place in accordance with predefined program sequences and on the basis of events which are sensed by sensors and communicated to the DSM. In addition, the DSM enables external analysis modules to record and analyze the program sequences during or after test phases and/or during routine operation of an engine.
Referring to
Upon occurrence of events e1-e4, especially error messages, such as, for example, a defective spark plug, it is sensible for some of first function modules f1-f4 to be no longer made available to control system H for execution, so that, for example, gasoline is no longer injected into the corresponding cylinder having the defective spark plug. For that purpose, an event detecting device E is provided in DSM V. Event detecting device E detects events e1-e4 inter alia by sensors that monitor, for example, the spark plug. If an event e1-e4 is detected, an inhibitor module I is called. Inhibitor module I has a database which links event e1-e4 with first function modules f1-f4. In the example illustrated in
By reading memory device K it is possible to ascertain which function modules f1-f4 were blocked in the course of a test phase or a drive. This is advantageous for diagnosis of engine operation by the analysis module.
Second function modules g1-g2 are executed only if a corresponding event e1-e4 occurs or has occurred. Management system V is able inter alia to make a second function module g1-g2 available to control system H instead of a blocked function module f1-f4. Which of the second function modules g1-g2 will be made available is ascertained by management system V inter alia on the basis of internal algorithms of management system V. This may involve, for example, individual. function modules f1-f4, g1-g2 being assigned priorities and, upon blocking of a prioritized function module, the next-in-priority function module being made available.
A disadvantage with this method is that it is not transparent to an external analysis module which of second function modules g1-g2 is capable of being made available by DSM V after an event e1-e4 has occurred. For an analysis, an analysis module therefore requires knowledge of the internal algorithms of management system V and must therefore be adapted to every new DSM.
A further disadvantage is that management system V has to examine for a second function module g1-g2 all the events e1-e4 associated with second function module g1-g2 before management system V is able to establish whether that second function module g1-g2 is or is not releasable for execution by control system H.
It is an object of the present invention to provide a method for operating a management system, which method solves the problems mentioned above.
The present invention provides a method for operating a management system that manages a large number of first and second function modules, wherein a first function module is not released for execution if an associated first control status designates that first function module as blocking and does not release a second function module for execution if a second control status designates that second function module as non-executable. In a first database, there is associated with each first function module a first event set which is empty or has at least one event, and a second database associates with each second function module a second event set which is either empty or has at least one event. If an event detecting module detects one or more events, an inhibitor module is executed. That inhibitor module sets all first control statuses to designating blocking if at least one of the detected events is included in the one first event set associated with the first control status and sets all the second control statuses to designating executable if at least one of the detected events is included in the event set associated with the second control status.
One advantage of the present invention is that a second control status is assigned to each second function module, which second control status indicates whether the second function module may or may not be made available by the management system for execution. In that manner, expenditure on resources is reduced, as is the time taken by the management system to establish whether the corresponding second function module may or may not be made available by examining the corresponding second control status.
A preferred development of the present invention provides that the inhibitor module stores the first and the second control status in a memory device and the management system reads out the first and second control status from the memory device. An external analysis module is thus able to detect which of the first and second function modules is blocked or released solely by reading out the memory device.
A preferred development of the present invention provides that each function module is associated in the memory device with a status register, the first control status being storable in a first memory location of the status register and the second control status being storable in a second memory location of the status register.
A preferred development of the present invention provides that the first and the second memory locations are an identical memory location.
A preferred development of the present invention provides that the first and the second memory locations each have the same memory value when the first control status is designating blocking and the second control status is designating non-executable or the first control status is designating non-blocking and the second control status is designating executable. As a result, advantageous1y it is not necessary to distinguish according to first and second function modules when the registers are being evaluated.
A preferred development of the present invention provides that a third memory location is provided in the status register, which third memory location indicates whether the management system is evaluating in relation to a function module the first or the second control status.
A preferred development of the present invention provides that the inhibitor module is executed every time the event detecting module has detected a single event.
A preferred development of the present invention provides that, in a first step, a re-set takes place, wherein all first control statuses are set to designating non-blocking and all second control statuses are set to designating non-executable.
A preferred development of the present invention provides that, after a re-set, a loop interrogates all possible events as to their occurrence and the first and second control statuses are set according to the occurrence or non-occurrence of the events.
A preferred development of the present invention provides that the first and second control statuses are set, after execution of the loop, only if an event occurs.
Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying Figures, in which:
In
Each first function module f1-f4 is assigned a first control status s1-s4 via a link 4. That first control status has two statuses: “designating non-blocking” and “designating blocking”. If first control status s1-s4 is designating blocking, first function module f1-f4 is not made available by management system V, i.e., control system H is not able to execute that function module f1-f4. In the converse case, it is possible for first function module f1-f4 to be released by management system V.
First control status s1-s4 is set to designating blocking if an event e1-e4 that a first database associates with that first control status s1-s4 occurs. In the case of first control status s2 in the illustration in
Second control statuses r1-r2 are set, in conformity with first control statuses s1-s4, on the basis of events e1-e4. In this operation, second control statuses r1-r2 are set to designating executable if an event e1-e4 that corresponds to them occurs. The linking of second control statuses r1-r2 with events e1-e4 is performed by a second database. The second database is likewise evaluated by inhibitor module I and the inhibitor module sets second control statuses r1-r2 according1y to designating executable upon occurrence of an event e1-e4.
Control statuses s1-s4, r1-r2 are stored by inhibitor module I in a memory device K. Management system V is able to access memory device K through an interface and reads out control statuses s1-s4, r1-r2 in order to decide which function modules f1-f4, g1-g2 are releasable for execution by control system H. Advantageous1y, management system V needs to read only control statuses s1-s4, r1-r2 for that decision and individual examination of events e1-e4 is not necessary for release of second function modules g1-g2.
Events e1-e4 are detected by an event detecting device E. Event detecting device E has a plurality of sensors that monitor the current operating state of an engine. In one embodiment, event detecting device E is able to trigger a call-up of inhibitor module I, in a second embodiment inhibitor module I cyclically interrogates event detecting device E as to the presence of an event e1-e4.
In
Although the present invention has been described with reference to exemplary embodiments it is not limited thereto. In particular, definite assignment of a function module to first and second function modules is not absolutely necessary, but rather a function module may belong to both sets.
Number | Date | Country | Kind |
---|---|---|---|
10 2004 046 874.5 | Sep 2004 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2005/054547 | 9/13/2005 | WO | 00 | 11/12/2008 |