This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2016-046255, filed on Mar. 9, 2016, the entire contents of which are incorporated herein by reference.
The embodiments discussed herein are related to a computer-readable recording medium, a data-acquisition-instruction generating method, and a data-acquisition-instruction generating device.
Conventionally, control design has been performed. In the control design, a set value of a control parameter to be used for control of a target device, which is a target of control design, is changed and the state of the target device is measured by waiting until the state of the target device becomes a steady state. In the control design, a model of the target device is generated based on measured measurement data.
However, when measurement is to be performed by waiting until the state of the target device becomes a steady state for each measurement condition, it takes time to collect measurement data. Therefore, a technique of performing quasi-steady measurement has been proposed. In the quasi-steady measurement, the set value of the control parameter is changed at a speed that can be regarded as steady, and time-series data that can be acquired is used as steady-state data.
Patent Document 1: Japanese Laid-open Patent Publication No. 2008-077376
Patent Document 2: Japanese Laid-open Patent Publication No. 2014-002519
The quasi-steady measurement is used when the number of control parameters is one. However, with an increase of the number of devices, a plurality of control parameters may be used for control of a target device. Therefore, when a plurality of control parameters are to be used, generation of a model of the target device by the quasi-steady measurement is difficult. Therefore, it can be considered to use, for example, a Hilbert curve, to perform the quasi-steady measurement by sequentially changing any one of the plurality of control parameters from a previous measurement point for control of the target device.
When a model of a target device is to be generated, it may be desired to perform detailed measurement for a specific state. For example, it can be considered to generate a model by acquiring fine measurement data for a region having rapid change, and acquiring rough measurement data for a region having slow change. For example, it can be also considered to generate a model by acquiring fine measurement data for a specific region where it is desired to increase the accuracy of the model, and acquiring rough measurement data for other regions.
However, in the Hilbert curve, spaces are filled uniformly. Therefore, a movement instruction by quasi-steady measurement is not generated corresponding to a requisite density, and thus measurement data of the quasi-steady measurement is not acquired with the requisite density.
According to an aspect of an embodiment, a non-transitory computer-readable recording medium stores a data-acquisition-instruction generating program that causes a computer to execute a process including: first generating a plurality of change curves of each of control parameters based on requisite density information, the requisite density information being related to a data measurement density in a data measurement region specified by a combination of a plurality of control parameters, the plurality of control parameters being used by a device subject to the data measurement; and second generating a data acquisition instruction to perform measurement at a plurality of measurement points with respect to the device to be measured in an order in which change of each control parameter becomes change corresponding to the change curves, and new measurement is performed such that only one of the control parameters changes from previous measurement.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention.
Preferred embodiments will be explained with reference to accompanying drawings. The disclosed technique is not limited to the embodiments. The following embodiments can be combined with one another within a range that any contradictions are not caused.
System Configuration
In control design, it is designed how to control a target device by using a model generated based on measurement data obtained by measuring the target device, which is a target of control design. A system according to the present embodiment generates a model of a target device. In the present embodiment, a case where the target device is an engine and control design of the engine is performed is described as an example. In the control design of the engine, it is measured how a state of the engine changes by an operation of the engine in order to determine a numerical value to be used for control of the engine, and the engine is modeled based on the measured measurement data. For example, in the control design of the engine, it is measured how exhaust gas and fuel consumption change due to change of a valve opening degree and a fuel injection amount, to generate a model. In the control design of the engine, it is designed how to control the engine by using the generated model. For example, in the control design of the engine, it is designed how much a valve is opened and how much fuel injection amount is adequate in order to suppress exhaust gas and fuel consumption based on the generated model, while obtaining a requisite output.
The engine 11 is the target of control design, and is a device to be measured.
The data-acquisition-instruction generating device 10 generates a model of the engine 11. The data-acquisition-instruction generating device 10 is an information processor such as a personal computer or a server computer. The data-acquisition-instruction generating device 10 may be implemented as one computer or may be implemented as a plurality of computers. In the present embodiment, a case where the data-acquisition-instruction generating device 10 is one computer is described as an example.
The data-acquisition-instruction generating device 10 operates the engine 11 under various measurement conditions. For example, the data-acquisition-instruction generating device 10 generates a measurement condition to be set as a control parameter to control the engine 11, and outputs a movement instruction under the generated measurement condition to the engine 11. The control parameter becomes input information to the model in the control design. As the control parameter for controlling the engine 11, for example, a valve opening degree and a fuel injection amount can be mentioned. The control parameter is not limited thereto.
The data-acquisition-instruction generating device 10 acquires measurement data indicating the state of the engine 11 under various measurement conditions. For example, the data-acquisition-instruction generating device 10 acquires measurement data indicating the state of the engine 11 under various measurement conditions in which only any one of a plurality of control parameters is changed from a previous measurement condition. At this time, the data-acquisition-instruction generating device 10 causes the value of any one of control parameters to change from the previous measurement condition at a slow speed that can be regarded substantially as steady, for each measurement condition. The data-acquisition-instruction generating device 10 regards the measurement data sequentially acquired while any one of the control parameters is caused to change at a slow speed as data in a steady state and uses the data. For example, the data-acquisition-instruction generating device 10 causes the valve opening degree and the fuel injection amount to change one after another at a slow speed that can be regarded substantially as steady, and acquires the measurement data indicating the state of the engine 11. As the measurement data, for example, the data-acquisition-instruction generating device 10 acquires respective concentrations of NOx (nitrogen oxide), PM (particulate matter), and CO2 (carbon dioxide) contained in an exhaust gas, and fuel consumption data.
Configuration of Data-acquisition-Instruction Generating Device 10
The data-acquisition-instruction generating device 10 according to the present embodiment is described next.
The external I/F unit 20 is an interface that performs input and output of information with respect to other devices. As the external I/F unit 20, various input and output ports such as a USB (Universal Serial Bus), and a network interface card such as a LAN card can be adopted.
The external I/F unit 20 transmits and receives various pieces of information to and from the other devices via a communication cable (not illustrated). For example, the external I/F unit 20 outputs a movement instruction that designates a measurement condition to a control device (not illustrated) that controls the engine 11. The control device causes the engine 11 to operate under the designated measurement condition. The control device measures the state of the engine 11 at a predetermined cycle. For example, the control device measures respective concentrations of NOx, PM, and CO2 contained in an exhaust gas of the engine 11, and the fuel consumption of the engine 11 at a cycle of 16 milliseconds. The control device outputs data indicating the measured state of the engine 11 as measurement data associated with a measurement time at a predetermined cycle. That is, the control device outputs the measurement data of each measurement in a chronological order. The external I/F unit 20 receives the measurement data output from the control device.
The input unit 21 is an input device that inputs various pieces of information. An input device that receives an operation input by a mouse or a keyboard can be mentioned as the input unit 21. The input unit 21 receives an input of various pieces of information related to control design. For example, the input unit 21 receives an input of a measurement target range in which measurement is performed by changing the control parameter, for each of control parameters for controlling the engine 11. The input unit 21 also receives an input of a change rate to change the control parameter, for each of the control parameters. Further, the input unit 21 receives an input of a period until measurement data corresponding to a measurement condition is acquired, for each of the control parameters. The period until measurement data corresponding to a measurement condition is acquired is also referred to as “dead time”. Further, the input unit 21 receives an input of requisite density information related to the requisite density of measurement data of the engine 11. For example, the input unit 21 receives an input of information that specifies how finely the state of the engine 11 is to be measured for a measurement target range, as requisite density information. The input unit 21 receives an operation input from a user, and inputs operation information indicating received operation contents to the control unit 24.
The display unit 22 is a display device that displays various pieces of information. A display device such as an LCD (Liquid Crystal Display) or a CRT (Cathode Ray Tube) can be mentioned as the display unit 22. The display unit 22 displays various pieces of information. For example, the display unit 22 displays various screens such as an operation screen.
The memory unit 23 is a memory device that memorizes therein various pieces of data. For example, the memory unit 23 is a memory device such as a hard disk, an SSD (Solid State Drive), an optical disk, or the like. The memory unit 23 can be a semiconductor memory in which data can be rewritten such as a RAM (Random Access Memory), a flash memory, an NVSRAM (Non Volatile Static Random Access Memory).
The memory unit 23 memorizes therein an OS (Operating System) or various programs executed by the control unit 24. For example, the memory unit 23 memorizes therein various programs including a program for performing a model generating process described later. The memory unit 23 memorizes therein various pieces of data to be used by a program executed by the control unit 24. For example, the memory unit 23 memorizes therein measurement path information 30 and measurement data 31.
The measurement path information 30 is data in which how a measurement condition set as a control parameter is to be changed is memorized. For example, a plurality of measurement conditions as the control parameters are memorized in the measurement path information 30 in the order of the change.
The measurement data 31 is data in which the measurement data of the engine 11 is memorized. The measurement data is memorized associated with the measurement condition in the measurement data 31 for each measurement condition.
The control unit 24 is a device that controls the data-acquisition-instruction generating device 10. An electronic circuit such as a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), or an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an FPGA (Field Programmable Gate Array) can be adopted as the control unit 24. The control unit 24 has an internal memory for storing therein a program that specifies various process procedures and control data, and performs various processes by using the program and the control data. The control unit 24 functions as various processing units by operating various programs. For example, the control unit 24 includes an acquiring unit 40, a first generating unit 41, a second generating unit 42, an output unit 43, a storage unit 44, and a third generating unit 45.
The acquiring unit 40 performs various acquisition. For example, the acquiring unit 40 acquires various operation instructions and various pieces of information related to control design. For example, the acquiring unit 40 causes the display unit 22 to display an operation screen related to control design, and acquires various operation instructions and various pieces of information input to the operation screen. For example, the acquiring unit 40 acquires an operation instruction to start generation of a model from the operation screen. The acquiring unit 40 acquires a measurement target range of a control parameter for each of the control parameters from the operation screen. The measurement target range of each control parameter is set by a user, for example, according to the range of the control parameter that models the engine 11. The acquiring unit 40 receives an input of a change rate at which the control parameter is changed from the operation screen for each of the control parameters for controlling the engine 11. For example, the change rate of each control parameter is set to a change rate with which the state change of the engine 11 can be regarded substantially as steady by the user, who observes the state change of the engine 11 beforehand by individually changing each control parameter. The acquiring unit 40 receives an input of the dead time for each of the control parameters. For example, the dead time of each control parameter is set by the user, who observes the state change of the engine 11 beforehand by individually changing each control parameter. The acquiring unit 40 acquires requisite density information related to the requisite density of the measurement data of the engine 11. For example, the acquiring unit 40 acquires information specifying how finely the state of the engine 11 is to be measured for the measurement target range, from the operation screen. It is set how finely and which range of the measurement target range is to be measured by the user, who observes the state change of the engine 11 beforehand by individually changing each control parameter. The acquiring unit 40 can acquire various pieces of information by reading various pieces of information from the memory unit 23. For example, the acquiring unit 40 can memorize the requisite density information beforehand in the memory unit 23 and can acquire the requisite density information from the memory unit 23.
Prediction accuracy of a model to be generated may change depending on how finely the state of the engine 11 is to be measured for the measurement target range.
The first generating unit 41 generates a plurality of change curves related to each of the control parameters based on the requisite density information. For example, it is specified to measure the state of the engine 11 finely as the control parameter a becomes smaller in the measurement target range thereof. In this case, the first generating unit 41 generates a change curve of the control parameter a by using a function by which a change amount of an output value y increases with respect to a change amount of an input value x as the input value x increases. For example, when a change range of the input value x is set to −0.5 to +0.5, and the measurement target range is set to 0 to 4.4, the first generating unit 41 uses an exponential function to generate a change curve represented by the following expression (1).
y=exp(1.5x+0.75) (1)
For example, it is specified for the control parameter b so that measurement is performed roughly at the central portion in the measurement target range and finely at the opposite ends. In this case, the first generating unit 41 uses a function by which the change amount of the output value y decreases with respect to the change amount of the input value x, as the input value x increases from zero in positive and negative directions, to generate a change curve of the control parameter b. For example, when the change range of the input value x is set to −0.5 to +0.5, and the measurement target range is set to −1.38 to +1.38, the first generating unit 41 uses a tan h function for the control parameter b to generate a change curve represented by the following expression (2).
y=3×tan h(x) (2)
The second generating unit 42 generates a data acquisition instruction at the time of performing measurement of the engine 11. For example, the second generating unit 42 generates data acquisition instructions to be performed in the order in which change of each control parameter becomes change corresponding to a plurality of change curves, and new measurement is performed such that only one of the control parameters changes from the previous measurement. For example, the second generating unit 42 uses a space-filling curve to be arranged in a normalized space in which the measurement target range of each of the control parameters is normalized, to generate a plurality of measurement conditions. The space-filling curve comprehensively changes in the space by means of the control parameters by sequentially changing the value of any one of the control parameters in the space. As the space-filling curve, for example, the Hilbert curve is used.
A flow for generating the measurement condition is described here by using a specific example. A case where the control parameter for controlling the engine 11 is set to two control parameters, that is, a valve opening degree and a fuel injection amount is described below as an example. The second generating unit 42 normalizes the measurement target range of each of the valve opening degree and the fuel injection amount for controlling the engine 11 to ranges from 0 to 1.
An example of a construction method of a two-dimensional Hilbert curve is described. There are four different two-dimensional Hilbert curves of (RUL(n); DLU(n); LDR(n); URD(n)) due to a difference of start conditions. Here, n is the number of iterations (order). The Hilbert curve of each order is drawn by rules represented by the following expressions (3-1) to (3-4).
RUL(n)=URD(n−1)→RUL(n−1)↑RUL(n−1)←DLU(n−1) (3-1)
DLU(n)=LDR(n−1)↓DLU(n−1)←DLU(n−1)↑RUL(n−1) (3-2)
LDR(n)=DLU(n−1)←LDR(n−1)↓LDR(n−1)→URD(n−1) (3-3)
URD(n)=RUL(n−1)↑URD(n−1)→URD(n−1)↓LDR(n−1) (3-4)
However, it is assumed that RUL(0)=DLU(0)=LDR(0)=URD(0)=“ ”. “ ” means there is no operation.
RUL(n) is specifically described. The Hilbert curve RUL(n) is constructed by equally dividing each side of a square region into 2n to divide the region into small square regions, and connecting by a line segment from the center of the bottom left small square region toward the center of the adjacent square region sequentially along an arrowed line.
The Hilbert curve RUL(1) with the order n being 1 becomes as follows based on the expression (3-1).
RUL(1)=URD(0)→RUL(0)↑RUL(0)←DLU(0)=→↑←
The Hilbert curve RUL(1) is obtained by connecting the centers of four small square regions obtained by equally dividing each side of a square region into two in an order of lower left, lower right, upper right, and upper left.
Similarly, the Hilbert curve RUL(2) with the order n being 2 becomes as follows.
The Hilbert curve RUL(2) is a curve obtained by connecting the centers of 16 small square regions obtained by equally dividing each side of a square region into four from the bottom left in the order of arrowed lines.
The second generating unit 42 normalizes the measurement target range of each of the valve opening degree and the fuel injection amount to ranges from 0 to 1. The second generating unit 42 arranges the Hilbert curve such that the center of the bottom left small square in the normalized two-dimensional normalized space becomes (0;0) and the center of the top right small square becomes (1;1) in association with each other. The second generating unit 42 converts a coordinate for translating the normalized space where the Hilbert curve is arranged, so that the coordinate of the center of the region where the Hilbert curve is arranged becomes (0;0). For example, the second generating unit 42 converts a coordinate for translating the normalized space such that (0;0) in the normalized space becomes (−0.5;−0.5), (−0.5;−0.5) becomes (0;0), and (1;1) becomes (0.5;0.5). Accordingly, the region of the normalized space where the Hilbert curve is arranged becomes a range in which the ranges of the valve opening degree and the fuel injection amount are respectively in the range of −0.5 to +0.5.
The second generating unit 42 associates the Hilbert curve arranged in the normalized space with the space of the respective measurement target ranges of the valve opening degree and the fuel injection amount by using the change curves generated for each of the control parameters. For example, the second generating unit 42 converts the value of the control parameter on the Hilbert curve arranged in the normalized space by a change curve of the control parameter into a curve in the space of the measurement target range. A curve obtained by associating the Hilbert curve with the space of the measurement target range becomes a measurement path curve indicating a path of actual measurement. For example, if a change curve of the control parameter a is the expression (1), the second generating unit 42 inputs a value from −0.5 to +0.5 of the normalized control parameter a obtained from the Hilbert curve in x of the expression (1), to return the value to a value from 0 to 4.4, which is the measurement target range. If a change curve of the control parameter b is the expression (2), the second generating unit 42 inputs a value from −0.5 to +0.5 of the normalized control parameter b obtained from the Hilbert curve in x of the expression (2), to return the value to a value from −1.38 to +1.38, which is the measurement target range.
The second generating unit 42 generates a measurement condition along the measurement path curve. Also in the original space, only any one of the control parameters changes in the measurement path curve. The second generating unit 42 generates a measurement condition that changes the changing value of the control parameter at a change rate of the control parameter along the measurement path curve. For example, if the change rate of the control parameter is one per second, the second generating unit 42 generates a measurement condition that changes the value of the control parameter by one per second. Accordingly, a measurement condition is generated such that only any one of the control parameters changes from the previous measurement condition, and the respective control parameters comprehensively change in the space by means of the measurement target range of each of the control parameters.
The second generating unit 42 memorizes the generated measurement condition in an order along the measurement path curve in the measurement path information 30. That is, the second generating unit 42 memorizes a plurality of measurement conditions in the measurement path information 30, associated with the order of change.
The output unit 43 causes the control device (not illustrated) that controls the engine 11 to output a movement instruction specifying the measurement condition from the external I/F unit 20. For example, the output unit 43 outputs a movement instruction for driving the engine 11 under the measurement condition along the sequence of the order of the measurement conditions memorized in the measurement path information 30. The control parameter is changed to the measurement condition, and the engine 11 is driven under the measurement condition. In the engine 11, any one of control parameters changes at a slow speed that can be regarded as steady by the movement instruction. The external I/F unit 20 receives the measurement data indicating the state of the engine 11 in which the control parameter is changed to the measurement condition in a chronological order. The measurement data received in a chronological order can be regarded as steady-state data.
The storage unit 44 acquires the measurement data indicating the state of the engine 11, which is received by the external I/F unit 20. The storage unit 44 stores the acquired measurement data associated with the measurement condition in the measurement data 31. In the engine 11, even if the measurement condition is changed, the reaction takes time, and thus there is a dead time until measurement data corresponding to the measurement condition is acquired.
Therefore, the storage unit 44 specifies a control parameter, whose value has been changed under the measurement condition in the movement instruction output from the output unit 43. The storage unit 44 stores the acquired measurement data in the measurement data 31, associated with the measurement condition of the specified control parameter the dead time earlier.
In the measurement according to the present embodiment, the control parameter whose value changes depending on the measurement condition during the dead time may be changed.
The third generating unit 45 generates a model of the engine 11. For example, the third generating unit 45 performs machine learning by using the measurement conditions memorized in the measurement data 31 and the measurement data corresponding to the measurement conditions for each type of the measurement data, to generate a model. For example, the third generating unit 45 generates a model by using a method of outputting a weighted mean of peripheral data by means of regression analysis using LOLIMOT (Local Linear Model Tree) or a Gaussian process for each concentration of NOx, PM, and CO2 and each fuel consumption. Accordingly, the concentration of NOx, PM, and CO2 and the fuel consumption under various measurement conditions can be predicted based on the generated model.
In the related quasi-steady measurement, the measurement data can be acquired only for one control parameter. With an increase of the number of devices or the like, a target device, which is the target of control design, may have a plurality of control parameters to control these devices. Therefore, only by using the quasi-steady measurement for only one control parameter, the correlation with other control parameters is not expressed. For example, in the control parameters, a slow speed of the quasi-steady conditions is different from each other depending on the change direction. Therefore, when the plurality of control parameters are to be changed simultaneously, infinite speed setting is needed, which is substantially impossible. Further, when the control parameters are to be changed simultaneously, the dead time is different depending on the change direction, and thus association that corrects the portion of the dead time is difficult. Therefore, in the related quasi-steady measurement, quasi-steady data collection for the control parameters is difficult. In the control parameters, there may be a control parameter having strong non-linearity, and thus an accurate model is not generated only by the measurement data of one control parameter.
On the other hand, the data-acquisition-instruction generating device 10 according to the present embodiment generates a measurement condition in which any one of the control parameters for controlling the target device is changed from a previous measurement condition. Therefore, the data-acquisition-instruction generating device 10 can easily set the change speed of the control parameter and the dead time of the control parameter. Further, the data-acquisition-instruction generating device 10 according to the present embodiment generates a measurement condition that changes comprehensively in a space of a measurement target range of each of the control parameters for controlling the target device. Therefore, the data-acquisition-instruction generating device 10 can collect measurement data sufficiently even if there is a control parameter having strong non-linearity, and can generate an accurate model.
Furthermore, if the state of the engine 11 is measured in detail for a specific region of the measurement target range, the data-acquisition-instruction generating device 10 according to the present embodiment can generate a movement instruction by means of quasi-steady measurement by associating the specific region with a requisite density.
Another example of a method of designation of a requisite density of measurement data is described next. For example, requisite density information can be a weight value for each region of a measurement target range of each of control parameters.
The first generating unit 41 obtains a weight value for each range obtained by segmentalizing the measurement target range of each of the control parameters by a point that becomes a boundary of the regions.
The first generating unit 41 obtains a weight value reflecting the weight value of each region so as to maintain the weight value thereof as much as possible for each of the segmentalized ranges. As to how to obtain the weight value for each of the segmentalized ranges is described next. The first generating unit 41 normalizes the length of each range of the control parameter by the length of the measurement target range, for each of the control parameters. In the case of
lx1: dx1=lx1/(lx1+lx2+lx3) (4-1)
lx2: dx2=lx2/(lx1+lx2+lx3) (4-2)
lx3: dx3=lx3/(lx1+lx2+lx3) (4-3)
ly1: dy1=ly1/(ly1+ly2+ly3+ly4) (4-4)
ly2: dy2=ly2/(ly1+ly2+ly3+ly4) (4-5)
ly3: dy3=ly3/(ly1+ly2+ly3+ly4) (4-6)
ly4: dy4=ly4/(ly1+ly2+ly3+ly4) (4-7)
The first generating unit 41 obtains the weight value of each range reflecting the designated weight value of the region including each range for each of the segmentalized ranges. For example, in the case of
dx1×dy1×(x1×y1−3)2+dx1×dy2×(x1×y2−3)2+dx1×dy3×(x1×y3−1)2+dx1×dy4×(x1×y4−2)2+dx2×dy1×(x2×y1−5)2+dx2×dy2×(x2×y2−3)2+dx2×dy3×(x2×y3−3)2+dx2×dy4×(x2×y4−2)2+dx3×dy1×(x3×y1−5)2+dx3×dy2×(x3xy2−4)2+dx3×dy3×(x3×y3−4)2+dx3×dy4×(x4×y4−4)2 (5)
For example, the term “dx1×dy1×(x1×y1−3)2” of the expression (5) is a term related to a region A11 corresponding to the range lx1 and the range ly1. The “dx1×dy1×(x1×y1−3)2” is obtained by multiplying a normalized area “dx1×dy1” of the region A11 by a squared error of a multiplication value between the weight value “x1” of the range lx1 and the weight value “y1” of the range ly1 and a weight value “3” of the region A11. The term “dx1×dy2×(x1×y2-3)2” of the expression (5) is a term related to a region A12 corresponding to the range lx1 and the range ly2. The term “dx1×dy2×(x1×y2−3)2” is obtained by multiplying a normalized area “dx1×dy2” of the region A12 by a squared error of a multiplication value between the weight value “x1” of the range lx1 and the weight value “y2” of the range ly2 and a weight value “3” of the region A12. The other terms of the expression (5) are the same. The expression (5) sums up values obtained by multiplying an error between the designated weight value of each region divided into the segmentalized ranges and a multiplied value of the weight values of the range corresponding to the regions by the normalized area of the region. In the expression (5), if the designated weight value of each region divided into the segmentalized ranges is appropriately reflected in the weight value of the range corresponding to the region, the value becomes small.
The first generating unit 41 obtains the weight values x1, x2, x3, y1, y2, y3, and y4 of the ranges lx1, lx2, lx3, ly1, ly2, ly3, and ly4 by solving the optimum problems that minimize a value obtained from the objective function of the expression (5) under a constraint condition represented by the following expression (6).
Weight value x1,x2,x3,y1,y2,y3,y4>0 (6)
The first generating unit 41 generates a change curve corresponding to the weight value for each range of the control parameter for each of the control parameters. For example, the first generating unit 41 calculates a regular weighted sum s of the weight values for each of the ranges. For example, it is assumed that the measurement target range of the control parameter is [0, 40]. Further, it is assumed that a weight value of the range of [0, 20] is “1”, a weight value of the range of [20, 30] is “2”, and a weight value of the range of [30, 40] is “3” for the control parameter. In this case, the first generating unit 41 calculates the regular weighted sum s as represented by the following expression (7).
s=[1×(20−0)+2×(30−20)+3×(40−30)]/(40−0)=7/4 (7)
The first generating unit 41 normalizes such that the measurement target range of each of the control parameters becomes [0, 1]. Accordingly, the range of [0, 20] is normalized to be [0, 0.5]. The range of [20, 30] is normalized to be [0.5, 0.75]. The range of [30, 40] is normalized to be [0.75, 1].
The first generating unit 41 designates a value obtained by dividing the weight value for each range by the regular weighted sum s as an inclination of a range obtained by normalizing the range. For the range of [0, 0.5] obtained by normalizing the range of [0, 20], by dividing the weight value “1” by the regular weighted sum “7/4”, the inclination is obtained as “4/7”. For the range of [0.5, 0.75] obtained by normalizing the range of [20, 30], by dividing the weight value “2” by the regular weighted sum “7/4”, the inclination is obtained as “8/7”. For the range of [0.75, 1] obtained by normalizing the range of [30, 40], by dividing the weight value “3” by the regular weighted sum “7/4”, the inclination is obtained as “12/7”.
The first generating unit 41 obtains a function of each line segment that continuously connects the respective ranges by the line segment having the obtained inclination. For example, when it is assumed that the inclination of the range of [0, 0.5] is [4/7], the inclination of the range of [0.5, 0.75] is [8/7], and the inclination of the range of [0.75, 1] is [12/7], the functions of the respective line segments are obtained as represented by the following expressions (8-1) to (8-3).
y=(4/7)×x(x=0 to 0.5) (8-1)
y=(8/7)×x−4/14(x=0.5 to 0.75) (8-2)
y=(12/7)×x−5/7(x=0.75 to 1) (8-3)
The first generating unit 41 obtains an inverse function of the function of each line segment. For example, the inverse functions of the functions represented by the expressions (8-1) to (8-3) are obtained as represented by the following expressions (9-1) to (9-3).
y=(7/4)×x(x=0 to 2/7) (9-1)
y=(7/8)×x+1/4(x=2/7 to 4/7) (9-2)
y=(7/12)×x+5/12(x=4/7 to 1) (9-3)
The first generating unit 41 returns the respective inverse functions respectively to the measurement target ranges. For example, if the measurement target range is [a, b], the first generating unit 41 multiplies the inverse function by b-a, and adds a. The first generating unit 41 designates the respective functions obtained by returning the respective inverse functions respectively to the measurement target ranges as change curves. The first generating unit 41 obtains the change curve for each of the control parameters.
The second generating unit 42 uses the change curve generated for each of the control parameters to associate the Hilbert curve arranged in the normalized space with the space in the measurement target range. Accordingly, a curve obtained by associating the Hilbert curve with the space in the measurement target range deforms according to the weight value for each range, such that as the weight value decreases, the curve deforms finely (has a higher density), and as the weight value increases, the curve deforms roughly (has a lower density).
Another example of the method of designation of a requisite density of measurement data is described next. For example, the requisite density information can be a function representing a weight corresponding to a control parameter value for a measurement target range of each of the control parameters. The acquiring unit 40 acquires a function representing a weight corresponding to the control parameter value as the requisite density information, for each of the control parameters. For example, the acquiring unit 40 can receive an input of a function representing a weight corresponding to the control parameter value for each of the control parameters. For example, the requisite density information memorizing the function representing a weight corresponding to the control parameter value is memorized in the memory unit 23 beforehand for each of the control parameters, and the acquiring unit 40 can acquire the requisite density information from the memory unit 23.
The first generating unit 41 obtains a conversion function normalizing change of the function in the measurement target range of each of the control parameters based on the requisite density information. The first generating unit 41 then generates a change curve by converting the inverse function of the conversion function into the measurement target range. For example, it is assumed that the measurement target range of the control parameter is [a, b] and a function representing the weight of the control parameter is f. The first generating unit 41 converts the function f into a function g of a range of [0, 1] by performing conversion as represented by the following expression (10).
f→(f−a)/(b−a)=g (10)
The first generating unit 41 normalizes the function g by converting the function g as represented by the following expression (11) to obtain a conversion function h.
The first generating unit 41 obtains an inverse function i of the conversion function h. The first generating unit 41 returns the inverse function i to the measurement target range, respectively. For example, if the measurement target range is [a, b], the first generating unit 41 converts the inverse function into a function j of the measurement target range by performing conversion as represented by the following expression (12).
i→(b−a)i+a=j (12)
The first generating unit 41 designates the function j as a change curve. The first generating unit 41 obtains the change curve for each of the control parameters.
The second generating unit 42 uses the change curve generated for each of the control parameters to associate the Hilbert curve arranged in the normalized space with the space in the measurement target range. Accordingly, a curve obtained by associating the Hilbert curve with the space in the measurement target range deforms according to the weight value calculated from the function, such that as the weight value decreases, the curve deforms finely (has a higher density), and as the weight value increases, the curve deforms roughly (has a lower density).
Process Flow
There is described a flow of a data-acquisition-instruction generating process for generating a data acquisition instruction when the data-acquisition-instruction generating device 10 according to the present embodiment performs measurement of the engine 11.
As illustrated in
The first generating unit 41 generates a plurality of change curves related to each of the control parameters based on the requisite density information (S12).
The second generating unit 42 generates a data acquisition instruction to be performed in an order in which change of each control parameter becomes change corresponding to the change curves, and new measurement is performed such that only one of the control parameters changes from the previous measurement (S13). For example, the second generating unit 42 normalizes the measurement target range of each of the control parameters, and arranges the Hilbert curve in the normalized space. The second generating unit 42 uses a change curve generated for each of the control parameters, to convert the Hilbert curve arranged in the normalized space into the measurement path curve in the space of the measurement target range. The second generating unit 42 generates the measurement condition along the measurement path curve. The second generating unit 42 memorizes the measurement condition generated along the measurement path curve in the measurement path information 30, associated with the order along the measurement path curve (S14).
The output unit 43 outputs a movement instruction for operating the engine 11 under the measurement condition along the order of sequence of the measurement conditions memorized in the measurement path information 30 (S15). The storage unit 44 acquires the measurement data (S16). The storage unit 44 stores the acquired measurement data in the measurement data 31, associated with the measurement conditions (S17). For example, the storage unit 44 stores the acquired measurement data in the measurement data 31, associated with the measurement condition of the changing control parameter the dead time earlier. When the control parameter that changes under the measurement condition has been changed, the storage unit 44 discards the measurement data for the period of dead time after the control parameter has been changed.
The third generating unit 45 generates a model by performing machine learning by using the measurement condition memorized in the measurement data 31 and the measurement data corresponding to the measurement condition for each type of the measurement data (S18), and finishes the process.
Effect
As described above, in measurement of the engine 11 having a plurality of control parameters, the data-acquisition-instruction generating device 10 according to the present embodiment acquires requisite density information related to a requisite density of measurement data in a region specified by a combination of control parameters. The data-acquisition-instruction generating device 10 generates a plurality of change curves related to each of the control parameters based on the requisite density information. The data-acquisition-instruction generating device 10 generates a data acquisition instruction to be performed in an order in which change of each control parameter becomes change corresponding to a plurality of change curves, and new measurement is performed such that only one of the control parameters changes from the previous measurement. Accordingly, the data-acquisition-instruction generating device 10 can generate a movement instruction by means of quasi-steady measurement, associated with the requisite density.
The data-acquisition-instruction generating device 10 according to the present embodiment designates the requisite density information as a weight value for each region of the measurement target range of each of the control parameters. The data-acquisition-instruction generating device 10 obtains the weight value for each range obtained by segmentalizing the measurement target range of each of the control parameters at a point to be a boundary of regions based on the requisite density information. The data-acquisition-instruction generating device 10 generates a change curve by connecting the respective segmentalized ranges by a line segment having a smaller inclination as the weight value of the range becomes larger. Accordingly, even if a weight value for each range of the measurement target range of each of the control parameters is specified as the requisite density information, the data-acquisition-instruction generating device 10 can generate a movement instruction by means of quasi-steady measurement with a density corresponding to the weight value for each range of the measurement target range.
Furthermore, the data-acquisition-instruction generating device 10 designates the requisite density information as a function representing a weight corresponding to the control parameter value for the measurement target range of each of the control parameters. The data-acquisition-instruction generating device 10 obtains a conversion function that normalizes change of the function in the measurement target range of each of the control parameters to generate a change curve by converting an inverse function of the conversion function into the measurement target range base on the requisite density information. Accordingly, even if a function representing a weight corresponding to the control parameter value for the measurement target range is specified as the requisite density information, the data-acquisition-instruction generating device 10 can generate a movement instruction by means of quasi-steady measurement with a density corresponding to the weight value represented by the function.
The data-acquisition-instruction generating device 10 according to the present embodiment generates a data acquisition instruction to be performed in an order along the measurement path curve obtained by converting the Hilbert curve arranged in the normalized space into a measurement target range based on a plurality of change curves. Accordingly, the data-acquisition-instruction generating device 10 can generate a measurement condition that comprehensively changes in the space by the measurement target range of each of the control parameters.
While the embodiments of the disclosed units have been described heretofore, the disclosed techniques can be carried out in variously different modes other than those described above. In connection to this, other embodiments of the present invention will be described below.
For example, in the embodiment described above, a case where a target device to be measured is assumed as the engine 11 has been described. However, the present invention is not limited thereto. For example, a target device to be measured can be any device, so long as it takes time until the state is stabilized to a steady state after the measurement condition has been changed. For example, the target device to be measured can be an actuator, a plant in which various kinds of production are performed, or large machinery.
In the embodiment described above, a case where a model is generated for each type of measurement data has been described. However, the present invention is not limited thereto. For example, a model that predicts a plurality of types of measurement data by performing machine learning can be generated by using measurement conditions memorized in the measurement data 31 and measurement data in a steady state corresponding to the measurement condition. For example, the third generating unit 45 can generate one model that predicts all types of measurement data.
Respective constituent elements of the devices illustrated in the drawings are functionally conceptual, and physically the same configuration is not always necessary. That is, the specific mode of distribution and integration of the respective devices is not limited to the ones illustrated in the drawings, and all or a part thereof can be functionally or physically distributed or integrated in an optional unit according to various kinds of load and status of use. For example, respective processing units of the acquiring unit 40, the first generating unit 41, the second generating unit 42, the output unit 43, the storage unit 44, and the third generating unit 45 can be integrated appropriately. Further, all or an optional part of various processing functions performed by each processing unit can be realized by a CPU or a program analyzed and executed by the CPU, or can be realized as hardware by a wired logic.
The various types of processing described in the above embodiment can be realized by executing a program prepared beforehand by a computer system such as a personal computer or a workstation. Therefore, an example of a computer system that executes a program having the same functions as those of the embodiment described above is described below. First, a data-acquisition-instruction generating program that executes control calling for attention with respect to a driver is described.
As illustrated in
A data-acquisition-instruction generating program 420a that demonstrates the same functions as those of the acquiring unit 40, the first generating unit 41, the second generating unit 42, the output unit 43, the storage unit 44, and the third generating unit 45 is memorized beforehand in the HDD 420. The data-acquisition-instruction generating program 420a can be appropriately separated.
The HDD 420 memorizes various types of information. For example, the HDD 420 memorizes various types of data to be used for determination of an OS and an order quantity.
The CPU 410 performs the same operations as those of the respective processing units in the embodiment by reading out the data-acquisition-instruction generating program 420a from the HDD 420 and executing the data-acquisition-instruction generating program 420a. That is, the data-acquisition-instruction generating program 420a performs the same operations as those of the acquiring unit 40, the first generating unit 41, the second generating unit 42, the output unit 43, the storage unit 44, and the third generating unit 45.
The data-acquisition-instruction generating program 420a described above is not necessarily stored in the HDD 420 from the beginning.
For example, the data-acquisition-instruction generating program 420a can be stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, and an IC card inserted into the computer 400. The computer 400 can read and execute these programs from such a medium.
Further, programs can be stored in “other computers (or servers)” connected to the computer 400 via a public line, the Internet, a LAN, or a WAN. The computer 400 can read and execute these programs from such a medium.
According to one aspect of the present invention, a movement instruction by quasi-steady measurement can be generated corresponding to a requisite density.
All examples and conditional language recited herein are intended for pedagogical purposes of aiding the reader in understanding the invention and the concepts contributed by the inventor to further the art, and are not to be construed as limitations to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiments of the present invention have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2016-046255 | Mar 2016 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4718272 | Plapp | Jan 1988 | A |
4986243 | Weissler, II | Jan 1991 | A |
5216916 | Bederna | Jun 1993 | A |
5270935 | Dudek | Dec 1993 | A |
5815418 | Dolazza | Sep 1998 | A |
6744389 | Haeberli | Jun 2004 | B2 |
7490511 | Mayer | Feb 2009 | B2 |
8824023 | Kaempflein | Sep 2014 | B2 |
20070035556 | Hasegawa | Feb 2007 | A1 |
20130339371 | Hayashi et al. | Dec 2013 | A1 |
Number | Date | Country |
---|---|---|
2007-71864 | Mar 2007 | JP |
2008-77376 | Apr 2008 | JP |
2014-2519 | Jan 2014 | JP |
Number | Date | Country | |
---|---|---|---|
20170260924 A1 | Sep 2017 | US |