The present invention relates to a method for actuating a number of modules, in particular a number of hardware modules or units, and to a circuit system for carrying out the method.
Microcontrollers that are used in various embedded systems control, among others, actuators and sensors. Actuators are distinguished in that they are supplied with signals at particular times and in many cases also must be actuated simultaneously in order to perform a function. Such output signals are typically actuated with highly complex timer architectures. Here, a plurality of output signals can be outputted on the basis of prespecified timestamps, counter values, or by triggering of the cells among one another.
In conventional solution approaches, it has turned out to be disadvantageous that only adjacent cells in an increasing sequence, or chains of cells in an increasing sequence, which may not be interrupted, can mutually trigger one another. If the triggering is carried out on the basis of a time value, previous architectures have the disadvantage that they have to reload the corresponding time values for producing new signals by CPU, which causes a high interrupt load on the main CPU.
In accordance with an example embodiment of the present invention, an example method provides a flexible trigger mechanism that does not operate only on time bases, but rather also simultaneously allows the triggering and controlling of a plurality of hardware units for signal outputting. The proposed trigger mechanism is flexible enough that non-adjacent modules can also mutually inform one another, switch one another on or off, or trigger the reloading of parameter sets.
An example circuit system in accordance with the present invention is made up of a module that implements the flexible trigger mechanism. Here, the individual connected modules can be wired to one another, and various trigger mechanisms (time, CPU access, other output module(s), etc.) can be set. On the basis of the respective trigger source, it is possible to switch the output units off or on, and/or to switch the respective outputs off or on, and/or to reload a parameter set in parallel fashion.
The example solution is distinguished in that the trigger mechanism can be reprogrammed during the runtime. In conventional approaches, in contrast, this is rigidly prespecified in the multiplexers that are used. Each channel can influence every other channel (feedback) via the provided internal trigger.
The example trigger mechanism can be a component of a timer platform to be used in automotive applications. Alternatively, however, the mechanism can also be used in an industrial setting.
In an example embodiment, a circuit system for a flexible trigger mechanism for at least two modules is provided, in which these at least two modules need not have any special topological feature for the common triggering, and the common triggering need not take place on the basis of a global time base. The described trigger mechanism can be actuated by a time event, a CPU trigger, or a trigger event of one or more connected hardware unit(s). In addition, the output trigger mechanisms can be used in parallel with one another, the output trigger mechanisms being capable of being actuated both by hardware and by software.
In order to produce a time base, or time bases, a time base unit (TBU) can be used that can provide a common time base for the microcontroller. The time base unit, or time base submodule, is organized in channels, the number of channels being independent of the device. At least two channels are implemented inside the TBU. Typically, each of the channels has a time base register having a length of 24 bits. However, other lengths, such as 16 bits, 32 bits, etc., may be provided. The time base channels can be operated independently of one another.
Further advantages and embodiments of the present invention result from the description and from the figures.
Of course, the features described above and explained below may be used not only in the indicated combination, but also in other combinations, or by themselves, without departing from the scope of the present invention.
The present invention is schematically shown on the basis of specific example embodiments in the figures, and is described in detail below with reference to the figures.
The target value ACT_TB is compared to an input signal that is given by time bases 18 or 20 or 22, and based on the comparison a trigger is actuated.
Values of time bases TBU_TS0120, TBU_TS1122, and TBU_TS2124 are inputted into the two trigger channels 102 and 104 as input signals. Outputs of the two trigger channels 102 and 104 are the signals OUTEN 130, ENDIS 132, FUPD 134, and UPEN 136. In addition, a trigger signal TRIG 138 is provided. This trigger signal 138 is to be divided into TRIG_0140 through TRIG_7142, TRIG_8144 through TRIG_15146.
Further input signals are TOM_TRIG[i-1] 150, CMU_FXCLK 152, SPE0_OUT 154, and SPE7_OUT 156 (SPE: Sensor Pattern Evaluation). The SPE is a module that evaluates the inputs of sensors, for example Hall sensors. Output signals are TOM_CH0160, TOM_CH0_SOUR 162, TOM_CH8_OUT 164, TOM_CH15_OUT 166, and TOM_TRIG_[i] 168.
In addition, the trigger mechanism has output structures that process the overall triggers resulting from the input triggers and actuate corresponding output triggers and actions in the connected hardware modules (TOM). As an output trigger mechanism, for example the switching off or switching on of a plurality of hardware units can take place in parallel (ENDIS_CTRL, ENDIS_STAT). The controlling of whether switching off or switching on takes place is realized using a register 42 ENDIS_CTRL, where those hardware units are marked that are to be jointly switched on or off when the trigger occurs. The current state as to whether a unit is switched on or off can be determined by reading register 52 ENDIS_STAT. In addition, via the bus interface the CPU can directly simultaneously switch a plurality of channels on or off by writing directly to register 52 ENDIS_STAT.
A further output mechanism can connect or disconnect the output signals of the hardware unit (TOM). Here, it is again possible to regulate this via the resulting trigger (OUTEN_CTRL) or from the CPU using register 50 OUTEN_STAT.
A still further output mechanism is the simultaneously forced update of parameters in the connected hardware units (FUPD_CTRL). There, in register 38 it is entered at which of the connected hardware units the parameters are to be simultaneously updated. Of course, the output trigger mechanisms can also be applied to individual hardware modules.
Number | Date | Country | Kind |
---|---|---|---|
10 2010 003 558 | Mar 2010 | DE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/EP2011/053973 | 3/16/2011 | WO | 00 | 12/26/2012 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2011/120806 | 10/6/2011 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
7096139 | Miyazaki et al. | Aug 2006 | B2 |
20030084272 | Hill | May 2003 | A1 |
20050225310 | Smith et al. | Oct 2005 | A1 |
20060053343 | Hayem | Mar 2006 | A1 |
Number | Date | Country |
---|---|---|
10 2008 000 561 | Sep 2009 | DE |
62-32251 | Feb 1987 | JP |
62-186034 | Aug 1987 | JP |
7-197840 | Aug 1995 | JP |
8-14078 | Jan 1996 | JP |
8-210168 | Aug 1996 | JP |
8-210209 | Aug 1996 | JP |
2000-18068 | Jan 2000 | JP |
2001-98991 | Apr 2001 | JP |
2003-254139 | Sep 2003 | JP |
2003-314355 | Nov 2003 | JP |
2007-132315 | May 2007 | JP |
2009-57909 | Mar 2009 | JP |
2009-57928 | Mar 2009 | JP |
2009-235956 | Oct 2009 | JP |
2010-180824 | Aug 2010 | JP |
Entry |
---|
International Search Report, PCT International Application No. PCT/EP2011/053673, dated Sep. 20, 2011. |
Hartwich, F., et al., “CAN Network with Time Triggered Communication.” Jun. 16, 2011 <retrieved from: http://web.archive.org/web/20010615082442/http://www.can.bosch.com/docu/CIA2000Paper—2.pdf>. |
Number | Date | Country | |
---|---|---|---|
20130140909 A1 | Jun 2013 | US |