Engine motor hour redundancy recording device and recording method

By using the NVRAM of the timing chip as a backup memory in the engine motorcycle hour recording system and using a dual-power supply solution, the motorcycle hour recording error problem caused by unstable operating voltage of the FLASH chip is solved, and reliable motorcycle hours recording is achieved.

CN119625862APending Publication Date: 2025-03-14CHINA NORTH ENGINE RES INST

Patent Information

Application Number
CN202411806083.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, the operating voltage recorded in the FLASH chip of the motor hour of the engine is unstable, resulting in a motorcycle hour record error, affecting the maintenance and maintenance of the engine.

Method used

The NVRAM in the timing chip is used as the backup memory. Through the dual power supply scheme of the controller power module and the backup battery, the hardware backup is realized for motorcycle hours and the working voltage stability of the backup memory is improved.

Benefits of technology

Ensure that the motorcycle hours can be correctly written to the backup memory, avoid engine motorcycle hours recording errors, and realize reliable engine motorcycle hours recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119625862A_ABST
    Figure CN119625862A_ABST
Patent Text Reader

Abstract

The invention provides an engine motorcycle hour redundancy recording device and method, the engine motorcycle hour redundancy recording device comprises a control chip, a main memory, a timing chip, a controller power supply module and a standby battery, and the control chip sends a read-write instruction to the main memory through an SPI bus and sends the read-write instruction to a storage unit of the timing chip through an I2C bus. According to the engine motorcycle hour redundancy recording device and recording method, the NVRAM in the timing chip is used as the standby memory to synchronously record the motorcycle hours, the hardware backup function of the motorcycle hours is achieved, when the working voltage of the main memory is unstable, the motorcycle hours of the standby memory are used as the engine motorcycle hours, and the redundancy of the engine motorcycle hours is recorded. The engine hour recording error is avoided, and the reliable recording of the engine hour is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of engines, and in particular relates to an engine motor hour redundant recording device and a recording method. Background Art

[0002] The engine motor hours record the engine running time and are used to evaluate the use of the engine, including maintenance, repair period, etc. The motor hours are recorded and monitored in real time by the engine controller. If the working voltage of the FLASH chip that records the motor hours is unstable, it may cause an error when the control chip (CPU) reads the motor hours for the first time after the engine controller is powered on, resulting in a benchmark error in the motor hour record, and ultimately causing a motor hour record error, affecting the maintenance and care of the engine. Chinese patent CN106647699A proposes a time-sharing, multi-address data backup and verification method to record the motor hours in multiple address spaces of the FLASH chip. After the controller is powered on, the maximum value is selected from the motor hours recorded in different address spaces as the benchmark for the motor hours, realizing the function of the motor hour software backup. However, if the power supply voltage of the FLASH chip is lower than the working voltage, the FLASH chip will have abnormal reading and writing data, and the reliable recording of the motor hours cannot be guaranteed. Summary of the invention

[0003] In view of this, the present invention aims to provide an engine motor hour redundant recording device to solve the problem of insufficient motor hour software backup and failure to ensure reliable recording of motor hour.

[0004] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0005] An engine motor hour redundant recording device includes a control chip, a main memory, a timing chip, a controller power module and a backup battery. The control chip sends read and write instructions to the main memory via an SPI bus. 2 The C bus sends read and write instructions to the storage unit of the timing chip. The main memory uses FLASH type memory to record the engine motorcycle hours and other engine control parameters. The timing chip storage unit is used as a backup memory for hardware backup of the engine motorcycle hours. The timing chip is powered by a dual power supply of the controller power module and the backup battery.

[0006] Compared with the prior art, the redundant recording device for engine motor hours of the present invention has the following advantages:

[0007] (1) The redundant recording device for engine motor hours of the present invention utilizes the NVRAM in the timing chip as a backup memory to synchronously record the motor hours, thereby realizing the hardware backup function of the motor hours. At the same time, the timing chip is provided with an operating voltage by means of a controller power module and a backup battery, thereby improving the stability of the working voltage of the backup memory, so that the motor hours can be correctly written into the backup memory. When the working voltage of the main memory is unstable, the motor hours in the backup memory are used as the engine motor hours, thereby avoiding errors in recording the engine motor hours, thereby realizing reliable recording of the engine motor hours.

[0008] Another object of the present invention is to provide a redundant recording method for engine motor hours to solve the problem of insufficient motor hour software backup and the inability to ensure reliable recording of motor hours.

[0009] To achieve the above object, the technical solution of the present invention is achieved as follows:

[0010] A redundant recording method for engine motor hours comprises the following steps:

[0011] S1, when the engine controller is powered on or the engine is shut down, the reference of the current motorcycle hour record in the main memory is obtained;

[0012] S2, when the engine controller is powered on or the engine is shut down, the reference of the current motorcycle hour record in the backup memory is obtained;

[0013] S3. If the data read from the main memory passes the verification, the benchmark of the engine motor hour record is obtained;

[0014] S4. During the engine operation, calculate the engine motor hours.

[0015] Furthermore, the method for obtaining the benchmark of the current motorcycle hour record in the main memory in S1 is: the CPU reads the motorcycle hours in the main memory, verifies the read data through a check code, and if the data passes the check, uses it as the benchmark of the current motorcycle hour record in the main memory.

[0016] Furthermore, the method for obtaining the benchmark of the current motorcycle hour record in the backup memory in S2 is: the CPU reads the motorcycle hours in the backup memory, verifies the read data through a verification code, and if the data passes the verification, uses it as the benchmark of the current motorcycle hour record in the backup memory.

[0017] Furthermore, the method for obtaining the benchmark of the engine motorcycle hour record in S3 is: if the data read from the main memory passes the verification, it is used as the benchmark for this engine motorcycle hour record; if the data read from the main memory fails the verification, and the data read from the backup memory passes the verification, the data in the backup memory is used as the benchmark for this engine motorcycle hour record; when the CPU receives an instruction to manually modify the engine motorcycle hours, the modified engine motorcycle hours are directly used as the benchmark for this engine motorcycle hour record.

[0018] Furthermore, the method for calculating the engine motorcycle hours in S4 is: based on the calculated engine motorcycle hour benchmark, the engine motorcycle hours are accumulated once every 1 minute, and the engine motorcycle hours are recorded in the main memory and the backup memory. After the engine is shut down, the recording is ended.

[0019] Furthermore, in step S1, the method for calculating the motor hours in the main memory is:

[0020] S11, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid;

[0021] S12, if the engine motor hour modification instruction is invalid, read the motor hour and check code in the main memory, which are recorded as T0 and C0 respectively;

[0022] S13, calculate the check code of the motorcycle hours, recorded as C1;

[0023] S14, judging whether the check codes C0 and C1 are consistent;

[0024] S15. If they are consistent, T0 is used as the basis for this motorcycle hour record and recorded as T2.

[0025] Furthermore, in step S2, the method for calculating the motor hours in the standby main memory is:

[0026] S21, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid;

[0027] S22, if the engine motor hour modification instruction is invalid, read the motor hour and the check code in the backup memory, which are recorded as T3 and C3 respectively;

[0028] S23, calculate the check code of the motorcycle hours, recorded as C4;

[0029] S24, judging whether the check codes C3 and C4 are consistent;

[0030] S25. If they are consistent, T3 is used as the basis for this motorcycle hour record and recorded as T4.

[0031] Furthermore, in step S3, the method for calculating the redundant record of motorcycle hours is:

[0032] S31, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid;

[0033] S32, if the engine motor hour modification instruction is invalid, determine whether the check codes C0 and C1 are consistent;

[0034] S33, if the check codes C0 and C1 are inconsistent, determine whether the check codes C3 and C4 are consistent;

[0035] S34, if the check codes C3 and C4 are consistent, T4 is used as the basis for the current engine motor hour record, recorded as T;

[0036] S35, if the check codes C0 and C1 are consistent, T2 is used as the reference T5 of the current engine motor hour record;

[0037] S36, if the engine motor hour modification instruction is valid, the modified engine motor hour is used as the reference T5 of the current engine motor hour record;

[0038] S37, during the engine operation, the motorcycle hour accumulation counter is accumulated once every minute;

[0039] S38. The engine motor hours are the sum of T5 and the motor hour accumulation counter.

[0040] The advantages of the engine motor hour redundant recording method and the above-mentioned engine motor hour redundant recording device over the prior art are the same, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:

[0042] Figure 1 It is a principle block diagram of the redundant recording device for engine motor hours according to an embodiment of the present invention;

[0043] Figure 2 It is a flow chart of the engine motor hour redundant recording method according to an embodiment of the present invention;

[0044] Figure 3 A flowchart of calculating a main memory motor hour benchmark according to an embodiment of the present invention;

[0045] Figure 4 A flowchart of calculating a backup memory motor hour benchmark according to an embodiment of the present invention;

[0046] Figure 5 This is a flow chart of redundant recording of motorcycle hours according to an embodiment of the present invention.

[0047] Description of reference numerals:

[0048] 1-control chip; 2-timing chip; 3-main memory. DETAILED DESCRIPTION

[0049] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0050] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and the like are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", and the like may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0051] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood by specific circumstances.

[0052] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0053] An engine motor hour redundant recording device, such as Figure 1 As shown, it includes a control chip 1 (CPU), a main memory 3, a timing chip 2 (with a built-in storage unit), a controller power module, and a backup battery.

[0054] The control chip 1 (CPU) sends read and write instructions to the main memory 3 via the SPI bus. 2The C bus sends read and write instructions to the storage unit of the timing chip 2. The main memory uses a FLASH type memory to record the engine motor hours and other engine control parameters, with a capacity of 8388608 bytes. The NVRAM type storage unit of the timing chip 2 is used as a backup memory for the hardware backup of the engine motor hours, with a capacity of 31 bytes. The timing chip 2 uses a dual power supply solution powered by the controller power module and the backup battery to ensure the reliability of the backup memory data reading and writing process. The stability of the backup memory working voltage is improved.

[0055] When the working voltage of the main memory 3 is unstable, the motor hours in the backup memory are used as the engine motor hours, thereby avoiding errors in recording the engine motor hours and achieving reliable recording of the engine motor hours.

[0056] A redundant recording method for engine motor hours, such as Figures 2 to 5 As shown, the following steps are included:

[0057] S1. When the engine controller is powered on or the engine is stopped, the CPU reads the motorcycle hours in the main memory and verifies the read data through the check code. If the data passes the verification, it is used as the basis for the current motorcycle hour record in the main memory.

[0058] S2. When the engine controller is powered on or the engine is stopped, the CPU reads the motorcycle hours in the backup memory and verifies the read data through the verification code. If the data passes the verification, it is used as the basis for the current motorcycle hour record in the backup memory.

[0059] S3. If the data read from the main memory passes the verification, it is used as the basis for this engine motorcycle hour record; if the data read from the main memory fails to pass the verification, but the data read from the backup memory passes the verification, the data in the backup memory is used as the basis for this engine motorcycle hour record.

[0060] In particular, when the CPU receives an instruction to manually modify the engine motor hours, the modified engine motor hours are directly used as a basis for the current engine motor hour record.

[0061] S4. During the operation of the engine, based on the calculated engine motorcycle hour benchmark, the engine motorcycle hours are accumulated once every 1 minute, and the engine motorcycle hours are recorded in the main memory and the backup memory. After the engine is stopped, this recording ends.

[0062] In step S1, the method for calculating the motor hours in the main memory is:

[0063] S11, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid;

[0064] S12, if the engine motor hour modification instruction is invalid, read the motor hour and check code in the main memory, which are recorded as T0 and C0 respectively;

[0065] S13, calculate the check code of the motorcycle hours, recorded as C1.

[0066] S14, judging whether the check codes C0 and C1 are consistent;

[0067] S15. If they are consistent, T0 is used as the basis for this motorcycle hour record and recorded as T2.

[0068] In step S2, the method for calculating the motor hours in the standby main memory is:

[0069] S21, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid;

[0070] S22, if the engine motor hour modification instruction is invalid, read the motor hour and the check code in the backup memory, which are recorded as T3 and C3 respectively;

[0071] S23, calculate the check code of the motorcycle hours, recorded as C4;

[0072] S24, judging whether the check codes C3 and C4 are consistent;

[0073] S25. If they are consistent, T3 is used as the basis for this motorcycle hour record and recorded as T4.

[0074] In step S3, the method for calculating the redundant record of motorcycle hours is:

[0075] S31. When the engine controller is powered on or the engine is stopped, determine whether the engine motor hour modification instruction is valid.

[0076] S32: If the engine motor hour modification instruction is invalid, determine whether the check codes C0 and C1 are consistent.

[0077] S33. If the check codes C0 and C1 are inconsistent, determine whether the check codes C3 and C4 are consistent.

[0078] S34. If the check codes C3 and C4 are consistent, T4 is used as the basis for this engine motor hour record, recorded as T5.

[0079] S35. If the check codes C0 and C1 are consistent, T2 is used as the basis for this engine motor hour record (T5).

[0080] S36. If the engine motor hour modification instruction is valid, the modified engine motor hour is used as a basis for the current engine motor hour record (T5).

[0081] S37: During the operation of the engine, the motorcycle hour accumulation counter is incremented once per minute.

[0082] S38. The engine motor hours are the sum of T5 and the motor hour accumulation counter.

[0083] The redundant recording method of engine motor hours uses NVRAM in the timing chip as a backup memory to synchronously record the motor hours, thereby realizing the hardware backup function of the motor hours. At the same time, the timing chip is provided with working voltage by means of a controller power module and a backup battery, thereby improving the stability of the working voltage of the backup memory, so that the motor hours can be correctly written into the backup memory. When the working voltage of the main memory is unstable, the motor hours in the backup memory are used as the engine motor hours, thereby avoiding errors in recording the engine motor hours, thereby realizing reliable recording of the engine motor hours.

[0084] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An engine motor hour redundant recording device, characterized in that: It includes a control chip, a main memory, a timing chip, a controller power module and a backup battery. The control chip sends read and write instructions to the main memory through the SPI bus. 2 The C bus sends read and write instructions to the storage unit of the timing chip. The main memory uses FLASH type memory to record the engine motorcycle hours and other engine control parameters. The timing chip storage unit is used as a backup memory for hardware backup of the engine motorcycle hours. The timing chip is powered by a dual power supply of the controller power module and the backup battery.

2. A redundant recording method for engine motor hours, characterized in that: The following steps are involved: S1, when the engine controller is powered on or the engine is shut down, the reference of the current motorcycle hour record in the main memory is obtained; S2, when the engine controller is powered on or the engine is shut down, the reference of the current motorcycle hour record in the backup memory is obtained; S3. If the data read from the main memory passes the verification, the benchmark of the engine motor hour record is obtained; S4. During the engine operation, calculate the engine motor hours.

3. The redundant recording method of engine motor hours according to claim 2, characterized in that: The process of obtaining the reference of the current motorcycle hour record in the main memory in S1 is as follows: the CPU reads the motorcycle hours in the main memory, verifies the read data by means of a verification code, and if the verification passes, uses the data as the reference of the current motorcycle hour record in the main memory.

4. The redundant recording method of engine motor hours according to claim 2, characterized in that: The process of obtaining the reference of the current motorcycle hour record in the backup memory in S2 is as follows: the CPU reads the motorcycle hours in the backup memory, verifies the read data by means of a verification code, and if the verification passes, uses the data as the reference of the current motorcycle hour record in the backup memory.

5. The method for redundantly recording engine motor hours according to claim 2, characterized in that: The process of obtaining the benchmark of the engine motorcycle hour record in S3 is as follows: if the data read from the main memory passes the verification, it is used as the benchmark of the current engine motorcycle hour record; if the data read from the main memory fails the verification, but the data read from the backup memory passes the verification, the data in the backup memory is used as the benchmark of the current engine motorcycle hour record; when the CPU receives an instruction to manually modify the engine motorcycle hours, the modified engine motorcycle hours are directly used as the benchmark of the current engine motorcycle hour record.

6. The redundant recording method of engine motor hours according to claim 2, characterized in that: The process of calculating the engine motor hours in S4 is as follows: based on the calculated engine motor hour benchmark, the engine motor hours are accumulated once every 1 minute, and the engine motor hours are recorded in the main memory and the backup memory. After the engine is stopped, the recording is terminated.

7. The redundant recording method of engine motor hours according to claim 3, characterized in that: In step S1, the method for calculating the motor hours in the main memory is: S11, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid; S12, if the engine motor hour modification instruction is invalid, read the motor hour and check code in the main memory, which are recorded as T0 and C0 respectively; S13, calculate the check code of the motorcycle hours, recorded as C1; S14, judging whether the check codes C0 and C1 are consistent; S15. If they are consistent, T0 is used as the basis for this motorcycle hour record and recorded as T2.

8. The redundant recording method of engine motor hours according to claim 4, characterized in that: In step S2, the method for calculating the motor hours in the standby main memory is: S21, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid; S22, if the engine motor hour modification instruction is invalid, read the motor hour and the check code in the backup memory, which are recorded as T3 and C3 respectively; S23, calculate the check code of the motorcycle hours, recorded as C4; S24, judging whether the check codes C3 and C4 are consistent; S25. If they are consistent, T3 is used as the basis for this motorcycle hour record and recorded as T4.

9. The method for redundantly recording engine motor hours according to claim 5, characterized in that: In step S3, the method for calculating the redundant record of motorcycle hours is: S31, when the engine controller is powered on or the engine is stopped, determining whether the engine motor hour modification instruction is valid; S32, if the engine motor hour modification instruction is invalid, determine whether the check codes C0 and C1 are consistent; S33, if the check codes C0 and C1 are inconsistent, determine whether the check codes C3 and C4 are consistent; S34, if the check codes C3 and C4 are consistent, T4 is used as the basis for the current engine motor hour record, recorded as T; S35, if the check codes C0 and C1 are consistent, T2 is used as the reference T5 of the current engine motor hour record; S36, if the engine motor hour modification instruction is valid, the modified engine motor hour is used as the reference T5 of the current engine motor hour record; S37, during the engine operation, the motorcycle hour accumulation counter is accumulated once every minute; S38. The engine motor hours are the sum of T5 and the motor hour accumulation counter.

Citation Information

Patent Citations

  • Nonvolatile memory-based motor hour recording method and apparatus

    CN106647699A

Cited By

  • Working time recording method and system of agricultural machinery and related equipment

    CN120431651A