CN118278300A - Method, device and equipment for simulating and calculating engine oil pressure and storage medium - Google Patents

Method, device and equipment for simulating and calculating engine oil pressure and storage medium Download PDF

Info

Publication number
CN118278300A
CN118278300A CN202410229739.3A CN202410229739A CN118278300A CN 118278300 A CN118278300 A CN 118278300A CN 202410229739 A CN202410229739 A CN 202410229739A CN 118278300 A CN118278300 A CN 118278300A
Authority
CN
China
Prior art keywords
oil pressure
engine
determining
engine oil
simulated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410229739.3A
Other languages
Chinese (zh)
Inventor
刘笑飞
刘洪宇
张宇彤
姜宇
王鑫
王禹涵
欣白宇
苗志慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202410229739.3A priority Critical patent/CN118278300A/en
Publication of CN118278300A publication Critical patent/CN118278300A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method, a device, equipment and a storage medium for simulating and calculating engine oil pressure. The method comprises the following steps: creating a controlled object corresponding to the target oil pump in a preset simulation environment, and controlling the controlled object to simulate the operation of the target oil pump; collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal. According to the technical scheme, the accurate engine oil pressure can be determined by combining the engine state and related signals, meanwhile, the simulation environment is combined, the dependence of engine bench or whole vehicle and other hardware resources on engine oil pump function test verification is avoided, fuel consumption and equipment maintenance are not needed, and the effects of energy conservation and environmental protection are achieved.

Description

Method, device and equipment for simulating and calculating engine oil pressure and storage medium
Technical Field
The present invention relates to the field of vehicle technologies, and in particular, to a method, an apparatus, a device, and a storage medium for calculating engine oil pressure.
Background
Along with the continuous development of vehicle technology, the functions of the variable engine oil pump of the vehicle are often required to be debugged in advance, the functions of the engine oil pump are often required to be debugged and verified by utilizing an engine bench or a whole vehicle in the prior art, and a pressure sensor is used for providing real engine oil pressure signal feedback, so that hardware resources of the engine bench or the whole vehicle can be occupied, related test fuel oil, equipment maintenance and other expenses can be generated, and more manpower and material resources are required to be consumed.
Therefore, how to utilize the simulation platform to realize the simulation calculation of the engine oil pressure and avoid the waste of manpower and material resources is a problem to be solved urgently at present.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for simulating and calculating engine oil pressure, which can realize the simulation and calculation of the engine oil pressure by using a simulation platform and avoid the waste of manpower and material resources.
According to an aspect of the present invention, there is provided a simulation calculation method of engine oil pressure, including:
creating a controlled object corresponding to the target oil pump in a preset simulation environment, and controlling the controlled object to simulate the operation of the target oil pump;
Collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; the working state is a starting state and an un-starting state;
and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal.
According to another aspect of the present invention, there is provided an oil pressure simulation calculation apparatus including:
the simulation module is used for creating a controlled object corresponding to the target oil pump in a preset simulation environment and controlling the controlled object to simulate the operation of the target oil pump;
The determining module is used for collecting a target signal generated in the running process and determining the working state of the engine corresponding to the target oil pump according to the target signal; the working state is a starting state and an un-starting state;
And the pressure determining module is used for determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of simulating the calculation of oil pressure according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to execute the method for simulating calculation of oil pressure according to any one of the embodiments of the present invention.
According to the technical scheme, a controlled object corresponding to the target oil pump is created in a preset simulation environment, and the controlled object is controlled to simulate the operation of the target oil pump; collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal. By combining the engine state and related signals, the accurate engine oil pressure can be determined, meanwhile, the engine oil pressure is determined in a simulation environment, so that the occupation of hardware resources of an engine rack or a whole vehicle is avoided, the fuel consumption and equipment maintenance are not needed, and the effects of energy conservation and environmental protection are achieved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1A is a flow chart of a method for simulating and calculating oil pressure according to an embodiment of the present invention;
FIG. 1B is a schematic flow chart of a pending oil pressure determination according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for simulating and calculating oil pressure according to a second embodiment of the present invention;
FIG. 3 is a block diagram of a device for simulating and calculating oil pressure according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," "target," "alternative," and the like in the description and claims of the invention and in the foregoing figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
FIG. 1A is a flow chart of a method for simulating and calculating oil pressure according to an embodiment of the present invention; FIG. 1B is a schematic flow chart of a pending oil pressure determination according to an embodiment of the present invention; the embodiment can be applied to the situation that the capability of the engine oil pump for determining the real-time engine oil pressure is tested in combination with the engine state and related signals in a simulation environment, the method can be executed by an engine oil pressure simulation computing device, the engine oil pressure simulation computing device can be realized in a hardware and/or software mode, and the engine oil pressure simulation computing device can be configured in electronic equipment. As shown in fig. 1A, the method for simulating and calculating the oil pressure includes:
s101, creating a controlled object corresponding to the target oil pump in a preset simulation environment, and controlling the controlled object to simulate the operation of the target oil pump.
The request for simulating and calculating the oil pressure refers to a request for simulating and calculating the oil pressure in a preset time period. The preset simulation environment may be, for example, a HIL (HARDWARE IN THE Loop) environment. The controlled object may be, for example, a HIL controlled object model.
Optionally, a controlled object corresponding to the target oil pump can be created in a preset simulation environment according to related parameters or model of the target oil pump, and the controlled object is controlled to simulate the operation of the target oil pump.
S102, acquiring a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal.
The working state is a starting state and an unactuated state. The target signal includes a simulated engine speed and a simulated engine oil temperature, may further include an actually collected ECU (Engine Control Unit ) oil pump control duty cycle, and may further include a preset ECU precontrolled duty cycle. The ECU pre-control duty ratio refers to the duty ratio of the expected output of the ECU under the corresponding working condition, and the expected output can be output by looking up a table based on the mapping relation of the rotating speed, the engine oil pressure and the ECU pre-control duty ratio. In summary, the ECU oil pump control duty cycle may be obtained by acquiring an ECU hard-wire signal through the HIL, and the preset ECU pre-control duty cycle (may be written into the HIL controlled object model according to the ECU pre-control duty cycle data), the simulated engine speed, and the simulated engine oil temperature may be internally transmitted by the HIL controlled object model.
Optionally, signals related to engine oil pressure calculation, such as simulated engine speed and simulated engine oil temperature, can be collected and received by using the HIL controlled object model, and meanwhile, an ECU hard line signal in actual operation can be obtained by using connection of an HIL environment and an ECU hard line of an actual engine oil pump so as to obtain an ECU engine oil pump control duty ratio.
Optionally, determining, according to the target signal, a working state of the target oil pump corresponding to the engine includes: determining the association relation between the simulated engine speed in the target signal and a preset speed threshold; and according to the association relation, if the rotation speed of the simulated engine is greater than a preset rotation speed threshold value, determining that the working state of the engine corresponding to the target oil pump is a starting state. The preset rotational speed threshold may be, for example, 300 or 500rpm.
Optionally, according to the association relationship, if the simulated engine speed is less than the preset speed threshold, the working state is an un-started state.
S103, determining simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal.
The preset time period may refer to a time period from a current time to an end of a preset time period. The simulation of the actual oil pressure refers to the oil pressure at each moment obtained by simulating the actual running condition of the oil pump in a preset simulation environment. Each time within the preset time period may correspond to one simulated actual oil pressure.
Optionally, determining the simulated actual engine oil pressure at each moment in the preset time period according to the working state and the target signal includes: determining the undetermined engine oil pressure at each moment in a preset time period according to the working state of the engine and the target signal; and carrying out limit processing on the to-be-determined engine oil pressure according to the association relation between the to-be-determined engine oil pressure and the preset maximum and minimum limit values so as to determine and simulate the actual engine oil pressure.
The oil pressure to be determined refers to the oil pressure at each moment in a preset time period based on a preset calculation rule, and may be obtained by integral calculation, for example, and may be referred to as an oil pressure integral value. The maximum and minimum limit values are preset upper and lower limit values of the oil pressure to be determined. The limit processing is used to bring the pending oil pressure within a preset limit range.
Alternatively, the corresponding calculation strategy may be adopted to determine the to-be-determined oil pressure at the corresponding moment in different working states of the engine, for example, when the working state of the engine is an inactive state, the target oil pressure at the current moment may be directly determined as the initial value of the oil pressure, and when the working state of the engine is an active state, the integral formula may be calculated based on the preset oil pressure, and the to-be-determined oil pressure at each moment in the preset time period may be obtained by integral calculation.
Optionally, determining the pending engine oil pressure at each moment in the preset time period according to the working state of the engine and the target signal includes: determining an atmospheric pressure value of a simulation working condition in a preset simulation environment as an initial engine oil pressure value; if the working state of the engine is detected to be a starting state, determining the undetermined engine oil pressure at each moment in a preset time period according to the ECU engine oil pump control duty ratio, the ECU pre-control duty ratio, the simulated engine speed, the simulated engine oil temperature and the engine oil pressure initial value.
The atmospheric pressure value of the simulation working condition in the preset simulation environment can be standard atmospheric pressure. The working state of the engine is a starting state corresponding to the condition that the engine speed is greater than a preset speed threshold.
Alternatively, when the engine speed is greater than the preset speed threshold, the pending oil pressure may be obtained by integrating and accumulating the oil pressure with time t based on the initial oil pressure value according to the ECU oil pump control duty cycle, the ECU pre-control duty cycle, the simulated engine speed, the simulated oil temperature, and the initial oil pressure value.
The simulation condition in the HIL environment is adjusted by combining the control duty ratio of the ECU oil pump in the actual operation of the oil pump, and an accurate and effective correction coefficient can be determined, so that the simulation accuracy and effectiveness are ensured.
Optionally, determining the pending oil pressure at each moment in the preset time period includes: determining the change direction and the change rate of the engine oil pressure according to the difference value between the control duty ratio of the ECU engine oil pump and the pre-control duty ratio of the ECU; determining a correction coefficient of the engine oil pressure according to the simulated engine speed, the simulated engine oil temperature and the engine oil pressure change direction; and determining the undetermined oil pressure at each moment in the preset time period according to the oil pressure change direction, the correction coefficient, the pressure change rate and the oil pressure initial value.
The oil pressure change direction (sign) may be a pressure increase (indicated as 1) or a pressure decrease (indicated as-1).
Alternatively, the product of the oil pressure change direction, the correction coefficient, and the pressure change rate may be integrated based on the integration time interval t to obtain an integrated value, and further, the sum of the integrated value and the initial value of the oil pressure is determined as the pending oil pressure at the corresponding time.
The larger the control duty ratio of the oil pump is, the larger the oil pressure is, so when the control duty ratio of the oil pump is smaller than the ECU pre-control duty ratio, the oil pressure can be simulated in the decreasing direction, that is, sign is made to be-1; when the control duty ratio of the engine oil pump is larger than the ECU pre-control duty ratio, the engine oil pressure is simulated in the supercharging direction, namely, sign is made to be 1.
Alternatively, according to the difference between the control duty ratio of the oil pump and the pre-control duty ratio of the ECU, a table look-up is performed on a preset first mapping table to obtain the oil pressure change direction, where the first mapping table is a mapping relation table between the difference and the oil pressure change direction.
Alternatively, according to the difference between the control duty ratio of the oil pump and the pre-control duty ratio of the ECU, a table look-up is performed on a preset second mapping table to obtain the pressure change rate, where the second mapping table is a mapping relation table of the difference and the pressure change rate.
Optionally, table lookup can be performed according to the simulated engine speed and the simulated engine oil temperature to determine the value of the correction coefficient, and the positive and negative values of the engine oil pressure correction coefficient, that is, the engine oil pressure initial value is increased by the correction coefficient k (z) or decreased by the correction coefficient k (j), are further determined by combining the engine oil pressure change direction to determine the final pending engine oil pressure. The oil pressure increase correction coefficient gradually increases as the rotation speed increases.
For example, the pending oil pressure at each moment in the preset time period may be calculated according to the following formula:
Wherein OilPintegral denotes the oil pressure to be determined, oilPint denotes the initial value of the oil pressure, sign (i) denotes the direction of the oil pressure change at the i-th moment, vi denotes the rate of the pressure change, and t denotes the integral time interval within the preset time period, which may be 0.001s. ki denotes a correction coefficient. n refers to the next period, and may be specified in advance.
For example, referring to fig. 1B, the engine oil pressure change direction sign and the engine oil pressure change rate v may be obtained based on the engine oil pump control duty ratio and the pre-control duty ratio difference table, while the engine oil pressure increase correction coefficient k (z) or the engine oil pressure decrease correction coefficient k (j) is determined based on the engine speed and the engine oil temperature table, further based on the formulaThe integrated value at the present time is determined in the form of an integral, and the integrated value is added and summed with the initial value OilPin of the engine-non-started oil pressure to obtain a final oil pressure integral calculation value, that is, the pending oil pressure.
Optionally, according to the association relation between the oil pressure to be determined and the preset maximum and minimum limits, the limiting value processing is performed on the oil pressure to be determined, so as to determine the simulated actual oil pressure, including: if the undetermined engine oil pressure is larger than the maximum limit value or smaller than the minimum limit value, determining the simulated actual engine oil pressure according to the preset maximum limit value and the preset minimum limit value; and if the oil pressure to be determined is smaller than the maximum limit value and larger than the minimum limit value, determining that the oil pressure to be determined is the simulated actual oil pressure. The maximum value limit and the minimum value limit can be obtained by checking the table of the rotating speed and the load respectively.
Optionally, if the pending oil pressure is greater than the maximum limit, the target oil pressure may be determined to be the maximum limit; and if the undetermined engine oil pressure is smaller than the minimum limit value, determining that the target engine oil pressure is the minimum limit value.
For example, under the condition that the oil pump function is not started, the corresponding oil pressure under each rotating speed load is measured through the engine rack sweeping point, and the corresponding working condition maximum oil pressure is determined; meanwhile, under the condition of starting the maximum working capacity of the oil pump, the corresponding oil pressure under each rotating speed load is measured through the engine rack sweeping point, and the oil pressure is determined to be the minimum oil pressure of the corresponding working condition.
Optionally, after determining the simulated actual engine oil pressure at each moment in the preset time period, the method further includes: determining a demand unit and a demand type corresponding to the simulated actual engine oil pressure; and performing format conversion on the simulated actual engine oil pressure according to the demand units and the demand types so as to update the simulated actual engine oil pressure.
The unit of the oil pressure demand may be, for example, kpa, hpa, pa and Bar. 1000 kilopascals (kpa) =1000000 pascals (Pa) =10 bar (bar) =10000 hundred pascals (hpa) = 9.8692327 standard atmospheres (atm). The type of demand for the oil pressure may be absolute pressure or relative pressure (absolute pressure minus atmospheric pressure).
According to the technical scheme, a controlled object corresponding to the target oil pump is created in a preset simulation environment, and the controlled object is controlled to simulate the operation of the target oil pump; collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal. By combining the engine state and related signals, the accurate engine oil pressure can be determined, meanwhile, the engine oil pressure is determined in a simulation environment, so that the occupation of hardware resources of an engine rack or a whole vehicle is avoided, the fuel consumption and equipment maintenance are not needed, and the effects of energy conservation and environmental protection are achieved.
Example two
FIG. 2 is a flow chart of a method for simulating and calculating oil pressure according to a second embodiment of the present invention; the embodiment provides a preferred example for realizing engine oil pressure output in a simulation environment on the basis of the embodiment, and specifically describes an engine oil pressure calculation process of a controlled object model of the variable engine oil pump in the HIL environment.
As shown in fig. 2, the method comprises the steps of:
Step 1: collecting and receiving relevant input signal information;
Optionally, the HIL environment can be controlled to start simulation, at the moment, the ECU is not started when power is on, and related signals such as an ECU oil pump control duty ratio, an ECU oil pump pre-control duty ratio (obtained by looking up a table), a simulated engine rotating speed and a simulated engine oil temperature can be read by collecting the controlled object model of the HIL oil pump.
Step 2: calculating an initial value of the engine oil pressure;
Alternatively, since the engine is not started less than the rotation speed threshold value, the initial value of the oil pressure may be calculated, and the initial value of the oil pressure is output as the atmospheric pressure value.
Step 3: judging the change direction and the change rate of the engine oil pressure;
after the engine is started, the engine pressure to be determined can be obtained by integrating and accumulating the engine oil pressure with time t on the basis of the initial engine oil pressure value through the HIL engine oil pump controlled object model because the rotating speed is larger than the threshold value.
Specifically, a difference value between the control duty ratio of the ECU oil pump and the pre-control duty ratio of the oil pump can be determined, for example, the control duty ratio of the ECU oil pump is 20% greater than the pre-control duty ratio of the oil pump, and then the table look-up can obtain that the engine oil pressure change direction sign is1, namely the pressure is increased; the pressure change rate is further found to be v1, so that the engine oil pressure increase correction coefficient k1 can be output according to the engine speed and the engine oil temperature table. If the control duty ratio of the ECU oil pump is detected to be 10% smaller than the pre-control duty ratio of the oil pump at the next moment, the engine oil pressure change direction sign can be obtained by looking up a table at the moment, namely the pressure is reduced; further checking that the pressure change rate is v2, and looking up a table according to the engine oil temperature and the engine speed to output an engine oil pressure reduction correction coefficient k2. Further, according to a preset oil pressure calculation formula, the oil pressure is OilPint +v1×0.001×k1-v2×0.001×k2, where OilPint is an initial oil pressure value.
Step4: processing the maximum and minimum limit values of the engine oil pressure;
Alternatively, the oil pressure integral calculation value (i.e., the oil pressure to be determined) may be subjected to a maximum/minimum limit value output process, and the original integral calculation value may be output between the maximum/minimum values, and the minimum value or the maximum value may be output if the original integral calculation value is smaller than the minimum value or larger than the maximum value.
Step 5: and performing final engine oil pressure conversion output according to the required unit and the required pressure type.
Alternatively, the simulated actual oil pressure obtained after the limit processing may be subjected to unit conversion, pressure type (absolute pressure, relative pressure) conversion, and an oil pressure value satisfying the demand may be output.
It should be noted that, compared with the traditional mode of performing engine oil pump function debugging and verification by using an engine bench or a whole vehicle, the engine oil pressure model calculating method based on the HIL (HARDWARE IN THE Loop hardware in Loop) environment provided by the invention can be used for calculating the simulated engine oil pressure signal by receiving the relevant input signal, so that the engine oil pump function can be debugged and verified in the HIL environment, the engine bench or the whole vehicle hardware resource is not required to be occupied, the fuel consumption and the equipment maintenance are not required, and the energy-saving and environment-friendly effects can be achieved.
Example III
FIG. 3 is a block diagram of a device for simulating and calculating oil pressure according to a third embodiment of the present invention; the embodiment of the invention can be suitable for testing the capacity of the oil pump for determining the real-time oil pressure by combining the engine state and related signals in a simulation environment, and the oil pressure simulation calculation device provided by the embodiment of the invention can execute the oil pressure simulation calculation method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method; the oil pressure simulation calculation device can be realized in the form of hardware and/or software and is configured in equipment with an oil pressure simulation calculation function. As shown in fig. 3, the oil pressure simulation calculation device specifically includes:
the simulation module 301 is configured to create a controlled object corresponding to the target oil pump in a preset simulation environment, and control the controlled object to simulate the operation of the target oil pump;
The state determining module 302 is configured to collect a target signal generated in the running process, and determine a working state of the engine corresponding to the target oil pump according to the target signal; the working state is a starting state and an un-starting state;
the pressure determining module 303 is configured to determine, according to the working state and the target signal, a simulated actual engine oil pressure at each moment in a preset time period.
According to the technical scheme, a controlled object corresponding to the target oil pump is created in a preset simulation environment, and the controlled object is controlled to simulate the operation of the target oil pump; collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal. By combining the engine state and related signals, the accurate engine oil pressure can be determined, meanwhile, the engine oil pressure is determined in a simulation environment, so that the occupation of hardware resources of an engine rack or a whole vehicle is avoided, the fuel consumption and equipment maintenance are not needed, and the effects of energy conservation and environmental protection are achieved.
Further, the state determining module 302 is specifically configured to:
Determining the association relation between the simulated engine speed in the target signal and a preset speed threshold;
and according to the association relation, if the rotation speed of the simulated engine is greater than a preset rotation speed threshold value, determining that the working state of the engine corresponding to the target oil pump is a starting state.
Further, the pressure determination module 303 may include:
The first determining unit is used for determining the undetermined engine oil pressure at each moment in a preset time period according to the working state of the engine and the target signal;
the second determining unit is used for carrying out limit value processing on the to-be-determined engine oil pressure according to the association relation between the to-be-determined engine oil pressure and the preset maximum and minimum limit values so as to determine the simulated actual engine oil pressure;
further, the first determining unit may include:
the first determining subunit is used for determining an atmospheric pressure value of a simulation working condition under a preset simulation environment as an initial engine oil pressure value;
and the second determining subunit is used for determining the undetermined engine oil pressure at each moment in the preset time period according to the ECU engine oil pump control duty ratio, the ECU pre-control duty ratio, the simulated engine rotating speed, the simulated engine oil temperature and the engine oil pressure initial value if the working state of the engine is detected to be the starting state.
Further, the second determining subunit is specifically configured to:
determining the change direction and the change rate of the engine oil pressure according to the difference value between the control duty ratio of the ECU engine oil pump and the pre-control duty ratio of the ECU;
Determining a correction coefficient of the engine oil pressure according to the simulated engine speed, the simulated engine oil temperature and the engine oil pressure change direction;
and determining the undetermined oil pressure at each moment in the preset time period according to the oil pressure change direction, the correction coefficient, the pressure change rate and the oil pressure initial value.
Further, the second determining unit is specifically configured to:
If the undetermined engine oil pressure is larger than the maximum limit value or smaller than the minimum limit value, determining the simulated actual engine oil pressure according to the preset maximum limit value and the preset minimum limit value;
And if the oil pressure to be determined is smaller than the maximum limit value and larger than the minimum limit value, determining that the oil pressure to be determined is the simulated actual oil pressure.
Further, the device is also used for:
determining a demand unit and a demand type corresponding to the simulated actual engine oil pressure;
and performing format conversion on the simulated actual engine oil pressure according to the demand units and the demand types so as to update the simulated actual engine oil pressure.
Example IV
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention; fig. 4 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the respective methods and processes described above, such as a simulated calculation method of the engine oil pressure.
In some embodiments, the method of analog calculation of oil pressure may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the above-described method of analog calculation of oil pressure may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform an analog calculation of the oil pressure in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for simulating calculation of engine oil pressure, comprising:
creating a controlled object corresponding to the target oil pump in a preset simulation environment, and controlling the controlled object to simulate the operation of the target oil pump;
Collecting a target signal generated in the running process, and determining the working state of the engine corresponding to the target oil pump according to the target signal; the working state is a starting state and an un-starting state;
and determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal.
2. The method of claim 1, wherein determining the operating state of the target oil pump for the engine based on the target signal comprises:
Determining the association relation between the simulated engine speed in the target signal and a preset speed threshold;
and according to the association relation, if the rotation speed of the simulated engine is greater than a preset rotation speed threshold value, determining that the working state of the engine corresponding to the target oil pump is a starting state.
3. The method of claim 1, wherein determining simulated actual oil pressure at each time instant within a preset time period based on the operating condition and the target signal comprises:
determining the undetermined engine oil pressure at each moment in a preset time period according to the working state of the engine and the target signal;
and carrying out limit processing on the to-be-determined engine oil pressure according to the association relation between the to-be-determined engine oil pressure and the preset maximum and minimum limit values so as to determine and simulate the actual engine oil pressure.
4. A method according to claim 3, wherein determining the pending oil pressure at each moment in the preset time period based on the operating state of the engine and the target signal comprises:
determining an atmospheric pressure value of a simulation working condition in a preset simulation environment as an initial engine oil pressure value;
If the working state of the engine is detected to be a starting state, determining the undetermined engine oil pressure at each moment in a preset time period according to the ECU engine oil pump control duty ratio, the ECU pre-control duty ratio, the simulated engine speed, the simulated engine oil temperature and the engine oil pressure initial value.
5. The method of claim 4, wherein determining the pending oil pressure at each time instant within the preset time period comprises:
determining the change direction and the change rate of the engine oil pressure according to the difference value between the control duty ratio of the ECU engine oil pump and the pre-control duty ratio of the ECU;
Determining a correction coefficient of the engine oil pressure according to the simulated engine speed, the simulated engine oil temperature and the engine oil pressure change direction;
and determining the undetermined oil pressure at each moment in the preset time period according to the oil pressure change direction, the correction coefficient, the pressure change rate and the oil pressure initial value.
6. A method according to claim 3, wherein limiting the pending oil pressure according to the association of the pending oil pressure with a preset maximum and minimum limit to determine a simulated actual oil pressure comprises:
If the undetermined engine oil pressure is larger than the maximum limit value or smaller than the minimum limit value, determining the simulated actual engine oil pressure according to the preset maximum limit value and the preset minimum limit value;
And if the oil pressure to be determined is smaller than the maximum limit value and larger than the minimum limit value, determining that the oil pressure to be determined is the simulated actual oil pressure.
7. The method of claim 1, wherein after determining the simulated actual oil pressure at each time instant within the preset time period, further comprising:
determining a demand unit and a demand type corresponding to the simulated actual engine oil pressure;
and performing format conversion on the simulated actual engine oil pressure according to the demand units and the demand types so as to update the simulated actual engine oil pressure.
8. An oil pressure simulation calculation apparatus, comprising:
the simulation module is used for creating a controlled object corresponding to the target oil pump in a preset simulation environment and controlling the controlled object to simulate the operation of the target oil pump;
The state determining module is used for collecting a target signal generated in the running process and determining the working state of the engine corresponding to the target oil pump according to the target signal; the working state is a starting state and an un-starting state;
And the pressure determining module is used for determining the simulated actual engine oil pressure at each moment in a preset time period according to the working state and the target signal.
9. An electronic device, the electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores a computer program to be executed by the at least one processor to enable the at least one processor to perform the simulated calculation method of the oil pressure according to any one of claims 1 to 7.
10. A computer readable storage medium storing computer instructions for causing a processor to perform the method of simulating the engine oil pressure of any one of claims 1-7 when executed.
CN202410229739.3A 2024-02-29 2024-02-29 Method, device and equipment for simulating and calculating engine oil pressure and storage medium Pending CN118278300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410229739.3A CN118278300A (en) 2024-02-29 2024-02-29 Method, device and equipment for simulating and calculating engine oil pressure and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410229739.3A CN118278300A (en) 2024-02-29 2024-02-29 Method, device and equipment for simulating and calculating engine oil pressure and storage medium

Publications (1)

Publication Number Publication Date
CN118278300A true CN118278300A (en) 2024-07-02

Family

ID=91633153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410229739.3A Pending CN118278300A (en) 2024-02-29 2024-02-29 Method, device and equipment for simulating and calculating engine oil pressure and storage medium

Country Status (1)

Country Link
CN (1) CN118278300A (en)

Similar Documents

Publication Publication Date Title
CN117846797B (en) Control method, device and equipment of knock suppression system of hydrogen engine
CN116090605A (en) Pipe network early warning method and device, electronic equipment and storage medium
CN118278300A (en) Method, device and equipment for simulating and calculating engine oil pressure and storage medium
CN116596106A (en) Power prediction method and device for wind power station, electronic equipment and storage medium
CN116148666A (en) Battery SOC signal processing method, device, vehicle, computer readable storage medium and computer program product
CN114779109A (en) Method and device for determining battery health state, electronic equipment and storage medium
CN115511047B (en) Quantification method, device, equipment and medium of Softmax model
CN114838699B (en) Deformation monitoring method, device and equipment of power transmission tower and storage medium
CN117569938B (en) Method, device, equipment and medium for confirming injection time of diesel engine
CN221224781U (en) Integrated yaw error correction device
CN112835007B (en) Point cloud data conversion method and device, electronic equipment and storage medium
CN115361449B (en) Method, device, equipment and storage medium for adjusting IP resources
CN117477543A (en) Power distribution system stability evaluation system, method and electronic equipment
CN117349130A (en) Method and device for determining duration, electronic equipment and storage medium
CN116905604A (en) Multi-mode control method, device, equipment and medium for hybrid engineering machinery
CN116643549A (en) Safety-related calibration data determining method and device, electronic equipment and medium
CN116756061A (en) External equipment adaptation method, device, equipment and storage medium
CN117302166A (en) Parallel system torque distribution method, device, equipment and medium
CN116186990A (en) Combined heat and power simulation method and device
CN116663295A (en) Automatic testing method and device for clutch, upper computer, medium and system
CN118392512A (en) Method, device, equipment and medium for testing transient response performance of automobile
CN117825963A (en) Power battery SOC estimation method, device, equipment and storage medium
CN117216633A (en) Parameter analysis model training and parameter analysis method, device, equipment and medium
CN118418132A (en) State monitoring method, device, equipment and system of photovoltaic panel installation robot
CN115296579A (en) Permanent magnet synchronous motor demagnetization control method and device, electric vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination