Technical Field
[0001] The present invention pertains to a method of updating maximum or minimum values
of measurement data of various types of physical quantities resulting from sensors
or the like and particularly relates to shortening processing time and curtailing
data quantities required for updating.
Background Art
[0002] Conventionally, in operation control of automobiles such as, for example, fuel injection
control, measurement values of various types of physical quantities, such as engine
coolant temperature, fuel temperature and the temperature of a diesel particulate
filter (hereinafter called "DPF"), are directly and indirectly used.
[0003] Incidentally, in automobiles of recent years, electronic control devices for electronically
controlling the operation thereof are installed, and there are many electronic control
devices configured such that not only operation control for vehicle travel is performed,
but also, when some kind of problem arises in the vehicle operation, operation analysis
thereof is performed.
[0004] For example, sometimes electronic control devices are configured such that, in regard
to the engine coolant temperature, the fuel temperature and the DPF temperature discussed
above, judgment processing of whether or not abnormal overheating had occurred in
the past at respective temperature measurement places is executed by the electronic
control device as one operation analysis. For that reason, electronic control devices
are configured such that, in regard to these temperatures, for example, at each predetermined
period, a maximum temperature within that period is acquired, the electronic control
device compares that maximum temperature with a maximum temperature that has been
acquired most recently, and when that maximum temperature exceeds the maximum temperature
that has been acquired most recently, that maximum temperature is stored in a nonvolatile
storage element or the like as a new maximum temperature, so that when the electronic
control device executes operation analysis, those stored data are used in judgment
processing.
[0005] When an electronic control device periodically updates and stores this maximum temperature,
a situation where abnormal data caused by a temporary problem in the sensor, such
as, for example, a temporary disconnection, a short, or noise, are erroneously used
as update values must be avoided as much as possible.
[0006] As measures to avoid the acquisition of abnormal data, for example, a technique that
uses a so-called mean value of data and a technique that uses a median value of data
have conventionally been known (e.g., see patent document 1, etc.).
[0007] Moreover, a technique configured to calculate estimate values of desired physical
quantities by arithmetic processing in addition to measurement data and to be able
to use those in operation control and the like has been proposed (e.g., see patent
document 2, etc.).
[0008] However, in the methods that use a mean value or a median value of measurement values,
there are the problems that a large quantity of past data are required, so a large
storage area for saving data, or in other words a large-capacity storage element,
is required, which not only incurs an increase in the cost of the device but also
requires more time for data processing, incurs an increase in the computational load
of a microcomputer that performs arithmetic processing, and can affect the processing
capability of operation control overall.
Patent document 1: Japanese Patent No.
2,852,059
Patent document 2: Japanese Patent No.
3,849,357 Further,
US 5 214 580 A discloses a process for identifying discrete data representative of an input sample
stream wherein a maximum sample becomes the next output sample if a minimum sum is
greater than the last output sample.
Disclosure of the Invention
Problems to be Solved by the Invention
[0009] The present invention has been made in view of the above-described circumstances
and provides a data update processing method that can reliably perform updating of
maximum values or minimum values of measurement data with a simple procedure without
incurring an increase in the computational load of an arithmetic processing element
or an arithmetic processing device such as a microcomputer.
[0010] It is another object of the present invention to provide a vehicle operation control
device that can reliably perform updating of maximum values or minimum values of temperature
data with a simple configuration without incurring an increase in the computational
load of an arithmetic processing element such as a microcomputer.
Means for Solving the Problems
[0011] According to a first aspect of the present invention, there is provided a data update
processing method for updating maximum values of data each time predetermined pieces
of data is acquired, the maximum value update processing repeats comparing, each time
data are acquired, a value of that acquired data and a most recent minimum value and
setting the smaller value as a new minimum value, and, each time updating of this
minimum value is repeated the predetermined number, comparing the minimum value and
the maximum value at that point in time and setting the larger value as a new maximum
value, to perform maximum value updating.
[0012] According to a second aspect of the present invention, there is provided a data update
processing method for updating minimum values of data each time predetermined pieces
of data is acquired, the minimum value update processing repeats comparing, each time
data are acquired, a value of that acquired data and a most recent maximum value and
setting the larger value as a new maximum value, and, each time updating of this maximum
value is repeated the predetermined number, comparing the minimum value at that point
in time and the maximum value and setting the smaller value as a new minimum value,
to perform minimum value updating.
[0013] According to a third aspect of the present invention, there is provided a vehicle
operation control device equipped with an electronic control unit configured such
that it can sequentially update a maximum value of acquired temperature data, store
that update value in a nonvolatile storage element, and supply that stored maximum
value for operation control of a vehicle as needed, wherein
the electronic control unit is configured to compare, each time temperature data are
acquired, a value of the acquired temperature data and a minimum value of most recent
temperature data and set the smaller value as a new minimum value, and, each time
updating of this minimum value is repeated a predetermined number, compare the minimum
value at that point in time and the maximum value, set the larger value as a new maximum
value and write the new maximum value in the nonvolatile storage element.
Advantage of the Invention
[0014] According to the present invention, the processing procedure is simple, so the invention
achieves the effects that update processing whose reliability is high is reliably
performed without increasing the computational load in an arithmetic element and without
taking in as update values abnormal data caused by noise or the like, and therefore
the invention can contribute to improving the reliability of device operation.
Brief Description of Drawings
[0015]
FIG. 1 is a configural diagram showing one configural example of a vehicle operation
control device to which a data update processing method of an embodiment of the present
invention is applied.
FIG. 2 is a sub-routine flowchart showing an overall procedure of temperature update
processing that is executed in an electronic control unit of the vehicle operation
control device shown in FIG. 1.
FIG. 3 is a sub-routine flowchart showing a maximum value update procedure resulting
from the data update processing of the embodiment of the present invention.
FIG. 4 is a sub-routine flowchart showing a minimum value update procedure resulting
from the data update processing of the embodiment of the present invention.
FIG. 5 is a schematic diagram schematically showing updating of maximum values resulting
from the data update processing of the embodiment of the present invention.
FIG. 6 is a chart showing specific numerical value examples of updating of maximum
values resulting from the data update processing of the embodiment of the present
invention.
Explanation of Codes
[0016]
| 1 |
Electronic Control Unit |
| 2 |
Analog/Digital Converter |
| 3 |
Fuel Injection Pump |
| 4 |
Nonvolatile Storage Element |
| 5 |
Coolant Temperature Sensor |
| 6 |
Fuel Temperature Sensor |
| 7 |
DPF Temperature Sensor |
Description of Specific Embodiment
[0017] An embodiment of the present invention will be described below with reference to
FIG. 1 to FIG. 6.
[0018] It will be noted that the members and arrangements described below are not intended
to limit the present invention and can be variously modified within the scope of the
gist of the present invention.
[0019] First, one configural example of a device to which a maximum value/minimum value
update processing method of the embodiment of the present invention is applied will
be described with reference to FIG. 1.
[0020] The device shown in FIG. 1 is one configural example of a vehicle operation control
device and in particular generally shows parts relating to engine coolant temperature,
fuel temperature and the temperature of a diesel particulate filter (hereinafter called
"DPF") to which data update processing of the embodiment of the present invention
is applied and whose maximum values are updated.
[0021] That is, the vehicle operation control device in FIG. 1 is configured to include
an electronic control unit (written as "ECU" in FIG. 1) 1 and an analog/digital converter
(written as "A/D" in FIG. 1) 2 that converts output signals of various types of analog
sensors and the like into digital signals, and operation control of a vehicle, such
as the fuel injection timing of a fuel injection pump 3, is executed by the electronic
control unit 1.
[0022] The electronic control unit 1 is equipped with a microcomputer (not shown) having,
for example, a publicly-known/well-known configuration, volatile storage elements
(not shown) such as a RAM and a ROM, and a nonvolatile storage element (written as
"EEPROM" in FIG. 1) 4 represented by an EEPROM, and the electronic control unit 1
is configured using an input interface circuit (not shown) and an output interface
circuit (not shown) as main components.
[0023] The output signals of the various types of analog sensors are inputted to the electronic
control unit 1 via the analog/digital converter 2 for operation control and failure
analysis of the fuel injection pump 3.
[0024] In the vehicle operation control device in the configural example of FIG. 1, of the
variously disposed sensors, engine coolant temperature, fuel temperature and DPF temperature
can be cited as temperatures suited for using a later-discussed data update processing
method to perform maximum value updating. Additionally, in the configural example
of FIG. 1, a coolant temperature sensor 5 that detects the engine coolant temperature,
a fuel temperature sensor 6 that detects the fuel temperature and a DPF temperature
sensor 7 that detects the temperature of a DPF (not shown) are shown as representatives
of the variously disposed sensors, and output signals of these are inputted via the
analog/digital converter 2.
[0025] In FIG. 2, there is shown a flowchart showing an overall procedure of data update
processing that is executed in the electronic control unit 1, and the procedure of
this data update processing will be described below with reference to the same drawing.
[0026] When processing is started, first, update processing of a maximum value of the engine
coolant temperature is performed (see step S100 in FIG. 2). Then, next, update processing
of a maximum value of the fuel temperature is performed (see step S200 in FIG. 2),
and, next, update processing of a maximum value of the DPF temperature is performed
(see step S300 in FIG. 2).
[0027] It will be noted that the order in which each of the aforementioned temperatures
is updated is only one example and is naturally not limited to the order discussed
above.
[0028] Update processing of all of these maximum values is configured such that later-discussed
data update processing is respectively executed and respective maximum values are
rewritten at predetermined periods in storage areas respectively ensured within the
nonvolatile storage element 4.
[0029] It will be noted that, after the processing of step S300, the flow returns to an
unillustrated main routine, and when, for example, failure analysis processing is
executed, maximum values are updated by the update processing discussed above such
that the maximum values stored in the nonvolatile storage element 4 are adequately
used.
[0030] In FIG. 3, there is shown a sub-routine flowchart showing a procedure of data update
processing of the embodiment of the present invention, and that processing procedure
will be described below with reference to the same drawing.
[0031] The data update processing procedure shown in FIG. 3 is particularly for updating
maximum values.
[0032] To describe this specifically below, when processing is started, first, it is determined
whether or not initialization has been completed (see step S402 in FIG. 3). That is,
when the series of processing is started, it is determined whether or not a variable
or the like has been set to a predetermined initial value, and when it is determined
that initialization has not been completed (in the case of NO), the flow proceeds
to the processing of next-discussed step S404, and when it is determined that initialization
has been completed (in the case of YES), the flow proceeds to the processing of later-discussed
step S406.
[0033] In step S404, a maximum value of most recent temperature data stored in the nonvolatile
storage element 4 is written to a maximum value-use variable Xmax, a positive maximum
value is written to a minimum value-use variable Xmin, and a number-of-times-of-processing-use
variable n is initialized to zero.
[0034] Here, in FIG. 3, the nonvolatile storage element 4 is conveniently written as "EEPROM".
Further, the maximum value stored in the nonvolatile storage element 4 specifically
is the maximum value of the engine coolant temperature that has been stored most recently
when the series of processing shown in FIG. 3 is used in the engine coolant temperature
maximum value update processing described before (see step S100 in FIG. 2), the maximum
value stored in the nonvolatile storage element 4 is the maximum value of the fuel
temperature that has been stored most recently when the series of processing shown
in FIG. 3 is used in the fuel temperature maximum value update processing (see step
S200 in FIG. 2), and the maximum value stored in the nonvolatile storage element 4
is the maximum value of the DPF temperature that has been stored most recently when
the series of processing shown in FIG. 3 is used in the DPF temperature maximum value
update processing (see step S300 in FIG. 2).
[0035] Further, in step S404, a positive infinity is written as the positive maximum value
to the minimum value-use variable Xmin, but in actuality, a maximum numerical value
that is written in a register (not shown) within the electronic control unit 1 that
is used in order to temporarily store data of the minimum value-use variable Xmin
is written. That is, assuming that the register has a total 8-bit capacity, the writable
maximum numerical value becomes 2
8-1=255.
[0036] Next, in step S406, it is determined whether or not a value of the number-of-times-of-processing-use
variable n is below a predetermined number of times of processing Ns, and when it
is determined that the value of the number-of-times-of-processing-use variable n is
below the predetermined number of times of processing Ns (in the case of YES), it
is still necessary to continue to execute processing, so a measurement value Xk of
the temperature being acquired at this point in time and the value of the minimum
value-use variable Xmin are compared, and the smaller value is written to the minimum
value-use variable Xmin and is set as a new variable value. Further, at the same time,
the sum of "1" and the number-of-times-of-processing-use variable n at this point
in time is set as a new value of the number-of-times-of-processing-use variable n.
[0037] Here, the predetermined number of times of processing Ns corresponds to the number
of measurement values that are taken in until updating of the maximum value is performed,
but it is not necessary for the predetermined number of times of processing Ns to
be limited to a particular value; basically, the predetermined number of times of
processing Ns can be arbitrarily set, but it is preferable to consider the speed at
which the physical quantity that becomes the target of updating changes.
[0038] That is, for example, when temperature data are the target, it is not necessary for
the value of the predetermined number of times of processing Ns to be set to that
large of a numerical value when the temperature change is relatively gradual, but
when temperature data that change from moment to moment within a comparatively short
amount of time are the target, it is preferable to set the value of Ns to a relatively
large numerical value. It will be noted that whatever value specifically is suitable
will variously differ depending on the speed at which the target physical quantity
changes, the precision of the update value that is needed, and frequency of updating,
so it is preferable to determine the value by experiments and simulations based on
those specific numerical values.
[0039] After the processing of step S408, the flow returns to the main routine and, after
other necessary processing, the series of processing discussed above is again repeated.
It will be noted that, in the embodiment of the present invention, the main routine
is any of the engine coolant temperature maximum value update processing (step S 100
in FIG. 2), the fuel temperature maximum value update processing (see step S200 in
FIG. 2) and the DPF temperature maximum value update processing (see step S300 in
FIG. 2) to which this series of processing is applied.
[0040] In step S410, in correspondence to it having been determined that the value of the
number-of-times-of-processing-use variable n is not below the predetermined number
of times of processing Ns, in order to end the series of update processing, the value
of the maximum value-use variable Xmax at this point in time and the value of the
minimum value-use variable Xmin are compared and the value whose numerical value is
larger is written to the maximum value-use variable Xmax, whereby maximum value updating
is performed. Further, at the same time, the new value of the maximum value-use variable
Xmax is written in a predetermined area in the nonvolatile storage element 4, the
value of the minimum value-use variable Xmin is again set to the maximum value, the
number-of-times-of-processing-use variable n is initialized to zero, the series of
processing is ended, and the flow returns to the corresponding main routine as mentioned
before.
[0041] In FIG. 5, there is schematically shown updating of maximum values of temperature
data when the predetermined number of times of processing Ns is 5, and maximum value
updating in the example shown in the same drawing will be described below.
[0042] First, in FIG. 5, the black dots and the double-circle dots respectively represent
temperature data that have been acquired, and the numerical values next to those dots
represent the order in which the temperature data have been acquired. Further, in
the same drawing, the two-dotted chain line represents changes in the update value
of the maximum value.
[0043] Under this presupposition, first, in section sec=0 in the same drawing, the temperature
data represented by the double-circle dot to which "4" has been added is a minimum
value in that section and is set as a maximum value of the temperature data at the
point in time when this section sec=0 ends (see the two-dotted chain line in FIG.
5). It will be noted that, in this case, when executing step S410 in FIG. 3, it is
presupposed that the value of the maximum value-use variable Xmax or in other words
the value that is written to Xmax from the nonvolatile storage element 4 in step S404,
is small in comparison to the value of the temperature at the dot to which "4" has
been added in section sec=0.
[0044] Next, in section sec=1, the temperature data represented by the double-circle dot
to which "3" has been added is a minimum value in that section and is set as a maximum
value of the temperature data at the point in time when this section sec=1 ends (see
the two-dotted chain line in FIG. 5).
[0045] Thereafter, in the same manner, the minimum value of the temperature data in each
section of sec=2 to sec=4 is set as the maximum value of the temperature data, whereby
maximum value updating is performed.
[0046] In this manner, by performing maximum value data updating on the basis of the data
update processing method of the embodiment of the present invention, a situation where
abnormal values that stand out such as indicated by the white arrows in FIG. 5 and
whose cause may be considered to be noise or the like are updated as maximum values
becomes reliably prevented.
[0047] In FIG. 6, in specific numerical value examples, there are shown, in a chart, specific
numerical value examples obtained by executing the data update processing shown in
FIG. 3, and these specific examples will be described below with reference to the
same drawing and FIG. 3.
[0048] First, in FIG. 6, "EEPROM" means the nonvolatile storage element 4 and "A/D" means
the analog/digital converter 2. Further, "N" means the number of times of processing
in total. It will be noted that, in FIG. 6, "Xmax", Xmin" and "n" are as has been
discussed before in the description of FIG. 3.
[0049] Further, in the case of this example, the predetermined number of times of processing
Ns described in FIG. 3 is 5.
[0050] Additionally, it will be assumed that a maximum value 30 is stored and saved in the
nonvolatile storage element 4 at the point in time when processing starts.
[0051] Under this presupposition, when processing is started, the "30" that is stored and
saved in the nonvolatile storage element 4 is written to the maximum value-use variable
Xmax, a positive maximum value is written to the minimum value-use variable Xmin,
and 0 is written to the number-of-times-of-processing-use variable n (see step S404
in FIG. 3 and column N=1 in FIG. 6).
[0052] Next, at the point in time when N=2, for example, "10" is inputted as a measurement
value Xk to the electronic control unit 1 via the analog/digital converter 2 as the
engine cooling water value temperature detected by the coolant temperature sensor
5. At this point in time, n is less than Ns (see step S406 in FIG. 3), so the smaller
value of Xmin=∞ and Xk=10, that is, "10", is written to the minimum value-use variable
Xmin, and n is increased by 1 such that n=1 (see column N=2 in FIG. 6).
[0053] Next, at the point in time when N=3, assuming that Xk=20 has been inputted, n is
still less than Ns (see step S406 in FIG. 3), so the smaller value of Xmin=10 and
Xk=20 is selected as Xmin, and, as a result, in this case Xmin=10 is maintained as
is.
[0054] Next, at the point in time when N=4, assuming that Xk=100 has been inputted, n is
still less than Ns (see step S406 in FIG. 3), so the smaller value of Xmin=10 and
Xk=100 is selected as Xmin, and, as a result, Xmin=10 is maintained as is in the same
manner as previously.
[0055] Moreover, at the point in time when N=5, assuming that Xk=40 has been inputted, n
is still less than Ns (see step S406 in FIG. 3), so Xmin=10 is, as the smaller value
of Xmin=10 and Xk=40, maintained as is in the same manner as previously.
[0056] Then, at the point in time when N=6, n<Ns is not established, so Xmax=30 and Xmin=10
are compared, the larger value of these, that is, "30", is written anew as Xmax in
the nonvolatile storage element 4, Xmin=∞ is set and n=0 is set (see step S410 in
FIG. 3). Then, the same processing is again repeated (see column N=7 to 11 in FIG.
6). In this example, in section N=7 to 11, the maximum value of the measurement values
Xk is 50 and Xmax=30, so when these sections end, "50" is selected as the value of
Xmax and is written in the nonvolatile storage element 4 as a new value of Xmax by
the processing of step S410 shown in FIG. 3.
[0057] Next, in section N=12 to 16, the processing shown in FIG. 3 is repeatedly performed.
In this section, a negative value "-100" is inputted just once as Xk (see column N=14
in FIG. 6).
[0058] Then, when this section ends, the processing of step S410 shown in FIG. 3 is executed,
whereby the larger value of Xmax=50 and Xmin=-100, that is, "50", is selected and
is written anew as the value of Xmax in the nonvolatile storage element 4 (see column
N=16 in FIG. 6).
[0059] In this manner, in the data update processing method of the embodiment of the present
invention, regardless of whether the data are positive or negative, even when abnormal
values of the measurement values Xk such as at N=4 and N=14 in FIG. 6, for example,
caused by noise or the like, for example, occur, a situation where these abnormal
values are updated as maximum values can be reliably prevented.
[0060] The data update processing method discussed above is particularly suited for updating
maximum values, but it can also be applied to updating minimum values by basically
the same procedure by reversing the relationship between the maximum values and the
minimum values in FIG. 3.
[0061] In FIG. 4, there is shown a data update processing procedure suited for updating
minimum values, and the minimum value update procedure will be described below with
reference to the same drawing. It will be noted that content that is the same as that
of the processing procedure shown in FIG. 3 will be appropriately kept to general
description and that redundant detailed description will be omitted.
[0062] First, it is determined whether or not initialization has been completed (see step
S502 in FIG. 4), and when it is determined that initialization has not been completed
(in the case of NO), the flow proceeds to the processing of next-discussed step S504,
and when it is determined that initialization has been completed (in the case of YES),
the flow proceeds to the processing of later-discussed step S506.
[0063] It will be noted that this initialization is as has been described in step S402 in
FIG. 3, so redundant detailed description here will be omitted.
[0064] In step S504, a minimum value of the most recent temperature data stored in the nonvolatile
storage element 4 is written to the minimum value-use variable Xmin, a negative maximum
value is written to the maximum value-use variable Xmax, and the number-of-times-of-processing-use
variable n is initialized to zero.
[0065] Here, in FIG. 4, the nonvolatile storage element 4 is conveniently written as "EEPROM".
Further, as for the maximum value stored in the nonvolatile storage element 4, basically
the same as what has been described before in S404 in FIG. 3, there is written a value
where a negative sign has been added to the maximum numerical value that can be written
in the register (not shown) within the electronic control unit 1 that is used in order
to temporarily store the data of the maximum value-use variable Xmax.
[0066] Next, in step S506, it is determined whether or not the value of the number-of-times-of-processing-use
variable n is below the predetermined number of times of processing Ns, and when it
is determined that the value of the number-of-times-of-processing-use variable n is
below the predetermined number of times of processing Ns (in the case of YES), it
is still necessary to continue to execute updating of the maximum values, so a measurement
value Xk of the temperature being acquired at this point in time and the value of
the maximum value-use variable Xmax are compared, and the larger value is written
to the maximum value-use variable Xmax. Further, at the same time, the sum of "1"
and the number-of-times-of-processing-use variable n at this point in time is set
as a new value of the number-of-times-of-processing-use variable n.
[0067] After the processing of step S508, the flow returns to the main routine and, after
other necessary processing, the aforementioned series of processing is again repeated.
It will be noted that, in the embodiment of the present invention, the main routine
is any of the engine coolant temperature maximum value update processing (step S 100
in FIG. 2), the fuel temperature maximum value update processing (see step S200 in
FIG. 2) and the DPF temperature maximum value update processing (see step S300 in
FIG. 2) to which this series of processing is applied.
[0068] In step S510, in correspondence to it having been determined that the number-of-times-of-processing-use
variable n is not below the predetermined number of times of processing Ns, in order
to end the series of update processing, the value of the minimum value-use variable
Xmin at this point in time and the value of the maximum value-use variable Xmax are
compared and the value whose numerical value is smaller is written to the minimum
value-use variable Xmin, whereby minimum value updating is performed. Further, at
the same time, the new value of the minimum value-use variable Xmin is written in
a predetermined area in the nonvolatile storage element 4, a negative maximum value
is written to the maximum value-use variable Xmax, the number-of-times-of-processing-use
variable n is initialized to zero, the series of processing is ended, and the flow
returns to the corresponding main routine as mentioned before.
[0069] It will be noted that, in the embodiment discussed above, the electronic control
unit 1 has been described as being configured to be capable of implementing just one
of either updating maximum values by the data update processing shown in FIG. 3 or
updating minimum values by the data update processing shown in FIG. 4, but the electronic
control unit 1 may also be configured such that it can use a so-called flag to selectively
execute either one as desired.
[0070] That is, for example, a processing selection-use flag for selecting updating maximum
values or updating minimum values may be disposed, so that the electronic control
unit 1 executes maximum value update processing by the data update processing shown
in FIG. 3 when the value of that flag is set to "1" and executes minimum value update
processing by the data update processing shown in FIG. 4 when the value of that flag
is set to "0".
[0071] The invention can execute data update processing while maintaining high reliability
without increasing the load in an arithmetic element, so the invention can be applied
to vehicle operation control devices and the like where update processing of various
types of data is required.
1. A data update processing method for updating maximum values of measurement data of
physical quantities resulting from sensors each time predetermined pieces of measurement
data is acquired, comprising:
upon commencing processing, writing a maximum value obtained in the most recent data
update processing in a maximum value-use variable and then writing a positive maximum
value that can be written to a register used for storing data of a minimum value-use
variable in the minimum value-use variable, each time data are acquired, after commencing
the processing, comparing a value of the acquired data and a value of the minimum
value-use variable and setting the smaller value to the minimum value-use variable
as a new minimum value and, each time updating of the minimum value-use variable is
repeated the predetermined number, comparing the value of the minimum value-use variable
and value of the maximum value-use variable at that point in time, setting the larger
value to the maximum value-use variable as a new maximum value, and writing a positive
maximum value that can be written to the register used for storing data of the minimum
value-use variable in the minimum value-use variable, to perform maximum value updating.
2. A data update processing method for updating minimum values of measurement data of
physical quantities resulting from sensors each time predetermined pieces of measurement
data is acquired, comprising:
upon commencing processing, writing a minimum value obtained in the most recent data
update processing in a minimum value-use variable and then writing a negative maximum
value that can be written to a register used for storing data of a maximum value-use
variable in the maximum value-use variable, each time data are acquired after commencing
the processing, comparing a value of the acquired data and a value of the maximum
value-use variable and setting the larger value to the maximum value-use variable
as a new maximum value, and, each time updating of the maximum value-use variable
is repeated the predetermined number, comparing the value of the minimum value-use
variable and value of the maximum value-use variable at that point in time, setting
the smaller value to the minimum value-use variable as a new minimum value, and writing
a negative maximum value that can be written to the register used for storing data
of the maximum value-use variable in the maximum value-use variable, to perform minimum
value updating.
3. A data update processing method that performs updating of minimum values or maximum
values of measurement data of physical quantities resulting from sensors, wherein
the method enables selection of either updating of maximum values or updating of minimum
values depending on a numerical value that has been set in a processing selection-use
flag,
the method performs maximum value update processing when updating of maximum values
has been selected by the processing selection-use flag and performs minimum value
update processing when updating of minimum values has been selected by the processing
selection-use flag, the maximum value updating comprising:
upon commencing processing, writing a maximum value obtained in the most recent data
update processing in a maximum value-use variable and then writing a positive maximum
value that can be written to a register used for storing data of a minimum value-use
variable in the minimum value-use variable,
each time data are acquired, after commencing the processing,
comparing a value of the acquired data and a value of the minimum value-use variable
and setting the smaller value to the minimum value-use variable as a new minimum value
and,
each time updating of the minimum value-use variable is repeated the predetermined
number, comparing the value of the minimum value-use variable and value of the maximum
value-use variable at that point in time, setting the larger value to the maximum
value-use variable as a new maximum value, and
writing a positive maximum value that can be written to the register used for storing
data of the minimum value-use variable in the minimum value-use variable, to thereby
perform maximum value updating, and
the minimum value updating comprising
upon commencing processing, writing a minimum value obtained in the most recent data
update processing in a minimum value-use variable and then writing a negative maximum
value that can be written to a register used for storing data of a maximum value-use
variable in the maximum value-use variable, each time data are acquired after commencing
the processing, comparing a value of the acquired data and a value of the maximum
value-use variable and setting the larger value to the maximum value-use variable
as a new maximum value, and, each time updating of the maximum value-use variable
is repeated the predetermined number, comparing the value of the minimum value-use
variable and value of the maximum value-use variable at that point in time, setting
the smaller value to the minimum value-use variable as a new minimum value, and writing
a negative maximum value that can be written to the register used for storing data
of the maximum value-use variable in the maximum value-use variable, to thereby perform
minimum value updating.
4. A vehicle operation control device equipped with an electronic control unit configured
such that it can sequentially update a maximum value of acquired temperature data,
store that update value in a nonvolatile storage element, and supply that stored maximum
value for operation control of a vehicle as needed, wherein
the electronic control unit is configured to, upon commencing processing, writing
a maximum value obtained in the most recent temperature data update processing in
a maximum value-use variable and then writing a positive maximum value that can be
written to a register used for storing temperature data of a minimum value-use variable
in the minimum value-use variable, each time temperature data are acquired, after
commencing the processing, comparing a value of the acquired temperature data and
a value of the minimum value-use variable and setting the smaller value to the minimum
value-use variable as a new minimum value and, each time updating of the minimum value-use
variable is repeated the predetermined number, comparing the value of the minimum
value-use variable and value of the maximum value-use variable at that point in time,
setting the larger value to the maximum value-use variable as a new maximum value,
and writing a positive maximum value that can be written to the register used for
storing data of the minimum value-use variable in the minimum value-use variable,
to perform maximum value updating.
1. Datenaktualisierungsverarbeitungsverfahren zum Aktualisieren von Maximalwerten von
Messdaten physikalischer Größen, die sich aus Sensoren ergeben, jedes Mal, wenn vorgegebene
Stücke von Messdaten erfasst werden, das umfasst:
nach dem Einleiten der Verarbeitung, Schreiben eines Maximalwertes, der in der neuesten
Datenaktualisierungsverarbeitung erhalten wurde, in eine Maximalwertnutzungsvariable
und dann Schreiben eines positiven Maximalwerts, der in ein Register geschrieben werden
kann, das zum Speichern von Daten einer Minimalwertnutzungsvariablen verwendet wird,
in die Minimalwertnutzungsvariable,
jedes Mal, wenn Daten nach dem Einleiten der Verarbeitung erfasst werden,
Vergleichen eines Werts der erfassten Daten und eines Werts der Minimalwertnutzungsvariablen
und Zuweisen des kleineren Werts zur Minimalwertnutzungsvariable als ein neuer Minimalwert
und jedes Mal, wenn das Aktualisieren der Minimalwertvariablen in der vorgegebenen
Anzahl wiederholt wird,
Vergleichen des Werts der Minimalwertnutzungsvariablen und des Werts der Maximalwertnutzungsvariablen
zu diesem Zeitpunkt, Zuweisen des größeren Werts zur Maximalwertnutzungsvariable als
ein neuer Maximalwert und Schreiben eines positiven Maximalwerts, der in das Register
geschrieben werden kann, das zum Speichern von Daten der Minimalwertnutzungsvariablen
verwendet wird, in die Minimalwertnutzungsvariable, um das Aktualisieren des Maximalwerts
auszuführen.
2. Datenaktualisierungsverarbeitungsverfahren zum Aktualisieren von Minimalwerten von
Messdaten physikalischer Größen, die sich aus Sensoren ergeben, jedes Mal, wenn vorgegebene
Stücke von Messdaten erfasst werden, das umfasst:
nach dem Einleiten der Verarbeitung, Schreiben eines Minimalwertes, der in der neuesten
Datenaktualisierungsverarbeitung erhalten wurde, in eine Minimalwertnutzungsvariable
und dann Schreiben eines negativen Maximalwerts, der in ein Register geschrieben werden
kann, das zum Speichern von Daten einer Maximalwertnutzungsvariablen verwendet wird,
in die Maximalwertnutzungsvariable,
jedes Mal, wenn Daten nach dem Einleiten der Verarbeitung erfasst werden,
Vergleichen eines Werts der erfassten Daten und eines Werts der Maximalwertnutzungsvariablen
und Zuweisen des größeren Werts zur Maximalwertnutzungsvariable als ein neuer Maximalwert
und jedes Mal, wenn das Aktualisieren der Maximalwertvariablen in der vorgegebenen
Anzahl wiederholt wird,
Vergleichen des Werts der Minimalwertnutzungsvariablen und des Werts der Maximalwertnutzungsvariablen
zu diesem Zeitpunkt, Zuweisen des kleineren Werts zur Minimalwertnutzungsvariable
als ein neuer Minimalwert und Schreiben eines negativen Maximalwerts, der in das Register
geschrieben werden kann, das zum Speichern von Daten der Maximalwertnutzungsvariablen
verwendet wird, in die Maximalwertnutzungsvariable, um das Aktualisieren des Minimalwerts
auszuführen.
3. Datenaktualisierungsverarbeitungsverfahren, das ein Aktualisieren von Minimalwerten
oder Maximalwerten von Messdaten von physikalischen Größen, die sich aus Sensoren
ergeben, ausführt, wobei
das Verfahren das Auswählen entweder des Aktualisierens von Maximalwerten oder des
Aktualisierens von Minimalwerten abhängig von einem numerischen Wert, der einem Verarbeitungsauswahlnutzungs-Flag
zugewiesen wurde, ermöglicht,
das Verfahren eine Maximalwertaktualisierungsverarbeitung ausführt, wenn das Aktualisieren
von Maximalwerten durch das Verarbeitungsauswahlnutzungs-Flag ausgewählt wurde, und
eine Minimalwertaktualisierungsverarbeitung ausführt, wenn das Aktualisieren von Minimalwerten
durch das Verarbeitungsauswahlnutzungs-Flag ausgewählt wurde, wobei die Maximalwertaktualisierung
umfasst:
nach dem Einleiten der Verarbeitung, Schreiben eines Maximalwertes, der in der neuesten
Datenaktualisierungsverarbeitung erhalten wurde, in eine Maximalwertnutzungsvariable
und dann Schreiben eines positiven Maximalwerts, der in ein Register geschrieben werden
kann, das zum Speichern von Daten einer Minimalwertnutzungsvariablen in der Minimalwertnutzungsvariablen
verwendet wird, in die Minimalwertnutzungsvariable, jedes Mal, wenn Daten nach dem
Einleiten der Verarbeitung erfasst werden, Vergleichen eines Werts der erfassten Daten
und eines Werts der Minimalwertnutzungsvariablen und Zuweisen des kleineren Werts
zur Minimalwertnutzungsvariable als ein neuer Minimalwert und, jedes Mal, wenn das
Aktualisieren der Minimalwertvariablen in der vorgegebenen Anzahl wiederholt wird,
Vergleichen des Werts der Minimalwertnutzungsvariablen und des Werts der Maximalwertnutzungsvariablen
zu diesem Zeitpunkt, Zuweisen des größeren Werts zur Maximalwertnutzungsvariable als
ein neuer Maximalwert und Schreiben eines positiven Maximalwerts, der in das Register
geschrieben werden kann, das zum Speichern von Daten der Minimalwertnutzungsvariablen
verwendet wird, in die Minimalwertnutzungsvariable, um dadurch das Aktualisieren des
Maximalwerts auszuführen, und
die Minimalwertaktualisierung umfasst:
nach dem Einleiten der Verarbeitung, Schreiben eines Minimalwertes, der in der neuesten
Datenaktualisierungsverarbeitung erhalten wurde, in eine Minimalwertnutzungsvariable
und dann Schreiben eines negativen Maximalwerts, der in ein Register geschrieben werden
kann, das zum Speichern von Daten einer Maximalwertnutzungsvariablen verwendet wird,
in die Maximalwertnutzungsvariable, jedes Mal, wenn Daten nach dem Einleiten der Verarbeitung
erfasst werden, Vergleichen eines Werts der erfassten Daten und eines Werts der Maximalwertnutzungsvariablen
und Zuweisen des größeren Werts zur Maximalwertnutzungsvariable als ein neuer Maximalwert,
und, jedes Mal, wenn das Aktualisieren der Maximalwertvariablen in der vorgegebenen
Anzahl wiederholt wird, Vergleichen des Werts der Minimalwertnutzungsvariablen und
des Werts der Maximalwertnutzungsvariablen zu diesem Zeitpunkt, Zuweisen des kleineren
Werts zur Minimalwertnutzungsvariable als ein neuer Minimalwert und Schreiben eines
negativen Maximalwerts, der in das Register geschrieben werden kann, das zum Speichern
von Daten der Maximalwertnutzungsvariablen verwendet wird, in die Maximalwertnutzungsvariable,
um dadurch das Aktualisieren des Minimalwerts auszuführen.
4. Fahrzeugbetriebssteuervorrichtung, die mit einer elektronischen Steuereinheit ausgerüstet
ist, die so konfiguriert ist, dass sie sequentiell einen Maximalwert von erfassten
Temperaturdaten aktualisiert, diesen Aktualisierungswert in einem nichtflüchtigen
Speicherelement speichert und diesen gespeicherten Maximalwert bei Bedarf zur Betriebssteuerung
eines Fahrzeugs liefern kann, wobei die elektronische Steuereinheit konfiguriert ist,
um nach dem Einleiten der Verarbeitung einen Maximalwert, der in der neuesten Temperaturdatenaktualisierungsverarbeitung
erhalten wurde, in eine Maximalwertnutzungsvariable zu schreiben und dann einen positiven
Maximalwert, der in ein Register geschrieben werden kann, das zum Speichern von Temperaturdaten
einer Minimalwertnutzungsvariablen verwendet wird, in die Minimalwertnutzungsvariable
zu schreiben, jedes Mal, wenn Temperaturdaten nach dem Einleiten der Verarbeitung
erfasst werden, einen Wert der erfassten Temperaturdaten und einen Wert der Minimalwertnutzungsvariablen
zu vergleichen und den kleineren Wert der Minimalwertnutzungsvariable als einen neuen
Minimalwert zuzuweisen und, jedes Mal, wenn das Aktualisieren der Minimalwertvariablen
in der vorgegebenen Anzahl wiederholt wird, den Wert der Minimalwertnutzungsvariablen
und den Wert der Maximalwertnutzungsvariablen zu diesem Zeitpunkt zu vergleichen,
den größeren Wert der Maximalwertnutzungsvariable als einen neuen Maximalwert zuzuweisen
und einen positiven Maximalwert, der in das Register geschrieben werden kann, das
zum Speichern von Daten der Minimalwertnutzungsvariablen verwendet wird, in die Minimalwertnutzungsvariable
zu schreiben, um das Aktualisieren des Maximalwerts auszuführen.
1. Procédé de traitement de mise à jour de données pour permettre la mise à jour de valeurs
maximum de données de mesure de grandeurs physiques fournies par des capteurs chaque
fois que des éléments de données de mesures prédéterminés sont acquis comprenant les
étapes consistant à:
au début du traitement, écrire la valeur maximum obtenue dans le traitement de mise
à jour de données le plus récent dans une variable d'utilisation de valeur maximum,
puis écrire la valeur maximum positive qui peut être écrite dans un registre utilisé
pour l'enregistrement de données d'une variable d'utilisation de valeur minimum dans
la variable d'utilisation de valeur minimum, chaque fois que des données sont acquises,
après le début du traitement, comparer la valeur des données acquises et la valeur
de la variable d'utilisation de valeur minimum déposée, et la valeur la plus faible
de la variable d'utilisation de valeur minimum en tant que nouvelle valeur minimum,
et à chaque fois, que la mise à jour de la variable d'utilisation de valeur minimum
est répétée en tant que nombre prédéterminé, comparer la valeur de la variable d'utilisation
de valeur minimum et la valeur de la variable d'utilisation de valeur maximum à cet
instant,
déposer la valeur la plus grande de la variable d'utilisation de valeur maximum en
tant que nouvelle valeur maximum et écrire une valeur maximum positive qui peut être
écrite dans le registre utilisé pour enregistrer des données de la variable d'utilisation
de valeur minimum dans la variable d'utilisation de valeur minimum de façon à effectuer
la mise à jour de la valeur maximum.
2. Procédé de traitement de mise à jour de données pour permettre la mise à jour de valeurs
minimum de données de mesures de grandeurs physiques fournies par des capteurs chaque
fois que des éléments de données de mesures prédéterminés sont acquis, comprenant
les étapes consistant à:
au début du traitement, écrire la valeur minimum obtenue lors du traitement de mise
à jour de données le plus récent dans une variable d'utilisation de valeur minimum
puis écrire la valeur maximum négative qui peut être écrite dans un registre utilisé
pour enregistrer des données d'une variable d'utilisation de valeur maximum dans la
variable d'utilisation de valeur maximum, chaque fois que des données sont obtenues
après le début du traitement, comparer la valeur des données obtenues et la valeur
de la variable d'utilisation de valeur maximum et
déposer la plus grande valeur de la variable d'utilisation de valeurs maximum en tant
que nouvelle valeur maximum, et, à chaque fois que la mise à jour de la variable d'utilisation
de valeur maximum est répétée en tant que nombre prédéterminé, comparer la valeur
de la variable d'utilisation de valeur minimum et la valeur de la variable d'utilisation
de valeur maximum à cet instant,
déposer la valeur la plus faible de la variable d'utilisation de valeur minimum en
tant que nouvelle valeur minimum et écrire une valeur maximum négative qui peut être
écrite dans le registre utilisé pour l'enregistrement de données de la variable d'utilisation
de valeur maximum dans la variable d'utilisation de valeur maximum pour effectuer
la mise à jour de la valeur minimum.
3. Procédé de traitement de mise à jour de données pour permettre d'effectuer la mise
à jour de valeurs minimum ou de valeurs maximum de données de mesure de grandeurs
physiques transmises par des capteurs, selon lequel le procédé permet la sélection
de la mise à jour de valeurs maximum ou de la mise à jour de valeurs minimum en fonction
d'une valeur numérique ayant été déposée dans un drapeau indicateur d'utilisation
de sélection de traitement,
le procédé effectue le traitement de mise à jour de valeur maximum lorsque la mise
à jour de valeurs maximum a été sélectionnée par le drapeau indicateur d'utilisation
de sélection de traitement et effectue le traitement de mise à jour de valeur minimum
lorsque la mise à jour de valeurs minimum a été sélectionnée par le drapeau indicateur
d'utilisation de sélection de traitement, la mise à jour de la valeur maximum comprenant
les étapes consistant à:
au début du traitement, écrire la valeur maximum obtenue lors du traitement de mise
à jour de données le plus récent dans une variable d'utilisation de valeur maximum
puis écrire la valeur maximum positive pouvant être écrite dans un registre utilisé
pour enregistrer des données d'une variable d'utilisation de valeur minimum dans la
variable d'utilisation de valeur minimum, chaque fois que des données sont obtenues
après le début du traitement,
comparer la valeur des données obtenues et la valeur de la variable d'utilisation
de valeur minimum et déposer la valeur la plus faible de variable d'utilisation de
valeur minimum en tant que nouvelle valeur minimum, et, à chaque fois que la mise
à jour de la variable d'utilisation de valeur minimum est répétée, en tant que nombre
prédéterminé, comparer la valeur de la variable d'utilisation de valeur minimum et
la valeur de la variable d'utilisation de valeur maximum à cet instant,
déposer la valeur la plus grande de la variable d'utilisation de valeur maximum en
tant que nouvelle valeur maximum, et écrire une valeur maximum positive pouvant être
écrite dans le registre utilisé pour enregistrer des données de la variable d'utilisation
de valeur minimum dans la variable d'utilisation de valeur minimum pour effectuer
ainsi la mise à jour de la valeur maximum, et
la mise à jour de la valeur minimum comprenant les étapes consistant à:
au début du traitement, écrire la valeur minimum obtenue lors du traitement de mise
à jour de données le plus récent dans une variable d'utilisation de valeur minimum,
puis écrire la valeur maximum négative qui peut être écrite dans un registre utilisé
pour enregistrer des données d'une variable d'utilisation de valeur maximum dans la
variable d'utilisation de valeur maximum, chaque fois que des données sont obtenues
après le début du traitement, comparer la valeur des données obtenues et la valeur
de la variable d'utilisation de valeur maximum et déposer la valeur la plus grande
de la variable d'utilisation de valeur maximum en tant que nouvelle valeur maximum,
et, à chaque fois que la mise à jour de la variable d'utilisation de valeur maximum
est répétée, en tant que nombre prédéterminé, comparer la valeur de la variable d'utilisation
de valeur minimum et la valeur de la variable d'utilisation de valeur maximum à cet
instant, déposer la valeur à la plus faible de la variable d'utilisation de valeur
minimum en tant que nouvelle valeur minimum et écrire une valeur maximum négative
qui peut être écrite dans le registre utilisé pour enregistrer des données de la variable
d'utilisation de valeur maximum dans la variable d'utilisation de valeur maximum pour
effectuer ainsi la mise à jour de la valeur minimum.
4. Dispositif de commande de fonctionnement d'un véhicule équipé d'une unité de commande
électronique conformée de façon à pouvoir mettre à jour de façon séquentielle la valeur
maximum d'une donnée de température obtenue, enregistrer cette valeur mise à jour
dans un élément de mémoire non volatile et fournir cette valeur maximum enregistrée
pour actionner la commande d'un véhicule telle que nécessaire dans lequel:
l'unité de commande électronique est conformée de façon à,
au début du traitement écrire la valeur maximum obtenue lors du traitement de mise
à jour de données de température le plus récent dans une variable d'utilisation de
valeur maximum, puis, écrire la valeur maximum positive qui peut être écrite dans
un registre utilisé pour enregistrer les données de température d'une variable d'utilisation
de valeur minimum dans la variable d'utilisation de valeur minimum, chaque fois que
des données de température sont obtenues, après le début du traitement, comparer la
valeur des données de température obtenues et la valeur de la variable d'utilisation
de valeur minimum, et, déposer la valeur la plus faible de la variable d'utilisation
de valeur minimum en tant que nouvelle valeur minimum, et chaque fois que la mise
à jour de la variable d'utilisation de valeur minimum est répétée en tant que nombre
prédéterminé, comparer la valeur de la variable d'utilisation de valeur minimum et
la valeur de la variable d'utilisation de valeur maximum à cet instant,
déposer la valeur la plus grande de la variable d'utilisation de valeur maximum en
tant que nouvelle valeur maximum, et écrire une valeur maximum positive qui peut être
écrite dans le registre utilisé pour enregistrer les données de la variable d'utilisation
de valeur minimum dans la variable d'utilisation de valeur minimum pour effectuer
la mise à jour de la valeur maximum.