Water pump control method, device and system, vehicle, medium and product
By sending a first control command when the electronic control unit is powered on, the power consumption waste and bearing damage problems when the software is not flashed is solved, and energy consumption and product quality improvement are reduced during the production process.
Patent Information
- Application Number
- CN202411152757.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-08-21
AI Technical Summary
Before the electronic control unit is flashed, the electronic water pump cannot be controlled, resulting in waste of power and bearing damage.
When the electronic control unit is powered on, the first control command is sent through the second protection module to stop the electronic water pump from operating, and the module is blocked after the software is flashed to ensure that the water pump does not operate at a preset speed during the production process and avoids dry grinding.
It reduces the energy consumption and damage risks of electronic water pumps, improves the reliability of the production process and product quality, and saves production line transformation costs.
Smart Images

Figure CN119021856A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile engines, and in particular to a water pump control method, device, system, vehicle, medium and product. Background Art
[0002] The electronic water pump communication protocol usually includes a local interconnect network (LIN) communication protocol and a controller area network (CAN) communication protocol. The electronic control unit can send a control signal to the electronic water pump through the LIN communication protocol or the CAN communication protocol so that the electronic water pump operates according to the control signal. However, when the LIN communication protocol or the CAN communication protocol fails, the electronic control unit cannot control the electronic water pump. In order to solve this problem, Chinese patent CN116557281A provides a solution, connecting a relay between the positive electrode of the battery and a communication interface of the electronic water pump. When the vehicle is powered on, the relay sends a high level, and the electronic water pump enables the emergency protection function when it receives the high level, and controls itself to operate. When the vehicle is powered off, the relay sends a low level, and the electronic water pump controls itself to stop operating when it receives the low level. This solution not only realizes the control of the electronic water pump when the electronic water pump disconnects the communication with the electronic control unit, but also realizes the application of low-power level relays, reducing the cost of the electronic water pump control system. However, this solution has a new problem. The electronic control unit is not flashed with the application layer software program when the parts leave the factory. The corresponding software program needs to be flashed on the vehicle assembly line according to the corresponding model. Before the electronic control unit is flashed, the whole vehicle is powered on first. When the electronic control unit software program is flashed, it cannot communicate with the electronic water pump. Since the whole vehicle is powered on, the electronic water pump obtains the high-level signal sent by the relay. The electronic water pump automatically determines that the emergency protection function needs to be enabled, that is, it runs at the preset speed. This situation will cause power consumption waste on the one hand, and on the other hand, for the whole vehicle assembly line where antifreeze is added after the electronic control unit software program flashing process, it will cause dry grinding of the electronic water pump bearing and cause irreversible damage to the bearing. Summary of the invention
[0003] In view of this, the present invention provides a water pump control method, device, system, vehicle, medium and product to solve the problems of power consumption waste and electronic water pump damage caused by the operation of the electronic water pump during the vehicle production process.
[0004] In a first aspect, the present invention provides a water pump control system, the system comprising: an electronic control unit, an electronic water pump, a relay, and a battery; the positive and negative electrodes of the battery are respectively connected to the electronic water pump, the electronic control unit is connected to the electronic water pump through a first communication interface, one end of the relay is connected to the second communication interface of the electronic water pump, and the other end of the relay is connected to the positive electrode of the battery; the relay is used to be turned on when the vehicle is powered on, and disconnected when the vehicle is powered off; a first protection module is deployed in the electronic water pump, the first protection module is used to operate at a preset speed when it detects that the electronic water pump is disconnected from the electronic control unit and receives a high-level signal from the relay, and the first protection module is also used to stop its own operation when receiving a low-level signal from the relay; a second protection module is deployed in the electronic control unit, before the electronic control unit is software-written, the second protection module is used to send a first control instruction to the electronic water pump when the vehicle is powered on, the first control instruction is used to stop the electronic water pump; the execution priority of the first control instruction is higher than the priority of the first protection module to control the electronic water pump to operate at a preset speed.
[0005] According to the above technical means, the water pump control system provided by the present invention deploys a second protection module for the electronic control unit to be flashed without software flashing on the basis of the hardware of the original system. The second protection module can be an execution program deployed at the bottom layer, or a small chip that inherits the corresponding function. The second protection module is used to send a first control instruction to the electronic water pump when the vehicle is powered on when the electronic control unit is not flashed with software. Once the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction. Even if the subsequent electronic control unit to be flashed starts to flash the software and is disconnected from the electronic water pump, the electronic water pump will determine whether the first control instruction has been executed before executing the preset speed operation. If the first control instruction is executed, the execution priority of the first control instruction is higher, and the operation of itself is always stopped. In the production process of the vehicle, not only the energy consumption is reduced, but also the electronic water pump can be prevented from dry grinding without adding coolant, reducing the risk of damage to the electronic water pump.
[0006] In some optional implementations, the second protection module is in a shielded state after the software of the electronic control unit is flashed.
[0007] In a second aspect, the present invention provides a water pump control method, which is applied to an electronic control unit, and the method includes: receiving a vehicle power-on signal before software flashing; in response to the vehicle power-on signal, calling a second protection module to send a first control instruction to the electronic water pump, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction; performing software flashing after sending the first control instruction, and disconnecting the communication between the electronic control unit and the electronic water pump during the software flashing process, wherein, when the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay has a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is kept stopped.
[0008] According to the above technical means, the water pump control system provided by the present invention deploys a second protection module for the electronic control unit to be flashed without software flashing, based on the hardware of the original system. The second protection module is used to send a first control instruction to the electronic water pump when the electronic control unit is powered on. Once the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction. Even if the subsequent electronic control unit to be flashed starts software flashing and is disconnected from the electronic water pump, the electronic water pump will determine whether the first control instruction has been executed before executing the preset speed operation. If the first control instruction is executed, the execution priority of the first control instruction is higher, and the operation of itself is always stopped. In the production process of the vehicle, not only the energy consumption is reduced, but also the electronic water pump can be prevented from dry grinding without adding coolant, reducing the risk of damage to the electronic water pump.
[0009] In some optional implementations, the method further includes: when the software flashing is completed, shielding the second protection module.
[0010] According to the above-mentioned technical means, the present invention automatically shields the function of the second protection module when the electronic control unit completes software flashing, so that the first control instruction of the electronic control unit is only issued before flashing. After flashing, the electronic control unit controls the electronic water pump normally through the electronic control unit control logic after software flashing, thereby avoiding repeated issuance of the first control instruction, which causes the electronic water pump to continue to stop.
[0011] In some optional implementations, the method further includes: after the software flashing is completed, sending a second control instruction to the electronic water pump, so that the electronic water pump terminates the operation corresponding to the first control instruction according to the second control instruction and controls its own operation.
[0012] According to the above technical means, when the vehicle is offline to test the engine, the electronic water pump has been filled with coolant, and the software of the electronic control unit has been flashed, and the electronic control unit can control the electronic water pump through its own control logic. The second control instruction issued by the speed control logic of the electronic control unit has a higher priority than the first control instruction, so that the first control instruction can be stopped, the continuous stop mode of the electronic water pump can be ended, and the electronic water pump can enter the normal operation mode, so that the electronic water pump enters the normal test process, and will not cause damage to the electronic water pump.
[0013] In a third aspect, the present invention provides a water pump control method, which is applied to an electronic water pump, and the method comprises: receiving a high-level signal of a relay and a first control instruction sent by an electronic control unit, the first control instruction being an instruction sent by a second protection module when the electronic control unit to be software-written is powered on; in response to the first control instruction, stopping its own operation; when the first protection module detects that the communication with the electronic control unit is disconnected, determining whether the first control instruction is currently being executed; if the first control instruction is being executed, not executing the preset speed operation, and keeping stopping its own operation; if the first control instruction is not being executed, executing the preset speed operation.
[0014] In some optional embodiments, the method further includes: when receiving a second control instruction sent by the electronic control unit, stopping executing the operation corresponding to the first control instruction according to the second control instruction and controlling its own operation, and the second control instruction is an instruction sent by the electronic control unit after flashing.
[0015] In some optional embodiments, the method also includes: when it is detected through the first protection module that the communication connection between the electronic water pump and the electronic control unit is interrupted and the electronic water pump is running at a preset speed, detecting whether a low-level signal issued by the relay is received; when the low-level signal issued by the relay is detected, controlling the electronic water pump to stop running through the first protection module.
[0016] According to the above technical means, after the electronic control unit is successfully flashed, if the vehicle is powered on and the electronic control unit and the electronic water pump lose communication, the electronic water pump enters the emergency protection function and calls the first protection module to operate the water pump at a preset speed. When the vehicle is powered off again, the relay changes from a high level to a low level, thereby controlling the electronic water pump from the operating state of the emergency protection function to a stopped state, reducing the energy consumption of the battery.
[0017] In a fourth aspect, the present invention provides a water pump control device, which is applied to an electronic control unit, and the device includes: a power-on module, which is used to receive a vehicle power-on signal before software flashing; a first control instruction sending module, which is used to respond to the vehicle power-on signal and call the second protection module to send a first control instruction to the electronic water pump, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction; a flashing module, which is used to flash the software after sending the first control instruction, and disconnect the communication between the electronic control unit and the electronic water pump during the software flashing process, wherein, when the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay has a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is kept stopped.
[0018] In a fifth aspect, the present invention provides a water pump control device, which is applied to an electronic water pump, and the device includes: a first control instruction receiving module, which is used to receive a high-level signal of a relay and a first control instruction sent by an electronic control unit, and the first control instruction is an instruction sent by a second protection module when the electronic control unit to be software flashed is powered on; a first stop module, which is used to respond to the first control instruction and stop its own operation; a first judgment module, which is used to determine whether the first control instruction is currently being executed when the communication with the electronic control unit is disconnected through the first protection module; a second stop module, which is used to not execute the preset speed operation if the first control instruction is being executed, and keep stopping its own operation; an emergency operation module, which is used to execute the preset speed operation if the first control instruction is not being executed. In a sixth aspect, the present invention provides a vehicle, including: a housing, a tire, an engine, a transmission mechanism, a vehicle controller and a water pump control system provided in the first aspect, wherein the engine, the transmission mechanism, the vehicle controller and the water pump control system are installed in the housing, the tire is installed on the transmission mechanism, the engine is used to drive the tire to rotate through the transmission mechanism according to the control information of the vehicle controller, and the water pump control system is installed near the engine through a pipeline to dissipate heat for the engine.
[0019] In a seventh aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the second aspect, the third aspect or any corresponding embodiment thereof.
[0020] In an eighth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the second aspect, the third aspect or any corresponding embodiment thereof.
[0021] The technical solution provided by the present invention has the following advantages:
[0022] (1) According to the above technical means, the water pump control system provided by the present invention deploys a second protection module for the electronic control unit to be flashed without software flashing, based on the hardware of the original system. The second protection module can be an execution program deployed at the bottom layer, or a small chip that inherits the corresponding function. The second protection module is used to send a first control instruction to the electronic water pump when the electronic control unit is powered on. Once the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction. Even if the subsequent electronic control unit to be flashed starts software flashing and is disconnected from the electronic water pump, the electronic water pump will determine whether the first control instruction has been executed before executing the preset speed operation. If the first control instruction is executed, the execution priority of the first control instruction is higher, and the operation of the electronic water pump is always stopped. In the production process of the vehicle, not only the energy consumption is reduced, but also the electronic water pump can be prevented from dry grinding without adding coolant, thereby reducing the risk of damage to the electronic water pump.
[0023] (2) According to the above technical means, when the software flashing of the electronic control unit is completed, the present invention automatically shields the function of the second protection module, so that the first control instruction of the electronic control unit is only issued before the flashing. After the flashing, the electronic control unit controls the electronic water pump normally according to the logic after the flashing, thereby avoiding the repeated issuance of the first control instruction, which causes the electronic water pump to stop continuously.
[0024] (3) According to the above technical means, when the vehicle is offline for engine testing, the electronic water pump has been filled with coolant and the software of the electronic control unit has been flashed. The electronic control unit can issue a second control instruction to control the electronic water pump through its own control logic. The second control instruction has a higher priority than the first control instruction, so that the first control instruction can be stopped, the continuous stop mode of the electronic water pump can be ended, and the electronic water pump can enter the normal operation mode, so that the electronic water pump enters the normal test process, which will not cause damage to the electronic water pump and improve the reliability of the vehicle test department.
[0025] (4) According to the above technical means, after the electronic control unit software is flashed, if the vehicle is powered on and the electronic control unit and the electronic water pump lose communication, the electronic water pump enters the emergency protection function and calls the first protection module to operate the water pump at a preset speed. When the vehicle is powered off again, the relay changes from a high level to a low level, thereby controlling the electronic water pump from the operating state of the emergency protection function to the stopped operating state, thereby reducing the energy consumption of the battery. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 It is a structural diagram of a water pump control system of the related technology;
[0028] Figure 2 It is a flow chart of a water pump control method of the related art;
[0029] Figure 3 is a schematic structural diagram of a water pump control system according to an embodiment of the present invention;
[0030] Figure 4 is a flow chart of a water pump control method according to an embodiment of the present invention;
[0031] Figure 5 is another flow chart of a water pump control method according to an embodiment of the present invention;
[0032] Figure 6 is another flow chart of a water pump control method according to an embodiment of the present invention;
[0033] Figure 7 is a schematic structural diagram of a water pump control device according to an embodiment of the present invention;
[0034] Figure 8 is another structural schematic diagram of a water pump control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0036] The electronic water pump communication protocol usually includes the local interconnect network (LIN) communication protocol and the controller area network (CAN) communication protocol. The electronic control unit can send a control signal to the electronic water pump through the LIN communication protocol or the CAN communication protocol, so that the electronic water pump operates according to the control signal. However, if the LIN communication protocol or the CAN communication protocol fails, the electronic control unit cannot control the electronic water pump. In order to solve this problem, Figure 1 As shown, a technical solution provided by the current related technology is to connect the relay between the positive electrode of the battery and the second communication interface of the electronic water pump, the first communication interface of the electronic water pump is connected to the electronic control unit, and the positive and negative electrodes of the battery are respectively connected to the electronic water pump. The control logic provided is as follows Figure 2 As shown, when the vehicle is powered on, the relay sends a high level, and the electronic water pump enables the emergency protection function when it receives the high level, and controls itself to operate. When the vehicle is powered off, the relay sends a low level, and the electronic water pump controls itself to stop operating when it receives the low level. This solution not only realizes the control of the electronic water pump when the electronic water pump is disconnected from the electronic control unit, but also realizes the application of low-power level relays, which reduces the cost of the electronic water pump control system. The low-power level relay is small in size and reduces space occupation. However, this solution has a new problem. The electronic control unit is not flashed with the application layer software program when the parts leave the factory, and the corresponding software program needs to be flashed on the vehicle assembly line according to the corresponding model. Before the electronic control unit is flashed, the whole vehicle is powered on first. When the electronic control unit software program is flashed, it cannot communicate with the electronic water pump. Since the whole vehicle is in the powered-on state, the electronic water pump obtains the high-level signal sent by the relay, and the electronic water pump automatically determines that the emergency protection function needs to be enabled, that is, it runs at a preset speed. This situation will cause power consumption waste on the one hand, and on the other hand, for the vehicle assembly line where the antifreeze is added after the electronic control unit software program flashing process, it will cause dry grinding of the electronic water pump bearing and cause irreversible damage to the bearing. If the order of the two processes of antifreeze filling and control unit software program flashing on the vehicle assembly line is exchanged, the restructuring of the production line will incur huge costs. In order to solve the above problems, the present invention provides the following solution.
[0037] According to an embodiment of the present invention, Figure 3As shown, a water pump control system is provided, the system includes: an electronic control unit 2, an electronic water pump 1, a relay 4, and a battery 3; the positive pole and the negative pole of the battery 3 are respectively connected to the electronic water pump 1, and the battery 3 is used to provide operating energy for the electronic water pump. The electronic control unit 2 is connected to the electronic water pump 1 through a first communication interface 13, one end of the relay 4 is connected to the second communication interface 14 of the electronic water pump 1, and the other end of the relay 4 is connected to the positive electrode of the battery 3; the relay 4 is used to be turned on when the vehicle is powered on, and disconnected when the vehicle is powered off; a first protection module is deployed in the electronic water pump 1, and the first protection module is used to operate at a preset speed when it detects that the communication between the electronic water pump 1 and the electronic control unit 2 is disconnected and receives a high-level signal from the relay 4. The first protection module is also used to stop its own operation when it receives a low-level signal from the relay 4; a second protection module is deployed in the electronic control unit 2, and before the electronic control unit is software-written, the second protection module is used to send a first control instruction to the electronic water pump 1 when the vehicle is powered on, and the first control instruction is used to stop the electronic water pump 1 from operating; the execution priority of the first control instruction is higher than the priority of the first protection module to control the electronic water pump to operate at a preset speed.
[0038] Specifically, the water pump control system provided by the embodiment of the present invention is optimized on the basis of maintaining the hardware structure of the original system. The relay 4 is used to conduct when the vehicle is powered on, and disconnect when the vehicle is powered off, so that the relay 4 sends a high level to the electronic water pump 1 when the vehicle is powered on, and sends a low level to the water pump when the vehicle is powered off. The original software control logic is: the electronic water pump 1 starts the emergency protection function when the communication with the electronic control unit 2 is disconnected and the high level signal of the relay 4 is received, and the electronic water pump 1 runs at a preset speed. When the electronic water pump 1 receives the low level signal of the relay 4, it stops its own operation. On this basis, for the electronic control unit 2 that has not been flashed (hereinafter referred to as the electronic control unit to be flashed), the optimization means is: the embodiment of the present invention burns a logic in its bottom storage area, or deploys a small chip with a protection function, that is, a second protection module. The second protection module can be a program or a hardware module that executes the corresponding program. For the existence of the program, it is similar to the BIOS burning of the mainboard, and the electronic control unit to be flashed is powered on. The second protection module is used to send the first control instruction to the electronic water pump 1. The first control instruction signal in the embodiment of the present invention means that the electronic water pump 1 is not running. The specific content of the first control instruction is determined by negotiation between the supplier of the electronic control unit 2 and the supplier of the electronic water pump 1. For the electronic water pump 1, the priority level of this first control instruction is higher than the level of the instruction for the first protection module of the electronic water pump 1 to run at a preset speed.
[0039] When the electronic water pump 1 receives the first control instruction and the instruction to enable the emergency protection function at the same time, the electronic water pump 1 executes the non-operation instruction of the first control instruction, and does not execute the instruction of the first protection module to operate the electronic water pump 1 at a preset speed.
[0040] According to the above technical means, before the electronic control unit to be flashed is flashed, the vehicle needs to be powered on. After the vehicle is powered on, the electronic control unit to be flashed immediately runs the second protection module and sends the first control instruction to the electronic water pump 1. Once the electronic water pump 1 receives the first control instruction, it stops its own operation in response to the first control instruction. The electronic control unit to be flashed subsequently starts software flashing and disconnects from the electronic water pump 1. Even if the connection is disconnected, the electronic water pump 1 will determine whether the first control instruction has been executed before executing the preset speed operation. If the first control instruction is executed, the execution priority of the first control instruction is higher, and the operation of the electronic water pump 1 is always stopped. Through this optimization measure, the present invention realizes that the electronic water pump 1 does not operate when the control unit software of the whole vehicle production line is flashed. Energy waste is avoided. At the same time, for the vehicle model in which the antifreeze is added after the program flashing process of the electronic control unit 2, the problem of dry grinding of the bearing of the electronic water pump 1 is solved, the product quality of the electronic water pump 1 is improved, or the huge cost of the whole vehicle production line transformation when the whole vehicle assembly line exchanges the order of the two processes of antifreeze filling and control unit program flashing is saved.
[0041] In addition, the second protection module is in a shielded state after the software of the electronic control unit is flashed, so as to prevent the first control instruction from being sent repeatedly after the software is flashed, thereby affecting the normal use of the water pump.
[0042] According to an embodiment of the present invention, a water pump control method embodiment is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0043] In this embodiment, a water pump control method is provided, which can be used in the above-mentioned electronic control unit, such as Figure 4 As shown, the process includes the following steps:
[0044] Step S401, receiving a vehicle power-on signal before software flashing;
[0045] Step S402, in response to the vehicle power-on signal, calling the second protection module to send a first control instruction to the electronic water pump, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction;
[0046] Step S403, after sending the first control instruction, the software is flashed, and the communication between the electronic control unit and the electronic water pump is disconnected during the software flashing process. When the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay sends a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is stopped.
[0047] Specifically, the water pump control system provided by the technical present invention needs to power on the vehicle before flashing the electronic control unit to be flashed. After the vehicle is powered on, the electronic control unit to be flashed immediately runs the second protection module and sends the first control instruction to the electronic water pump. Once the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction. Subsequently, the electronic control unit to be flashed starts software flashing and disconnects from the electronic water pump. When the electronic water pump disconnects the communication protocol connection with the electronic control unit, the electronic water pump detects that the electronic control unit communication is disconnected and the relay is at a high level (power-on state), thereby starting the emergency protection function of the first protection module, allowing the electronic water pump to operate at a preset speed.
[0048] However, even if the connection is disconnected, the electronic water pump will determine whether the first control instruction has been executed before executing the preset speed operation. If the first control instruction is executed, the execution priority of the first control instruction is higher, and the electronic water pump will always stop its own operation and will not execute the preset speed operation. Through this optimization measure, the present invention realizes that the electronic water pump does not operate when the control unit software of the whole vehicle production line is flashed. It avoids energy waste, and at the same time, for the vehicle model in which the antifreeze is added after the electronic control unit program flashing process, the problem of dry grinding of the electronic water pump bearing is solved, and the electronic water pump product has a protective effect. In addition, most production lines often flash the software of the electronic control unit first, and then add coolant to the water pump. In order to solve the problem of dry grinding of the electronic water pump bearing, some companies change the order of the production line, and change to first add coolant to the water pump and then flash the software of the electronic control unit. Although it can solve the problem raised by the background technology, exchanging the order of the two processes of antifreeze filling and control unit program flashing will incur huge costs for the transformation of the whole vehicle production line. The technical solution provided by the present invention can also significantly save the huge costs generated by the transformation of the production line.
[0049] In some optional implementation manners, a water pump control method provided in this embodiment further includes:
[0050] Step a1: when the software flashing is completed, shield the second protection module.
[0051] Specifically, when the software of the electronic control unit is flashed, the embodiment of the present invention shields the second protection module. For the second protection module in the form of a program, the shielding operation can be understood as automatically covering the bottom layer of the second protection module. For the second protection module in the form of a small chip, the shielding operation can be understood as shielding the start of the second protection module. When the electronic control unit is not an electronic control unit to be flashed, there is no problem of controlling the operation of the electronic water pump when the electronic unit software is flashed, so there is no need to circumvent the problem of the operation of the electronic water pump when the electronic control unit software is flashed. At this time, the software flashed into the electronic control unit covers the bottom layer software logic of the electronic control unit to be flashed, resulting in the failure of the logic of sending the first control instruction after the electronic control unit is powered on, so that the first control instruction of the electronic control unit is only issued before the flashing. After the flashing, the second protection module is no longer running, and the electronic control unit sends the second control instruction according to its own control logic to control the electronic water pump normally, such as controlling the start and stop of the electronic water pump, the specific speed, etc., to avoid the repeated issuance of the first control instruction causing the electronic water pump to stop continuously.
[0052] In some optional implementation manners, a water pump control method provided in this embodiment further includes:
[0053] Step b1, after the software is flashed, a second control instruction is sent to the electronic water pump, so that the electronic water pump stops executing the operation of the first control instruction according to the second control instruction and controls its own operation.
[0054] Specifically, after the electronic control unit is flashed, the step of filling the electronic water pump with coolant is completed before the step of testing the engine of the vehicle offline is continued. Figure 5 As shown in the figure, in this step, the electronic water pump has been filled with coolant, and the software of the electronic control unit has been flashed, and the electronic control unit can directly control the electronic water pump. The second control instruction issued by the electronic control unit has a higher priority than the first control instruction, so that the first control instruction can be stopped, the continuous stop mode of the electronic water pump can be ended, and the electronic water pump can enter the normal operation mode, so that the electronic water pump enters the normal test process, which will not cause damage to the electronic water pump and improve the reliability of the vehicle test department.
[0055] The embodiment of the present invention also provides a water pump control method, which can be used for the above-mentioned electronic water pump, such as Figure 6 As shown, the process includes the following steps:
[0056] Step S601, receiving a high-level signal from a relay and a first control instruction sent by an electronic control unit, wherein the first control instruction is an instruction sent by a second protection module when the electronic control unit to be software flashed is powered on;
[0057] Step S602, in response to the first control instruction, stopping its own operation;
[0058] Step S603, when the first protection module detects that the communication with the electronic control unit is disconnected, determining whether the first control instruction is currently being executed;
[0059] Step S604, if the first control instruction is being executed, the preset speed operation is not executed and the operation is stopped;
[0060] Step S605: If the first control instruction is not being executed, the preset speed operation is executed.
[0061] Specifically, for the explanation of the principles of steps S601 to S605, reference may be made to the related descriptions of the aforementioned steps S401 to S403. The related implementation principles are the same and will not be repeated here.
[0062] A water pump control method provided by an embodiment of the present invention further includes:
[0063] Step c1, when receiving the second control instruction sent by the electronic control unit, stop executing the operation corresponding to the first control instruction according to the second control instruction, and control its own operation. The second control instruction is the instruction sent by the electronic control unit after flashing.
[0064] Specifically, for the explanation of the principle of step c1, reference may be made to the related descriptions of the aforementioned steps b1 to b2. The related implementation principles are the same and will not be repeated here.
[0065] A water pump control method provided by an embodiment of the present invention further includes:
[0066] Step d1, when the first protection module detects that the communication connection between the electronic water pump and the electronic control unit is interrupted and the electronic water pump is running at a preset speed, detecting whether a low level signal sent by the relay is received;
[0067] Step d2, when a low level signal is detected from the relay, the electronic water pump is controlled to stop running through the first protection module.
[0068] Specifically, after the electronic control unit is successfully flashed, if the vehicle is powered on and the electronic control unit and the electronic water pump lose communication again, the electronic water pump enters the emergency protection function of the first protection module, and the electronic water pump runs at a preset speed. When the vehicle is powered off again, the relay changes from a high level to a low level, so that when the electronic water pump detects a low-level signal from the relay, the electronic water pump is controlled to change from the running state of the emergency protection function to the stopped running state, which improves the overall control process and reduces the energy consumption of the battery.
[0069] In this embodiment, a water pump control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0070] This embodiment provides a water pump control device, which is applied to an electronic control unit, such as Figure 7 As shown, including:
[0071] The power-on module 701 is used to receive a vehicle power-on signal before software flashing;
[0072] The first control instruction sending module 702 is used to call the second protection module to send the first control instruction to the electronic water pump in response to the vehicle power-on signal, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction;
[0073] The flashing module 703 is used to flash the software after sending the first control instruction, and disconnect the communication between the electronic control unit and the electronic water pump during the software flashing process. When the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay has a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is stopped.
[0074] In some optional embodiments, the device further comprises:
[0075] The overwriting module is used to shield the second protection module when the software flashing is completed.
[0076] The offline test power-on module is used to send a second control instruction to the electronic water pump after the software is flashed, so that the electronic water pump stops the first control instruction and controls its own operation according to the second control instruction.
[0077] This embodiment provides a water pump control device, which is applied to an electronic water pump, such as Figure 8 As shown, including:
[0078] A first control instruction receiving module 801 is used to receive a high-level signal of the relay and a first control instruction sent by the electronic control unit, where the first control instruction is an instruction sent by the second protection module when the electronic control unit to be software flashed is powered on;
[0079] A first stop module 802, used to stop its own operation in response to a first control instruction;
[0080] A first judgment module 803 is used to judge whether the first control instruction is currently being executed when the first protection module detects that the communication with the electronic control unit is disconnected;
[0081] The second stop module 804 is used for not executing the preset speed operation and keeping stopping the operation if the first control instruction is being executed;
[0082] The emergency operation module 805 is used to execute the preset speed operation if the first control instruction is not being executed.
[0083] In some optional embodiments, the device further comprises:
[0084] The water pump response control module is used to stop the first control instruction according to the second control instruction and control its own operation when receiving the second control instruction sent by the electronic control unit. The second control instruction is the instruction sent by the electronic control unit after flashing.
[0085] A power-off detection module, used to detect whether a low-level signal from the relay is received when the first protection module detects that the communication connection between the electronic water pump and the electronic control unit is interrupted and the electronic water pump is running at a preset speed;
[0086] The stop module is used to control the electronic water pump to stop running when it detects that the relay has sent a low-level signal.
[0087] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0088] The water pump control device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0089] The embodiment of the present invention further provides a vehicle having the above Figure 3The water pump control system shown can realize the above-mentioned water pump control method. The vehicle includes: a housing, a tire, an engine, a transmission mechanism, a vehicle controller and a water pump control system, wherein the engine, the transmission mechanism, the vehicle controller and the water pump control system are installed in the housing, the tire is installed on the transmission mechanism, the engine is used to drive the tire to rotate through the transmission mechanism according to the control information of the vehicle controller, and the water pump control system is installed near the engine through a pipeline to dissipate heat from the engine. The engine can be an engine or a motor, the housing is the external overall frame of the vehicle, the transmission mechanism includes components such as a steering wheel, a transmission shaft system, and a gearbox, and the vehicle controller refers to a controller chip that receives user instructions and issues vehicle control instructions.
[0090] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0091] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0092] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A water pump control system, characterized in that: The system includes: an electronic control unit, an electronic water pump, a relay, and a battery; The positive electrode and negative electrode of the battery are connected to the electronic water pump respectively, the electronic control unit is connected to the electronic water pump via a first communication interface, one end of the relay is connected to the second communication interface of the electronic water pump, and the other end of the relay is connected to the positive electrode of the battery; The relay is used to be turned on when the vehicle is powered on, and turned off when the vehicle is powered off; The electronic water pump is provided with a first protection module, which is used to operate at a preset speed when it detects that the electronic water pump is disconnected from the electronic control unit and receives a high-level signal from the relay, and the first protection module is also used to stop its own operation when it receives a low-level signal from the relay; A second protection module is deployed in the electronic control unit. Before the electronic control unit is software-flashed, the second protection module is used to send a first control instruction to the electronic water pump when the vehicle is powered on. The first control instruction is used to stop the electronic water pump from running. The execution priority of the first control instruction is higher than the priority of the first protection module controlling the electronic water pump to operate at a preset speed.
2. The system according to claim 1, characterized in that The second protection module is in a shielded state after the electronic control unit software is flashed.
3. A water pump control method, characterized in that: Applied to an electronic control unit, the method comprises: Receive vehicle power-on signal before software flashing; In response to the vehicle power-on signal, calling the second protection module to send a first control instruction to the electronic water pump, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction; After sending the first control instruction, the software is flashed, and the communication between the electronic control unit and the electronic water pump is disconnected during the software flashing process. When the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay has a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is stopped.
4. The method according to claim 3, characterized in that The method further comprises: When the software flashing is completed, the second protection module is shielded.
5. The method according to claim 4, characterized in that The method further comprises: After the software is flashed, a second control instruction is sent to the electronic water pump, so that the electronic water pump terminates the operation corresponding to the first control instruction according to the second control instruction and controls its own operation.
6. A water pump control method, characterized in that: Applied to an electronic water pump, the method comprises: Receiving a high-level signal from the relay and a first control instruction sent by the electronic control unit, wherein the first control instruction is an instruction sent by the second protection module when the electronic control unit to be software-flashed is powered on; In response to the first control instruction, stop its own operation; When the first protection module detects that the communication with the electronic control unit is disconnected, determining whether the first control instruction is currently being executed; If the first control instruction is being executed, the preset speed operation is not executed and the operation itself is stopped; If the first control instruction is not being executed, the preset speed operation is executed.
7. The method according to claim 6, characterized in that The method further comprises: When receiving the second control instruction sent by the electronic control unit, the operation corresponding to the first control instruction is stopped according to the second control instruction, and the self-operation is controlled. The second control instruction is the instruction sent by the electronic control unit after flashing.
8. The method according to claim 6, characterized in that The method further comprises: In the case where it is detected through the first protection module that the communication connection between the electronic water pump and the electronic control unit is interrupted and the electronic water pump is running at the preset speed, detecting whether a low level signal sent by the relay is received; When a low level signal sent by the relay is detected, the electronic water pump is controlled to stop running through the first protection module.
9. A water pump control device, characterized in that: Applied to an electronic control unit, the device comprises: Power-on module, used to receive vehicle power-on signal before software flashing; A first control instruction sending module is used to call the second protection module to send a first control instruction to the electronic water pump in response to the vehicle power-on signal, so that when the electronic water pump receives the first control instruction, it stops its own operation in response to the first control instruction; A flashing module is used to perform software flashing after sending the first control instruction, and to disconnect the communication between the electronic control unit and the electronic water pump during the software flashing process, wherein, when the electronic water pump detects that the communication with the electronic control unit is disconnected and the relay has a high-level signal, the first control instruction is executed in priority to the preset speed operation, and its own operation is stopped.
10. A water pump control device, characterized in that: Applied to an electronic water pump, the device comprises: A first control instruction receiving module, used for receiving a high-level signal of the relay and a first control instruction sent by the electronic control unit, wherein the first control instruction is an instruction sent by the second protection module when the electronic control unit to be software-flash is powered on; A first stopping module, used for stopping its own operation in response to the first control instruction; A first judgment module, configured to judge whether the first control instruction is currently being executed when the first protection module detects that the communication with the electronic control unit is disconnected; A second stopping module is used for not executing the preset speed operation and keeping stopping its own operation if the first control instruction is being executed; The emergency operation module is used to execute the preset speed operation if the first control instruction is not being executed.
11. A vehicle, characterized in that: include: A housing, a tire, an engine, a transmission mechanism, a vehicle controller and a water pump control system provided in claim 1, wherein the engine, the transmission mechanism, the vehicle controller and the water pump control system are installed in the housing, the tire is installed on the transmission mechanism, the engine is used to drive the tire to rotate through the transmission mechanism according to control information from the vehicle controller, and the water pump control system is installed near the engine through a pipeline to dissipate heat from the engine.
12. 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 computer to execute the method according to any one of claims 3 to 5 or 6 to 8.
13. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the method according to any one of claims 3 to 5 or 6 to 8.
Citation Information
Patent Citations
Compressor control system and method and air conditioner
CN104005943A
Electronic water pump fault processing method and system, storage medium and electronic equipment
CN114592961A
Control method, device and equipment of electronic water pump, storage medium and vehicle
CN116557281A
Software flashing interface circuit of multiplexing connector with PWM (Pulse Width Modulation) control interface
CN220752699U
Remote program rewriting control system
JP2015101229A
