A control method, system, device and storage medium of an air supply unit controller
By configuring the hibernation and wake-up mechanism of the air supply unit controller, the problems of low static current and wake-up capability after parking and power-off are solved, and reliable wake-up and air source status monitoring are realized in deep hibernation state.
Patent Information
- Application Number
- CN202611465406.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, the air supply unit controller cannot simultaneously take into account the low static current and the wake-up capability in deep sleep state after the vehicle is parked and powered off, resulting in battery depletion or inability to autonomously monitor the air supply status.
The microcontroller acquires the ignition switch status, battery voltage, and CAN network management status of the target vehicle, configures the timing period of the real-time clock and the wake-up identification parameters of the system base chip, controls the air supply unit controller to enter deep power-down sleep mode, and maintains the ability to wake up timing signals or bus signals in sleep mode.
It achieves a significant reduction in static current in deep sleep mode while maintaining the ability to wake up to timing signals or bus signals, ensuring that the controller can autonomously monitor the gas source status during parking and avoid battery depletion.
Smart Images

Figure CN123169818A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive electronic control, specifically to a control method, system, device, and storage medium for an air supply unit controller. Background Technology
[0002] With the continuous evolution of automotive electronic and electrical architecture, closed air suspension systems place higher demands on the low-power management of the air supply unit (ASU) controller. After the vehicle is parked and powered off, the ASU controller needs to minimize the quiescent current to avoid battery depletion during prolonged parking, while also maintaining the ability to monitor the air supply status, such as air pressure, to ensure the availability and reliability of the closed air suspension system when the vehicle is powered on again.
[0003] In related technologies, to address the low power consumption requirements of the ASU controller after the vehicle is parked and powered off, the following methods are typically used: The internal processing unit of the controller enters a low-power or sleep mode, while maintaining continuous power supply from the main power source. The processing unit is periodically woken up by an internal timer or real-time clock to perform tasks before returning to sleep mode; or an external timing signal is directly connected to the enable pin of the power management chip, triggering power on / off; or the controller is put into sleep mode only after the network determines the bus is silent, and listens for valid wake-up signals on the network to resume operation.
[0004] However, the above method has the following technical problems: if the main power supply is maintained, the static current is still too high, and long-term parking can easily lead to battery depletion; if the power supply is completely cut off, the controller cannot maintain the ability to be woken up by the timing signal or bus signal in the power-off state, resulting in the inability to monitor the gas source status autonomously during parking. Summary of the Invention
[0005] This application provides a control method, system, device, and storage medium for an air supply unit controller, which can solve the technical problem in the prior art that the controller cannot maintain the ability to be woken up by a timing signal or bus signal while reducing static current.
[0006] In a first aspect, embodiments of this application provide a control method for an air supply unit controller, the control method for the air supply unit controller comprising: Based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller, determine whether to allow entry into sleep mode; If it is determined that entering hibernation is allowed, the microcontroller configures the timing period of the real-time clock and the wake-up recognition parameters of the system base chip to control the air supply unit controller of the target vehicle to enter deep power-down hibernation. If the real-time clock reaches its timing period, or if the system base chip detects the wake-up identification parameter, the system base chip controls the air supply unit controller to exit sleep mode and restores the power supply to the microcontroller.
[0007] In conjunction with the first aspect, in one implementation, determining whether to allow entry into sleep mode based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller includes: Based on the ignition switch status of the target vehicle obtained by the microcontroller, determine whether the ignition switch status is invalid; Based on the battery voltage sampling signal of the target vehicle obtained by the microcontroller, determine whether the battery voltage is normal; Based on the CAN network management message of the target vehicle obtained by the microcontroller, determine whether the CAN network management status is bus silent; If the ignition switch of the target vehicle is invalid, the battery voltage is normal, and the CAN network management status is bus silent, then it is determined that entering sleep mode is allowed.
[0008] In conjunction with the first aspect, in one implementation, the step of controlling the air supply unit controller of the target vehicle to enter deep power-down sleep mode by configuring the timing period of the real-time clock and the wake-up recognition parameters of the system base chip through the microcontroller includes: The microcontroller stops the current timing of the real-time clock via the I²C bus, clears the interrupt flag, writes the period count value, and starts a fixed-period timer to configure the timing period of the real-time clock, based on the timing period count value and the clock source. The microcontroller configures the monitoring timer of the system base chip via the SPI bus and configures the CAN transceiver to a wake-up-able listening state in order to configure the wake-up identification parameters of the system base chip; wherein, the wake-up identification parameters include baud rate, wake-up frame and / or local network filtering configuration; After the microcontroller requests the system base chip to write the sleep mode and verifies that the system base chip has successfully entered the sleep mode, the system base chip cuts off the main power supply of the microcontroller and controls the air supply unit controller of the target vehicle to enter deep power-down sleep mode.
[0009] In conjunction with the first aspect, in one implementation, if the timing period of the real-time clock arrives, or the system base chip detects the wake-up identification parameter, then the system base chip controls the air supply unit controller to exit sleep mode, including: When the timing period of the real-time clock arrives, the interrupt output terminal of the real-time clock is pulled low via open drain, and a falling edge is generated by the local wake-up pin of the system base chip to trigger it. When a CAN wake-up frame appears on the CAN bus, and the CAN wake-up frame conforms to at least one of the wake-up identification parameters, it is determined that the system base chip has detected the wake-up identification parameters. The system base chip controls the air supply unit controller to exit sleep mode based on the wake-up identification parameters triggered by the falling edge or detected.
[0010] In conjunction with the first aspect, in one implementation, restoring the power supply to the microcontroller includes: The system's basic chip exits sleep mode and resumes main power output, while the microcontroller performs a power-on reset. The microcontroller is reinitialized, and the system base chip and the real-time clock are reconfigured.
[0011] In conjunction with the first aspect, in one embodiment, after restoring power to the microcontroller, the method further includes: During initialization after each wake-up, the microcontroller only clears the reset count (RCC) of the system base chip and retains the limp latch. If the limp latch is found to be valid, the system is determined to be in a fault-safe state, the actuator output is prohibited or shut off, and the air replenishment operation is not performed. The limp latch is retained until the preset fault recovery conditions are met.
[0012] In conjunction with the first aspect, in one embodiment, after restoring power to the microcontroller, the method further includes: The microcontroller determines the source of this wake-up based on the wake-up event information in the system's underlying chip; If it is determined that the source of this wake-up is the arrival of the timing period of the real-time clock, then only the gas storage pressure check and / or the gas tank of the target vehicle are replenished, without restoring CAN communication, and then the deep power-down sleep mode is entered again after completion. If the wake-up source is determined to be the wake-up identification parameter, then CAN communication is restored, and the air valve and / or air pump actuator is controlled.
[0013] Secondly, embodiments of this application provide a control system for an air supply unit controller, the system comprising: The sleep mode determination module is used to determine whether to allow entering sleep mode based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller. The hibernation configuration module is used to control the air supply unit controller of the target vehicle to enter deep power-down hibernation by configuring the timing period of the real-time clock and the wake-up recognition parameters of the system base chip through the microcontroller if it is determined that hibernation is allowed. The wake-up control module is used to control the air supply unit controller to exit sleep mode and restore the power supply to the microcontroller if the timing period of the real-time clock arrives or the system base chip detects the wake-up identification parameter.
[0014] Thirdly, embodiments of this application provide a control device for an air supply unit controller. The control device for the air supply unit controller includes a processor, a memory, and a control program for the air supply unit controller stored in the memory and executable by the processor. When the control program for the air supply unit controller is executed by the processor, it implements the steps of the control method for the air supply unit controller as described in any of the above claims.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a control program for an air supply unit controller, wherein when the control program for the air supply unit controller is executed by a processor, it implements the control method for the air supply unit controller as described in any of the preceding claims.
[0016] The beneficial effects of the technical solutions provided in this application include: By analyzing the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller, it is determined whether to allow entry into sleep mode. This ensures that the controller only executes the sleep process after the vehicle is parked and powered down, providing a prerequisite for reliable wake-up under deep power-down conditions. If sleep mode is allowed, the microcontroller configures the real-time clock's timing period and the wake-up identification parameters of the system's base chip to control the target vehicle's air supply unit controller to enter deep power-down sleep mode. The wake-up source configuration is completed before sleep mode begins, and then the system's base chip cuts off the microcontroller's main power supply, completely powering down the microcontroller and significantly reducing parking static current. The real-time clock continues to keep time independently after the microcontroller is powered off, and the system base chip continues to monitor the CAN bus and local wake-up pins in sleep mode, enabling the controller to maintain the ability to be woken up by timing signals or bus signals even in deep power-down sleep mode. If the timing period of the real-time clock is reached, or the system base chip detects the wake-up identification parameters, the system base chip controls the air supply unit controller to exit sleep mode and restore power to the microcontroller. This allows the controller to be woken up periodically by timing signals and promptly by bus signals even in deep power-down mode, solving the technical problem in related technologies that cannot simultaneously achieve low quiescent current and wake-up capability in deep sleep mode. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating the control method of the air supply unit controller in this application; Figure 2 This is a schematic diagram showing the connection relationship of the control method of the air supply unit controller in this application; Figure 3 This is a schematic diagram of the functional modules of the control system of the air supply unit controller of this application. Detailed Implementation
[0018] The technical solutions of the embodiments of this application are described below with reference to the accompanying drawings and related embodiments. In the description of the embodiments of this application, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the application. As used in the specification and appended claims of this application, the singular expressions "a," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, "at least one" and "one or more" refer to one or more (including two). The term "and / or" is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0019] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized. The term "connection" includes direct connections and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.
[0020] In the embodiments of this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0021] The steps involved in the methods provided in this application are merely examples, and not all steps are mandatory, nor are all information or message contents required. They can be added or removed as needed during use. In this application, the same step, or steps or messages with the same function, can be referenced and learned from each other in different embodiments.
[0022] This embodiment provides a control method for an air supply unit controller. The ASU (Air Supply Unit) controller used in the method is used to control the air storage, replenishment, and pressure maintenance of a closed air suspension. The ASU controller includes at least: an MCU (Microcontroller Unit), an SBC (Automotive System Base Chip), an RTC (Real-Time Clock), a CAN communication path, an air storage pressure sampling circuit, and actuators such as air valves / pumps.
[0023] like Figure 2 The connections are as follows: The microcontroller communicates with the system base chip via the Serial Peripheral Interface (SPI) bus to configure the system base chip's operating mode, CAN transceiver status, local wake-up enable, and read wake-up / reset events; the microcontroller communicates with the external real-time clock via the Inter-Integrated Circuit (I²C) bus to configure periodic timing, enable interrupt output, and clear timing flags; the external real-time clock's interrupt output is open-drained and connected to the system base chip's local wake-up pin, which is pulled low upon expiration to generate a falling edge wake-up; the system base chip integrates power management and CAN transceiver, and its main power output (e.g., V1) powers the microcontroller. In sleep mode, V1 can be cut off while maintaining monitoring of the CAN bus and the local wake-up pin; the microcontroller is also connected to the gas storage pressure sampling circuit and actuator drive for maintaining the closed-loop system pressure.
[0024] like Figure 1 As shown, the control method for the air supply unit controller provided in this embodiment includes the following steps: Step S10: Based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller, determine whether to allow entry into sleep mode.
[0025] For example, the microcontroller determines whether to allow entering sleep mode based on the ignition switch / KL15 status, battery voltage, and CAN network management status. KL15 is the vehicle ignition switch signal. When it is determined that the vehicle is powered off, the bus is silent, and there is no need to maintain application operation (e.g., KL15 is invalid), it determines that entering sleep mode is allowed and enters sleep preparation. During the sleep preparation stage, application functions are shut down, the CAN controller and communication management are switched to offline / no communication state, external message transmission is stopped, and the system base chip is switched from normal mode to standby mode, so that subsequent sleep configuration can be safely written. If KL15 becomes valid again during this stage, the microcontroller is directly reset to return to normal application, avoiding accidental sleep mode.
[0026] Step S20: If it is determined that entering hibernation is allowed, the timing period of the real-time clock and the wake-up recognition parameters of the system base chip are configured by the microcontroller to control the air supply unit controller of the target vehicle to enter deep power-down hibernation.
[0027] For example, this step includes: S201, configuring the timing period of the external real-time clock, the microcontroller stops the current timing of the real-time clock and clears the interrupt flag through the inter-integrated circuit bus to prevent the local wake-up pin from being accidentally triggered during the configuration process, the microcontroller writes the period count value and selects the clock source (such as a second-level clock source), and starts the fixed period timer.
[0028] For example, the default period is 60 seconds; the period can also be adaptively adjusted according to the battery voltage, parking duration or gas pressure decay rate. The period value can range from 1 second to tens of minutes, enabling the real-time clock to interrupt the output. When the interrupt output expires, it is pulled low by open drain, and a local falling edge is generated by the local wake-up pin of the system base chip to wake it up. This configuration allows the real-time clock to keep time independently after the microcontroller is powered off, without relying on the microcontroller's main power supply.
[0029] S202, the microcontroller configures the monitoring timer of the system base chip via the SPI bus, configures the CAN transceiver to a wake-up listening state, and configures the wake-up identification parameters of the system base chip, wherein the wake-up identification parameters include baud rate, wake-up frame and / or local network filtering configuration.
[0030] For example, the microcontroller writes a configuration value to the monitor timer configuration register of the system base chip via the SPI bus, configuring the monitor timer to either be disabled in sleep mode or in autonomous management mode. Specifically, if the system base chip supports automatic shutdown of the monitor timer configuration in sleep mode, it is configured to be disabled; if the system base chip requires the monitor timer configuration to continue running in sleep mode, it is configured to be in autonomous management mode.
[0031] The microcontroller writes wake-up identification parameters to the CAN wake-up configuration register of the system base chip via the SPI bus. The wake-up identification parameters include at least one of the following: (1) Baud rate: Write the CAN communication baud rate configuration value. The system base chip will only determine a valid wake-up event when it detects a CAN signal that matches the configured baud rate.
[0032] (2) Wake-up frame: Write the CAN frame identifier or frame format that allows the wake-up to be triggered. The system base chip will only determine a valid wake-up event when it detects a CAN frame that matches the configured wake-up frame identifier or frame format.
[0033] (3) Local network filtering: Write the local network filtering configuration and specify the range of message identifiers (IDs) that need to be responded to. The system base chip will only determine a valid wake-up event when it detects a CAN message that matches the configured message ID range.
[0034] Meanwhile, the microcontroller configures the CAN transceiver of the system base chip to a wake-up-able listening state (sleep listening mode) via SPI, enabling the CAN transceiver to maintain low-power listening in sleep mode and generate a wake-up signal when it detects a CAN wake-up frame that meets the wake-up recognition parameters.
[0035] In addition, the microcontroller enables the local wake-up function of the system base chip's local wake-up pin via the SPI bus to match the open-drain pull-low characteristic of the real-time clock interrupt output. When enabled, the system base chip will recognize a local wake-up event when a falling edge occurs on the local wake-up pin.
[0036] Before requesting the system base chip to enter sleep mode, the microcontroller clears various pending event flags in the system base chip via SPI, including power supply events, transmit / receive events, wake-up events, and functional safety events. If the pending events are not cleared before requesting sleep, the system base chip will determine it as an illegal sleep and trigger a reset, preventing it from entering a deep power-down state.
[0037] S203, the microcontroller requests the system base chip to write the sleep mode, and after verifying that the system base chip has successfully entered the sleep mode, the system base chip cuts off the main power supply of the microcontroller and controls the air supply unit controller of the target vehicle to enter deep power-down sleep mode.
[0038] For example, the microcontroller sends a command to the system base chip via the SPI bus to write to the sleep mode, requesting the system base chip to enter sleep mode. Since the SPI communication interface will be closed after the system base chip enters sleep mode, all register locking operations must be completed before the mode switch.
[0039] The microcontroller uses the inability to read from the SPI after a successful write to sleep mode, or the read-back mode register value indicating sleep mode, as the criterion for successful entry into sleep mode. If the verification is successful, the system base chip cuts off the main power supply output V1, the microcontroller is completely powered down, and the air supply unit controller enters a deep power-down sleep state. If the verification fails, the microcontroller restores the monitoring timer configuration and returns to standby mode without cutting off the microcontroller power supply to avoid system malfunction.
[0040] After successfully entering sleep mode, the system base chip cuts off the microcontroller's main power supply V1, causing the microcontroller to power down. The system base chip continues to monitor the CAN bus and local wake-up pins, and the entire device enters a deep low quiescent current state. The microcontroller can stop its internal monitoring timer and reset itself only after confirming that sleep mode has been successfully entered, in order to completely release power consumption.
[0041] In step S30, if the real-time clock timing period arrives, or the system base chip detects the wake-up identification parameters, the system base chip controls the air supply unit controller to exit sleep mode and restores the power supply to the microcontroller.
[0042] For example, there are at least two parallel wake-up paths: (a) when the real-time clock cycle expires, the interrupt output is pulled low to trigger local wake-up of the system base chip; (b) a valid CAN wake-up event (such as a wake-up frame that matches the configuration) occurs on the bus. When either path is valid, the system base chip exits sleep mode and restores the microcontroller power supply V1. The microcontroller is powered on and reset and re-initialized. During power-on initialization, the microcontroller first clears the real-time clock wake-up flag and then initializes the system base chip to avoid continuous false wake-ups caused by residual interrupts. Subsequently, the microcontroller is re-initialized and the system base chip and real-time clock are reconfigured to restore communication and timing functions.
[0043] Furthermore, after restoring power to the microcontroller as described above, the method also includes resetting the counter process: During initialization after each wake-up, the microcontroller only clears the reset count (RCC) of the system base chip and retains the limp-lock latch. For example, a sleep wake-up typically passes through the system base chip's reset path, incrementing the reset count (RCC). Due to the high frequency of periodic wake-ups (e.g., once every 60 seconds), if the RCC is not cleared, it will quickly accumulate and exceed a preset threshold, causing the system base chip to falsely trigger limp-lock mode, resulting in the actuator being incorrectly restricted or entering a safe shutdown state. Therefore, during initialization after each wake-up, the microcontroller reads the system base chip's reset count register via the SPI bus to obtain the current RCC value; the microcontroller then writes a clear command (or performs a clear operation) to the system base chip's reset count register via the SPI bus, resetting the RCC value to zero. This operation only clears the reset count value and does not affect other registers or status flags. Simultaneously, the microcontroller reads the system base chip's limp-lock latch register via the SPI bus; if a limp-lock latch exists, it is retained and not cleared. The purpose of this is to ensure functional safety and availability without masking actual faults.
[0044] If the limp latch is found to be valid, the microcontroller is determined to be in a fault-safe state, and the actuator output is prohibited or shut off, and the gas replenishment operation is not performed. For example, if the limp latch is valid (i.e. there is a limp latch corresponding to a real fault), the microcontroller determines that it is currently in a fault-safe state and performs the following operations: (1) Prohibit or shut off the actuator output: The microcontroller does not drive the air valve and / or air pump, so that the actuator is in a safe closed state to avoid continuing to drive with a fault; (2) Do not perform the gas replenishment operation: Even if the gas storage pressure is lower than the preset lower limit threshold, the microcontroller does not start the gas replenishment operation.
[0045] The limp latch is retained until a preset fault recovery condition is met. For example, the microcontroller retains the limp latch without clearing it. The limp state is only released when the preset fault recovery condition is met. The preset fault recovery condition can be set according to the actual application scenario; the specific content of the preset fault recovery condition is not limited in this embodiment.
[0046] Furthermore, after restoring power to the microcontroller as described above, the method also includes wake-up source identification and strategy-based processing: The microcontroller determines the source of the wake-up based on the wake-up event information in the system base chip. For example, after the microcontroller completes re-initialization, it reads the wake-up event register in the system base chip via the SPI bus to obtain the wake-up event information. The wake-up event information includes at least one of the following: (1) Local wake-up flag: indicating whether a local wake-up triggered by a local wake-up pin has occurred; (2) CAN wake-up flag: indicating whether a CAN bus wake-up has occurred; (3) Wake-up source encoding: the system base chip encodes the wake-up source into a specific value, and the microcontroller determines the wake-up source by decoding. Based on the wake-up event information read, the microcontroller determines whether the source of the wake-up is the arrival of the real-time clock's timing cycle (i.e., local cycle wake-up) or the matching of wake-up identification parameters (i.e., CAN bus wake-up), and can make a comprehensive judgment by combining the status of the ignition switch (such as KL15).
[0047] If the wake-up source is determined to be the arrival of the real-time clock's timing cycle, only the gas storage pressure inspection and / or replenishment of the target vehicle's gas tank will be performed. CAN communication will not be restored, and the microcontroller will enter deep power-down sleep mode again after completion. For example, when the wake-up source is determined to be a local cycle wake-up, the microcontroller will perform the following operations: (1) Gas storage pressure inspection: The microcontroller will collect the current pressure value of the gas tank through the gas storage pressure sampling circuit and compare the sampled pressure value with the preset pressure threshold to determine whether there is a leak or underpressure. (2) Replenish gas as needed: If the gas storage pressure is detected to be lower than the preset lower limit threshold, the microcontroller will briefly drive the air pump and / or air valve to perform a replenishment operation to replenish the gas tank pressure to the preset target range. After reaching the threshold or completing a replenishment window, the real-time clock flag will be cleared and the microcontroller will enter sleep mode again. If the pressure is higher than the maintenance threshold, the replenishment operation will not be performed, and the real-time clock flag will be cleared directly and the microcontroller will enter sleep mode again. (3) Do not restore CAN communication: Local cycle wake-up will only perform the above short-term inspection and / or replenishment operation. During the local periodic wake-up process, the complete network management session is not started, the bus communication is not maintained in the complete application mode, and the normal sending and receiving of diagnostic / application messages is not restored; only the local control necessary to complete the gas storage pressure sampling and short-term gas replenishment is allowed. This avoids waking up the entire communication network every time the periodic inspection is carried out, causing unnecessary power consumption and system disturbance. (4) Re-entering sleep mode: After completing the inspection and / or gas replenishment, the microcontroller reconfigures the real-time clock and system base chip according to the process of steps S10 to S20, requests the system base chip to enter sleep mode, so that the air supply unit controller enters the deep power-down sleep state again, waiting for the next periodic wake-up or bus wake-up.
[0048] If the source of this wake-up is determined to be the wake-up identification parameter, then CAN communication is restored, and the air valve and / or air pump actuator is controlled. For example, when the source of this wake-up is determined to be CAN bus wake-up, the microcontroller performs the following operations: (1) Restore CAN communication: The microcontroller initializes the CAN controller, restores the CAN communication function, re-participates in CAN network management, restores diagnostic and normal control functions, and responds to vehicle network requests; (2) Control actuators: The microcontroller controls the air valve and / or air pump and other actuators according to the vehicle control command or the air supply unit application logic, and performs complete air supply unit application functions, such as inflating / deflating according to the suspension height control command, maintaining system pressure, responding to diagnostic requests, etc., until the sleep conditions are met again.
[0049] The method embodiments provided by this application have been described above. The system embodiments provided by this application will be described below. It should be understood that the description of the system embodiments corresponds to the description of the method embodiments. Therefore, for content not described in detail, please refer to the method embodiments above. For the sake of brevity, it will not be repeated here.
[0050] like Figure 3 As shown, this embodiment provides a control system for an air supply unit (ASU) controller. This system can be a module or chip applied to the ASU controller. This system can be used to execute the steps or processes performed by the ASU controller in the above method embodiments.
[0051] The system may include a hibernation detection module, a hibernation configuration module, and a wake-up control module. Among them: The sleep mode determination module is used to determine whether to allow entry into sleep mode based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller. For example, the sleep mode determination module can specifically be used to: determine whether the ignition switch status of the target vehicle is invalid based on the ignition switch status obtained by the microcontroller; determine whether the battery voltage is normal based on the battery voltage sampling signal of the target vehicle obtained by the microcontroller; determine whether the CAN network management status is bus silent based on the CAN network management message of the target vehicle obtained by the microcontroller; if the ignition switch status of the target vehicle is invalid, the battery voltage is normal, and the CAN network management status is bus silent, then it is determined that entry into sleep mode is allowed.
[0052] The hibernation configuration module is used to, if it is determined that hibernation is permitted, configure the timing period of the real-time clock and the wake-up identification parameters of the system base chip via the microcontroller, thereby controlling the air supply unit controller of the target vehicle to enter deep power-down hibernation. For example, the hibernation configuration module may specifically be used to: stop the current timing of the real-time clock via the I²C bus, clear the interrupt flag, write the cycle count value, and start a fixed-period timer to configure the timing period of the real-time clock; configure the monitoring timer of the system base chip via the SPI bus, configure the CAN transceiver to a wake-up-able listening state, and configure the wake-up identification parameters of the system base chip, wherein the wake-up identification parameters include baud rate, wake-up frame, and / or local network filtering configuration; request the system base chip to write the hibernation mode, and after verifying that the system base chip has successfully entered hibernation mode, the system base chip cuts off the main power supply to the microcontroller, controlling the air supply unit controller of the target vehicle to enter deep power-down hibernation.
[0053] The wake-up control module is used to control the air supply unit controller to exit sleep mode and restore power to the microcontroller when the real-time clock's timing period arrives or the system base chip detects wake-up identification parameters. For example, the wake-up control module can be specifically used to: pull the open-drain interrupt output of the real-time clock low when the timing period arrives, triggering a falling edge through the local wake-up pin of the system base chip; when a CAN wake-up frame appears on the CAN bus and the CAN wake-up frame matches at least one of the wake-up identification parameters, it is determined that the system base chip has detected the wake-up identification parameters; and the system base chip controls the air supply unit controller to exit sleep mode based on the falling edge trigger or the detected wake-up identification parameters.
[0054] Optionally, the system may also include a reset management module. The reset management module, after restoring power to the microcontroller, during initialization after each wake-up, only clears the reset count (RCC) of the system's base chip and retains the limp latch; if the limp latch is found to be valid, it is determined to be in a fault-safe state, the actuator output is disabled or shut down, and the gas replenishment operation is not performed; the limp latch is retained until the preset fault recovery conditions are met.
[0055] Optionally, the system may also include a strategy-based processing module. This module, after restoring power to the microcontroller, determines the source of the wake-up based on the wake-up event information in the system's base chip. If the wake-up source is determined to be the arrival of a real-time clock cycle, only the gas pressure check and / or replenishment of the target vehicle's gas tank are performed; CAN communication is not restored, and the system re-enters deep power-down sleep mode after completion. If the wake-up source is determined to be a wake-up identification parameter, CAN communication is restored, and the gas valve and / or air pump actuator are controlled.
[0056] It should be understood that the "modules" in the above system can be implemented in hardware, software, or by hardware executing corresponding software. For example, the "module" can refer to an application-specific integrated circuit (ASIC), electronic circuits, a processor (e.g., a shared processor, a proprietary processor, or a group processor) and memory for executing one or more software or firmware programs, integrated logic circuits, and / or other suitable components that support the described functions.
[0057] Based on the methods provided in the above embodiments, this application also provides a control device for an air supply unit controller. The control device includes a processor, a memory, and a control program for the air supply unit controller stored in the memory and executable by the processor. When the control program for the air supply unit controller is executed by the processor, it implements the various steps or processes executed by the ASU controller in any of the above method embodiments.
[0058] For example, the memory may be, but is not limited to, random access memory (RAM), read-only memory (ROM), flash memory, etc. The processor may be, but is not limited to, a microcontroller (MCU), a digital signal processor (DSP), a field-programmable gate array (FPGA), etc.
[0059] Specifically, when the processor executes the control program, it performs the following steps: based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller, it determines whether to allow entry into sleep mode; if it is determined that entry into sleep mode is allowed, the air supply unit controller of the target vehicle is controlled to enter deep power-down sleep mode by configuring the timing period of the real-time clock and the wake-up identification parameters of the system base chip through the microcontroller; if the timing period of the real-time clock is reached, or the system base chip detects the wake-up identification parameters, the system base chip controls the air supply unit controller to exit sleep mode and restores the power supply to the microcontroller.
[0060] Optionally, when the processor executes the control program, it also implements the following steps: in the initialization after each wake-up, only the reset count RCC of the system base chip is cleared, while the limp latch is retained; the wake-up source is determined according to the wake-up event information in the system base chip, and different processing strategies are executed according to local cycle wake-up or bus wake-up respectively.
[0061] Based on the methods provided in the above embodiments, this application also provides a computer-readable storage medium storing a control program for an air supply unit controller. When the control program for the air supply unit controller is executed by a processor, it implements the various steps or processes executed by the ASU controller in any of the above method embodiments.
[0062] The computer-readable storage medium may be, but is not limited to, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, and other media capable of storing program code.
[0063] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0064] It should be noted that the sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0065] In some processes described in the embodiments of this application, multiple operations or steps are included in a specific order. However, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or they may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.
[0066] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of this application.
[0067] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A control method for an air supply unit controller, characterized in that, The control method of the air supply unit controller includes: Based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller, determine whether to allow entry into sleep mode; If it is determined that entering hibernation is allowed, the microcontroller configures the timing period of the real-time clock and the wake-up recognition parameters of the system base chip to control the air supply unit controller of the target vehicle to enter deep power-down hibernation. If the real-time clock reaches its timing period, or if the system base chip detects the wake-up identification parameter, the system base chip controls the air supply unit controller to exit sleep mode and restores the power supply to the microcontroller.
2. The control method for the air supply unit controller according to claim 1, characterized in that, The process of determining whether to allow entry into sleep mode based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller includes: Based on the ignition switch status of the target vehicle obtained by the microcontroller, determine whether the ignition switch status is invalid; Based on the battery voltage sampling signal of the target vehicle obtained by the microcontroller, determine whether the battery voltage is normal; Based on the CAN network management message of the target vehicle obtained by the microcontroller, determine whether the CAN network management status is bus silent; If the ignition switch of the target vehicle is invalid, the battery voltage is normal, and the CAN network management status is bus silent, then it is determined that entering sleep mode is allowed.
3. The control method for the air supply unit controller according to claim 1, characterized in that, The step of configuring the timing period of the real-time clock and the wake-up recognition parameters of the system base chip through the microcontroller to control the air supply unit controller of the target vehicle to enter deep power-down sleep includes: The microcontroller stops the current timing of the real-time clock via the I²C bus, clears the interrupt flag, writes the period count value, and starts a fixed-period timer to configure the timing period of the real-time clock, based on the timing period count value and the clock source. The microcontroller configures the monitoring timer of the system base chip via the SPI bus and configures the CAN transceiver to a wake-up-able listening state in order to configure the wake-up identification parameters of the system base chip; wherein, the wake-up identification parameters include baud rate, wake-up frame and / or local network filtering configuration; After the microcontroller requests the system base chip to write the sleep mode and verifies that the system base chip has successfully entered the sleep mode, the system base chip cuts off the main power supply of the microcontroller and controls the air supply unit controller of the target vehicle to enter deep power-down sleep mode.
4. The control method for the air supply unit controller according to claim 1, characterized in that, If the timing period of the real-time clock arrives, or the system base chip detects the wake-up identification parameter, the system base chip controls the air supply unit controller to exit sleep mode, including: When the timing period of the real-time clock arrives, the interrupt output terminal of the real-time clock is pulled low via open drain, and a falling edge is generated by the local wake-up pin of the system base chip to trigger it. When a CAN wake-up frame appears on the CAN bus, and the CAN wake-up frame conforms to at least one of the wake-up identification parameters, it is determined that the system base chip has detected the wake-up identification parameters. The system base chip controls the air supply unit controller to exit sleep mode based on the wake-up identification parameters triggered by the falling edge or detected.
5. The control method for the air supply unit controller according to claim 1, characterized in that, Restoring power to the microcontroller includes: The system's basic chip exits sleep mode and resumes main power output, while the microcontroller performs a power-on reset. The microcontroller is reinitialized, and the system base chip and the real-time clock are reconfigured.
6. The control method for the air supply unit controller according to claim 1, characterized in that, After restoring power to the microcontroller, the process further includes: During initialization after each wake-up, the microcontroller only clears the reset count (RCC) of the system base chip and retains the limp latch. If the limp latch is found to be valid, the system is determined to be in a fault-safe state, the actuator output is prohibited or shut off, and the air replenishment operation is not performed. The limp latch is retained until the preset fault recovery conditions are met.
7. The control method for the air supply unit controller according to claim 1, characterized in that, After restoring power to the microcontroller, the process further includes: The microcontroller determines the source of this wake-up based on the wake-up event information in the system's underlying chip; If it is determined that the source of this wake-up is the arrival of the timing period of the real-time clock, then only the gas storage pressure check and / or the gas tank of the target vehicle are replenished, without restoring CAN communication, and then the deep power-down sleep mode is entered again after completion. If the wake-up source is determined to be the wake-up identification parameter, then CAN communication is restored, and the air valve and / or air pump actuator is controlled.
8. A control system for an air supply unit controller, characterized in that, The system includes: The sleep detection module is used to determine whether to allow entry into sleep mode based on the ignition switch status, battery voltage, and CAN network management status of the target vehicle obtained by the microcontroller. The hibernation configuration module is used to control the air supply unit controller of the target vehicle to enter deep power-down hibernation by configuring the timing period of the real-time clock and the wake-up recognition parameters of the system base chip through the microcontroller if it is determined that hibernation is allowed. The wake-up control module is used to control the air supply unit controller to exit sleep mode and restore the power supply to the microcontroller if the timing period of the real-time clock arrives or the system base chip detects the wake-up identification parameter.
9. A control device for an air supply unit controller, characterized in that, The control device of the air supply unit controller includes a processor, a memory, and a control program for the air supply unit controller stored in the memory and executable by the processor, wherein when the control program for the air supply unit controller is executed by the processor, it implements the steps of the control method for the air supply unit controller as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a control program for an air supply unit controller, wherein when the control program for the air supply unit controller is executed by a processor, it implements the control method for the air supply unit controller as described in any one of claims 1 to 7.
