[go: up one dir, main page]

CN100543694C - Method for associating a control device with a program for diagnosing a simulated function chain - Google Patents

Method for associating a control device with a program for diagnosing a simulated function chain Download PDF

Info

Publication number
CN100543694C
CN100543694C CNB2005800236530A CN200580023653A CN100543694C CN 100543694 C CN100543694 C CN 100543694C CN B2005800236530 A CNB2005800236530 A CN B2005800236530A CN 200580023653 A CN200580023653 A CN 200580023653A CN 100543694 C CN100543694 C CN 100543694C
Authority
CN
China
Prior art keywords
control device
function chain
fault
program
diagnosis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005800236530A
Other languages
Chinese (zh)
Other versions
CN1985241A (en
Inventor
T·丁格勒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of CN1985241A publication Critical patent/CN1985241A/en
Application granted granted Critical
Publication of CN100543694C publication Critical patent/CN100543694C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

把一个用于控制一个系统的控制装置,尤其是马达控制装置,与一个用于模拟一种功能链诊断的程序或者用于进行故障分析的其它程序相关联的方法,具有以下的步骤:在一个第一过程(100)的范围内起动所述系统的一个工作点。产生一个故障并且借助于一个用于模拟所述功能链诊断的程序或者用于进行故障分析的其它程序来产生一个故障;在第二过程(200)的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入第一过程中的故障,执行借助于功能链诊断在第一过程(100)中所计算的介入,并且借助于所述模拟所述功能链诊断的程序来计算第二介入;在至少另一个过程的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入故障,执行借助于功能链诊断而在以前的过程中所计算的介入,并且借助于所述功能链诊断来计算另外一个介入。

Figure 200580023653

A method for associating a control device for controlling a system, in particular a motor control device, with a program for simulating a function chain diagnosis or other program for fault analysis, has the following steps: in a A working point of the system is started within the scope of the first process (100). A fault is generated and a fault is generated by means of a program for simulating the diagnosis of the function chain or other programs for fault analysis; within the scope of the second process (200), the control device is reset and all fault memory in the control device, restarts the operating point, re-enters faults in the first process, performs interventions calculated in the first process (100) by means of function chain diagnostics, and by means of the simulation The program of the above function chain diagnosis is used to calculate the second intervention; within the scope of at least one other process, the control device is reset and the fault memory in the control device is cleared, the operating point is restarted, the fault is re-entered, the execution is carried out by means of The intervention calculated in the preceding process based on the function chain diagnosis, and a further intervention is calculated by means of the function chain diagnosis.

Figure 200580023653

Description

把控制装置与用于模拟功能链诊断的程序相关联的方法 Method for associating a control device with a program for diagnosing a simulated function chain

技术领域 technical field

本发明涉及一种把一个控制装置尤其与模拟一种功能链诊断(Wirkkettendiagnose)的程序相关联的方法,模拟一种功能链诊断就是说通过模拟正常表现和故障表现来产生系统诊断的诊断信息。然后可以把获得的应答例行程序存储在一个控制装置中并且可用于快速故障搜寻,就是说把问题限定在几个可疑的部件上。The invention relates to a method for associating a control unit, in particular, with a program for simulating a functional chain diagnosis, ie generating diagnostic information for a system diagnosis by simulating normal behavior and fault behavior. The resulting response routines can then be stored in a control unit and used for quick troubleshooting, ie to limit the problem to a few suspect components.

背景技术 Background technique

由于越来越多地采用电子电路,例如尤其是在汽车中在控制马达时,故障诊断开销越来越高。在这种情况下,在系统中借助于一个在外部计算机上运行的功能链诊断来研究可能的故障是有意义上。为了能够模拟这样一种功能链,例如众所周知地,在一个计算机上执行两个系统(要研究的系统和用于产生所述功能链的程序),其中在此需要对计算速度进行匹配。这造成非常高的开销,因为不论是控制装置软件还是系统的模型都必须实施到所述计算机上。然而由此还影响系统性能,从而信息只能够有条件地向原系统传输。Due to the increasing use of electronic circuits, for example especially in motor vehicles, when controlling motors, the complexity of fault diagnosis is increasing. In this case, it makes sense to investigate possible faults in the system by means of a function chain diagnostics run on an external computer. In order to be able to simulate such a functional chain, it is known, for example, to execute two systems (the system to be investigated and the program for generating the functional chain) on one computer, wherein the calculation speed needs to be adapted here. This results in very high costs, since both the control device software and the model of the system have to be implemented on the computer. However, this also affects the system performance, so that information can only be transmitted to the original system to a limited extent.

为了解决所出现的问题,公知地在使用一种原控制装置的情况下,例如通过CPU时钟来降低快速系统运行的速度。另一方面只可能有限地加速较慢系统的运行,例如通过设置高性能的计算机。然而还仍然存在不能够100%地达到原性能的问题并且出现显著的匹配开销。In order to solve the problems that arise, it is known to reduce the speed of fast system operations when using an original control device, for example by means of the CPU clock. On the other hand it is only possible to speed up the operation of slower systems to a limited extent, for example by setting up high-performance computers. However, there is still the problem that the original performance cannot be achieved 100% and a significant matching overhead occurs.

发明内容 Contents of the invention

本发明的技术问题是把一个控制装置,例如在一辆汽车中用于运行马达的控制装置,与一个用于计算一种功能链诊断的程序(在下文中指:分析不同的运行状态下的传感器值和设定值)相关联。模拟功能链时的计算速度比控制装置的速度慢得多。然而,因为需要介入(Eingriff)所述控制装置,例如通过所述功能链诊断依据所述传感器值和设定值来改变一个工作点,必须同步所述控制装置和所述功能链诊断的运行。The technical problem of the invention is to combine a control device, such as that used in a motor vehicle for operating a motor, with a program for calculating a functional chain diagnosis (hereinafter referred to as: analyzing sensors in different operating states) value and set value) are associated. The calculation speed when simulating a function chain is much slower than that of the control unit. However, since it is necessary to intervene in the control unit, for example by means of the function chain diagnosis to change an operating point as a function of the sensor value and setpoint value, the operation of the control unit and the function chain diagnosis must be synchronized.

本发明致力于,针对所述技术问题在不改变常规硬件和软件成分的情况下使用一种(应用程序)-控制装置。The invention aims at using an (application) control device for the stated technical problem without changing conventional hardware and software components.

该技术问题通过方法而得以解决。The technical problem is solved by the method.

所述方法具有以下的步骤:在一个第一过程的范围内,起动所述系统的一个工作点,产生一个故障并且借助于一个用于模拟所述功能链诊断的程序产生一个故障,在第二过程的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入第一过程中的故障,执行借助于功能链诊断而在第一过程中所计算的介入,并且借助于所述模拟所述功能链诊断的程序来计算第二介入,在至少另一个过程的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入故障,执行借助于功能链诊断而在以前的过程中所计算的介入,并且借助于所述功能链诊断来计算另外一个介入。The method has the following steps: within the scope of a first process, start an operating point of the system, generate a fault and generate a fault by means of a program for simulating the diagnosis of the function chain, in the second within the scope of the process, reset the control unit and clear the fault memory in the control unit, restart the operating point, re-enter the fault in the first process, execute the function chain diagnosis in the first process Calculated intervention, and calculate a second intervention by means of the program simulating the diagnosis of the function chain, within the scope of at least one other process, reset the control device and clear the fault memory in the control device, restart The operating point, re-entering the fault, executes the intervention calculated in the preceding process by means of the function chain diagnostics and calculates a further intervention by means of the function chain diagnostics.

在如本发明所述的方法范畴内进行的模拟可以通过有利的方式采用现有的系列软件进行,如果所述系列软件不是现成的,也只须自由划分所述控制装置的入口的介入位置即可。根据本发明可以有效避免例如停止一个软件或者说一个计算机时出现的同步问题。事实表明如本发明所述的方法特别经济,因为控制装置的软件不必传输到一个外部计算机上。The simulation carried out within the scope of the method according to the invention can be carried out in an advantageous manner using existing series of software, if the series of software is not available, it is only necessary to freely divide the intervention position of the entrance of the control device. Can. According to the invention, it is possible to effectively avoid synchronization problems that occur when stopping a software or a computer, for example. It turns out that the method according to the invention is particularly economical, since the software of the control device does not have to be transferred to an external computer.

根据本发明计算的或者说模拟的系统性能对应于所述控制装置的原性能。一个硬件不必与功能链诊断计算的较慢的运行进行匹配。如本发明所述的方法可以无问题地移置于任意的控制装置变例/系统。The system performance calculated or simulated according to the invention corresponds to the original performance of the control device. A piece of hardware does not have to match the slower running of the function chain diagnostic calculations. The method according to the invention can be transferred without problems to any control variant/system.

如本发明所述的方法的有利的实施方式是从属权利要求的主题。Advantageous embodiments of the method according to the invention are the subject matter of the dependent claims.

根据本发明,对n次介入的功能链诊断,相应执行n+1次的方法是合适的。用这样的做法可以实现一种特别经济的并且仍然充分准确的功能链模拟。According to the present invention, it is suitable to carry out n+1 times of function chain diagnosis for n times of interventions. In this way, a particularly economical and still sufficiently accurate simulation of the function chain can be achieved.

附图说明 Description of drawings

下面借助于附图详细地说明本发明。在附图中The invention is explained in more detail below with the aid of the drawings. in the attached picture

图1是一个流程图用于示出如本发明所述的方法的一个优选的实施方式。FIG. 1 is a flow diagram illustrating a preferred embodiment of the method according to the present invention.

具体实施方式 Detailed ways

根据在图1中所示的如本发明所述的方法的优选实施方式,该方法划分成四个过程100、200、300、400。要指出的是,可以设想任意的n个数量的过程,其中其它的过程以类似的方式接在四个所示的过程后面。According to a preferred embodiment of the method according to the invention shown in FIG. 1 , the method is divided into four processes 100 , 200 , 300 , 400 . It should be pointed out that any number n of processes are conceivable, with further processes succeeding the four shown processes in an analogous manner.

在所述第一过程的一个第一步骤101中由一个控制装置起动一个工作点。这尤其可以通过给出提供一种设定运行状态的开始控制信号(例如油门位置、环境温度、马达温度等等)实现。这样一种状态可以通过给出多个运行参数预先给定。In a first step 101 of the first process, an operating point is initiated by a control device. This can be achieved in particular by giving a start control signal (eg throttle position, ambient temperature, motor temperature, etc.) which provides a set operating state. Such a state can be predetermined by specifying a plurality of operating parameters.

接着在步骤102中加入一个故障。这样一种故障例如可以是在电路中发生短路或者存在发生故障的传感器。此外还有可能是一个控制环节没有正确地响应。所述加上一个故障尤其意味着,产生相对于一个模型在受所述控制装置控制的系统参量或者工作方式方面的偏差。Then in step 102 a fault is added. Such a fault may be, for example, a short circuit in an electrical circuit or the presence of a faulty sensor. It is also possible that a control link is not responding correctly. Adding a fault means, in particular, that a deviation occurs relative to a model with respect to system variables or modes of operation controlled by the control device.

然后在步骤103中记录传感器值和设定值,并且用一个功能链诊断的分析程序从中计算对所述控制装置的介入。In step 103 , sensor values and setpoints are then recorded, and interventions in the control unit are calculated therefrom with an evaluation program of the function chain diagnosis.

然而,因为相对于控制装置的功能,所述功能链诊断的模拟程序计算过慢,会超过对控制装置的适当的介入时刻。为此在后接的步骤204(第二过程200的开始)中复位所述控制装置,也就是重新初始化所述控制装置。此外清空所述控制装置的故障存储器并且重新产生或者说起动(步骤201)开始状态(即,原来在步骤101中选取的工作点)。应当指出,各过程100-400的对应步骤有相同的尾数。However, since the simulation program of the function chain diagnosis is calculated too slowly relative to the functions of the control unit, a suitable intervention point in the control unit may be exceeded. To this end, in the subsequent step 204 (start of the second process 200 ), the control device is reset, ie the control device is reinitialized. Furthermore, the error memory of the control unit is cleared and the starting state (ie the operating point originally selected in step 101 ) is regenerated or activated (step 201 ). It should be noted that corresponding steps of each process 100-400 have the same mantissa.

在步骤202中加入与步骤102中相同的故障,并且在后接的步骤205中执行在步骤103中由功能链诊断计算的介入。所述功能链诊断利用由此获得的数据可以接着在后续步骤203中计算一个第二介入。In step 202 the same faults as in step 102 are entered, and in the subsequent step 205 the intervention calculated by the function chain diagnostics in step 103 is carried out. The function chain diagnosis can then calculate a second intervention in subsequent step 203 using the data thus obtained.

现在在一个第三过程300中执行所示的方法,其中如前所述,同样的方法步骤用相同的尾数指代。可以看出,在第三过程中执行用于执行计所算出的介入的两个步骤(305a、305b)。The illustrated method is now carried out in a third process 300 , wherein, as mentioned above, the same method steps are designated with the same end numerals. It can be seen that two steps (305a, 305b) for performing the calculated intervention are performed in the third process.

进行各功能链诊断所需要的那样多的所述过程。相应得出在第n个所述过程中的n步骤(用405a-405n表征)指代执行计算出的介入。只有在所述功能链诊断打算响应或者介入发生的事件时才需要重新启动所述控制装置。因为可以在计算所述功能链的过程中进行所述控制装置的重新启动,所以所述的方法可以用于几乎所有的故障情况,而没有时间上的多重开销。Carry out as many of these procedures as are required for the diagnosis of each functional chain. Correspondingly, it follows that n steps (indicated by 405 a - 405 n ) in the nth described procedure refer to the execution of the calculated intervention. A restart of the control device is only necessary if the function chain diagnostics intends to respond to or intervene in an event that has occurred. Since a restart of the control device can take place during the calculation of the function chain, the method described can be used in almost all fault situations without multiple time expenditures.

所述的步骤序列可以由用于仅少量的过程的仅少量的控制信号群组成,可以设置明显地高得多数量的过程,大致在十、二十、五十或者百的数量级。在高性能的计算机的情况下还可以实施上千甚至万数量级的数量的过程。如本发明所述的方法与常规规则的区别尤其在于,可以执行大数量的过程,其中重复相应的开始状态,而同时计算下一次功能链诊断的介入。The described sequence of steps can consist of only a small number of control signal groups for only a small number of processes, a significantly higher number of processes can be provided, approximately in the order of ten, twenty, fifty or a hundred. In the case of high-performance computers, it is also possible to carry out a number of processes in the order of thousands or even tens of thousands. The method according to the invention differs from conventional rules in particular in that a large number of processes can be carried out in which the corresponding start state is repeated while at the same time the next intervention of the function chain diagnosis is calculated.

换言之,利用根据本发明所述的方法重复地进行以下的步骤:首先一个控制装置发出一个开始控制信号以产生一个由多个运行参数表征的设定运行状态。接着在一个系统中或者体现所述系统的模型中引入预先给定的偏差,并且在该模型的基础上产生与所述设定运行状态有别的实际运行状态。接着按至此产生的序列相继地输入相应的控制信号,以把所述系统引导到相继的实际运行状态,或者体现相继的实际运行状态。In other words, the following steps are carried out repeatedly with the method according to the invention: firstly a control device sends out a start control signal in order to generate a set operating state characterized by a plurality of operating parameters. Predetermined deviations are then introduced into a system or a model representing the system, and on the basis of this model an actual operating state is generated which differs from the set operating state. Corresponding control signals are then fed one after the other in the sequence produced so far in order to bring the system into successive actual operating states or to represent successive actual operating states.

在所述控制信号组成的序列的过程中和在所述序列的结束时,借助于传感器设定值信号或者输出的设定量信号来测取实际运行状态,并且,尤其是相互时间相同地把传感器信号以及设定量信号输送到一个计算单元,并且在所述计算单元中根据这些信号确定控制信号,所述控制信号在其随同下一个过程结束时添加到控制信号序列(过程)中。总是把所述控制装置复位到上述的设定运行状态,从而在每个过程以后,所述控制装置重新给出开始控制信号用产生以多个运行参数表征的设定运行状态。During the sequence of the control signals and at the end of the sequence, the actual operating state is detected by means of the sensor setpoint signal or the output setpoint signal and, in particular, at the same time as each other The sensor signals as well as the setpoint signals are supplied to a computing unit, and in said computing unit, control signals are determined from these signals, which are added to the control signal sequence (process) at the end of the next process. The control device is always reset to the above-mentioned set operating state, so that after each process, the control device gives the start control signal again to generate the set operating state characterized by a plurality of operating parameters.

应当指出,可以在每个时刻把所述控制信号输送到所述系统的一个模型或者一个实际的系统(例如马达)中。It should be noted that the control signal can be fed to a model of the system or to an actual system (eg a motor) at each instant.

Claims (2)

1.把一个用于控制一个系统的控制装置与一个用于模拟一种功能链诊断的程序相关联的方法,所述方法具有以下的步骤:1. A method for associating a control device for controlling a system with a program for simulating a functional chain diagnosis, said method having the following steps: -在一个第一过程(100)的范围内,起动所述系统的一个工作点,产生一个故障并且借助于一个用于模拟所述功能链诊断的程序计算一个介入,- within the scope of a first process (100), start an operating point of the system, generate a fault and calculate an intervention by means of a program for simulating the diagnosis of the functional chain, -在第二过程(200)的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入第一过程中的所述故障,执行借助于用于模拟所述功能链诊断的程序而在第一过程(100)中所计算的介入,并且用所述用于模拟所述功能链诊断的程序来计算第二介入,- within the scope of the second process (200), reset the control device and clear the fault memory in the control device, restart the operating point, re-enter the fault in the first process, perform an intervention calculated in a first process (100) for simulating said program for simulating said function chain diagnosis, and calculating a second intervention with said program for simulating said function chain diagnosis, 在至少另一个过程的范围内,复位所述控制装置并且清空所述控制装置中的故障存储器,重新起动所述工作点,重新加入所述故障,执行借助于功能链诊断而在上述第一过程和第二过程中所计算的介入,并且借助于所述用于模拟所述功能链诊断的程序来计算另外一个介入。In the scope of at least one other process, the control device is reset and the fault memory in the control device is cleared, the operating point is restarted, the fault is re-entered, the above-mentioned first process is carried out by means of function chain diagnosis and the intervention calculated in the second process, and a further intervention is calculated by means of the program for simulating the function chain diagnosis. 2.如权利要求1所述的方法,2. The method of claim 1, 其特征在于,It is characterized in that, 在对具有n个环节的功能链进行模拟时,执行n+1个过程。When simulating a function chain with n links, n+1 processes are executed.
CNB2005800236530A 2004-07-14 2005-07-04 Method for associating a control device with a program for diagnosing a simulated function chain Expired - Fee Related CN100543694C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
DE102004033957 2004-07-14
DE102004033957.0 2004-07-14
DE102004041216.2 2004-08-26

Publications (2)

Publication Number Publication Date
CN1985241A CN1985241A (en) 2007-06-20
CN100543694C true CN100543694C (en) 2009-09-23

Family

ID=38166755

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005800236530A Expired - Fee Related CN100543694C (en) 2004-07-14 2005-07-04 Method for associating a control device with a program for diagnosing a simulated function chain

Country Status (1)

Country Link
CN (1) CN100543694C (en)

Also Published As

Publication number Publication date
CN1985241A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
US12204825B2 (en) Function safety and fault management modeling at electrical system level (ESL)
CN103543999B (en) For creating the method and apparatus with test controller program
JP2001056701A (en) Method and device for mutually monitoring control units
CN104460646A (en) Testing Device For Real-Time Testing Of A Virtual Control Unit
US20170146987A1 (en) Electronic control module testing system
JP2013514497A (en) Monitoring concept in control equipment
JP2008009588A (en) Simulation device, method, and program
EP2990899A1 (en) Control system inspection device
CN106940533A (en) A kind of Real-time Decision method based on cloud faster than real time simulation platform and hardware in loop
CN109643113B (en) Fault diagnosis device and fault diagnosis method
CN100543694C (en) Method for associating a control device with a program for diagnosing a simulated function chain
CN111044826B (en) Detection method and detection system
JP2011161947A (en) Automatic inspection system of electronic controller
JP2019174874A (en) Simulation apparatus, method and program
JP2015123748A (en) Inspection system
JP2010097405A (en) Simulation system and simulation method
JP4504423B2 (en) A coupling method for coupling a controller and a program modeling active chain diagnostics
JP4328969B2 (en) Diagnosis method of control device
JP6463445B1 (en) In-vehicle control device
JP2008134808A (en) Function verification device for logic circuit, verification method for function coverage system, and program
JP4194959B2 (en) Simulation analysis system, accelerator device and emulator device
US12373331B2 (en) Method for testing a data processing distributed to multiple programs
JP2009244952A (en) Motion controller, simulation method, and simulation program
CN118584884B (en) Diagnostic development control system, method, vehicle and product
US20240296112A1 (en) Computer-implemented method for testing the execution of at least one control unit function on a simulator, and corresponding simulator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090923

Termination date: 20170704