Power management method

By configuring the working mode according to the key signal status in the power management module of the small engine system, the problem that the system cannot complete key operations after the ignition switch is turned off, and a high reliability and low complexity power management method is achieved.

CN120120138APending Publication Date: 2025-06-10GUANGDONG HONGYIXIN AUTOMOTIVE ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510188611.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-20
Publication Date
2025-06-10

AI Technical Summary

Technical Problem

The existing small engine system cannot complete critical operations after the ignition switch is turned off, and the system is complex and has low reliability.

Method used

A power management method is designed to configure the operating mode according to the status of the key signal in the power management module inside the engine chip, including power-on mode, lock-on mode and standby mode. When the key signal is characterized as a power-on state, the power management module is configured to be power-on mode, and after the chip enters the normal working mode, it is configured to lock the power-on mode through the SPI channel, so that the engine chip can still maintain the normal working mode within the threshold time after the key signal is powered off.

Benefits of technology

It realizes that the small engine system can complete the idle stepper motor reset operation and data processing operation after the ignition switch is turned off, which improves the reliability of the system and reduces complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120120138A_ABST
    Figure CN120120138A_ABST
Patent Text Reader

Abstract

The invention provides a power management method which is applied to a power management module of a small engine system, and the power management module is arranged in an engine chip and used for controlling the working mode of the engine chip. The method comprises the steps that when a key signal is represented as a power-on state, a power management module is configured to be in a power-on mode so as to control an engine chip to enter a normal working mode, and when the chip enters the normal working mode, the power management module is configured to be in a locked power-on mode through an SPI channel, the engine chip can still be kept in the normal working mode within the threshold duration after the key signal is represented to be in the power-off state, and a small engine system can complete idling stepping motor reset operation and data processing operation. Therefore, it is guaranteed that the small engine system completes key operation after the ignition switch flames out, the reliability is good, and the complexity degree is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of small engines, and in particular, to a power management method. Background Art

[0002] With the continuous tightening of environmental protection regulations, how to effectively prevent and control the emissions of motorcycle pollutants to improve environmental air quality has become the focus of industry attention. At present, the fuel supply system of motorcycles has been gradually upgraded from traditional carburetors to electronic fuel injection systems, which can control ignition and fuel injection more precisely, thus significantly reducing the pollution of waste gas to the environment. On this basis, the multifunctional U-chip chip designed specifically for small engines has gradually become the development direction of industry technology.

[0003] However, the current U-chip chip's operation is controlled by the state of the ignition signal. After the ignition switch is turned off (i.e., the KEY signal is powered down), the chip cannot continue to operate. However, in practical applications, the small engine system usually needs to maintain the chip's working state for a short time after the ignition switch is turned off to complete a series of key reset and save operations.

[0004] To solve this problem, the existing solution is to design a peripheral circuit combined with the MCU to maintain the chip's working state. However, this method significantly increases the overall complexity of the system and has low reliability.

[0005] Therefore, how to ensure that the small engine system can complete key operations after the ignition switch is turned off, with good reliability and low complexity, has become a technical problem that the industry urgently needs to solve at present. Summary of the Invention

[0006] The present invention provides a power management method, which solves the technical problem of how to ensure that the small engine system can complete key operations after the ignition switch is turned off, with good reliability and low complexity.

[0007] According to a first aspect of the present invention, an embodiment of the present invention provides a power management method, which is applied to a power management module of a small engine system. The power management module is disposed inside the engine chip and is used to control the working mode of the engine chip. The method includes:

[0008] Obtain the state of the key signal;

[0009] Configure the working mode of the power management module based on the state of the key signal. The working modes of the power management module include a power-on mode, a locked power-on mode, and a standby mode; where:

[0010] If the key signal indicates a power-on state, then perform the following steps:

[0011] Configure the power management module to the power-on mode to control the engine chip to enter the normal working mode;

[0012] After the engine chip enters the normal working mode, configure the power management module to the locked power-on mode through the SPI channel to control the engine chip to maintain the normal working mode;

[0013] When the engine chip is in the normal working mode and the power management module is in the locked power-on mode, if the key signal indicates the power-off state, then perform the following steps:

[0014] Time the duration of the key signal indicating the power-off state, obtain and control the working state of the engine chip based on the first timing duration, where:

[0015] If the first timing duration is less than the threshold duration, configure the power management module to the locked power-on mode through the SPI channel, so that the small engine system performs operations including the idle step motor reset operation and the data processing operation;

[0016] If the first timing duration is greater than or equal to the threshold duration, configure the power management module to the standby mode through the SPI channel to control the engine chip to enter the standby mode.

[0017] Optionally, the engine chip is electrically connected to the main control chip, the engine chip receives the key signal, the main control chip obtains the state of the key signal through the SPI channel, and the main control chip also sends an SPI control signal to the engine chip through the SPI channel;

[0018] The method for configuring the power management module through the SPI channel includes:

[0019] If the key signal indicates the power-on state, send an SPI control signal to the engine chip through the SPI channel, and the SPI control signal includes the first data, so that the power management module is configured to the locked power-on mode;

[0020] If the key signal indicates the power-off state, time the duration of the key signal in the power-off state, obtain the first timing duration, and control the SPI control signal to include the first data or the second data based on the first timing duration, so that the power management module is configured to the locked power-on mode or the standby mode.

[0021] Optionally, the main control chip includes a data processing module;

[0022] The data processing module is configured as:

[0023] When the SPI control signal includes first data and the key signal characterizes a power-down state, perform the data processing operation, where the data processing operation includes a data storage operation.

[0024] Optionally, the engine chip further includes an SPI module;

[0025] The SPI module is configured to receive the SPI control signal sent by the main control chip and output a status configuration signal to the power management module according to the SPI control signal to configure the power management module;

[0026] The power management module is configured to: control the working state of the engine chip based on the key signal and the status configuration signal, where:

[0027] When the key signal and / or the status configuration signal characterizes a power-up state, control the engine chip to be in the normal working mode;

[0028] When both the key signal and the status configuration signal characterize a power-down state, control the engine chip to be in the standby mode.

[0029] Optionally, the SPI module receives the SPI control signal sent by the main control chip through a Schmitt trigger.

[0030] Optionally, the SPI module includes a register, the register includes a locked power-up bit, and the status configuration signal includes a first status signal and a second status signal;

[0031] Then the method for outputting the status configuration signal to the power management module according to the SPI control signal includes:

[0032] When the SPI control signal characterizes a power-up state, configure the locked power-up bit in the register to a set state, so that the register outputs the first status signal to control the power management module to be in the locked power-up mode;

[0033] When the SPI control signal characterizes a power-down state, configure the locked power-up bit in the register to a cleared state, so that the register outputs the second status signal to control the power management module to be in the standby mode.

[0034] Optionally, the power management module includes an OR gate unit and an enable unit;

[0035] The first input terminal of the OR gate unit receives the key signal, its second input terminal receives the status configuration signal, and its output terminal outputs an enable control signal;

[0036] The input terminal of the enabling unit receives the enabling control signal. The enabling unit is configured to output a module control signal based on the enabling control signal, and the module control signal is used to control the functional modules of the engine chip to enter the normal working mode or the standby mode.

[0037] Optionally, the functional modules include a power supply module, a tracking power supply module, and a driving module; the module control signals include a module enabling signal and a module stopping signal;

[0038] Then the enabling unit is further configured to:

[0039] When the enabling control signal represents the normal working mode, output corresponding module enabling signals to the power supply module, the tracking power supply module, and the driving module respectively, so as to control the power supply module, the tracking power supply module, and the driving module to be in the normal working mode;

[0040] When the enabling control signal represents the standby mode, output corresponding module stopping signals to the power supply module, the tracking power supply module, and the driving module respectively, so as to control the power supply module, the tracking power supply module, and the driving module to be in the standby mode;

[0041] Wherein:

[0042] The power supply module is used to supply power to each module in the engine chip;

[0043] The tracking power supply module is used to supply power to external sensors connected to the engine chip;

[0044] The driving module is used to drive components connected to the engine chip.

[0045] Optionally, the driving module includes an idle speed stepper motor driving module, and the main control chip is further configured to output an idle speed stepper motor control signal;

[0046] The control terminal of the idle speed stepper motor driving module receives the idle speed stepper motor control signal, and the output terminal of the idle speed stepper motor driving module is coupled to the idle speed stepper motor;

[0047] The main control chip is further configured to;

[0048] When the SPI control signal includes the first data and the key signal represents the power-off state, output the idle speed stepper motor control signal representing the reset operation;

[0049] The idle speed stepper motor driving module is configured to:

[0050] When the control signal of the idle speed stepper motor is characterized as a reset operation, perform the reset operation of the idle speed stepper motor;

[0051] When the module control signal is characterized as the standby mode, enter the standby mode.

[0052] Optionally, the drive module further includes:

[0053] An injector drive module, coupled to the injector, for driving the injector when the engine chip is in the normal operating mode;

[0054] A relay drive module, coupled to the relay, for driving the relay when the engine chip is in the normal operating mode;

[0055] A malfunction indicator drive module, coupled to the malfunction indicator lamp, for driving the malfunction indicator lamp when the engine chip is in the malfunction state;

[0056] An oxygen heating drive module, coupled to the oxygen sensor heater, for driving the oxygen sensor heater when the engine chip is in the normal operating mode.

[0057] Optionally, the engine chip further includes a diagnostic module;

[0058] The enable terminal of the diagnostic module receives the enable control signal;

[0059] The diagnostic module is used to perform self-check on the engine chip when the enable control signal is characterized as the normal operating mode, and output a self-check result signal after the self-check is completed.

[0060] Optionally, the input terminal of the enable unit further receives the self-check result signal, and the enable unit is configured to:

[0061] Output a module control signal based on the enable control signal and the self-check result signal, where:

[0062] Only when the enable control signal is characterized as the normal operating mode and the self-check result signal is characterized as normal, output a module control signal characterized as the normal operating mode; otherwise, output a module control signal characterized as the standby mode.

[0063] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0064] The power management method of the technical solution of the present invention is applied to the power management module of a small engine system. The power management module is placed inside the engine chip and is used to control the working mode of the engine chip. When the key signal indicates a power-on state, this method configures the power management module to the power-on mode to control the engine chip to enter the normal working mode, and configures the power management module to the locked power-on mode through the SPI channel during the period when the chip enters the normal working mode, so that the engine chip can still maintain the normal working mode within the threshold duration after the key signal indicates a power-off state, enabling the small engine system to at least complete the idle step motor reset operation and data processing operation. Thus, the present invention realizes ensuring that the small engine system completes key operations after the ignition switch is turned off, with good reliability and low complexity. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0066] Figure 1 is a schematic structural diagram of an engine chip in the prior art;

[0067] Figure 2 is a schematic flowchart of the power management method provided by an embodiment of the present invention;

[0068] Figure 3 is a schematic structural diagram of an engine chip provided by an embodiment of the present invention Figure 1 ;

[0069] Figure 4 is for Figure 3 the working waveform of the engine chip Figure 1 ;

[0070] Figure 5 is for Figure 3 the working waveform of the engine chip Figure 2 ;

[0071] Figure 6 is a schematic structural diagram of an engine chip provided by an embodiment of the present invention Figure 2 ;

[0072] Figure 7 is a schematic structural diagram of an engine chip provided by an embodiment of the present invention Figure 3 . DETAILED DESCRIPTION OF THE EMBODIMENTS

[0073] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0074] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above accompanying drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily need to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0075] The technical solutions of the present invention will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0076] As described in the background art, it is difficult for the prior art to ensure that the small engine system completes key operations after KEY power-off, and has good reliability and low complexity. The following will be described in detail with reference to the accompanying drawings.

[0077] Figure 1 is a schematic structural diagram of an engine chip in an embodiment; wherein:

[0078] The VDD module is used to supply power to the engine chip;

[0079] The VDD follower module is used to supply power to external sensors, and its voltage output VDD_TR has a following relationship with the voltage output VDD of the VDD module;

[0080] The KEY module is used to power on the chip;

[0081] Specifically, when the KEY signal is at a high level, the chip enters the working mode;

[0082] When the KEY signal is at a low level, the chip enters the standby mode.

[0083] The SPI module is used for communication between the main control chip and the engine chip to realize the opening and closing of the ignition switch and reading diagnostic information.

[0084] The Stepper Driver is used to drive the idle air stepper motor of the engine.

[0085] The INJ (Injector Driver) is used to drive the injectors of the engine.

[0086] The O2H module is used to drive the oxygen sensor heater, providing the necessary preheating function for the oxygen sensor to quickly enter the working state. The oxygen sensor is used for exhaust gas detection.

[0087] The Relay Driver is used to drive the fuel pump relay and other relays, realizing the start and stop control of external devices (such as fuel pumps, fans, etc.).

[0088] The LSD module is used to drive the malfunction indicator lamp. When a system fault (such as overcurrent, short circuit) is detected, it lights up the malfunction indicator lamp to prompt the user.

[0089] The TACH (Tachometer Output Driver) is used to drive the tachometer output. Specifically, it can drive the tachometer display to output the real-time engine speed signal.

[0090] The K-line is used for OBD (On-Board Diagnostics) communication, transmitting diagnostic information and system status.

[0091] It can be seen that in this chip, after the ignition switch is turned off (KEY power down), the chip will not be able to continue running. This means that the system needs to add additional peripheral circuits. For example, after the ignition switch is turned off, an independent logic control circuit is designed through the MCU to maintain the output of the KEY signal to maintain the working state of the chip.

[0092] However, the addition of peripheral circuits significantly increases the overall complexity of the system, and the corresponding circuit design, debugging, and maintenance costs increase accordingly. Moreover, the reliability of the peripheral circuits themselves is relatively low, increasing the possibility of system failures.

[0093] In view of this, an embodiment of the present invention provides a power management method. This method is applied to the power management module of a small engine system. The power management module is placed inside the engine chip and is used to control the working mode of the engine chip. The method includes:

[0094] Obtain the status of the key signal;

[0095] Configure the working mode of the power management module based on the status of the key signal. The working modes of the power management module include the power-on mode, the locked power-on mode, and the standby mode. Among them:

[0096] If the key signal is characterized as the power-on state, the following steps are performed:

[0097] Configure the power management module to the power-on mode to control the engine chip to enter the normal working mode;

[0098] After the engine chip enters the normal working mode, configure the power management module to the locked power-on mode through the SPI channel to control the engine chip to maintain the normal working mode;

[0099] When the engine chip is in the normal working mode and the power management module is in the locked power-on mode, if the key signal is characterized as the power-off state, the following steps are performed:

[0100] Time the duration when the key signal is characterized as the power-off state, obtain and control the working state of the engine chip based on the first timing duration, where:

[0101] If the first timing duration is less than the threshold duration, configure the power management module to the locked power-on mode through the SPI channel, so that the small engine system performs operations including the idle step motor reset operation and the data processing operation;

[0102] If the first timing duration is greater than or equal to the threshold duration, configure the power management module to the standby mode through the SPI channel to control the engine chip to enter the standby mode.

[0103] It can be seen that in the present invention, by configuring the power management module to the locked power-on mode through the SPI channel during the period when the chip enters the normal working mode, the engine chip can still maintain the normal working mode within the threshold duration after the key signal is characterized as the power-off state, so that the small engine system can at least complete the idle step motor reset operation and the data processing operation. Thus, the present invention realizes ensuring that the small engine system completes key operations after the ignition switch is turned off, and has good reliability and low complexity.

[0104] In a specific embodiment, please refer to Figure 2 , Figure 2 shows a schematic flow chart of the power management method in an embodiment of the present invention, including:

[0105] S11: Judge the state of the key signal. If the key signal is characterized as the power-on state, enter step S12; if the key signal is characterized as the power-off state, return to step S11;

[0106] S12: Configure the power management module to the power-on mode to control the engine chip to enter the normal working mode;

[0107] S13: Configure the power management module as the locked power - on mode through the SPI channel to control the engine chip to maintain the normal working mode;

[0108] S14: Judge the state of the key signal. If the key signal represents the power - off state, then enter step S15; otherwise, return to step S13;

[0109] S15: Configure the power management module as the locked power - on mode through the SPI channel, so that the small engine system performs operations including the idle step motor reset operation and data processing operation;

[0110] S16: Judge whether the duration that the key signal represents the power - off state is greater than or equal to the threshold duration. If so, enter S17; if not, return to step S15;

[0111] S17: Configure the power management module as the standby mode through the SPI channel to control the engine chip to enter the standby mode, and return to step S11.

[0112] It should be understood that the present invention does not limit when to configure the power management module as the locked power - on mode through the SPI channel. As long as the power management module is set as the locked power - on mode after the engine chip enters the normal working mode, it is within the protection scope of the present invention.

[0113] In actual implementation, the power management method requires the engine chip to receive signals from the outside through the SPI channel to implement the configuration of the power management module. In one implementation manner, the engine chip receives signals from the main control chip, and the engine chip is electrically connected to the main control chip.

[0114] In this case, for accurately judging the state of the key signal, in a specific implementation manner, the engine chip receives the key signal, the main control chip obtains the state of the key signal through the SPI channel, and the main control chip also sends an SPI control signal to the engine chip through the SPI channel.

[0115] Then the method for the main control chip to configure the power management module through the SPI channel includes:

[0116] If the key signal represents the power - on state, then send an SPI control signal to the engine chip through the SPI channel. The SPI control signal includes the first data, so that the power management module is configured as the locked power - on mode;

[0117] If the key signal is characterized as the power-off state, the duration of the key signal in the power-off state is timed to obtain the first timing duration, and the SPI control signal is controlled based on the first timing duration to include the first data or the second data, so that the power management module is configured to the locked power-on mode or the standby mode.

[0118] Specifically, the main control chip of the present invention can select the power management module of the engine chip through CSN (Chip Select Not) of the SPI channel, and send serial input data (i.e., the first data and the second data) through the SDI (Serial Data In) port in the SPI channel.

[0119] Of course, the main control chip can not only control the working mode of the power management module. In one implementation manner, the main control chip includes a data processing module;

[0120] The data processing module is configured to:

[0121] When the SPI control signal includes the first data and the key signal is characterized as the power-off state, perform the data processing operation.

[0122] In actual implementation, the data processing operation includes a data storage operation.

[0123] As an example, the data can be data of the vehicle running state and fault information collected by the On-Board Diagnostics (OBD). Of course, the present invention is not limited thereto, and any data that needs to be stored before the engine chip enters the standby mode can be stored in the data processing module.

[0124] It should be understood that the present invention enables the main control chip to perform data processing by controlling the engine chip to still be in the working state after the key signal is powered off.

[0125] Correspondingly, please refer to Figure 3 , the engine chip further includes an SPI module 20;

[0126] The SPI module 20 is used to receive the SPI control signal sent by the main control chip and output a status configuration signal to the power management module according to the SPI control signal to configure the power management module.

[0127] To ensure that the data in the SPI control signal is not transmitted incorrectly, in a preferred implementation manner, please refer to Figure 3 , the SPI module 20 receives the SPI control signal sent by the main control chip through a Schmitt trigger.

[0128] In actual work, the SPI module 20 includes registers, the registers include a locked power-on bit, and the status configuration signal includes a first status signal and a second status signal;

[0129] The method for outputting a status configuration signal to the power management module according to the SPI control signal includes:

[0130] When the SPI control signal represents a power-on state, configure the locked power-on bit in the register to a set state, so that the register outputs the first status signal to control the power management module to be in the locked power-on mode;

[0131] When the SPI control signal represents a power-off state, configure the locked power-on bit in the register to a cleared state, so that the register outputs the second status signal to control the power management module to be in the standby mode.

[0132] Among them, the set state of the locked power-on bit can be understood as 1, and the cleared state can be understood as 0.

[0133] Table 1 Mode table of the power management module corresponding to the locked power-on bit

[0134] Bit (PWL MODE) Mode of the power management module 0 Exit the locked power-on mode 1 Locked power-on mode

[0135] Table 1 shows the mode of the power management module corresponding to the operation of the locked power-on bit in the register provided by the embodiment of the present invention. It can be seen that for the register, it only controls whether the power management module enters the locked power-on mode.

[0136] In the case where the power management module also receives a status configuration signal, the power management module is configured to: control the working state of the engine chip based on the key signal and the status configuration signal, where:

[0137] When the key signal and / or the status configuration signal represents a power-on state, control the engine chip to be in the normal working mode;

[0138] When the key signal and the status configuration signal both represent a power-off state, control the engine chip to be in the standby mode.

[0139] Now in combination with Figure 4 and Figure 5 the working mode of the power management module will be described. Figure 4 shows the working waveform diagram of the power management module when the locked power-on mode is not set, Figure 5 shows the working waveform diagram of the power management module when the locked power-on mode is set, where:

[0140] Chip can be understood as the working state of the engine chip;

[0141] PWL_mode can be understood as the waveform of the status configuration signal, and the status configuration signal is used to indicate whether to set the power management module to enter the locked power-on mode;

[0142] KEY can be understood as the waveform of the key signal.

[0143] In Figure 4 example, the working state of the engine chip follows the state of the key signal. In Figure 5 example, even when the key signal is in the power-off state, the working state of the engine chip is still locked by the locked power-on mode, so that the small engine system performs operations including the idle step motor reset operation and the data processing operation.

[0144] It can be seen that for the power management module, the key signal and the status configuration signal of the present invention are in an OR relationship, ensuring that the engine chip performs necessary operations after the key signal is in the power-off state.

[0145] In a specific embodiment, please refer to Figure 3 , the power management module includes an OR gate unit 31 and an enable unit 32;

[0146] The first input terminal of the OR gate unit 31 receives the key signal KEY, its second input terminal receives the status configuration signal, and its output terminal outputs an enable control signal Ic_en;

[0147] The input terminal of the enable unit 32 receives the enable control signal Ic_en, and the enable unit 32 is used to output a module control signal based on the enable control signal Ic_en, and the module control signal is used to control the functional module of the engine chip to enter the normal working mode or the standby mode.

[0148] In this case, by way of example, when the key signal KEY and the status configuration signal are at a high level, it represents the power-on state, and when the key signal KEY and the status configuration signal are at a low level, it represents the power-on state.

[0149] It can be seen that the power management module uses OR logic for management. As long as any one of the key signal KEY and the status configuration signal is high, the output enable control signal Ic_en will output a high-level signal, thereby controlling the functional module of the engine chip to enter the normal working mode.

[0150] Of course, the present invention does not limit the specific magnitude of the level characterized as the powered-on state, and those skilled in the art can select an appropriate level to characterize the powered-on state or the powered-off state.

[0151] It should be understood that the enabling control signal Ic_en of the present invention is a necessary condition for activating other functional modules inside the chip. In Figure 3 the example, only when the enabling control signal Ic_en is at a high level (representing the enabled state), the functional modules of the chip can operate normally.

[0152] In a specific embodiment, please refer to Figure 3 , the functional module includes a power supply module 41, a tracking power supply module 42, and a driving module 43; the module control signals include a module enabling signal and a module stopping signal;

[0153] Then the enabling unit 32 is further configured to:

[0154] When the enabling control signal Ic_en is characterized as the normal working mode, output corresponding module enabling signals to the power supply module 41, the tracking power supply module 42, and the driving module 43 respectively, so as to control the power supply module 41, the tracking power supply module 42, and the driving module 43 to be in the normal working mode;

[0155] When the enabling control signal Ic_en is characterized as the standby mode, output corresponding module stopping signals to the power supply module 41, the tracking power supply module 42, and the driving module 43 respectively, so as to control the power supply module 41, the tracking power supply module 42, and the driving module 43 to be in the standby mode;

[0156] Wherein:

[0157] The power supply module 41 is used to supply power to each module inside the engine chip;

[0158] The tracking power supply module 42 is used to supply power to external sensors connected to the engine chip;

[0159] The driving module 43 is used to drive components connected to the engine chip.

[0160] In actual work, in one embodiment, please refer to Figure 6 , the driving module 43 includes an idle speed stepper motor driving module 431, and the main control chip is further used to output an idle speed stepper motor control signal;

[0161] The control end of the idle speed stepper motor driving module 431 receives the idle speed stepper motor control signal, and the output end of the idle speed stepper motor driving module 431 is coupled to the idle speed stepper motor,

[0162] The main control chip is further configured to;

[0163] when the SPI control signal includes first data and the key signal characterizes a power-down state, output the idle speed stepper motor control signal characterizing a reset operation;

[0164] The idle speed stepper motor drive module 431 is configured to:

[0165] when the idle speed stepper motor control signal characterizes a reset operation, perform the reset operation of the idle speed stepper motor;

[0166] when the module control signal characterizes a standby mode, enter the standby mode.

[0167] In Figure 6 In the example of, the VBP signal can be understood as the operating voltage of the idle speed stepper motor drive module 431. This voltage directly supplies power to the power part for driving the idle speed stepper motor.

[0168] In Figure 6 In the example of, the idle speed stepper motor control signal includes:

[0169] The EN signal can be understood as an enable signal for enabling or disabling the idle speed stepper motor drive module 431;

[0170] The DIR signal can be understood as a direction signal for controlling the rotation direction of the idle speed stepper motor;

[0171] The PWM signal can be understood as a pulse width modulation signal for controlling the number of steps and speed of rotation of the idle speed stepper motor.

[0172] It can be seen that when the idle speed stepper motor drive module 431 performs the reset operation of the idle speed stepper motor, the engine chip ensures that VBP provides power, the EN signal of the idle speed stepper motor control signal is pulled high to keep the idle speed stepper motor drive module 431 working, the DIR signal controls the idle speed stepper motor to rotate in the reset direction, and the PWM signal controls the idle speed stepper motor to step to a predefined reset position according to the required frequency and number of steps.

[0173] Of course, the drive module 43 integrated in the engine chip of the present invention is not limited to the idle speed stepper motor drive module 43. In other embodiments, please continue to refer to Figure 6 , the drive module 43 further includes:

[0174] An injector drive module 432, coupled to the injector, for driving the injector when the engine chip is in a normal operating mode;

[0175] The relay driving module 433 is coupled to the relay and is used to drive the relay when the engine chip is in the normal working mode;

[0176] The malfunction indicator lamp driving module 434 is coupled to the malfunction indicator lamp and is used to drive the malfunction indicator lamp when the engine chip is in the malfunction state;

[0177] The oxygen heating driving module 435 is coupled to the oxygen sensor heater and is used to drive the oxygen sensor heater when the engine chip is in the normal working mode.

[0178] It should be understood that the present invention is not limited thereto, and those skilled in the art can set the elements that can be driven by the engine chip and their corresponding driving modules according to needs.

[0179] In actual work, the functional modules of the engine chip also need to perform self-check before running. By way of example, the self-check items may include over-temperature protection, driver-off diagnosis, etc., and the present invention does not limit this.

[0180] In this case, in a preferred embodiment, please refer to Figure 7 , the engine chip further includes a diagnosis module 50;

[0181] The enable terminal of the diagnosis module 50 receives the enable control signal Ic_en;

[0182] The diagnosis module 50 is used to perform self-check on the engine chip when the enable control signal Ic_en represents the normal working mode.

[0183] In actual work, please continue to refer to Figure 7 , the diagnosis module 50 can output a self-check result signal after the self-check is completed, and the input terminal of the enable unit 32 can also receive this self-check result signal. In this case, the enable unit 32 is configured as:

[0184] Output a module control signal based on the enable control signal Ic_en and the self-check result signal, where:

[0185] Only when the enable control signal Ic_en represents the normal working mode and the self-check result signal represents normal, output a module control signal representing the normal working mode; otherwise, output a module control signal representing the standby mode.

[0186] In summary, in the power management method according to the embodiment of the present invention, when the key signal represents a power-on state, the power management module is configured to be in the power-on mode to control the engine chip to enter the normal working mode, and during the period when the chip enters the normal working mode, the power management module is configured to be in the locked power-on mode through the SPI channel, so that the engine chip can still maintain the normal working mode within the threshold duration after the key signal represents a power-off state, enabling the small engine system to complete operations including the reset operation of the idle stepping motor and data processing operations. Thus, the present invention realizes ensuring that the small engine system completes key operations after the ignition switch is turned off, with good reliability and low complexity.

[0187] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be subject to the scope defined by the claims.

Claims

1. A power management method, characterized in that: A power management module applied to a small engine system, the power management module is placed inside an engine chip and is used to control the working mode of the engine chip; the method comprises: Get the status of the key signal; The working mode of the power management module is configured based on the state of the key signal, and the working mode of the power management module includes a power-on mode, a locked power-on mode and a standby mode; wherein: If the key signal indicates a power-on state, the following steps are performed: Configuring the power management module to the power-on mode to control the engine chip to enter the normal working mode; After the engine chip enters the normal working mode, configuring the power management module to lock the power-on mode through the SPI channel to control the engine chip to maintain the normal working mode; When the engine chip is in the normal working mode and the power management module is in the locked power-on mode, if the key signal indicates a power-off state, the following steps are performed: The duration of the key signal being characterized as a power-off state is timed, and the working state of the engine chip is obtained and controlled based on the first timing duration, wherein: If the first timing duration is less than the threshold duration, the power management module is configured to be in a locked power-on mode through the SPI channel, so that the small engine system performs an idle stepper motor reset operation and a data processing operation; If the first timing duration is greater than or equal to the threshold duration, the power management module is configured to be in standby mode through the SPI channel to control the engine chip to enter the standby mode.

2. The power management method according to claim 1, wherein: The engine chip is electrically connected to the main control chip, the engine chip receives the key signal, the main control chip obtains the state of the key signal through the SPI channel, and the main control chip also sends an SPI control signal to the engine chip through the SPI channel; The method for configuring the power management module through the SPI channel includes: If the key signal indicates a power-on state, an SPI control signal is sent to the engine chip through the SPI channel, wherein the SPI control signal includes first data, so that the power management module is configured to lock the power-on mode; If the key signal is characterized by a power-off state, the duration of the key signal being in the power-off state is timed to obtain the first timing duration, and the SPI control signal is controlled based on the first timing duration to include the first data or the second data, so that the power management module is configured to the locked power-on mode or the standby mode.

3. The power management method according to claim 2, wherein: The main control chip includes a data processing module; The data processing module is configured as follows: When the SPI control signal includes the first data and the key signal is characterized by a power-off state, the data processing operation is performed, and the data processing operation includes a data storage operation.

4. The power management method according to claim 2, wherein: The engine chip also includes an SPI module; The SPI module is used to receive the SPI control signal sent by the main control chip, and output a state configuration signal to the power management module according to the SPI control signal to configure the power management module; The power management module is configured to: control the working state of the engine chip based on the key signal and the state configuration signal, wherein: When the key signal and / or the state configuration signal indicates a power-on state, controlling the engine chip to be in the normal working mode; When the key signal and the status configuration signal are both characterized as a power-off state, the engine chip is controlled to be in the standby mode.

5. The power management method according to claim 4, characterized in that: The SPI module receives the SPI control signal sent by the main control chip through a Schmitt trigger.

6. The power management method according to claim 4, characterized in that: The SPI module includes a register, the register includes a lock power-on bit, and the state configuration signal includes a first state signal and a second state signal; The method of outputting a state configuration signal to the power management module according to the SPI control signal includes: When the SPI control signal is characterized as a power-on state, configuring the lock power-on bit in the register to be in a set state, so that the register outputs a first state signal to control the power management module to be in a lock power-on mode; When the SPI control signal indicates a power-off state, the lock power-on bit in the register is configured to be in a clear state, so that the register outputs the second state signal to control the power management module to be in a standby mode.

7. The power management method according to claim 6, characterized in that: The power management module includes an OR gate unit and an enabling unit; The first input terminal of the OR gate unit receives the key signal, the second input terminal thereof receives the state configuration signal, and the output terminal thereof outputs an enable control signal; The input end of the enabling unit receives the enabling control signal, and the enabling unit is used to output a module control signal based on the enabling control signal, and the module control signal is used to control the functional module of the engine chip to enter a normal working mode or a standby mode.

8. The power management method according to claim 7, wherein: The functional modules include a power supply module, a tracking power supply module and a driving module; the module control signal includes a module enable signal and a module stop signal; Then the enabling unit is further configured as: When the enable control signal indicates a normal working mode, the corresponding module enable signals are output to the power supply module, the tracking power supply module and the driving module respectively, so as to control the power supply module, the tracking power supply module and the driving module to be in the normal working mode; When the enable control signal indicates a standby mode, a corresponding module stop signal is output to the power supply module, the tracking power supply module and the driving module respectively, so as to control the power supply module, the tracking power supply module and the driving module to be in the standby mode; in: The power supply module is used to supply power to each module in the engine chip; The tracking power supply module is used to supply power to an external sensor connected to the engine chip; The driving module is used to drive the components connected to the engine chip.

9. The power management method according to claim 8, characterized in that: The driving module includes an idle stepper motor driving module, and the main control chip is also used to output an idle stepper motor control signal; The control end of the idle stepper motor driving module receives the idle stepper motor control signal, and the output end of the idle stepper motor driving module is coupled to the idle stepper motor; The main control chip is also configured as: When the SPI control signal includes the first data and the key signal is characterized by a power-off state, outputting the idle stepper motor control signal characterized by a reset operation; The idle stepper motor drive module is configured as follows: When the idle stepper motor control signal is characterized as a reset operation, performing the idle stepper motor reset operation; When the module control signal indicates the standby mode, the module enters the standby mode.

10. The power management method according to claim 8, wherein: The driving module also includes: an injector driving module, coupled to the injector, for driving the injector when the engine chip is in a normal working mode; a relay driving module, coupled to the relay, for driving the relay when the engine chip is in a normal working mode; A fault lamp driving module, coupled to the fault indicator lamp, for driving the fault indicator lamp when the engine chip is in a fault state; The oxygen heating driving module is coupled to the oxygen sensor heater and is used to drive the oxygen sensor heater when the engine chip is in a normal working mode.

11. The power management method according to claim 7, wherein: The engine chip also includes a diagnostic module; The enable terminal of the diagnostic module receives the enable control signal; The diagnostic module is used to perform a self-test on the engine chip when the enable control signal indicates a normal working mode, and output a self-test result signal after the self-test is completed.

12. The power management method according to claim 11, characterized in that: The input end of the enabling unit also receives the self-test result signal, and the enabling unit is configured as follows: Output module control signal based on the enable control signal and the self-test result signal, wherein: Only when the enable control signal indicates the normal working mode and the self-test result signal indicates normal, the module control signal indicating the normal working mode is output; otherwise, the module control signal indicating the standby mode is output.