Electromagnetic valve control method and device for piston cooling nozzle, equipment, medium and product
By controlling the current duty cycle of the piston cooling nozzle solenoid valve according to the engine operating conditions, the problem of damage to the solenoid valve due to excessive power is solved, and the stability and reliability of the piston cooling nozzle are improved.
Patent Information
- Application Number
- CN202511124874.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-10-14
AI Technical Summary
The solenoid valve of the piston cooling nozzle has too much power during operation, causing damage to the solenoid valve.
By determining the target driving current value and actual driving current value of the target solenoid valve according to the current operating conditions of the target engine, and determining the target current duty cycle according to the target driving current value and the actual driving current value, the solenoid valve is controlled to operate according to the target current duty cycle, thereby achieving reasonable power control of the solenoid valve.
Effectively reduce the working power of the solenoid valve, avoid solenoid valve damage, and improve the operating stability and reliability of the piston cooling nozzle.
Smart Images

Figure CN120777094A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle engineering, and in particular to a piston cooling nozzle solenoid control method, device, equipment, medium and product. BACKGROUND
[0002] With the development of diesel engines, the thermal load of the piston is increased. In order to meet the relevant use requirements, the diesel engine adopts an internal cooling oil chamber design. When the piston is moving at high speed, the cooling oil is sprayed into the oil chamber through the piston cooling nozzle, so as to reduce the temperature of the piston and achieve the purpose of oil saving.
[0003] After the piston cooling nozzle is produced, it will be applied to vehicles in different working voltage environments. In order to ensure that the piston cooling nozzle can work normally, the power of the solenoid valve of the piston cooling nozzle needs to be controlled when it is working, so as to avoid the problem of solenoid valve damage caused by excessive working power. SUMMARY
[0004] The present application provides a piston cooling nozzle solenoid control method, device, equipment, medium and product to solve the problem of solenoid valve damage caused by excessive working power of the piston cooling nozzle solenoid.
[0005] According to an aspect of the present application, a piston cooling nozzle solenoid control method is provided, which comprises:
[0006] According to the current operating condition of the target engine, a target driving current value of a target solenoid corresponding to a target piston cooling nozzle is determined, and an actual driving current value of the target solenoid is determined; wherein the target piston cooling nozzle is arranged in the target engine;
[0007] According to the target driving current value and the actual driving current value, a target current duty cycle corresponding to the target solenoid is determined, and the target solenoid is controlled to operate according to the target current duty cycle.
[0008] According to another aspect of the present application, a piston cooling nozzle solenoid control device is provided, which comprises:
[0009] A driving current value determination module is configured to determine a target driving current value of a target solenoid corresponding to a target piston cooling nozzle according to the current operating condition of a target engine, and to determine an actual driving current value of the target solenoid; wherein the target piston cooling nozzle is arranged in the target engine;
[0010] A current duty cycle determination module is configured to determine a target current duty cycle corresponding to the target solenoid according to the target driving current value and the actual driving current value, and to control the target solenoid to operate according to the target current duty cycle.
[0011] According to another aspect of the present application, there is provided an electronic device, comprising:
[0012] at least one processor; and
[0013] a memory connected with the at least one processor in communication; wherein,
[0014] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the electromagnetic valve control method of the piston cooling nozzle according to any one of the present application.
[0015] According to another aspect of the present application, there is provided a computer readable storage medium storing computer instructions for enabling a processor to perform the electromagnetic valve control method of the piston cooling nozzle according to any one of the present application when executed by the processor.
[0016] According to another aspect of the present application, there is provided a computer program product comprising a computer program for enabling a processor to perform the electromagnetic valve control method of the piston cooling nozzle according to any one of the present application when executed by the processor.
[0017] The present application determines the target driving current value of the target electromagnetic valve corresponding to the target piston cooling nozzle according to the current operating condition of the target engine, and determines the actual driving current value of the target electromagnetic valve, wherein the target piston cooling nozzle is arranged in the target engine; determines the target current duty cycle of the target electromagnetic valve according to the target driving current value and the actual driving current value, and controls the target electromagnetic valve to operate according to the target current duty cycle, which has the beneficial effect that by real-time calculation and control of the target current duty cycle of the target electromagnetic valve, the target electromagnetic valve is powered only at necessary time period and is powered off at the rest of time, which can effectively reduce the working power of the target electromagnetic valve, avoid the problem of damage of the electromagnetic valve due to excessive working power, and improve the operation stability and reliability of the piston cooling nozzle.
[0018] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiment description. Obviously, the drawings in the following description only show some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0020] Figure 1 A flow chart of an electromagnetic valve control method of a piston cooling nozzle provided for the first embodiment of the present application is shown in FIG. 1.
[0021] Figure 2 A flow chart of an electromagnetic valve control method of a piston cooling nozzle provided for the second embodiment of the present application is shown in FIG. 2.
[0022] Figure 3 A structural schematic diagram of an electromagnetic valve control device of a piston cooling nozzle provided for the third embodiment of the present application is shown in FIG. 3.
[0023] Figure 4 A structural schematic diagram of an electronic device for implementing the electromagnetic valve control method of the piston cooling nozzle is shown in FIG. 4. DETAILED DESCRIPTION
[0024] In order to make the technical personnel in the art better understand the present application, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort should be within the scope of protection of the present application.
[0025] It should be noted that the terms "candidate", "target", "current", "first", "second", "third" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not necessarily limit to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0026] Embodiment one
[0027] Figure 1A flow chart of a solenoid valve control method of a piston cooling nozzle is provided for Embodiment One of the present application. This embodiment can be applied to current duty cycle control of the solenoid valve of the piston cooling nozzle to ensure that the solenoid valve of the piston cooling nozzle is at a reasonable working power. The method can be executed by a solenoid valve control device of the piston cooling nozzle, which can be realized in the form of hardware and / or software, such as a vehicle-mounted computer or a solenoid valve controller. As shown in FIG. 64, Figure 1 the method comprises:
[0028] S101, determining a target drive current value of a target solenoid valve corresponding to a target piston cooling nozzle according to a current operating condition of a target engine, and determining an actual drive current value of the target solenoid valve.
[0029] The target engine refers to the specific engine object being analyzed at present, including but not limited to diesel engine, gasoline engine, or gas fuel engine, etc. The specific type of the target engine is not limited in the embodiment.
[0030] The current operating condition of the target engine refers to the real-time working state of the engine under certain conditions, including but not limited to the current engine speed, the current engine torque, the current engine temperature, etc.
[0031] The target piston cooling nozzle is provided in the target engine, and refers to the specific piston cooling nozzle assembly being monitored. The piston cooling nozzle is an electromechanical nozzle with adjustable ability in the engine, which is usually driven by a solenoid valve. Its core function is to prevent the piston from expanding and failing due to high temperature by precisely controlling the oil injection flow.
[0032] The target solenoid valve corresponding to the target piston cooling nozzle refers to the control valve directly associated with the target piston cooling nozzle, which is an actuator in one-to-one control relationship with the target piston cooling nozzle, used to adjust the oil flow or pressure to the target piston cooling nozzle, thereby realizing dynamic optimization of the piston cooling intensity.
[0033] The target drive current value refers to an ideal current setting value that can accurately control the opening degree of the target solenoid valve and avoid the target solenoid valve being at an abnormal working power. In other words, when the drive current value of the target solenoid valve is the target drive current value, the opening degree and working power of the target solenoid valve are both at the optimal state. The target solenoid valve generates a magnetic field based on the drive current value to drive the valve core to move, thereby adjusting the cooling oil flow.
[0034] The actual drive current value refers to the real current value flowing through the coil of the target solenoid valve measured by a sensor in real time.
[0035] It can be understood that, since the target electromagnetic valve driving current value is the target driving current value, the target electromagnetic valve opening degree and the working power are in the optimal state, therefore, in order to ensure that the target electromagnetic valve opening degree and the working power are in the optimal state, the actual driving current value should be infinitely close to the target driving current value. In other words, the target driving current value is a theoretical design reference, reflecting the ideal intention of the control system; the actual driving current value reflects the execution deviation of the physical world.
[0036] In an embodiment, a "solenoid valve opening degree-operation condition" mapping table is obtained, wherein the mapping relationship between various operation conditions and various solenoid valve opening degrees obtained according to test experiments is recorded in the "solenoid valve opening degree-operation condition" mapping table. It can be understood that, if there is a mapping relationship between any solenoid valve opening degree and any operation condition, it indicates that in the case of the operation condition, the target electromagnetic valve should be in the solenoid valve opening degree, so as to ensure that the oil flow or pressure flowing to the target piston cooling nozzle can meet the operation condition. The solenoid valve opening degree refers to the opening degree of the fluid passage in the target electromagnetic valve, which is used to quantify the control state of the valve to the oil flow. For example, solenoid valve opening degree 0% represents full closing, solenoid valve opening degree 100% represents full opening, and solenoid valve opening degree 50% represents half opening.
[0037] Further, a "solenoid valve opening degree-driving current value" mapping table is obtained, wherein the mapping relationship between various solenoid valve opening degrees and various driving current values obtained according to test experiments is recorded in the "solenoid valve opening degree-driving current value" mapping table. It can be understood that, if there is a mapping relationship between any solenoid valve opening degree and any driving current value, it indicates that in the case of the driving current value, the target electromagnetic valve can be driven to be in the solenoid valve opening degree.
[0038] Further, according to the current operation condition of the target engine, information matching is performed in the "solenoid valve opening degree-operation condition" mapping table and the "solenoid valve opening degree-driving current value" mapping table respectively, and the target driving current value of the target electromagnetic valve is determined according to the information matching result.
[0039] Further, in an embodiment, a current sensor is used to measure the actual driving current value of the target electromagnetic valve, and the current sensor includes but is not limited to a Hall effect sensor, a current transformer, a shunt resistance + operational amplifier, a Rogowski coil, etc.
[0040] In another embodiment, a current board sampling voltage value corresponding to the target electromagnetic valve is obtained, and a current current scaling coefficient and a current current offset coefficient associated with the current board sampling voltage value are determined, and the actual driving current value of the target electromagnetic valve is calculated according to the current board sampling voltage value, the current current scaling coefficient and the current current offset coefficient.
[0041] S102, according to the target driving current value and the actual driving current value, determine the target current duty ratio corresponding to the target electromagnetic valve, and control the target electromagnetic valve to run according to the target current duty ratio.
[0042] The target current duty ratio is the core parameter for accurately controlling the current of the electromagnetic valve through the pulse width modulation technology, and its essence is to realize the dynamic adjustment of the working state of the electromagnetic valve by adjusting the ratio of the current on-off time. In other words, the target current duty ratio is the best on-time ratio calculated to force the actual driving current value to accurately track the target driving current value. For example, the period is 10ms, and the on-time is 4ms, then the target current duty ratio is calculated as 40%.
[0043] In an embodiment, according to the target driving current value and the actual driving current value, the current driving current difference is determined by difference operation. And, the "driving current difference- feedforward control value" mapping table is obtained, wherein the "driving current difference- feedforward control value" mapping table records the mapping relationship between various driving current differences and various feedforward control values obtained according to test experiments. The feedforward control value refers to the feedforward control value of the current closed-loop control, which is a key parameter for pre-compensating system disturbance. Its core function is to predict disturbance factors through mathematical model and generate control instructions in advance to optimize dynamic response performance.
[0044] Further, according to the current driving current difference in the "driving current difference- feedforward control value" mapping table, information matching is performed, and the current feedforward control value corresponding to the current driving current difference is determined according to the information matching result. And, the proportional coefficient value, integral coefficient value and differential coefficient value of the electromagnetic valve controller corresponding to the target electromagnetic valve are determined, and then the target current duty ratio is calculated according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value.
[0045] Further, through the pulse width modulation (PWM) technology, the on-off time ratio of the target electromagnetic valve driving signal is dynamically adjusted according to the target current duty ratio, so as to accurately control the average working current, so that the target electromagnetic valve runs according to the target current duty ratio, and is used to drive the piston cooling nozzle.
[0046] The embodiment of the application determines the target driving current value of the target electromagnetic valve corresponding to the target piston cooling nozzle according to the current operating condition of the target engine, and determines the actual driving current value of the target electromagnetic valve, wherein the target piston cooling nozzle is arranged in the target engine; according to the target driving current value and the actual driving current value, the target current duty cycle corresponding to the target electromagnetic valve is determined, and the target electromagnetic valve is controlled to operate according to the target current duty cycle, which has the beneficial effect that by calculating and controlling the target current duty cycle of the target electromagnetic valve in real time, the target electromagnetic valve is powered only at the necessary time period, and is powered off at the rest of the time, which can effectively reduce the working power of the target electromagnetic valve, avoid the problem of damage of the electromagnetic valve due to excessive working power, and improve the operating stability and reliability of the piston cooling nozzle.
[0047] Embodiment two
[0048] Figure 2 A flowchart of a piston cooling nozzle electromagnetic valve control method provided by the second embodiment of the application, the present embodiment further optimizes and extends the above-mentioned embodiment, and can be combined with the above-mentioned various optional embodiments. As shown in Figure 2 , the method comprises:
[0049] S201, obtaining a first mapping relationship between a candidate electromagnetic valve opening included in a target electromagnetic valve and a candidate operating condition combination.
[0050] The candidate electromagnetic valve opening refers to a series of discrete electromagnetic valve opening values that can be selected in advance. The electromagnetic valve opening value refers to the size of the flow passage cross section caused by the displacement of the valve core, which is usually expressed as a percentage. The candidate operating condition combination refers to a set of cross combinations of a plurality of pre-designed operating conditions, which is generated by a candidate engine speed and a candidate engine torque of the target engine. That is, the candidate operating condition combination includes any candidate engine speed and any candidate engine torque.
[0051] It can be understood that if any candidate electromagnetic valve opening and any candidate operating condition combination have a first mapping relationship, it indicates that in the case of the candidate operating condition combination, the target electromagnetic valve should be in the candidate electromagnetic valve opening to ensure that the oil flow or pressure flowing to the target piston cooling nozzle can meet the candidate operating condition combination.
[0052] S202, generating a current operating condition combination according to a current engine speed and a current engine torque, and determining a target electromagnetic valve opening of the target electromagnetic valve according to the matching result between the current operating condition combination and the first mapping relationship; determining the target driving current value of the target electromagnetic valve according to the target electromagnetic valve opening.
[0053] For example, assuming that the current operating condition combination is "engine speed A, engine torque B", and that the candidate operating condition combination "engine speed A, engine torque B" and the candidate electromagnetic valve opening degree "50%" have a mapping relationship in the first mapping relationship, the target electromagnetic valve opening degree of the target electromagnetic valve is determined to be "50%".
[0054] Further, the target driving current value of the target electromagnetic valve is determined according to the target electromagnetic valve opening degree.
[0055] By obtaining the first mapping relationship between the candidate electromagnetic valve opening degree contained in the target electromagnetic valve and the candidate operating condition combination, generating the current operating condition combination according to the current engine speed and the current engine torque, and determining the target electromagnetic valve opening degree of the target electromagnetic valve according to the matching result between the current operating condition combination and the first mapping relationship, the target driving current value of the target electromagnetic valve is determined according to the target electromagnetic valve opening degree, which has the beneficial effect that the pre-established candidate electromagnetic valve opening degree-candidate operating condition combination mapping relationship (first mapping relationship) can quickly match the optimal opening degree according to the real-time detected current operating condition combination, thereby improving the response speed.
[0056] Optionally, the target driving current value of the target electromagnetic valve is determined according to the target electromagnetic valve opening degree, comprising:
[0057] Obtaining a second mapping relationship between the candidate driving current value of the target electromagnetic valve and the candidate electromagnetic valve opening degree; determining the candidate driving current value associated with the target electromagnetic valve opening degree as the target driving current value according to the matching result between the target electromagnetic valve opening degree and the second mapping relationship.
[0058] The candidate driving current value refers to a set of current values that have a potential corresponding relationship with the candidate electromagnetic valve opening degree, which is established by calibration or calculation in advance. It can be understood that if any candidate electromagnetic valve opening degree and any candidate driving current value have a second mapping relationship, it means that in the case of the candidate driving current value, the target electromagnetic valve can be driven to the candidate electromagnetic valve opening degree.
[0059] For example, assuming that the target electromagnetic valve opening degree is "50%", and that the candidate electromagnetic valve opening degree "50%" and the candidate driving current value "50mA" have a mapping relationship in the second mapping relationship, the target driving current value is determined to be "50mA".
[0060] By acquiring a second mapping relationship between the candidate driving current value of the target electromagnetic valve and the candidate electromagnetic valve opening degree; according to the matching result between the target electromagnetic valve opening degree and the second mapping relationship, determining the candidate driving current value associated with the target electromagnetic valve opening degree as the target driving current value, the beneficial effect lies in: through real-time maintenance of the second mapping relationship of "candidate driving current value-candidate electromagnetic valve opening degree", dynamically matching the target driving current value required by the target electromagnetic valve opening degree, improving the precision of driving current value control.
[0061] S203, collect the current board sampling voltage value corresponding to the target electromagnetic valve, and determine the current current scaling coefficient and the current current offset coefficient associated with the current board sampling voltage value.
[0062] Among them, the current board sampling voltage value refers to the original voltage signal reflecting the working current of the target electromagnetic valve measured by the hardware sampling circuit on the circuit board in real time in the electromagnetic valve control system.
[0063] The current current scaling coefficient refers to a proportional calibration parameter used to convert the collected current board sampling voltage value into an actual current value, and its core function is to solve the non-linear error of the hardware circuit and the device difference, and to ensure the measurement accuracy.
[0064] The current current offset coefficient refers to a compensation parameter used to calibrate the inherent zero point offset of the sampling system, and its core function is to eliminate the reference error of the hardware circuit through mathematical correction. Different candidate current offset coefficients corresponding to different candidate board sampling voltage values are obtained in advance according to test experiments.
[0065] In one embodiment, the current board sampling voltage value corresponding to the target electromagnetic valve is collected, and the current current offset coefficient associated with the current board sampling voltage value is determined according to the mapping relationship between the candidate board sampling voltage value and the candidate current offset coefficient established in advance. And, the current current scaling coefficient is set in advance, for example, the current current scaling coefficient is set to 0.5, etc.
[0066] S204, determine the current current scaling value according to the product result between the current board sampling voltage value and the current current scaling coefficient, and determine the actual driving current value according to the sum result between the current current scaling value and the current current offset coefficient.
[0067] For example, the actual driving current value is calculated by the following formula:
[0068] The actual driving current value=(current board sampling voltage value*current current scaling coefficient)+current current offset coefficient. Wherein, "current board sampling voltage value*current current scaling coefficient" is the current current scaling value.
[0069] By collecting the current board voltage value corresponding to the target electromagnetic valve, the current current scaling coefficient and the current current offset coefficient associated with the current board voltage value are determined; the current current scaling value is determined according to the product result between the current board voltage value and the current current scaling coefficient, and the actual driving current value is determined according to the sum result between the current current scaling value and the current current offset coefficient, and the beneficial effects are that:
[0070] In the first aspect, the current current scaling coefficient and the current current offset coefficient are introduced to calculate the actual driving current value, which realizes the effect of dynamically compensating the hardware error and improves the accuracy of the actual driving current value calculation.
[0071] In the second aspect, the effect of automatically calculating the actual driving current value is realized, and the manual calculation link is eliminated, thereby reducing the labor cost.
[0072] S205, determine the current driving current difference value according to the target driving current value and the actual driving current value, and determine the current feedforward control value according to the third mapping relationship between the current driving current difference value, the candidate driving current difference value and the candidate feedforward control value.
[0073] Among them, the candidate feedforward control value refers to the optimal compensation parameter set matched with a specific candidate driving current difference value determined in advance through modeling or experiment. These values are stored in the controller in the form of a mapping table, which is used to quickly match the best feedforward compensation amount according to the real-time current driving current difference value as the current feedforward control value.
[0074] For example, assuming that the current driving current difference value is "0.15A", and assuming that the candidate driving current difference value "0.15A" and the candidate feedforward control value "20%" have a mapping relationship in the third mapping relationship, then the current feedforward control value is determined as "20%".
[0075] S206, determine the proportional coefficient value, integral coefficient value and differential coefficient value of the electromagnetic valve controller corresponding to the target electromagnetic valve, and determine the target current duty cycle according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value.
[0076] Among them, the proportional coefficient value refers to the linear proportional relationship coefficient between the output of the electromagnetic valve controller and the current error; the integral coefficient value refers to the linear proportional relationship coefficient between the output of the electromagnetic valve controller and the error accumulation; and the differential coefficient value refers to the linear proportional relationship coefficient between the output of the electromagnetic valve controller and the error change rate.
[0077] In an embodiment, the target current duty cycle is calculated by the following formula:
[0078] Target current duty cycle = 100% - (current feedforward control value + proportional coefficient value + integral coefficient value + differential coefficient value).
[0079] By determining the current driving current difference value according to the target driving current value and the actual driving current value, and determining the current feedforward control value according to the current driving current difference value, and a third mapping relationship between the candidate driving current difference value and the candidate feedforward control value, and determining the proportional coefficient value, the integral coefficient value and the differential coefficient value of the electromagnetic valve controller corresponding to the target electromagnetic valve, and determining the target current duty cycle according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value, the beneficial effects are that:
[0080] In the first aspect, the third mapping relationship is used to realize interference pre-compensation. When the current suddenly changes, the system directly calls the pre-stored current feedforward control value to offset the main disturbance.
[0081] In the second aspect, the proportional coefficient value, the integral coefficient value and the differential coefficient value are used to dynamically fine-tune based on the current driving current difference value, and the feedback control eliminates the steady-state error.
[0082] S207, controlling the target electromagnetic valve to operate according to the target current duty cycle.
[0083] Optionally, the method further comprises:
[0084] Determining the working state of the current duty cycle remote setting system, and in the case that the working state is the active state, obtaining the user-sent custom current duty cycle through the current duty cycle remote setting system; and controlling the target electromagnetic valve to operate according to the custom current duty cycle.
[0085] The current duty cycle remote setting system is an integrated remote control module, and its core function is to realize dynamic configuration and delivery of the driving current duty cycle of the electromagnetic valve through a network or a communication protocol. The custom current duty cycle refers to a pulse current signal parameter set by the user remotely according to actual needs to control the working state of the target electromagnetic valve.
[0086] In an embodiment, the working state of the current duty cycle remote setting system is determined according to the state identifier of the control switch corresponding to the current duty cycle remote setting system, and if it is determined that the working state is the active state, the user-sent custom current duty cycle is obtained through the current duty cycle remote setting system, and the target electromagnetic valve is further controlled to operate according to the custom current duty cycle.
[0087] By determining the working state of the current duty cycle remote setting system, in the case that the working state is the active state, the user-sent custom current duty cycle is obtained through the current duty cycle remote setting system; and the target electromagnetic valve is controlled to operate according to the custom current duty cycle, and the beneficial effects are that:
[0088] In the first aspect, the "active state" is detected in real time as a control premise to ensure that the instruction only takes effect when the device is ready, thereby avoiding control failure caused by false triggering.
[0089] In the second aspect, the user-defined duty cycle can realize stepless adjustment of oil flow or pressure, avoiding mechanical impact problems of traditional on-off control.
[0090] Optionally, the working state of the current duty cycle remote setting system is determined, including:
[0091] The state identifier of the control switch corresponding to the current duty cycle remote setting system is obtained; in the case that the state identifier is a first identifier, the working state is determined as an active state; in the case that the state identifier is a second identifier, the working state is determined as a closed state.
[0092] The first identifier is different from the second identifier.
[0093] For example, the state identifier of the control switch corresponding to the current duty cycle remote setting system is obtained; if the state identifier is “1”, it indicates that the working state of the current duty cycle remote setting system is an active state; if the state identifier is “0”, it indicates that the working state of the current duty cycle remote setting system is a closed state.
[0094] By obtaining the state identifier of the control switch corresponding to the current duty cycle remote setting system; in the case that the state identifier is a first identifier, the working state is determined as an active state; in the case that the state identifier is a second identifier, the working state is determined as a closed state, which has the beneficial effect that by setting the binary of the control switch state identifier, the intermediate state ambiguity is avoided, and the risk of false triggering is reduced.
[0095] Optionally, before the target electromagnetic valve is controlled to operate according to the user-defined current duty cycle, it further includes:
[0096] The user-defined current duty cycle is compared in value with a lower limit value of duty cycle and an upper limit value of duty cycle, respectively.
[0097] The lower limit value of duty cycle refers to the minimum effective current duty cycle allowed, and the upper limit value of duty cycle refers to the maximum effective current duty cycle allowed.
[0098] The target electromagnetic valve is controlled to operate according to the user-defined current duty cycle, including:
[0099] In the case that the user-defined current duty cycle is less than the upper limit value of duty cycle and greater than the lower limit value of duty cycle, the target electromagnetic valve is controlled to operate according to the user-defined current duty cycle.
[0100] In an embodiment, if the custom current duty cycle is greater than or equal to the upper limit of the duty cycle, or less than or equal to the lower limit of the duty cycle, the custom current duty cycle issued by the user is rejected. If the custom current duty cycle is less than the upper limit of the duty cycle and greater than the lower limit of the duty cycle, the custom current duty cycle issued by the user is accepted, and the target electromagnetic valve is controlled to operate according to the custom current duty cycle.
[0101] By comparing the custom current duty cycle with the lower limit of the duty cycle and the upper limit of the duty cycle respectively, in the case that the custom current duty cycle is less than the upper limit of the duty cycle and greater than the lower limit of the duty cycle, the target electromagnetic valve is controlled to operate according to the custom current duty cycle, which has the beneficial effect that by dynamically comparing the custom current duty cycle with the preset boundary (the lower limit of the duty cycle and the upper limit of the duty cycle), it is ensured that the current duty cycle always adapts to the current load, maintaining system stability.
[0102] Embodiment three
[0103] Figure 3 A structure diagram of an electromagnetic valve control device for a piston cooling nozzle is provided for embodiment three of the present application, which can be applied to current duty cycle control of an electromagnetic valve of a piston cooling nozzle to ensure that the electromagnetic valve of the piston cooling nozzle is in a reasonable working power condition, as shown in Figure 3 The device comprises:
[0104] A driving current value determination module 31 is configured to determine a target driving current value of a target electromagnetic valve corresponding to a target piston cooling nozzle according to a current operating condition of a target engine, and determine an actual driving current value of the target electromagnetic valve, wherein the target piston cooling nozzle is arranged in the target engine.
[0105] A current duty cycle determination module 32 is configured to determine a target current duty cycle corresponding to the target electromagnetic valve according to the target driving current value and the actual driving current value, and control the target electromagnetic valve to operate according to the target current duty cycle.
[0106] Optionally, the current operating condition is a current engine speed and / or a current engine torque.
[0107] The driving current value determination module 31 is specifically configured to:
[0108] Obtain a first mapping relationship between a candidate electromagnetic valve opening included in the target electromagnetic valve and a candidate operating condition combination, wherein the candidate operating condition combination is generated by a candidate engine speed and a candidate engine torque of the target engine.
[0109] generate a current operating condition combination according to the current engine speed and the current engine torque, and determine a target electromagnetic valve opening degree of the target electromagnetic valve according to a matching result between the current operating condition combination and the first mapping relationship;
[0110] determine a target driving current value of the target electromagnetic valve according to the target electromagnetic valve opening degree.
[0111] Optionally, the driving current value determination module 31 is specifically configured to:
[0112] obtain a second mapping relationship between a candidate driving current value of the target electromagnetic valve and the candidate electromagnetic valve opening degree;
[0113] determine the candidate driving current value associated with the target electromagnetic valve opening degree as the target driving current value according to a matching result between the target electromagnetic valve opening degree and the second mapping relationship.
[0114] Optionally, the driving current value determination module 31 is specifically configured to:
[0115] acquire a current board sampling voltage value corresponding to the target electromagnetic valve, and determine a current current scaling coefficient and a current current offset coefficient associated with the current board sampling voltage value;
[0116] determine a current current scaling value according to a product result between the current board sampling voltage value and the current current scaling coefficient, and determine the actual driving current value according to a summation result between the current current scaling value and the current current offset coefficient.
[0117] Optionally, the current duty cycle determination module 32 is specifically configured to:
[0118] determine a current driving current difference value according to the target driving current value and the actual driving current value, and determine a current feedforward control value according to the current driving current difference value, and a third mapping relationship between a candidate driving current difference value and a candidate feedforward control value;
[0119] determine a proportional coefficient value, an integral coefficient value and a differential coefficient value of an electromagnetic valve controller corresponding to the target electromagnetic valve, and determine the target current duty cycle according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value.
[0120] Optionally, the apparatus further comprises a self-definition module, which is specifically configured to:
[0121] determine a working state of a current duty cycle remote setting system, and acquire a self-defined current duty cycle sent by a user through the current duty cycle remote setting system in a case where the working state is an active state.
[0122] Control the target electromagnetic valve to run according to the self-defined current duty cycle.
[0123] Optionally, the self-defined module is further configured to:
[0124] Obtain a state identifier of a control switch corresponding to the current duty cycle remote setting system;
[0125] In a case where the state identifier is a first identifier, determine that the working state is an activated state;
[0126] In a case where the state identifier is a second identifier, determine that the working state is a closed state;
[0127] The first identifier is different from the second identifier.
[0128] Optionally, the device further comprises a comparison module, which is specifically configured to:
[0129] Compare the self-defined current duty cycle with a lower limit value of the duty cycle and an upper limit value of the duty cycle respectively;
[0130] The current duty cycle determination module 32 is further configured to:
[0131] In a case where the self-defined current duty cycle is less than the upper limit value of the duty cycle and greater than the lower limit value of the duty cycle, control the target electromagnetic valve to run according to the self-defined current duty cycle.
[0132] The electromagnetic valve control device of the piston cooling nozzle provided in the embodiments of the present application can execute the electromagnetic valve control method of the piston cooling nozzle provided in any of the embodiments of the present application, and has the function modules and beneficial effects corresponding to the execution method.
[0133] According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0134] Embodiment Four
[0135] Figure 4 A structural schematic diagram of an electronic device 40 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the present application described and / or claimed in this document.
[0136] like Figure 4 As shown, the electronic device 40 includes at least one processor 41 and a memory, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., which is communicatively connected to the at least one processor 41. The memory stores a computer program that can be executed by the at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 into the random access memory (RAM) 43. Various programs and data required for the operation of the electronic device 40 can also be stored in the RAM 43. The processor 41, ROM 42, and RAM 43 are connected to each other via a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0137] Multiple components in the electronic device 40 are connected to the I / O interface 45, including an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a magnetic disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0138] Processor 41 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of processor 41 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, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. Processor 41 executes the various methods and processes described above, such as the solenoid valve control method for the piston cooling nozzle.
[0139] In some embodiments, the solenoid valve control method for the piston cooling nozzle can be implemented as a computer program that is tangibly contained in a computer-readable storage medium, such as storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via ROM 42 and / or communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the solenoid valve control method for the piston cooling nozzle described above can be performed. Alternatively, in other embodiments, processor 41 can be configured to execute the solenoid valve control method for the piston cooling nozzle by any other appropriate means (e.g., by means of firmware).
[0140] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0141] Computer programs used to implement the processes of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer program
[0142] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, 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.
[0143] 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 the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0144] The systems and techniques described here can be implemented in a computing system that includes a back end 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 back end, 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 a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0145] The computing system can include clients and servers. A client and server are generally 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. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0146] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be executed in parallel, executed in sequence, or executed in a different order, as long as the desired results of the present disclosure are achieved, and the present disclosure is not limited herein.
[0147] The specific embodiments described above are not intended to be limiting, and persons skilled in the art will appreciate that various modifications, combinations, sub-combinations and alternatives can be made to the specific embodiments without departing from the spirit and principles of the disclosure. Accordingly, the disclosure is not limited to the specific embodiments described above, but only by the scope of the appended claims.
Claims
1. A solenoid valve control method for a piston cooling nozzle, characterized in that: The method comprises: determining a target driving current value of a target solenoid valve corresponding to a target piston cooling nozzle according to a current operating condition of a target engine, and determining an actual driving current value of the target solenoid valve; wherein the target piston cooling nozzle is disposed in the target engine; A target current duty cycle corresponding to the target solenoid valve is determined according to the target driving current value and the actual driving current value, and the target solenoid valve is controlled to operate according to the target current duty cycle.
2. The method according to claim 1, characterized in that The current operating condition is the current engine speed and / or the current engine torque; The step of determining a target driving current value of a target solenoid valve corresponding to a target piston cooling nozzle according to a current operating condition of the target engine includes: Obtaining a first mapping relationship between candidate solenoid valve openings included in the target solenoid valve and candidate operating condition combinations; wherein the candidate operating condition combinations are generated by candidate engine speeds and candidate engine torques of the target engine; generating a current operating condition combination according to the current engine speed and the current engine torque, and determining a target solenoid valve opening of the target solenoid valve according to a matching result between the current operating condition combination and the first mapping relationship; A target driving current value of the target solenoid valve is determined according to the target solenoid valve opening.
3. The method according to claim 2, characterized in that The step of determining the target driving current value of the target solenoid valve according to the target solenoid valve opening comprises: Acquire a second mapping relationship between the candidate driving current value of the target solenoid valve and the candidate solenoid valve opening; According to a matching result between the target electromagnetic valve opening and the second mapping relationship, the candidate driving current value associated with the target electromagnetic valve opening is determined as the target driving current value.
4. The method according to claim 1, wherein Determining the actual driving current value of the target solenoid valve includes: Collecting a current board voltage value corresponding to the target solenoid valve, and determining a current current scaling factor and a current current offset factor associated with the current board voltage value; The current scaling value is determined according to the product result between the current board sampling voltage value and the current current scaling coefficient, and the actual driving current value is determined according to the summation result between the current scaling value and the current current offset coefficient.
5. The method according to claim 1, wherein The determining, based on the target driving current value and the actual driving current value, a target current duty cycle corresponding to the target solenoid valve includes: determining a current drive current difference according to the target drive current value and the actual drive current value, and determining a current feedforward control value according to the current drive current difference and a third mapping relationship between candidate drive current differences and candidate feedforward control values; Determine the proportional coefficient value, integral coefficient value and differential coefficient value of the solenoid valve controller corresponding to the target solenoid valve, and determine the target current duty cycle according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value.
6. The method according to claim 1, further comprising: determining an operating state of a current duty cycle remote setting system, and obtaining, through the current duty cycle remote setting system, a user-defined current duty cycle sent by a user when the operating state is an activated state; The target solenoid valve is controlled to operate according to the customized current duty cycle.
7. The method according to claim 6, characterized in that The step of determining the operating state of the current duty cycle remote setting system includes: Obtaining a status identifier of a control switch corresponding to the current duty cycle remote setting system; When the state identifier is the first identifier, determining that the working state is an activated state; When the state identifier is the second identifier, determining that the working state is the closed state; The first identifier is different from the second identifier.
8. The method according to claim 6, before controlling the target solenoid valve to operate according to the customized current duty cycle, further comprising: Comparing the user-defined current duty cycle with the duty cycle lower limit and the duty cycle upper limit respectively; The controlling the target solenoid valve to operate according to the customized current duty cycle includes: When the user-defined current duty cycle is smaller than the duty cycle upper limit and larger than the duty cycle lower limit, the target solenoid valve is controlled to operate according to the user-defined current duty cycle.
9. A solenoid valve control device for a piston cooling nozzle, characterized in that: The device comprises: a driving current value determination module, configured to determine a target driving current value of a target solenoid valve corresponding to a target piston cooling nozzle according to a current operating condition of a target engine, and to determine an actual driving current value of the target solenoid valve; wherein the target piston cooling nozzle is provided in the target engine; The current duty cycle determination module is used to determine the target current duty cycle corresponding to the target solenoid valve according to the target driving current value and the actual driving current value, and control the target solenoid valve to operate according to the target current duty cycle.
10. The device according to claim 9, characterized in that The current operating condition is the current engine speed and / or the current engine torque; The driving current value determination module is specifically used to: Obtaining a first mapping relationship between candidate solenoid valve openings included in the target solenoid valve and candidate operating condition combinations; wherein the candidate operating condition combinations are generated by candidate engine speeds and candidate engine torques of the target engine; generating a current operating condition combination according to the current engine speed and the current engine torque, and determining a target solenoid valve opening of the target solenoid valve according to a matching result between the current operating condition combination and the first mapping relationship; A target driving current value of the target solenoid valve is determined according to the target solenoid valve opening.
11. The device according to claim 10, characterized in that The driving current value determination module is further configured to: Acquire a second mapping relationship between the candidate driving current value of the target solenoid valve and the candidate solenoid valve opening; According to a matching result between the target electromagnetic valve opening and the second mapping relationship, the candidate driving current value associated with the target electromagnetic valve opening is determined as the target driving current value.
12. The device according to claim 9, characterized in that The current duty cycle determination module is specifically configured to: determining a current drive current difference according to the target drive current value and the actual drive current value, and determining a current feedforward control value according to the current drive current difference and a third mapping relationship between candidate drive current differences and candidate feedforward control values; Determine the proportional coefficient value, integral coefficient value and differential coefficient value of the solenoid valve controller corresponding to the target solenoid valve, and determine the target current duty cycle according to the current feedforward control value, the proportional coefficient value, the integral coefficient value and the differential coefficient value.
13. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the solenoid valve control method for a piston cooling nozzle according to any one of claims 1 to 8.
14. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to execute the solenoid valve control method for a piston cooling nozzle according to any one of claims 1 to 8. 15 . A computer program product comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the solenoid valve control method for a piston cooling nozzle according to claim 1 .
Citation Information
Cited By
Rail pressure control method and system based on CPLD (Complex Programmable Logic Device) hardware constant current control and electronic equipment
CN121635041A