WO2024002316A1 - Vehicle controller control method and apparatus, central gateway controller, and medium - Google Patents

Vehicle controller control method and apparatus, central gateway controller, and medium Download PDF

Info

Publication number
WO2024002316A1
WO2024002316A1 PCT/CN2023/104399 CN2023104399W WO2024002316A1 WO 2024002316 A1 WO2024002316 A1 WO 2024002316A1 CN 2023104399 W CN2023104399 W CN 2023104399W WO 2024002316 A1 WO2024002316 A1 WO 2024002316A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
controller
signal
status
vehicle
Prior art date
Application number
PCT/CN2023/104399
Other languages
French (fr)
Chinese (zh)
Inventor
倪子善
邓鹏�
祝贵阳
韩雷
孙昊
高惠国
刘若娇
刘养颐
王天彤
陈文静
Original Assignee
中国第一汽车股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中国第一汽车股份有限公司 filed Critical 中国第一汽车股份有限公司
Publication of WO2024002316A1 publication Critical patent/WO2024002316A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Definitions

  • the present application relates to the field of automotive technology, for example, to a control method and device for a vehicle controller, a central gateway controller and a medium.
  • This application provides a vehicle controller control method, device, central gateway controller and medium to reduce unnecessary load consumption without changing the vehicle network topology.
  • a control method for a vehicle controller including:
  • At least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status
  • a second status signal of the load switch is obtained in real time, and the second status signal is used to characterize the Whether the load switch is closed or inactive;
  • an entry into shallow sleep signal is sent to control the second controller corresponding to the load switch to enter into a shallow sleep state.
  • a control device for a vehicle controller including:
  • a first acquisition module configured to acquire at least one first status signal sent by at least one first controller, where the at least one first status signal is used to indicate the corresponding status of the vehicle;
  • the second acquisition module is configured to acquire the second status signal of the load switch in real time if at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status.
  • the status signal is used to indicate whether the load switch is in a closed state or inactive state;
  • a sending module configured to send a shallow sleep signal to control the second controller corresponding to the load switch to enter a shallow sleep state if the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state.
  • a central gateway controller including:
  • the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method described in any embodiment of the present application. Control method of vehicle controller.
  • a computer-readable storage medium stores computer instructions, and the computer instructions are used to implement any of the embodiments of the present application when executed by a processor.
  • the control method of the vehicle controller is provided.
  • Figure 1 is a flow chart of a control method of a vehicle controller provided according to Embodiment 1 of the present application;
  • Figure 2 is a flow chart of a control method of a vehicle controller provided according to Embodiment 2 of the present application;
  • Figure 3 is a system block diagram of shallow sleep network management provided according to Embodiment 2 of the present application.
  • Figure 4 is a logical block diagram of shallow sleep network management entry conditions provided according to Embodiment 2 of the present application.
  • Figure 5 is a logical block diagram of shallow sleep network management of a seat controller provided according to Embodiment 2 of the present application;
  • Figure 6 is a logical block diagram of shallow sleep network management of the seat environment controller provided according to Embodiment 2 of the present application;
  • Figure 7 is a logical block diagram of shallow sleep network management of an air conditioning controller provided according to Embodiment 2 of the present application.
  • Figure 8 is the logic of shallow sleep network management of the ambient light controller provided according to Embodiment 2 of the present application. block diagram;
  • Figure 9 is a logical block diagram of shallow sleep network management of a lighting controller provided according to Embodiment 2 of the present application.
  • Figure 10 is a logical block diagram of shallow sleep network management of a head-up display controller provided according to Embodiment 2 of the present application;
  • Figure 11 is a schematic structural diagram of a control device of a vehicle controller provided according to Embodiment 3 of the present application.
  • Figure 12 is a schematic structural diagram of a central gateway controller provided according to Embodiment 4 of the present application.
  • Figure 1 is a flow chart of a vehicle controller control method provided according to Embodiment 1 of the present application. This embodiment can be applied to the situation of controlling the vehicle controller. The method can be executed by the control device of the vehicle controller. , the control device of the vehicle controller can be implemented in the form of hardware and/or software.
  • the vehicle's electrical load power consumption is large when idling or driving, a large proportion of which is composed of many standby loads with no working requirements. Composition of current.
  • the source of power supply for the load of the vehicle can vary according to the vehicle. For example, on a fuel vehicle, the load of the vehicle is the electrical energy provided by the generator, and the final energy source is fuel; on an electric vehicle, the load of the vehicle is The final energy source of the electric energy provided by a DC-to-DC (Direct Current-Direct Current, DCDC) power supply is the power of the power battery. To sum up, excess load power consumption will bring unnecessary fuel consumption or mileage consumption. In addition, in the daily use of the car, many loads are not used frequently, but they still consume electric energy in the power grid with high power consumption.
  • DC-to-DC Direct Current-Direct Current, DCDC
  • the current mainstream power distribution method is: when the vehicle is idling or driving, even loads with no functional requirements are still connected to the vehicle power grid to consume the vehicle's electric energy, and the network management strategy of most vehicles is that all network nodes sleep together. In the form of wake-up, once the load is woken up, it will be in a standby mode with high power consumption even if there is no work requirement.
  • some vehicles perform segmented network management of the vehicle load according to different network segments when the ignition switch is turned off, and control some loads that are not required to quickly enter the dormant state according to the network segment, reducing the energy consumption of the battery.
  • this control strategy can also achieve the purpose of energy saving, it has great scene limitations and small energy saving contribution.
  • this method is difficult to design the network topology. It must be ensured that loads on the same network segment sleep and wake up at the same time.
  • some vehicles also adopt the form of distributed gateways, combining similar controllers and distributed gateways to form a subnet subsystem.
  • the subnet subsystem uses a local area network to communicate with other subnet subsystems through subgateway routing.
  • the subnet subsystem meets the sleep conditions, it can sleep independently without affecting the work of other subnet subsystems. Therefore, when the load in a subnet has no functional requirements, the subnet can be put into sleep first.
  • the subnet of this solution The division is difficult and the scene has great limitations.
  • the control method of the vehicle controller provided by this application is different from the traditional sleeping and waking up strategy for the entire network segment, the network management of sub-network segments, and the distributed network topology architecture.
  • the controller In the electrical load wake-up phase, the controller enters the shallow sleep mode through a specific network management sleep message, and the controller exits the shallow sleep mode through a specific network management wake-up message, so as to achieve without changing the vehicle network topology. Shallow sleep wake-up control for electrical loads.
  • the method includes the following steps.
  • the first controller can be understood as a controller in the vehicle that is connected to the central gateway controller and is used to send a corresponding first status signal to indicate the corresponding status of the vehicle.
  • the type and number of the first controllers are not limited.
  • the first controller may be an engine controller.
  • the first status signal sent by the engine controller may be the status of the engine to indicate whether the vehicle is in an idle state.
  • At least one first status signal sent by at least one first controller can be obtained to perform subsequent steps according to the vehicle status indicated by the at least one first status signal.
  • the method of obtaining the first status signal will not be discussed here. Limitation, for example, the first status signal can be obtained in real time through the bus, etc.
  • At least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, obtain the second status signal of the load switch in real time.
  • the second status signal is used to represent Whether the load switch is in a closed state or inactive state.
  • the first preset state can be considered as a preset vehicle state, which can be determined by the system or relevant personnel.
  • the first preset state may include one or more preset states, and the preset state may correspond to obtaining the first state signal.
  • the load switch can refer to the switch corresponding to the load connected to the vehicle.
  • the type of load switch is not limited, such as a seat ventilation and heating switch.
  • the second status signal can be understood as a signal sent by the load switch to the central gateway controller. Use To represent whether the load switch is in a closed state or inactive state, for example, the second state signal can be code information or digital information.
  • the second status signal when the second status signal is 0, it can indicate that the load switch is in a closed state; when the second status signal is 1, it indicates that the load switch is not in a closed state, that is, it is in an on state; or if the value obtained at the current moment The second state signal is 1, and the second state signal obtained at the next moment is still 1, indicating that the load switch is in a non-action state; or if the second state signal obtained at the current moment is 1, the second state signal obtained at the next moment The signal is 2, indicating that the load switch is in an action state, that is, whether the load switch is in a non-action state or an action state needs to be judged based on at least two consecutive second state signals.
  • all obtained first status signals can be judged to perform corresponding operations according to the judgment results. For example, if at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, the second status signal of the load switch is obtained in real time; otherwise, the operation ends.
  • the vehicle power supply status (i.e., the first status signal) sent by the body controller can be obtained respectively, and the vehicle power status signal sent by the engine controller can be obtained respectively.
  • Engine status i.e., the first status signal
  • the vehicle power supply status indicates the corresponding power supply status of the vehicle, such as the power-on status
  • the engine status indicates the corresponding engine status of the vehicle, such as the idling status
  • the first preset status includes the power-on status and the idling status.
  • the signal for entering shallow sleep may be a signal for controlling the second controller corresponding to the load switch to enter a shallow sleep state.
  • the second controller is the controller corresponding to the load switch and can control the load.
  • the shallow sleep state can be considered as a special state between the full sleep state and the standby state. That is, the power consumption of the load in the shallow sleep state is much smaller than that in the standby state, and the quiescent current is a little larger than that in the full sleep state. In this state, almost all functions of the load are turned off, leaving only some modules working to receive signals to exit shallow sleep.
  • the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state, it means that the second controller corresponding to the current load switch has no demand for use.
  • it can A shallow sleep signal is sent to control the second controller to enter a shallow sleep state, that is, the second controller can control the second controller itself and the corresponding load to enter a shallow sleep state; if the second state signal obtained in real time represents The load switch is in the on state or in the action state, indicating that the second controller corresponding to the current load switch has a demand for use. No operation is performed at this time, and the judgment of the second state signal obtained in real time is continued.
  • the second state signal obtained in real time represents that the load switch is in a closed state. It can be understood that the second state signal obtained at the current moment represents that the load switch is in a closed state. It can also be considered as the second state signal obtained at each moment within a predetermined time period. Both state signals represent that the load switch is in a closed state; the second state signal obtained in real time represents that the load switch is in a non-action state, which can be considered as all second state signals obtained within a predetermined time period or between adjacent moments. If they are the same, that is, there is no difference between the multiple second state signals, then the load switch is in a non-action state.
  • the predetermined time period can be determined by empirical values and is not limited here. Different control steps may be corresponding to different loads, which is not limited in this embodiment.
  • An embodiment of the present application provides a control method for a vehicle controller that obtains at least one first status signal sent by at least one first controller, and the first status signal is used to indicate the corresponding status of the vehicle; if all third If at least one first status signal sent by a controller indicates that the status of the vehicle satisfies the first preset status, the second status signal of the load switch is obtained in real time.
  • the second status signal is used to characterize whether the load switch is in a closed state or inactive state; if the second state signal obtained in real time indicates that the load switch is in a closed state or inactive state, a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter Light sleep state.
  • the second status signal of the load switch can be accurately obtained, and at the same time , when the second state signal indicates that the load switch is in a closed state or inactive state, the shallow sleep signal is sent, which realizes the control of the second controller to enter the shallow sleep state without changing the vehicle network topology, thus Reduce unnecessary load consumption.
  • the first controller includes a body controller, an energy management controller, an engine controller and/or a vehicle controller;
  • obtaining the second status signal of the load switch in real time includes:
  • the first status signal sent by the vehicle body controller indicates that the vehicle power supply is in the powered-on state
  • the first status signal sent by the engine controller indicates that the engine is in idling state
  • the first status signal sent by the vehicle controller indicates When the vehicle is in a high-voltage power-on state, and/or the first state signal sent by the energy management controller indicates that the power grid state is in the output state, the second state signal of the load switch is obtained in real time.
  • the first controller may be determined according to the type of vehicle. For example, when the vehicle is a fuel vehicle, the first controller may include a body controller, an energy management controller and/or an engine controller; when the vehicle is an electric vehicle, the first controller may A controller may include a body controller, an energy management controller, and/or a vehicle controller. After the first controller is determined, at least one first status signal sent by at least one included controller can be judged to obtain the second status signal of the load switch in real time. Different loads can also correspond to different acquisition methods, which can be determined according to the actual situation.
  • the first controller when the first controller includes a body controller, an energy management controller, and an engine controller, the first status signals sent by the body controller, the energy management controller, and the engine controller can be acquired and judged respectively, If the first status signal sent by the body controller indicates that the vehicle power supply is in the power-on state, the first status signal sent by the engine controller indicates that the engine is in the idle state, and the first status signal sent by the energy management controller indicates that the grid status is in the output state , then obtain the second status signal of the load switch in real time; otherwise, continue to judge at least one first status signal until at least one first status signal indicates that the status of the vehicle meets the first preset status, obtain the load switch in real time. Second status signal.
  • the first controller includes a body controller, an energy management controller and a vehicle controller
  • the first status signals sent by the body controller, energy management controller and vehicle controller can be acquired and judged respectively.
  • the first status signal sent by the body controller indicates that the vehicle power supply is in the power-on state
  • the first status signal sent by the vehicle controller indicates that the vehicle is in the high-voltage power-on state
  • the first status signal sent by the energy management controller indicates that the power grid
  • the state is in the output state
  • obtaining the second status signal of the load switch in real time includes:
  • At least one first state signal sent by all first controllers indicates that the state of the vehicle satisfies the first preset state, obtain a third state signal sent by the electronic stability controller or the motor controller in real time;
  • the second state signal of the load switch is acquired in real time.
  • the third status signal may refer to a signal sent by the electronic stability controller or the motor controller, and is used to indicate the driving status of the vehicle, such as the driving speed of the vehicle.
  • the second preset state is similar to the first preset state and can be considered as a preset vehicle state.
  • the system or relevant personnel perform settings.
  • the second preset state may include one or more preset states.
  • the preset state may correspond to obtaining the third state signal.
  • the second preset state and the first preset state are only In order to distinguish different objects, this embodiment does not limit this.
  • the third status signal sent by the electronic stability controller or the motor controller can be obtained in real time; and then Determine whether the acquired third state signal satisfies the second preset state. If the currently acquired third state signal satisfies the second preset state, it means that the currently acquired third state signal satisfies the preset vehicle state. This The second state signal of the load switch can be acquired in real time; if the currently acquired third state signal does not satisfy the second preset state, subsequent operations will be stopped.
  • the third state signal includes vehicle speed, motor speed and/or vehicle gear.
  • the load switch is acquired in real time.
  • the second status signal includes:
  • the second status signal of the load switch is obtained in real time.
  • the third status signal may include vehicle speed, motor speed and/or vehicle gear.
  • the vehicle speed is the driving speed of the vehicle
  • the motor speed is the rotation speed of the vehicle engine
  • the vehicle gear is the current gear of the vehicle.
  • the third state signal may be determined according to the type of vehicle. For example, when the vehicle is a fuel vehicle, the third state signal may include motor speed and vehicle gear; when the vehicle is an electric vehicle, the third state signal may include vehicle speed and Vehicle gear.
  • the currently obtained third state signal can be judged, that is, when the vehicle speed or motor speed is equal to zero, and the vehicle gear is in parking gear or neutral, the third state signal of the load switch can be obtained in real time. 2 status signal; otherwise stop subsequent operations.
  • a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter Light sleep state, including:
  • a light sleep signal is sent to control the second controller to enter the light sleep state.
  • the preset time period can be considered as a time period starting from the current moment and taking the preset time as the interval.
  • the preset time can be determined by an empirical value, for example, the preset time can be 5 minutes.
  • all real-time third state signals and second state signals obtained in real time within a preset time period can be judged, and corresponding operations can be performed based on the judgment results. For example, if in advance Assume that within the time period, the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking or neutral, and all second state signals obtained in real time indicate that the load switch is in a closed state, then it can be sent Enter the shallow sleep signal to control the second controller to enter the shallow sleep state; otherwise, the timing will be restarted to judge the third state signal and the second state signal in the next preset time period. On this basis, by judging the vehicle speed, motor speed, vehicle gear and second state signals within the preset time period, the correctness of sending the shallow sleep signal is ensured.
  • FIG. 2 is a flow chart of a vehicle controller control method provided according to Embodiment 2 of the present application. Embodiment 2 is explained based on the above-mentioned embodiments.
  • an entry into shallow sleep signal is sent to control the situation after the second controller corresponding to the load switch enters the shallow sleep state, including: if the second state signal obtained in real time indicates that the load switch is on If there is an action state, an exit light sleep signal is sent to control the second controller corresponding to the load switch to exit the light sleep state.
  • Embodiment 1 Please refer to Embodiment 1 for contents that are not described in detail in this embodiment.
  • a control method for a vehicle controller provided by Embodiment 2 of the present disclosure includes the following steps.
  • At least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, obtain the second status signal of the load switch in real time.
  • the second status signal is used to represent Whether the load switch is in a closed state or inactive state.
  • the signal for exiting the shallow sleep state may be a signal for controlling the second controller corresponding to the load switch to exit the shallow sleep state.
  • the second controller corresponding to the load switch After the second controller corresponding to the load switch enters the shallow sleep state, it is still necessary to obtain and judge the second state signal in real time.
  • the second state signal indicates that the load switch is in the on state, or When the second state signal at the current moment is different from the second state signal at the previous moment, or all the second state signals obtained within the preset time period are not the same, it is necessary to send an exit light sleep signal to control the load switch
  • the corresponding second controller exits the shallow sleep state; when the second state signal indicates that the load switch is not in the on state, or the second state signal at the current moment is still the same as the second state signal at the previous moment, or at the preset time All the second state signals obtained in the segment are exactly the same, that is, when they are still in the closed state or inactive state, the second controller corresponding to the load switch will still be kept in the shallow sleep state until the second state signal obtained represents the load switch.
  • a shallow sleep exit signal is sent to control the second controller corresponding to the load switch
  • the control method of the vehicle controller provided in the second embodiment of the present application can, after the second controller corresponding to the load switch enters the shallow sleep state, judge the second state signal obtained in real time, and the second state signal can represent the load.
  • the switch is in an on state or in an action state, a light sleep exit signal is sent, thereby controlling the second controller to exit the light sleep state.
  • the method when the second controller is an ambient light controller, after sending an exit shallow sleep signal to control the second controller corresponding to the load switch to exit the shallow sleep state, the method further includes:
  • a shallow sleep signal is sent to control the second controller to enter a shallow sleep state
  • an exit shallow sleep signal is sent to control the second controller to exit the shallow sleep state.
  • the light intensity signal can be used to characterize the intensity of the current illumination;
  • the first light intensity threshold can be considered as the maximum critical value of light intensity, which can be preset by relevant personnel;
  • the second light intensity threshold can be considered as the minimum critical value of light intensity.
  • the first light intensity threshold is greater than the second light intensity threshold.
  • the value can be set according to the actual situation and is not limited here.
  • the light intensity signal collected by the sunlight sensor can be obtained in real time, and based on the size of the light intensity signal, Adaptive adjustment, for example, when the light intensity signal obtained in real time is greater than the first light intensity threshold, it means that the current light intensity is greater than the maximum threshold of the preset light intensity.
  • a shallow sleep signal can be sent to control
  • the second controller enters a shallow sleep state to reduce power consumption; when the light intensity signal obtained in real time is less than the second light intensity threshold, it means that the current light intensity is greater than the minimum threshold of the preset light intensity, and an exit needs to be sent at this time Shallow sleep signal to control the second controller to enter normal working state.
  • the working state of the second controller can be controlled in real time according to the size of the light signal, reducing unnecessary load consumption.
  • the control method of the vehicle controller provided by the embodiment of the present application can be classified and controlled according to different load characteristics, environmental characteristics, and user usage scenarios.
  • the load without work requirements can be controlled from The standby state enters a shallow sleep state with lower energy consumption, which ensures that the unnecessary consumption of electrical loads is minimized without affecting the user's perception of use, and solves some non-functional requirements of the vehicle when idling or driving.
  • the load power consumption indirectly increases the fuel consumption of fuel vehicles and reduces the driving range of electric vehicles.
  • FIG 3 is a system block diagram of shallow sleep network management provided according to Embodiment 2 of the present application.
  • the implementation of the shallow sleep network management method of the present application relies on the network system of the vehicle.
  • the network system of the vehicle is composed of the body Controllers, engine controllers or vehicle controllers, energy management controllers, electronic stability controllers or motor controllers, transmission controllers, air conditioning controllers, sunlight sensors, multiple function switches, central gateway controllers and controlled
  • the controlled electrical loads include seat controllers, seat environment controllers, air conditioning controllers, ambient light controllers, heads-up display controllers, lighting controllers, etc.
  • the central gateway controller performs status judgment through input signals such as the body controller, engine controller, or vehicle controller, and energy management controller (i.e., the first status signal) to determine whether the network management control conditions for entering shallow sleep wake-up are met. When the conditions are met, the logical judgment of sending the shallow sleep entry signal and the shallow sleep exit signal is made through the actual scenario.
  • the central gateway controller sends the specific shallow sleep entry signal and shallow sleep exit signal to the bus, and multiple controlled electrical loads After receiving the corresponding signal, the entry and exit of the shallow sleep state is executed.
  • control method of the vehicle controller can be divided into: confirmation of entry conditions of shallow sleep network management, logical judgment of shallow sleep network management, shallow sleep Execution of network management.
  • FIG 4 is a logical block diagram of shallow sleep network management entry conditions provided according to Embodiment 2 of the present application.
  • the central gateway controller determines the entire system according to the vehicle power status (i.e., the first status signal) sent by the body controller. Whether the vehicle power supply status is in the powered-on state. If the vehicle power supply status is in the powered-on state, the entry conditions for shallow sleep network management are met;
  • the central gateway controller determines whether the vehicle is in an idling state based on the engine status (i.e., the first status signal) sent by the engine controller. If so, the entry conditions for shallow sleep network management are met; for electric vehicles: the central gateway controller The gateway controller determines whether the vehicle is in the Ready state based on the high-voltage power-on status (i.e., the first status signal) sent by the vehicle controller. If so, the entry conditions for shallow sleep network management are met;
  • the central gateway controller determines whether the generator or DCDC is in the output state based on the grid status signal (i.e. the first status signal) in the energy management controller. If so, the entry conditions for shallow sleep network management are met.
  • At least one first status signal sent by all the first controllers indicates that the state of the vehicle meets the first preset state
  • the central gateway controller When the vehicle meets the entry conditions of shallow sleep network management, the central gateway controller will control all controlled loads based on the shallow sleep network management logic and output the shallow sleep entry or exit signal of the corresponding controller.
  • the control logic of some controlled loads is described below.
  • Other controlled loads not mentioned can also be controlled according to the method of this application according to the environmental status and usage scenarios.
  • FIG. 5 is a logical block diagram of shallow sleep network management of the seat controller provided according to Embodiment 2 of the present application.
  • the central The gateway controller starts timing. When the timing time exceeds 5 minutes, and within 5 minutes, there is no change in the status of the seat adjustment signal (that is, the second status signal of the load switch is obtained in real time, and the second status signal indicates that the load switch is in a non-function state.
  • the seat controller is sent a shallow sleep entry instruction "signal A" (that is, a shallow sleep entry signal is sent to control the second controller corresponding to the load switch to enter the shallow sleep state ); If within 5 minutes, there is a change in the status of the seat adjustment signal, the timing will stop until the seat adjustment signal changes back to the initial value and the timing will be restarted; if the seat controller is in shallow sleep and the user has the intention to adjust the seat, the seat adjustment The switch sends an adjustment signal to the central gateway controller. After the central gateway controller receives the signal setting of the seat adjustment switch (that is, the obtained second status signal indicates that the load switch is in an action state), the central gateway controller sends the seat to the bus.
  • the controller shallow sleep exit command "signal a" that is, sending a shallow sleep exit signal to control the second controller corresponding to the load switch to exit the shallow sleep state).
  • the seat adjustment switch and the seat controller are decoupled.
  • FIG. 6 is a logical block diagram of shallow sleep network management of the seat environment controller provided according to Embodiment 2 of the present application. As shown in Figure 6, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, The central gateway controller starts timing.
  • the central gateway controller sends the seat environment controller shallow sleep entry instruction "signal B" (that is, sends a shallow sleep signal to control all The second controller corresponding to the load switch enters a shallow sleep state); if within 5 minutes, the seat ventilation and heating and other related function signals are on, the timing will end until the seat ventilation and heating and other related function signals are off and the time will be restarted.
  • the seat ventilation and heating switch After light sleep, if the user intends to use seat ventilation and heating, the seat ventilation and heating switch sends a function enable signal to the central gateway controller, and the central gateway controller receives the function signal setting of the seat ventilation and heating switch (that is, the obtained After the second status signal indicates that the load switch is in the on state), the seat environment controller shallow sleep exit command "signal b" is sent to the bus (that is, the shallow sleep exit signal is sent to control the second control corresponding to the load switch The processor exits shallow sleep state). The seat ventilation and heating switch is decoupled from the seat environment controller.
  • FIG 7 is a logical block diagram of the shallow sleep network management of the air conditioning controller provided according to Embodiment 2 of the present application.
  • the central gateway The controller starts timing.
  • the timing time exceeds 5 minutes, and within 5 minutes, the relevant signal of the air conditioning function shows that the air conditioner is in a closed state (that is, the second state signal of the load switch is obtained in real time, and the second state signal represents the load switch.
  • the air conditioning controller is sent a shallow sleep entry command "signal C" (that is, a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter the shallow sleep state) ; If within 5 minutes, the relevant signal of the air conditioning function shows that the air conditioner is on, the timing will end, and the timing will be restarted until the relevant signal of the air conditioning function shows that the air conditioner is off.
  • the air-conditioning control switch sends a function enable signal to the central gateway controller, and the central gateway controller receives the air-conditioning switch signal to set (that is, the obtained second state signal represents the After the load switch is in the on state), the air conditioning controller shallow sleep exit command "signal c" is sent to the bus (that is, a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state).
  • the air conditioning control switch and the air conditioning controller are decoupled.
  • FIG 8 is a logical block diagram of shallow sleep network management of the ambient light controller provided according to Embodiment 2 of the present application.
  • the central The gateway controller determines the ambient light function turn-on signal. If the ambient light function is turned off (that is, the second state signal of the load switch is obtained in real time, and the second state signal indicates that the load switch is in a closed state), it sends a light signal of the ambient light control. Sleep enters the command "signal D" until it receives the function start signal from the ambient light switch.
  • the central gateway controller sends the ambient light controller shallow sleep exit command "signal d" to the bus (i.e.
  • the second controller corresponding to the load switch enters a shallow sleep state.
  • the current light intensity signal i.e. light intensity signal
  • the preset light intensity value X1 i.e. the first light intensity threshold
  • the preset light intensity value X2 i.e. the second light intensity threshold
  • Shallow sleep signal to control the second controller to enter shallow sleep state.
  • the light intensity signal of the sunlight sensor changes to ⁇ is less than the second light intensity threshold, then send Exit shallow sleep signal to control the second controller to exit shallow sleep state).
  • the sunlight sensor, ambient light switch and ambient light controller are decoupled.
  • FIG 9 is a logical block diagram of shallow sleep network management of the light controller provided according to Embodiment 2 of the present application.
  • the timing will end until the conditions are met and the timing will be restarted.
  • the central gateway controller sends the air conditioning controller shallow sleep exit command "signal e" to the bus (that is, sends an exit shallow sleep signal to control the second controller corresponding to the load switch to exit the shallow sleep state).
  • the electronic stability controller or motor controller, transmission controller, combination switch and lighting controller are decoupled.
  • Figure 10 is a logical block diagram of shallow sleep network management of the head-up display controller provided according to Embodiment 2 of the present application. As shown in Figure 10, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, the central The gateway controller determines the head-up display function turn-on signal.
  • the head-up display function is turned on, shallow sleep network management will not be performed; if the head-up display function is turned off (that is, the second state signal of the load switch is obtained in real time, the second state signal represents the above load switch is in the off state), then send the shallow sleep entry command "signal F" of the heads-up display controller (that is, send the shallow sleep entry signal to control the second controller corresponding to the load switch to enter the shallow sleep state) until the
  • the head-up display control switch sends a head-up display function turn-on signal (that is, the obtained second status signal indicates that the load switch is in an on-state)
  • the central gateway controller sends the head-up display controller shallow sleep exit command "signal f" to the bus. (i.e. send back A shallow sleep signal is generated to control the second controller corresponding to the load switch to exit the shallow sleep state).
  • the head-up display control switch and the head-up display controller are in a decoupled state.
  • shallow sleep will be executed immediately after receiving the shallow sleep entry command "signal N" sent by the central gateway controller.
  • the concept of shallow sleep is a special state between full sleep and standby state. In this state, the functions of the electrical load are almost completely shut down, leaving only some modules working to receive specific shallow sleep exit command "signals”. n" (i.e. exit) and wake up the entire component. In this state, the power of the electrical load is much smaller than the standby power consumption, and a little larger than the final sleep quiescent current.
  • FIG 11 is a schematic structural diagram of a vehicle controller control device provided according to Embodiment 3 of the present application. As shown in Figure 11, the device includes the following modules.
  • the first acquisition module 310 is configured to acquire at least one first status signal sent by at least one first controller, where the first status signal is used to indicate the corresponding status of the vehicle;
  • the second acquisition module 320 is configured to acquire the second status signal of the load switch in real time if at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status.
  • the second status signal is used to indicate whether the load switch is in a closed state or inactive state;
  • the sending module 330 is configured to send a shallow sleep signal to control the second controller corresponding to the load switch to enter shallow sleep if the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state. state.
  • An embodiment of the present application provides a control device for a vehicle controller that acquires at least one first status signal sent by at least one first controller through the first acquisition module 310.
  • the first status signal is used to indicate that the vehicle corresponds to state; through the second acquisition module 320, if at least one first state signal sent by all the first controllers indicates that the state of the vehicle satisfies the first preset state, the second state signal of the load switch is acquired in real time.
  • the second state signal is used to represent whether the load switch is in a closed state or a no-action state; if the second state signal obtained in real time through the sending module 330 represents that the load switch is in a closed state or a no-action state, then the sending module 330 will send the signal to enter the shallow state.
  • a sleep signal is used to control the second controller corresponding to the load switch to enter a shallow sleep state.
  • the second status signal of the load switch can be accurately obtained, and at the same time , when the second state signal indicates that the load switch is in a closed state or inactive state, the shallow sleep signal is sent, which realizes the control of the second controller to enter the shallow sleep state without changing the vehicle network topology, thus Reduce unnecessary load consumption.
  • the first controller includes a body controller, an energy management controller, an engine controller and/or a vehicle controller;
  • the second acquisition module 320 includes:
  • the first status signal sent by the vehicle body controller indicates that the vehicle power supply is in the powered-on state
  • the first status signal sent by the engine controller indicates that the engine is in idling state
  • the first status signal sent by the vehicle controller indicates When the vehicle is in a high-voltage power-on state, and/or the first state signal sent by the energy management controller indicates that the power grid state is in the output state, the second state signal of the load switch is obtained in real time.
  • the method further includes:
  • a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state.
  • the step of sending an exit light sleep signal to control the second controller corresponding to the load switch to exit the light sleep state also includes:
  • a shallow sleep signal is sent to control the second controller to enter a shallow sleep state
  • an exit shallow sleep signal is sent to control the second controller to exit the shallow sleep state.
  • the second acquisition module 320 includes:
  • the first acquisition unit is configured to acquire the third signal sent by the electronic stability controller or the motor controller in real time if at least one first state signal sent by all the first controllers indicates that the state of the vehicle satisfies the first preset state. status signal;
  • the second acquisition unit is configured to acquire the second status signal of the load switch in real time if the currently acquired third status signal satisfies the second preset status.
  • the third status signal includes vehicle speed, motor speed and/or vehicle gear.
  • the second acquisition unit is set to:
  • the second status signal of the load switch is obtained in real time.
  • the sending module 330 includes:
  • a light sleep signal is sent to control the second controller to enter the light sleep state.
  • the control device of the vehicle controller provided by the embodiments of this application can execute the control method of the vehicle controller provided by any embodiment of this application, and has corresponding functional modules and effects for executing the method.
  • FIG 12 is a schematic structural diagram of a central gateway controller provided according to Embodiment 4 of the present application.
  • the central gateway controller includes a processor 60, a memory 61, an input device 62 and an output device 63; the central gateway controller
  • the number of processors 60 in the device can be one or more.
  • One processor 60 is taken as an example in Figure 12; the processor 60, memory 61, input device 62 and output device 63 in the central gateway controller can be connected through a bus or other Connection method, Figure 12 takes connection through bus as an example.
  • the memory 61 can be configured to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the control method of the vehicle controller in Embodiment 1 of the present disclosure (for example, the first acquisition module 310, second acquisition module 320 and sending module 330).
  • the processor 60 executes the software programs, instructions and modules stored in the memory 61 to execute various functional applications and data processing of the central gateway controller, that is, to implement the above control method of the vehicle controller.
  • the memory 61 may include a program storage area and a data storage area, where the program storage area may store an operating system and an application program required for at least one function; the storage data area may store data created according to the use of the terminal, etc.
  • the memory 61 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
  • memory 61 may include memory located remotely relative to processor 60, and these remote memories may be connected to a central gateway controller through a network. Examples of the above-mentioned networks include the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
  • the input device 62 may be configured to receive input numeric or character information and to generate key signal inputs related to user settings and functional controls of the central gateway controller.
  • the output device 63 may include a display device such as a display screen.
  • Embodiment 5 of the present disclosure also provides a storage medium containing computer-executable instructions, which when executed by a computer processor are used to execute the control method of the vehicle controller. Laws include:
  • At least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status
  • a second status signal of the load switch is obtained in real time, and the second status signal is used to characterize the Whether the load switch is closed or inactive;
  • an entry into shallow sleep signal is sent to control the second controller corresponding to the load switch to enter into a shallow sleep state.
  • An embodiment of the present disclosure provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions are not limited to the method operations described above, and can also execute the vehicle controller provided in the first or second embodiment of the present disclosure. Related operations in the control method.
  • the present disclosure can be implemented by means of software and necessary general hardware, or can also be implemented by hardware.
  • the technical solution of the present disclosure can be embodied in the form of a software product.
  • the computer software product can be stored in a computer-readable storage medium, such as a computer's floppy disk, read-only memory (Read-Only Memory, ROM), random access memory ( Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including multiple instructions to cause a computer device (which can be a personal computer, server, or network device, etc.) to execute the multiple embodiments of the present disclosure.
  • a computer device which can be a personal computer, server, or network device, etc.
  • the storage medium may be a non-transitory storage medium.
  • the multiple units and modules included are only divided according to functional logic, but are not limited to the above divisions, as long as the corresponding functions can be realized; in addition, multiple units and modules are not limited to the above divisions.
  • the names of the functional units are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present disclosure.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

A vehicle controller control method and apparatus, a central gateway controller, and a medium. The method comprises: acquiring at least one first state signal sent by at least one first controller [S110]; if the at least one first state signal sent by all the first controllers indicates that a state of a vehicle meets a first preset state, acquiring a second state signal of a load switch in real time [S120]; and if the second state signal acquired in real time represents that the load switch is in a closed state or an inactive state, sending a shallow sleep entering signal, so as to control a second controller corresponding to the load switch to enter a shallow sleep state [S130].

Description

车辆控制器的控制方法、装置、中央网关控制器及介质Control method, device, central gateway controller and medium for vehicle controller
本申请要求在2022年06月30日提交中国专利局、申请号为202210772492.0的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application with application number 202210772492.0, which was submitted to the China Patent Office on June 30, 2022. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及汽车技术领域,例如涉及一种车辆控制器的控制方法、装置、中央网关控制器及介质。The present application relates to the field of automotive technology, for example, to a control method and device for a vehicle controller, a central gateway controller and a medium.
背景技术Background technique
随着车辆负载的增多,整车的功耗也随之增大,在用户日常用车的过程中,很多负载功能使用频率并不高,但仍以较高的功耗在消耗车辆的能源或里程。As the vehicle load increases, the power consumption of the vehicle also increases. In the daily use of the vehicle, many load functions are not used frequently, but they still consume the vehicle's energy or energy with high power consumption. mileage.
为了最大限度地减少不必要的负载消耗,相关技术中的技术方案对整车负载按照不同网段进行分段式网络管理或者部分车辆采用分布式网关的形式。In order to minimize unnecessary load consumption, technical solutions in related technologies perform segmented network management on the entire vehicle load according to different network segments or use distributed gateways for some vehicles.
然而,在车辆点火开关关闭的状态下,对整车负载按照不同网段进行分段式网络管理,必须保证同网段的负载同睡同醒,在网络拓扑设计上难度较大;车辆采用分布式网关的形式,是将同类控制器与分布式网关组合构成子网子系统,当一个子网子系统满足休眠条件时可独立休眠,不影响其他子网子系统工作,但是,此方案子网的划分难度大,且场景局限性较大。However, when the vehicle ignition switch is turned off, segmented network management of the vehicle load according to different network segments must ensure that the loads in the same network segment sleep and wake up at the same time, which makes network topology design difficult; the vehicle adopts distributed network management. In the form of a gateway, similar controllers and distributed gateways are combined to form a subnet subsystem. When one subnet subsystem meets the dormancy conditions, it can sleep independently without affecting the work of other subnet subsystems. However, this scheme subnet The division is difficult and the scene has great limitations.
发明内容Contents of the invention
本申请提供了一种车辆控制器的控制方法、装置、中央网关控制器及介质,以在无需改变整车网络拓扑的前提下,减少不必要的负载消耗。This application provides a vehicle controller control method, device, central gateway controller and medium to reduce unnecessary load consumption without changing the vehicle network topology.
根据本申请的一方面,提供了一种车辆控制器的控制方法,包括:According to one aspect of the present application, a control method for a vehicle controller is provided, including:
获取至少一个第一控制器发送的至少一个第一状态信号,所述至少一个第一状态信号用于指示车辆对应的状态;Obtain at least one first status signal sent by at least one first controller, where the at least one first status signal is used to indicate the corresponding status of the vehicle;
若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;If at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, a second status signal of the load switch is obtained in real time, and the second status signal is used to characterize the Whether the load switch is closed or inactive;
若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。 If the second status signal obtained in real time indicates that the load switch is in a closed state or has no action, an entry into shallow sleep signal is sent to control the second controller corresponding to the load switch to enter into a shallow sleep state.
根据本申请的另一方面,提供了一种车辆控制器的控制装置,包括:According to another aspect of the present application, a control device for a vehicle controller is provided, including:
第一获取模块,设置为获取至少一个第一控制器发送的至少一个第一状态信号,所述至少一个第一状态信号用于指示车辆对应的状态;A first acquisition module configured to acquire at least one first status signal sent by at least one first controller, where the at least one first status signal is used to indicate the corresponding status of the vehicle;
第二获取模块,设置为若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;The second acquisition module is configured to acquire the second status signal of the load switch in real time if at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status. The status signal is used to indicate whether the load switch is in a closed state or inactive state;
发送模块,设置为若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。A sending module configured to send a shallow sleep signal to control the second controller corresponding to the load switch to enter a shallow sleep state if the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state. .
根据本申请的另一方面,提供了一种中央网关控制器,包括:According to another aspect of the present application, a central gateway controller is provided, including:
至少一个处理器;以及at least one processor; and
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请任一实施例所述的车辆控制器的控制方法。The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method described in any embodiment of the present application. Control method of vehicle controller.
根据本申请的另一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本申请任一实施例所述的车辆控制器的控制方法。According to another aspect of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores computer instructions, and the computer instructions are used to implement any of the embodiments of the present application when executed by a processor. The control method of the vehicle controller.
附图说明Description of drawings
图1是根据本申请实施例一提供的一种车辆控制器的控制方法的流程图;Figure 1 is a flow chart of a control method of a vehicle controller provided according to Embodiment 1 of the present application;
图2是根据本申请实施例二提供的一种车辆控制器的控制方法的流程图;Figure 2 is a flow chart of a control method of a vehicle controller provided according to Embodiment 2 of the present application;
图3是根据本申请实施例二提供的一种浅休眠网络管理的系统框图;Figure 3 is a system block diagram of shallow sleep network management provided according to Embodiment 2 of the present application;
图4是根据本申请实施例二提供的浅休眠网络管理进入条件的逻辑框图;Figure 4 is a logical block diagram of shallow sleep network management entry conditions provided according to Embodiment 2 of the present application;
图5是根据本申请实施例二提供的座椅控制器的浅休眠网络管理的逻辑框图;Figure 5 is a logical block diagram of shallow sleep network management of a seat controller provided according to Embodiment 2 of the present application;
图6是根据本申请实施例二提供的座椅环境控制器的浅休眠网络管理的逻辑框图;Figure 6 is a logical block diagram of shallow sleep network management of the seat environment controller provided according to Embodiment 2 of the present application;
图7是根据本申请实施例二提供的空调控制器的浅休眠网络管理的逻辑框图;Figure 7 is a logical block diagram of shallow sleep network management of an air conditioning controller provided according to Embodiment 2 of the present application;
图8是根据本申请实施例二提供的氛围灯控制器的浅休眠网络管理的逻辑 框图;Figure 8 is the logic of shallow sleep network management of the ambient light controller provided according to Embodiment 2 of the present application. block diagram;
图9是根据本申请实施例二提供的灯光控制器的浅休眠网络管理的逻辑框图;Figure 9 is a logical block diagram of shallow sleep network management of a lighting controller provided according to Embodiment 2 of the present application;
图10是根据本申请实施例二提供的抬头显示控制器的浅休眠网络管理的逻辑框图;Figure 10 is a logical block diagram of shallow sleep network management of a head-up display controller provided according to Embodiment 2 of the present application;
图11是根据本申请实施例三提供的一种车辆控制器的控制装置的结构示意图;Figure 11 is a schematic structural diagram of a control device of a vehicle controller provided according to Embodiment 3 of the present application;
图12是根据本申请实施例四提供的一种中央网关控制器的结构示意图。Figure 12 is a schematic structural diagram of a central gateway controller provided according to Embodiment 4 of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. The described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于列出的那些步骤或单元,而是可包括没有列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. Data so used are interchangeable under appropriate circumstances so that the embodiments of the application described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "include" and "having" and any variations thereof are intended to cover non-exclusive inclusions, e.g., processes, methods, systems, products or devices that comprise a series of steps or units and are not necessarily limited to those steps listed. or units, but may include other steps or units not listed or inherent to such processes, methods, products or devices.
实施例一Embodiment 1
图1是根据本申请实施例一提供的一种车辆控制器的控制方法的流程图,本实施例可适用于对车辆控制器进行控制的情况,该方法可以由车辆控制器的控制装置来执行,该车辆控制器的控制装置可以采用硬件和/或软件的形式实现。Figure 1 is a flow chart of a vehicle controller control method provided according to Embodiment 1 of the present application. This embodiment can be applied to the situation of controlling the vehicle controller. The method can be executed by the control device of the vehicle controller. , the control device of the vehicle controller can be implemented in the form of hardware and/or software.
随着车辆智能化、电气化的趋势逐步加快,整车电气负载越来越多,车辆在怠速或行驶工况下的电气负载功率消耗较大,其中很大比例是由众多无工作需求负载的待机电流组成。而整车的负载供电的来源可以根据车辆而有所不同,例如,在燃油车上整车的负载是由发电机提供的电能,最终的能量来源是燃油;在电动车上整车的负载是由直流转直流(Direct Current-Direct Current,DCDC)电源提供的电能,最终能量来源为动力电池的电量。综上,多余的负载功耗会带来不必要的油耗或里程消耗,且用户日常用车过程中,很多负载使用频率并不高,但仍以较高的功耗在电网中消耗电能。 As the trend of vehicle intelligence and electrification gradually accelerates, there are more and more electrical loads in the vehicle. The vehicle's electrical load power consumption is large when idling or driving, a large proportion of which is composed of many standby loads with no working requirements. Composition of current. The source of power supply for the load of the vehicle can vary according to the vehicle. For example, on a fuel vehicle, the load of the vehicle is the electrical energy provided by the generator, and the final energy source is fuel; on an electric vehicle, the load of the vehicle is The final energy source of the electric energy provided by a DC-to-DC (Direct Current-Direct Current, DCDC) power supply is the power of the power battery. To sum up, excess load power consumption will bring unnecessary fuel consumption or mileage consumption. In addition, in the daily use of the car, many loads are not used frequently, but they still consume electric energy in the power grid with high power consumption.
当前主流的配电方式为:在车辆怠速或行驶过程中,即使没有功能需求的负载依然接入整车电网中消耗整车的电能,且大多数车辆的网络管理策略为所有网络节点同睡同醒的形式,负载一旦被唤醒,即使没有工作需求,也处于功耗较大的待机模式。The current mainstream power distribution method is: when the vehicle is idling or driving, even loads with no functional requirements are still connected to the vehicle power grid to consume the vehicle's electric energy, and the network management strategy of most vehicles is that all network nodes sleep together. In the form of wake-up, once the load is woken up, it will be in a standby mode with high power consumption even if there is no work requirement.
由此,部分车辆在点火开关关闭的状态下,对整车负载按照不同网段进行分段式网络管理,控制部分无使用需求的负载按照网段快速进入休眠状态,减少对蓄电池的能量消耗,如动力系统、转向系统、以及制动系统等,这种控制策略虽然也能起到节能的目的,但场景局限性大且节能贡献很小,而且这种方式在网络拓扑设计上难度较大,必须保证同网段的负载同睡同醒。As a result, some vehicles perform segmented network management of the vehicle load according to different network segments when the ignition switch is turned off, and control some loads that are not required to quickly enter the dormant state according to the network segment, reducing the energy consumption of the battery. Such as power system, steering system, and braking system, etc. Although this control strategy can also achieve the purpose of energy saving, it has great scene limitations and small energy saving contribution. Moreover, this method is difficult to design the network topology. It must be ensured that loads on the same network segment sleep and wake up at the same time.
此外,部分车辆还采用分布式网关的形式,将同类控制器与分布式网关组合构成子网子系统,子网子系统内采用局域网络,通过子网关路由与其他子网子系统通信,当一个子网子系统满足休眠条件时,可独立休眠,不影响其他子网子系统工作,从而在一个子网内的负载无功能需求时,可先行对该子网进行休眠,但是此方案子网的划分难度大,场景局限性大。In addition, some vehicles also adopt the form of distributed gateways, combining similar controllers and distributed gateways to form a subnet subsystem. The subnet subsystem uses a local area network to communicate with other subnet subsystems through subgateway routing. When a When the subnet subsystem meets the sleep conditions, it can sleep independently without affecting the work of other subnet subsystems. Therefore, when the load in a subnet has no functional requirements, the subnet can be put into sleep first. However, the subnet of this solution The division is difficult and the scene has great limitations.
基于此,本申请提供的车辆控制器的控制方法,不同于传统意义上全网段的同睡同醒策略,不同于分网段的网络管理,也不同于分布式网络拓扑架构,而是在电气负载唤醒阶段,通过特定的网络管理休眠报文使控制器进入浅休眠模式,通过特定的网络管理唤醒报文使控制器退出浅休眠模式,以在无需改变整车网络拓扑的前提下,实现电气负载的浅休眠唤醒控制。Based on this, the control method of the vehicle controller provided by this application is different from the traditional sleeping and waking up strategy for the entire network segment, the network management of sub-network segments, and the distributed network topology architecture. In the electrical load wake-up phase, the controller enters the shallow sleep mode through a specific network management sleep message, and the controller exits the shallow sleep mode through a specific network management wake-up message, so as to achieve without changing the vehicle network topology. Shallow sleep wake-up control for electrical loads.
如图1所示,该方法包括以下步骤。As shown in Figure 1, the method includes the following steps.
S110、获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示所述车辆对应的状态。S110. Obtain at least one first status signal sent by at least one first controller, where the first status signal is used to indicate the corresponding status of the vehicle.
其中,第一控制器可以理解为车辆中与中央网关控制器连接的控制器,用于发送对应的第一状态信号,以指示车辆对应的状态。第一控制器的类型和个数不限,例如,第一控制器可以为发动机控制器,相应的,发动机控制器发送的第一状态信号可以为发动机的状态,以指示车辆是否处于怠速状态。The first controller can be understood as a controller in the vehicle that is connected to the central gateway controller and is used to send a corresponding first status signal to indicate the corresponding status of the vehicle. The type and number of the first controllers are not limited. For example, the first controller may be an engine controller. Accordingly, the first status signal sent by the engine controller may be the status of the engine to indicate whether the vehicle is in an idle state.
在本步骤中,可以获取至少一个第一控制器发送的至少一个第一状态信号,以根据至少一个第一状态信号所指示的车辆状态进行后续步骤,此处不对获取第一状态信号的方法进行限定,如可以通过总线来实时获取第一状态信号等。In this step, at least one first status signal sent by at least one first controller can be obtained to perform subsequent steps according to the vehicle status indicated by the at least one first status signal. The method of obtaining the first status signal will not be discussed here. Limitation, for example, the first status signal can be obtained in real time through the bus, etc.
S120、若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态。S120. If at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, obtain the second status signal of the load switch in real time. The second status signal is used to represent Whether the load switch is in a closed state or inactive state.
第一预设状态可以认为是预先设定的车辆状态,可以由系统或相关人员 进行设定,第一预设状态可以包括一个或多个的预设状态,预设状态可以与获取第一状态信号相对应。负载开关可以是指车辆连接的负载所对应的开关,负载开关的类型不限,如可以为座椅通风加热开关等;第二状态信号可以理解为负载开关发送至中央网关控制器的信号,用于表征负载开关是否处于关闭状态或无动作状态,如第二状态信号可以为代码信息,也可以为数字信息等。示例性的,当第二状态信号为0时,可以表征负载开关处于关闭状态;当第二状态信号为1时,则表征负载开关未处于关闭状态,即处于开启状态;或者若当前时刻获取的第二状态信号为1,下一时刻获取的第二状态信号仍为1,说明负载开关处于无动作状态;又或者若当前时刻获取的第二状态信号为1,下一时刻获取的第二状态信号为2,说明负载开关有动作状态,即负载开关处于无动作状态或有动作状态需要根据至少两个连续的第二状态信号来判断。The first preset state can be considered as a preset vehicle state, which can be determined by the system or relevant personnel. For setting, the first preset state may include one or more preset states, and the preset state may correspond to obtaining the first state signal. The load switch can refer to the switch corresponding to the load connected to the vehicle. The type of load switch is not limited, such as a seat ventilation and heating switch. The second status signal can be understood as a signal sent by the load switch to the central gateway controller. Use To represent whether the load switch is in a closed state or inactive state, for example, the second state signal can be code information or digital information. For example, when the second status signal is 0, it can indicate that the load switch is in a closed state; when the second status signal is 1, it indicates that the load switch is not in a closed state, that is, it is in an on state; or if the value obtained at the current moment The second state signal is 1, and the second state signal obtained at the next moment is still 1, indicating that the load switch is in a non-action state; or if the second state signal obtained at the current moment is 1, the second state signal obtained at the next moment The signal is 2, indicating that the load switch is in an action state, that is, whether the load switch is in a non-action state or an action state needs to be judged based on at least two consecutive second state signals.
在得到第一控制器发送的第一状态信号后,可以对得到的所有第一状态信号进行判断,以根据判断结果进行对应操作。示例性的,若所有第一控制器发送的至少一个第一状态信号均指示车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号;否则,结束操作。After obtaining the first status signal sent by the first controller, all obtained first status signals can be judged to perform corresponding operations according to the judgment results. For example, if at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, the second status signal of the load switch is obtained in real time; otherwise, the operation ends.
示例性的,当第一控制器的个数为两个时,如车身控制器和发动机控制器,可以分别获取车身控制器发送的车辆电源状态(即第一状态信号),发动机控制器发送的发动机状态(即第一状态信号),车辆电源状态指示车辆对应的电源状态,如上电状态,发动机状态指示车辆对应的发动机状态,如怠速状态;而第一预设状态包括上电状态和怠速状态,即获取的车辆电源状态指示车辆的状态和发动机状态指示车辆的状态均满足第一预设状态,故可以实时获取负载开关的第二状态信号。For example, when the number of first controllers is two, such as the body controller and the engine controller, the vehicle power supply status (i.e., the first status signal) sent by the body controller can be obtained respectively, and the vehicle power status signal sent by the engine controller can be obtained respectively. Engine status (i.e., the first status signal), the vehicle power supply status indicates the corresponding power supply status of the vehicle, such as the power-on status, and the engine status indicates the corresponding engine status of the vehicle, such as the idling status; and the first preset status includes the power-on status and the idling status. , that is, the obtained vehicle power supply status indicates the status of the vehicle and the engine status indicates the status of the vehicle both satisfy the first preset status, so the second status signal of the load switch can be obtained in real time.
S130、若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。S130. If the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state, send a shallow sleep signal to control the second controller corresponding to the load switch to enter a shallow sleep state.
进入浅休眠信号可以为控制负载开关对应的第二控制器进入浅休眠状态的信号。第二控制器即为负载开关对应的控制器,可以对负载进行控制。浅休眠状态可以认为是介于完全休眠与待机状态之间的一种特殊状态,即在浅休眠状态下负载的功率比待机状态下功耗小很多,比完全休眠状态下的静态电流大一点。在此状态下,负载的功能几乎全部关闭,只留有部分模块工作,用于接收退出浅休眠信号。The signal for entering shallow sleep may be a signal for controlling the second controller corresponding to the load switch to enter a shallow sleep state. The second controller is the controller corresponding to the load switch and can control the load. The shallow sleep state can be considered as a special state between the full sleep state and the standby state. That is, the power consumption of the load in the shallow sleep state is much smaller than that in the standby state, and the quiescent current is a little larger than that in the full sleep state. In this state, almost all functions of the load are turned off, leaving only some modules working to receive signals to exit shallow sleep.
在本实施例中,若实时获取到的第二状态信号表征负载开关处于关闭状态或无动作状态,说明当前负载开关对应的第二控制器无使用需求,此时可 以发送进入浅休眠信号,以控制第二控制器进入浅休眠状态,即第二控制器可以控制第二控制器本身及所对应的负载进入浅休眠状态;若实时获取到的第二状态信号表征负载开关处于开启状态或有动作状态,说明当前负载开关对应的第二控制器有使用需求,此时不作任何操作,继续对实时获取的第二状态信号进行判断。In this embodiment, if the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state, it means that the second controller corresponding to the current load switch has no demand for use. At this time, it can A shallow sleep signal is sent to control the second controller to enter a shallow sleep state, that is, the second controller can control the second controller itself and the corresponding load to enter a shallow sleep state; if the second state signal obtained in real time represents The load switch is in the on state or in the action state, indicating that the second controller corresponding to the current load switch has a demand for use. No operation is performed at this time, and the judgment of the second state signal obtained in real time is continued.
其中,实时获取到的第二状态信号表征负载开关处于关闭状态可以理解为当前时刻获取的第二状态信号表征负载开关处于关闭状态,也可以认为是在预定时间段内,每个时刻获取的第二状态信号均表征负载开关处于关闭状态;实时获取到的第二状态信号表征所述负载开关处于无动作状态则可以认为是在预定时间段内或相邻时刻间,获取的所有第二状态信号相同,即多个第二状态信号无差异,则负载开关处于无动作状态。预定时间段可以由经验值来确定,此处不作限定。可以根据不同的负载对应不同的控制步骤,本实施例对此不作限定。Among them, the second state signal obtained in real time represents that the load switch is in a closed state. It can be understood that the second state signal obtained at the current moment represents that the load switch is in a closed state. It can also be considered as the second state signal obtained at each moment within a predetermined time period. Both state signals represent that the load switch is in a closed state; the second state signal obtained in real time represents that the load switch is in a non-action state, which can be considered as all second state signals obtained within a predetermined time period or between adjacent moments. If they are the same, that is, there is no difference between the multiple second state signals, then the load switch is in a non-action state. The predetermined time period can be determined by empirical values and is not limited here. Different control steps may be corresponding to different loads, which is not limited in this embodiment.
本申请实施例提供的一种车辆控制器的控制方法,获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示所述车辆对应的状态;若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。利用该方法,通过对第一控制器发送的第一状态信号进行判断,能够在所有第一状态信号均指示车辆的状态满足第一预设状态时,准确获取负载开关的第二状态信号,同时,当第二状态信号表征负载开关处于关闭状态或无动作状态时,发送进入浅休眠信号,实现了在无需改变整车网络拓扑的前提下,对第二控制器进入浅休眠状态的控制,从而减少了不必要的负载消耗。An embodiment of the present application provides a control method for a vehicle controller that obtains at least one first status signal sent by at least one first controller, and the first status signal is used to indicate the corresponding status of the vehicle; if all third If at least one first status signal sent by a controller indicates that the status of the vehicle satisfies the first preset status, the second status signal of the load switch is obtained in real time. The second status signal is used to characterize whether the load switch is in a closed state or inactive state; if the second state signal obtained in real time indicates that the load switch is in a closed state or inactive state, a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter Light sleep state. Using this method, by judging the first status signal sent by the first controller, when all the first status signals indicate that the status of the vehicle meets the first preset status, the second status signal of the load switch can be accurately obtained, and at the same time , when the second state signal indicates that the load switch is in a closed state or inactive state, the shallow sleep signal is sent, which realizes the control of the second controller to enter the shallow sleep state without changing the vehicle network topology, thus Reduce unnecessary load consumption.
在一个实施例中,所述第一控制器包括车身控制器、能源管理控制器、发动机控制器和/或整车控制器;In one embodiment, the first controller includes a body controller, an energy management controller, an engine controller and/or a vehicle controller;
所述若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,包括:If at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, obtaining the second status signal of the load switch in real time includes:
若所述车身控制器发送的第一状态信号指示车辆电源处于上电状态,所述发动机控制器发送的第一状态信号指示发动机处于怠速状态,所述整车控制器发送的第一状态信号指示车辆处于高压上电状态,和/或所述能源管理控制器发送的第一状态信号指示电网状态处于输出状态,则实时获取负载开关的第二状态信号。 If the first status signal sent by the vehicle body controller indicates that the vehicle power supply is in the powered-on state, the first status signal sent by the engine controller indicates that the engine is in idling state, and the first status signal sent by the vehicle controller indicates When the vehicle is in a high-voltage power-on state, and/or the first state signal sent by the energy management controller indicates that the power grid state is in the output state, the second state signal of the load switch is obtained in real time.
可以根据车辆的类型来确定第一控制器,例如,当车辆为燃油车时,第一控制器可以包括车身控制器、能源管理控制器和/或发动机控制器;当车辆为电动车时,第一控制器可以包括车身控制器、能源管理控制器和/或整车控制器。在确定第一控制器后,可以对包含的至少一个控制器发送的至少一个第一状态信号进行判断,以实时获取负载开关的第二状态信号。不同的负载也可以对应不同的获取方法,可以根据实际情况来进行确定。The first controller may be determined according to the type of vehicle. For example, when the vehicle is a fuel vehicle, the first controller may include a body controller, an energy management controller and/or an engine controller; when the vehicle is an electric vehicle, the first controller may A controller may include a body controller, an energy management controller, and/or a vehicle controller. After the first controller is determined, at least one first status signal sent by at least one included controller can be judged to obtain the second status signal of the load switch in real time. Different loads can also correspond to different acquisition methods, which can be determined according to the actual situation.
示例性的,当第一控制器包括车身控制器、能源管理控制器和发动机控制器时,可以分别对车身控制器、能源管理控制器和发动机控制器发送的第一状态信号进行获取及判断,若车身控制器发送的第一状态信号指示车辆电源处于上电状态,发动机控制器发送的第一状态信号指示发动机处于怠速状态,和能源管理控制器发送的第一状态信号指示电网状态处于输出状态,则实时获取负载开关的第二状态信号;否则,继续对至少一个第一状态信号进行判断,直至至少一个第一状态信号均指示车辆的状态满足第一预设状态时,实时获取负载开关的第二状态信号。For example, when the first controller includes a body controller, an energy management controller, and an engine controller, the first status signals sent by the body controller, the energy management controller, and the engine controller can be acquired and judged respectively, If the first status signal sent by the body controller indicates that the vehicle power supply is in the power-on state, the first status signal sent by the engine controller indicates that the engine is in the idle state, and the first status signal sent by the energy management controller indicates that the grid status is in the output state , then obtain the second status signal of the load switch in real time; otherwise, continue to judge at least one first status signal until at least one first status signal indicates that the status of the vehicle meets the first preset status, obtain the load switch in real time. Second status signal.
同样的,当第一控制器包括车身控制器、能源管理控制器和整车控制器时,可以分别对车身控制器、能源管理控制器和整车控制器发送的第一状态信号进行获取及判断,若车身控制器发送的第一状态信号指示车辆电源处于上电状态,整车控制器发送的第一状态信号指示车辆处于高压上电状态,和能源管理控制器发送的第一状态信号指示电网状态处于输出状态,则实时获取负载开关的第二状态信号;否则,继续对至少一个第一状态信号进行判断,直至至少一个第一状态信号均指示车辆的状态满足第一预设状态时,实时获取负载开关的第二状态信号。Similarly, when the first controller includes a body controller, an energy management controller and a vehicle controller, the first status signals sent by the body controller, energy management controller and vehicle controller can be acquired and judged respectively. , if the first status signal sent by the body controller indicates that the vehicle power supply is in the power-on state, the first status signal sent by the vehicle controller indicates that the vehicle is in the high-voltage power-on state, and the first status signal sent by the energy management controller indicates that the power grid The state is in the output state, then obtain the second state signal of the load switch in real time; otherwise, continue to judge at least one first state signal until at least one first state signal indicates that the state of the vehicle meets the first preset state, real-time Obtain the second status signal of the load switch.
在一个实施例中,所述若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,包括:In one embodiment, if at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, obtaining the second status signal of the load switch in real time includes:
若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取电子稳定控制器或电机控制器发送的第三状态信号;If at least one first state signal sent by all first controllers indicates that the state of the vehicle satisfies the first preset state, obtain a third state signal sent by the electronic stability controller or the motor controller in real time;
若当前获取的第三状态信号满足第二预设状态,则实时获取负载开关的第二状态信号。If the currently acquired third state signal satisfies the second preset state, the second state signal of the load switch is acquired in real time.
在本实施例中,第三状态信号可以是指电子稳定控制器或电机控制器发送的信号,用于指示车辆的行驶状态,如车辆的行驶速度等。In this embodiment, the third status signal may refer to a signal sent by the electronic stability controller or the motor controller, and is used to indicate the driving status of the vehicle, such as the driving speed of the vehicle.
第二预设状态与第一预设状态类似,可以认为是预先设定的车辆状态,由 系统或相关人员进行设定,第二预设状态可以包括一个或多个的预设状态,预设状态可以与获取第三状态信号相对应,第二预设状态与第一预设状态仅用于区分不同的对象,本实施例对此不作限定。The second preset state is similar to the first preset state and can be considered as a preset vehicle state. The system or relevant personnel perform settings. The second preset state may include one or more preset states. The preset state may correspond to obtaining the third state signal. The second preset state and the first preset state are only In order to distinguish different objects, this embodiment does not limit this.
示例性的,当所有第一控制器发送的至少一个第一状态信号均指示车辆的状态满足第一预设状态时,可以实时获取电子稳定控制器或电机控制器发送的第三状态信号;继而对获取的第三状态信号进行是否满足第二预设状态的判断,若当前获取的第三状态信号满足第二预设状态,说明当前获取的第三状态信号满足预先设定的车辆状态,此时可以对负载开关的第二状态信号进行实时的获取;若当前获取的第三状态信号不满足第二预设状态,则停止后续操作。For example, when at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, the third status signal sent by the electronic stability controller or the motor controller can be obtained in real time; and then Determine whether the acquired third state signal satisfies the second preset state. If the currently acquired third state signal satisfies the second preset state, it means that the currently acquired third state signal satisfies the preset vehicle state. This The second state signal of the load switch can be acquired in real time; if the currently acquired third state signal does not satisfy the second preset state, subsequent operations will be stopped.
在一个实施例中,所述第三状态信号包括车速、电机转速和/或车辆挡位,相应的,所述若当前获取的第三状态信号满足第二预设状态,则实时获取负载开关的第二状态信号,包括:In one embodiment, the third state signal includes vehicle speed, motor speed and/or vehicle gear. Correspondingly, if the currently acquired third state signal satisfies the second preset state, the load switch is acquired in real time. The second status signal includes:
当所述车速或所述电机转速等于零,且所述车辆挡位处于停车挡或空挡时,则实时获取负载开关的第二状态信号。When the vehicle speed or the motor speed is equal to zero and the vehicle gear is in parking gear or neutral, the second status signal of the load switch is obtained in real time.
在本步骤中,第三状态信号可以包括车速、电机转速和/或车辆挡位,车速为车辆的行驶速度,电机转速为车辆发动机的转动速度,车辆挡位即为当前车辆所处的档位。第三状态信号可以根据车辆的类型来进行确定,例如,当车辆为燃油车时,第三状态信号可以包括电机转速和车辆挡位;当车辆为电动车时,第三状态信号可以包括车速和车辆挡位。相应的,在确定第三状态信号后,可以对当前获取的第三状态信号进行判断,即当车速或电机转速等于零,且车辆挡位处于停车挡或空挡时,则可以实时获取负载开关的第二状态信号;否则停止后续操作。In this step, the third status signal may include vehicle speed, motor speed and/or vehicle gear. The vehicle speed is the driving speed of the vehicle, the motor speed is the rotation speed of the vehicle engine, and the vehicle gear is the current gear of the vehicle. . The third state signal may be determined according to the type of vehicle. For example, when the vehicle is a fuel vehicle, the third state signal may include motor speed and vehicle gear; when the vehicle is an electric vehicle, the third state signal may include vehicle speed and Vehicle gear. Correspondingly, after determining the third state signal, the currently obtained third state signal can be judged, that is, when the vehicle speed or motor speed is equal to zero, and the vehicle gear is in parking gear or neutral, the third state signal of the load switch can be obtained in real time. 2 status signal; otherwise stop subsequent operations.
在一个实施例中,所述若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态,包括:In one embodiment, if the second status signal obtained in real time indicates that the load switch is in a closed state or an inactive state, then a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter Light sleep state, including:
在预设时间段内,若实时获取到的车速或电机转速等于零,且实时获取到的车辆挡位处于停车挡或空挡,且实时获取到的所有所述第二状态信号表征所述负载开关均处于关闭状态,则发送进入浅休眠信号,以控制第二控制器进入浅休眠状态。Within the preset time period, if the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking gear or neutral, and all the second state signals obtained in real time indicate that the load switch is If the controller is in the off state, a light sleep signal is sent to control the second controller to enter the light sleep state.
预设时间段可以认为是以当前时刻为起点,以预设时间为间隔所形成的时间段,预设时间可以由经验值来确定,如预设时间可以为5分钟。The preset time period can be considered as a time period starting from the current moment and taking the preset time as the interval. The preset time can be determined by an empirical value, for example, the preset time can be 5 minutes.
在本实施例中,可以对预设时间段内实时获取的所有实时第三状态信号和第二状态信号进行判断,并根据判断结果进行相应的操作。例如,若在预 设时间段内,实时获取到的车速或电机转速等于零,且实时获取到的车辆挡位处于停车挡或空挡,且实时获取到的所有第二状态信号表征负载开关均处于关闭状态,则可以发送进入浅休眠信号,以控制第二控制器进入浅休眠状态;否则,将重新计时,对下一预设时间段的第三状态信号和第二状态信号进行判断。在此基础上,通过对预设时间段内车速、电机转速、车辆挡位及第二状态信号进行判断,保证了发送进入浅休眠信号的正确性。In this embodiment, all real-time third state signals and second state signals obtained in real time within a preset time period can be judged, and corresponding operations can be performed based on the judgment results. For example, if in advance Assume that within the time period, the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking or neutral, and all second state signals obtained in real time indicate that the load switch is in a closed state, then it can be sent Enter the shallow sleep signal to control the second controller to enter the shallow sleep state; otherwise, the timing will be restarted to judge the third state signal and the second state signal in the next preset time period. On this basis, by judging the vehicle speed, motor speed, vehicle gear and second state signals within the preset time period, the correctness of sending the shallow sleep signal is ensured.
实施例二Embodiment 2
图2是根据本申请实施例二提供的一种车辆控制器的控制方法的流程图,本实施例二在上述多个实施例的基础上进行说明。在本实施例中,发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态之后的情况,包括:若实时获取到的第二状态信号表征所述负载开关处于开启状态或有动作状态,则发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态。FIG. 2 is a flow chart of a vehicle controller control method provided according to Embodiment 2 of the present application. Embodiment 2 is explained based on the above-mentioned embodiments. In this embodiment, an entry into shallow sleep signal is sent to control the situation after the second controller corresponding to the load switch enters the shallow sleep state, including: if the second state signal obtained in real time indicates that the load switch is on If there is an action state, an exit light sleep signal is sent to control the second controller corresponding to the load switch to exit the light sleep state.
本实施例尚未详尽描述的内容请参考实施例一。Please refer to Embodiment 1 for contents that are not described in detail in this embodiment.
如图2所示,本公开实施例二提供的一种车辆控制器的控制方法,包括如下步骤。As shown in Figure 2, a control method for a vehicle controller provided by Embodiment 2 of the present disclosure includes the following steps.
S210、获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示所述车辆对应的状态。S210. Obtain at least one first status signal sent by at least one first controller, where the first status signal is used to indicate the corresponding status of the vehicle.
S220、若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态。S220. If at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, obtain the second status signal of the load switch in real time. The second status signal is used to represent Whether the load switch is in a closed state or inactive state.
S230、若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。S230. If the second status signal obtained in real time indicates that the load switch is in a closed state or an inactive state, send a shallow sleep signal to control the second controller corresponding to the load switch to enter a shallow sleep state.
S240、若实时获取到的第二状态信号表征所述负载开关处于开启状态或有动作状态,则发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态。S240. If the second status signal obtained in real time indicates that the load switch is in an on state or in an action state, send an exit shallow sleep signal to control the second controller corresponding to the load switch to exit the shallow sleep state.
退出浅休眠信号可以为控制负载开关对应的第二控制器退出浅休眠状态的信号。The signal for exiting the shallow sleep state may be a signal for controlling the second controller corresponding to the load switch to exit the shallow sleep state.
在负载开关对应的第二控制器进入浅休眠状态后,仍需要对第二状态信号进行实时获取及判断,当第二状态信号表征负载开关处于开启状态,或者 当前时刻的第二状态信号不同于上一时刻的第二状态信号,亦或者在预设时间段内获取的所有第二状态信号并不相同时,则需要发送退出浅休眠信号,以控制负载开关对应的第二控制器退出浅休眠状态;当第二状态信号表征负载开关未处于开启状态,或者当前时刻的第二状态信号与上一时刻的第二状态信号仍然相同,又或者在预设时间段内获取的所有第二状态信号完全相同,即仍处于关闭状态或无动作状态时,则仍保持负载开关对应的第二控制器处于浅休眠状态,直至获取到的第二状态信号表征负载开关处于开启状态或有动作状态时,则发送退出浅休眠信号,以控制负载开关对应的第二控制器退出浅休眠状态。After the second controller corresponding to the load switch enters the shallow sleep state, it is still necessary to obtain and judge the second state signal in real time. When the second state signal indicates that the load switch is in the on state, or When the second state signal at the current moment is different from the second state signal at the previous moment, or all the second state signals obtained within the preset time period are not the same, it is necessary to send an exit light sleep signal to control the load switch The corresponding second controller exits the shallow sleep state; when the second state signal indicates that the load switch is not in the on state, or the second state signal at the current moment is still the same as the second state signal at the previous moment, or at the preset time All the second state signals obtained in the segment are exactly the same, that is, when they are still in the closed state or inactive state, the second controller corresponding to the load switch will still be kept in the shallow sleep state until the second state signal obtained represents the load switch. When it is in the on state or in the action state, a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state.
本申请实施例二提供的车辆控制器的控制方法,在负载开关对应的第二控制器进入浅休眠状态后,通过对实时获取到的第二状态信号进行判断,能够在第二状态信号表征负载开关处于开启状态或有动作状态时,发送退出浅休眠信号,从而实现了对第二控制器退出浅休眠状态的控制。The control method of the vehicle controller provided in the second embodiment of the present application can, after the second controller corresponding to the load switch enters the shallow sleep state, judge the second state signal obtained in real time, and the second state signal can represent the load. When the switch is in an on state or in an action state, a light sleep exit signal is sent, thereby controlling the second controller to exit the light sleep state.
在一个实施例中,当第二控制器为氛围灯控制器时,在所述发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态之后,还包括:In one embodiment, when the second controller is an ambient light controller, after sending an exit shallow sleep signal to control the second controller corresponding to the load switch to exit the shallow sleep state, the method further includes:
实时获取阳光传感器采集的光强信号;Obtain the light intensity signal collected by the sunlight sensor in real time;
若实时获取到的光强信号大于第一光强阈值,则发送进入浅休眠信号,以控制第二控制器进入浅休眠状态;If the light intensity signal obtained in real time is greater than the first light intensity threshold, a shallow sleep signal is sent to control the second controller to enter a shallow sleep state;
在第二控制器进入浅休眠状态之后,若实时获取到的光强信号小于第二光强阈值,则发送退出浅休眠信号,以控制第二控制器退出浅休眠状态。After the second controller enters the shallow sleep state, if the light intensity signal obtained in real time is less than the second light intensity threshold, an exit shallow sleep signal is sent to control the second controller to exit the shallow sleep state.
其中,光强信号可以用于表征当前光照的强度;第一光强阈值可以认为是光强的最大临界值,可由相关人员进行预设;第二光强阈值则可以认为是光强的最小临界值,第一光强阈值大于第二光强阈值,数值可以根据实际情况进行设置,此处不作限定。Among them, the light intensity signal can be used to characterize the intensity of the current illumination; the first light intensity threshold can be considered as the maximum critical value of light intensity, which can be preset by relevant personnel; the second light intensity threshold can be considered as the minimum critical value of light intensity. The first light intensity threshold is greater than the second light intensity threshold. The value can be set according to the actual situation and is not limited here.
在实施例中,当第二控制器为氛围灯控制器,且负载开关对应的第二控制器退出浅休眠状态之后,可以实时获取阳光传感器采集的光强信号,并根据光强信号的大小进行适应性的调整,示例性的,当实时获取到的光强信号大于第一光强阈值时,说明当前光照的强度大于预设光强的最大临界值,此时可以发送进入浅休眠信号,控制第二控制器进入浅休眠状态,以减少功耗;当实时获取到的光强信号小于第二光强阈值时,说明当前光照的强度大于预设光强的最小临界值,此时需要发送退出浅休眠信号,以控制第二控制器进入正常工作状态。在此基础上,能够根据光照信号的大小实时来控制第二控制器的工作状态,减少了不必要的负载消耗。 In the embodiment, when the second controller is an ambient light controller, and after the second controller corresponding to the load switch exits the shallow sleep state, the light intensity signal collected by the sunlight sensor can be obtained in real time, and based on the size of the light intensity signal, Adaptive adjustment, for example, when the light intensity signal obtained in real time is greater than the first light intensity threshold, it means that the current light intensity is greater than the maximum threshold of the preset light intensity. At this time, a shallow sleep signal can be sent to control The second controller enters a shallow sleep state to reduce power consumption; when the light intensity signal obtained in real time is less than the second light intensity threshold, it means that the current light intensity is greater than the minimum threshold of the preset light intensity, and an exit needs to be sent at this time Shallow sleep signal to control the second controller to enter normal working state. On this basis, the working state of the second controller can be controlled in real time according to the size of the light signal, reducing unnecessary load consumption.
通过上述描述可以发现,本申请实施例提供的车辆控制器的控制方法,能够根据不同负载特性、环境特性、用户使用场景进行分类并加以控制,通过特殊的网络管理,控制无工作需求的负载从待机状态进入能耗更低的浅休眠状态,保证了在不影响用户使用感知的前提下,最大限度的减少电气负载的不必要消耗,解决了车辆在怠速或行驶工况下,一些无功能需求的负载电耗间接增加燃油车的油耗和减少电动车的续驶里程的问题。From the above description, it can be found that the control method of the vehicle controller provided by the embodiment of the present application can be classified and controlled according to different load characteristics, environmental characteristics, and user usage scenarios. Through special network management, the load without work requirements can be controlled from The standby state enters a shallow sleep state with lower energy consumption, which ensures that the unnecessary consumption of electrical loads is minimized without affecting the user's perception of use, and solves some non-functional requirements of the vehicle when idling or driving. The load power consumption indirectly increases the fuel consumption of fuel vehicles and reduces the driving range of electric vehicles.
图3是根据本申请实施例二提供的一种浅休眠网络管理的系统框图,如图3所示,本申请浅休眠网络管理方法的实现,依托于车辆的网络系统,车辆的网络系统由车身控制器、发动机控制器或整车控制器、能源管理控制器、电子稳定控制器或电机控制器、变速器控制器、空调控制器、阳光传感器、多个功能开关、中央网关控制器以及受控的电气负载等组成,所述受控电气负载包括座椅控制器、座椅环境控制器、空调控制器、氛围灯控制器、抬头显示控制器、灯光控制器等。Figure 3 is a system block diagram of shallow sleep network management provided according to Embodiment 2 of the present application. As shown in Figure 3, the implementation of the shallow sleep network management method of the present application relies on the network system of the vehicle. The network system of the vehicle is composed of the body Controllers, engine controllers or vehicle controllers, energy management controllers, electronic stability controllers or motor controllers, transmission controllers, air conditioning controllers, sunlight sensors, multiple function switches, central gateway controllers and controlled The controlled electrical loads include seat controllers, seat environment controllers, air conditioning controllers, ambient light controllers, heads-up display controllers, lighting controllers, etc.
中央网关控制器通过车身控制器、发动机控制器或整车控制器、以及能源管理控制器等输入信号(即第一状态信号)进行状态判断,来决定是否满足进入浅休眠唤醒网络管理控制条件,当条件满足后,通过实际场景进行发送浅休眠进入信号和浅休眠退出信号的逻辑判断,中央网关控制器将特定的浅休眠进入信号和浅休眠退出信号发送到总线上,多个受控电气负载收到相应信号后,执行浅休眠状态的进入和退出。The central gateway controller performs status judgment through input signals such as the body controller, engine controller, or vehicle controller, and energy management controller (i.e., the first status signal) to determine whether the network management control conditions for entering shallow sleep wake-up are met. When the conditions are met, the logical judgment of sending the shallow sleep entry signal and the shallow sleep exit signal is made through the actual scenario. The central gateway controller sends the specific shallow sleep entry signal and shallow sleep exit signal to the bus, and multiple controlled electrical loads After receiving the corresponding signal, the entry and exit of the shallow sleep state is executed.
下面对本申请实施例提供的车辆控制器的控制方法进行示例性的描述:如下,车辆控制器的控制方法可以分为:浅休眠网络管理的进入条件确认、浅休眠网络管理的逻辑判断、浅休眠网络管理的执行。The following is an exemplary description of the control method of the vehicle controller provided by the embodiment of the present application: as follows, the control method of the vehicle controller can be divided into: confirmation of entry conditions of shallow sleep network management, logical judgment of shallow sleep network management, shallow sleep Execution of network management.
1)浅休眠网络管理的进入条件确认:1) Confirmation of entry conditions for shallow sleep network management:
图4是根据本申请实施例二提供的浅休眠网络管理进入条件的逻辑框图,如图4所示,中央网关控制器根据车身控制器发送的车辆电源状态(即第一状态信号),判断整车电源状态是否处于上电状态,如果整车电源状态处于上电状态,则满足浅休眠网络管理的进入条件;Figure 4 is a logical block diagram of shallow sleep network management entry conditions provided according to Embodiment 2 of the present application. As shown in Figure 4, the central gateway controller determines the entire system according to the vehicle power status (i.e., the first status signal) sent by the body controller. Whether the vehicle power supply status is in the powered-on state. If the vehicle power supply status is in the powered-on state, the entry conditions for shallow sleep network management are met;
对于燃油车:中央网关控制器根据发动机控制器发送的发动机状态(即第一状态信号),判断整车是否处于怠速状态,如果是,则满足浅休眠网络管理的进入条件;对于电动车:中央网关控制器根据整车控制器发送的高压上电状态(即第一状态信号),判断整车是否处于Ready状态,如果是,则满足浅休眠网络管理的进入条件; For fuel vehicles: the central gateway controller determines whether the vehicle is in an idling state based on the engine status (i.e., the first status signal) sent by the engine controller. If so, the entry conditions for shallow sleep network management are met; for electric vehicles: the central gateway controller The gateway controller determines whether the vehicle is in the Ready state based on the high-voltage power-on status (i.e., the first status signal) sent by the vehicle controller. If so, the entry conditions for shallow sleep network management are met;
中央网关控制器根据能源管理控制器中的电网状态信号(即第一状态信号),判断发电机或DCDC是否处于输出状态,如果是,则满足浅休眠网络管理的进入条件。The central gateway controller determines whether the generator or DCDC is in the output state based on the grid status signal (i.e. the first status signal) in the energy management controller. If so, the entry conditions for shallow sleep network management are met.
当以上判断条件均满足(即所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态)时,说明车辆满足浅休眠网络管理的进入条件,相应的“状态信号Q”会置位,车辆可进入浅休眠网络管理的逻辑判断中。When the above judgment conditions are met (that is, at least one first status signal sent by all the first controllers indicates that the state of the vehicle meets the first preset state), it means that the vehicle meets the entry conditions of shallow sleep network management, and accordingly "Status signal Q" will be set, and the vehicle can enter the logical judgment of shallow sleep network management.
2)浅休眠网络管理的逻辑判断:2) Logical judgment of shallow sleep network management:
当车辆满足浅休眠网络管理的进入条件后,中央网关控制器将根据浅休眠网络管理逻辑判断对所有受控负载进行控制,并输出对应控制器的浅休眠进入或退出信号。如下对部分受控负载的控制逻辑进行描述,其他未提及的受控负载也可根据本申请的方法,根据环境状态和使用场景进行控制。When the vehicle meets the entry conditions of shallow sleep network management, the central gateway controller will control all controlled loads based on the shallow sleep network management logic and output the shallow sleep entry or exit signal of the corresponding controller. The control logic of some controlled loads is described below. Other controlled loads not mentioned can also be controlled according to the method of this application according to the environmental status and usage scenarios.
图5是根据本申请实施例二提供的座椅控制器的浅休眠网络管理的逻辑框图,如图5所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器开始计时,当计时时间超过5分钟,且5分钟内,无座椅调节信号状态变化(即实时获取负载开关的第二状态信号,所述第二状态信号表征所述负载开关处于无动作状态),即用户无座椅调节动作,则发送座椅控制器浅休眠进入指令“信号A”(即发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态);如5分钟内,有座椅调节信号状态变化,计时停止,直至座椅调节信号变回初始值重新计时;如座椅控制器在浅休眠后,用户有座椅调节意图,座椅调节开关给中央网关控制器发送调节信号,中央网关控制器收到座椅调节开关的信号置位(即获取到的第二状态信号表征所述负载开关处于有动作状态)后,向总线发送座椅控制器浅休眠退出指令“信号a”(即发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态)。座椅调节开关与座椅控制器为解耦状态。Figure 5 is a logical block diagram of shallow sleep network management of the seat controller provided according to Embodiment 2 of the present application. As shown in Figure 5, after the "signal Q" that the vehicle meets the entry conditions for shallow sleep network management is set, the central The gateway controller starts timing. When the timing time exceeds 5 minutes, and within 5 minutes, there is no change in the status of the seat adjustment signal (that is, the second status signal of the load switch is obtained in real time, and the second status signal indicates that the load switch is in a non-function state. action state), that is, the user has no seat adjustment action, then the seat controller is sent a shallow sleep entry instruction "signal A" (that is, a shallow sleep entry signal is sent to control the second controller corresponding to the load switch to enter the shallow sleep state ); If within 5 minutes, there is a change in the status of the seat adjustment signal, the timing will stop until the seat adjustment signal changes back to the initial value and the timing will be restarted; if the seat controller is in shallow sleep and the user has the intention to adjust the seat, the seat adjustment The switch sends an adjustment signal to the central gateway controller. After the central gateway controller receives the signal setting of the seat adjustment switch (that is, the obtained second status signal indicates that the load switch is in an action state), the central gateway controller sends the seat to the bus. The controller shallow sleep exit command "signal a" (that is, sending a shallow sleep exit signal to control the second controller corresponding to the load switch to exit the shallow sleep state). The seat adjustment switch and the seat controller are decoupled.
图6是根据本申请实施例二提供的座椅环境控制器的浅休眠网络管理的逻辑框图,如图6所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器开始计时,当计时时间超过5分钟,且5分钟内,座椅通风加热等相关功能信号显示功能处于关闭状态(即实时获取负载开关的第二状态信号,所述第二状态信号表征所述负载开关处于关闭状态),即座椅环境控制器无使用需求,中央网关控制器则发送座椅环境控制器浅休眠进入指令“信号B”(即发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态);如果5分钟内,座椅通风加热等相关功能信号处于开启状态,则结束计时,直至座椅通风加热等相关功能信号处于关闭状态重新计时;如座椅环境控制器 在浅休眠后,用户有座椅通风加热使用意图,座椅通风加热开关给中央网关控制器发送功能开启信号,中央网关控制器收到座椅通风加热开关的功能信号置位(即获取到的第二状态信号表征所述负载开关处于开启状态)后,向总线发送座椅环境控制器浅休眠退出指令“信号b”(即发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态)。座椅通风加热开关与座椅环境控制器为解耦状态。Figure 6 is a logical block diagram of shallow sleep network management of the seat environment controller provided according to Embodiment 2 of the present application. As shown in Figure 6, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, The central gateway controller starts timing. When the timing exceeds 5 minutes, and within 5 minutes, the seat ventilation and heating and other related function signal display functions are in a closed state (that is, the second status signal of the load switch is obtained in real time, and the second status signal Indicating that the load switch is in a closed state), that is, there is no need for use of the seat environment controller, the central gateway controller sends the seat environment controller shallow sleep entry instruction "signal B" (that is, sends a shallow sleep signal to control all The second controller corresponding to the load switch enters a shallow sleep state); if within 5 minutes, the seat ventilation and heating and other related function signals are on, the timing will end until the seat ventilation and heating and other related function signals are off and the time will be restarted. ; Such as seat environment controller After light sleep, if the user intends to use seat ventilation and heating, the seat ventilation and heating switch sends a function enable signal to the central gateway controller, and the central gateway controller receives the function signal setting of the seat ventilation and heating switch (that is, the obtained After the second status signal indicates that the load switch is in the on state), the seat environment controller shallow sleep exit command "signal b" is sent to the bus (that is, the shallow sleep exit signal is sent to control the second control corresponding to the load switch The processor exits shallow sleep state). The seat ventilation and heating switch is decoupled from the seat environment controller.
图7是根据本申请实施例二提供的空调控制器的浅休眠网络管理的逻辑框图,如图7所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器开始计时,当计时时间超过5分钟,且5分钟内,空调功能的相关信号显示空调处于关闭状态(即实时获取负载开关的第二状态信号,所述第二状态信号表征所述负载开关处于关闭状态),即用户无空调使用需求,则发送空调控制器浅休眠进入指令“信号C”(即发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态);如果5分钟内,空调功能的相关信号显示空调处于开启状态,则结束计时,直至空调功能的相关信号显示空调处于关闭状态则重新计时。如空调控制器在浅休眠后,用户有空调使用意图,空调控制开关给中央网关控制器发送功能开启信号,中央网关控制器收到空调开关信号置位(即获取到的第二状态信号表征所述负载开关处于开启状态)后,向总线发送空调控制器浅休眠退出指令“信号c”(即发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态)。空调控制开关与空调控制器为解耦状态。Figure 7 is a logical block diagram of the shallow sleep network management of the air conditioning controller provided according to Embodiment 2 of the present application. As shown in Figure 7, after the "signal Q" is set when the vehicle meets the entry conditions of the shallow sleep network management, the central gateway The controller starts timing. When the timing time exceeds 5 minutes, and within 5 minutes, the relevant signal of the air conditioning function shows that the air conditioner is in a closed state (that is, the second state signal of the load switch is obtained in real time, and the second state signal represents the load switch. is in the off state), that is, the user has no demand for air conditioning, then the air conditioning controller is sent a shallow sleep entry command "signal C" (that is, a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter the shallow sleep state) ; If within 5 minutes, the relevant signal of the air conditioning function shows that the air conditioner is on, the timing will end, and the timing will be restarted until the relevant signal of the air conditioning function shows that the air conditioner is off. For example, after the air-conditioning controller is in light sleep and the user intends to use the air-conditioning, the air-conditioning control switch sends a function enable signal to the central gateway controller, and the central gateway controller receives the air-conditioning switch signal to set (that is, the obtained second state signal represents the After the load switch is in the on state), the air conditioning controller shallow sleep exit command "signal c" is sent to the bus (that is, a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state). The air conditioning control switch and the air conditioning controller are decoupled.
图8是根据本申请实施例二提供的氛围灯控制器的浅休眠网络管理的逻辑框图,如图8所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器判断氛围灯功能开启信号,如氛围灯功能关闭(即实时获取负载开关的第二状态信号,所述第二状态信号表征所述负载开关处于关闭状态),则发送氛围灯控制的浅休眠进入指令“信号D”,直至收到氛围灯开关发出的功能开启信号,中央网关控制器向总线发送氛围灯控制器浅休眠退出指令“信号d”(即发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态)。如氛围灯功能开启,则将阳光传感器采集到的当前光强信号(即光强信号)和光强预设值X1(即第一光强阈值)和光强预设值X2(即第二光强阈值)进行比较,如阳光传感器的光强信号>X1,则发送氛围灯控制的浅休眠进入指令“信号D”(即若实时获取到的光强信号大于第一光强阈值,则发送进入浅休眠信号,以控制第二控制器进入浅休眠状态)。如氛围灯控制器在浅休眠后,阳光传感器的光强信号变化为<X2,中央网关控制器向总线发送氛围灯控制器浅休眠退出指令“信号d”(即若实时获取到的光强信号小于第二光强阈值,则发送 退出浅休眠信号,以控制第二控制器退出浅休眠状态)。阳光传感器、氛围灯开关与氛围灯控制器为解耦状态。Figure 8 is a logical block diagram of shallow sleep network management of the ambient light controller provided according to Embodiment 2 of the present application. As shown in Figure 8, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, the central The gateway controller determines the ambient light function turn-on signal. If the ambient light function is turned off (that is, the second state signal of the load switch is obtained in real time, and the second state signal indicates that the load switch is in a closed state), it sends a light signal of the ambient light control. Sleep enters the command "signal D" until it receives the function start signal from the ambient light switch. The central gateway controller sends the ambient light controller shallow sleep exit command "signal d" to the bus (i.e. sends a shallow sleep signal to control all The second controller corresponding to the load switch enters a shallow sleep state). If the ambient light function is turned on, the current light intensity signal (i.e. light intensity signal) collected by the sunlight sensor and the preset light intensity value X1 (i.e. the first light intensity threshold) and the preset light intensity value X2 (i.e. the second light intensity threshold) are intensity threshold), if the light intensity signal of the sunlight sensor is > Shallow sleep signal to control the second controller to enter shallow sleep state). For example, after the ambient light controller is in shallow sleep, the light intensity signal of the sunlight sensor changes to < is less than the second light intensity threshold, then send Exit shallow sleep signal to control the second controller to exit shallow sleep state). The sunlight sensor, ambient light switch and ambient light controller are decoupled.
图9是根据本申请实施例二提供的灯光控制器的浅休眠网络管理的逻辑框图,如图9所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器通过电子稳定控制器或电机控制器判断车辆行驶状态(即实时获取电子稳定控制器或电机控制器发送的第三状态信号,第三状态信号包括车速、电机转速和/或车辆挡位),如果车速或电机转速≠0,或挡位不为驻车/空(Park/Neutral,P/N)挡,则不做任何灯光控制器浅休眠网络管理的逻辑判断;如果车速或电机转速=0,且车辆挡位为P/N挡,则判断是否有主动功能性灯光开启(即当所述车速或所述电机转速等于零,且所述车辆挡位处于停车挡或空挡时,则实时获取负载开关的第二状态信号),如近光灯、雾灯等;如有主动功能性灯光开启,则不做任何灯光控制器浅休眠网络管理的逻辑判断;如没有主动功能性灯光开启,则在车速或电机转速=0且车辆挡位为P/N挡时开始计时5分钟,且5分钟内,车速或电机转速、且挡位无变化,同时无主动功能性灯光开启(即在预设时间段内,若实时获取到的车速或电机转速等于零,且实时获取到的车辆挡位处于停车挡或空挡,且实时获取到的所有所述第二状态信号表征所述负载开关均处于关闭状态),网关控制器则发送灯光控制器的浅休眠进入指令“信号E”(即发送进入浅休眠信号,以控制第二控制器进入浅休眠状态)。如果5分钟内,车速或电机转速≠0,或挡位不为P/N挡,则结束计时,直至满足条件后重新计时。如灯光控制器在浅休眠后,车速或电机转速≠0,或挡位不为P/N挡,或用户通过组合开关开启功能性灯光(即获取到的第二状态信号表征所述负载开关处于开启状态),中央网关控制器向总线发送空调控制器浅休眠退出指令“信号e”(即发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态)。电子稳定控制器或电机控制器、变速器控制器、组合开关与灯光控制器为解耦状态。Figure 9 is a logical block diagram of shallow sleep network management of the light controller provided according to Embodiment 2 of the present application. As shown in Figure 9, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, the central gateway The controller determines the driving status of the vehicle through the electronic stability controller or motor controller (that is, real-time acquisition of the third state signal sent by the electronic stability controller or motor controller, the third state signal includes vehicle speed, motor speed and/or vehicle gear) , if the vehicle speed or motor speed ≠ 0, or the gear is not Park/Neutral (P/N), no logical judgment will be made for the lighting controller’s shallow sleep network management; if the vehicle speed or motor speed = 0, and the vehicle gear is P/N, then determine whether there is an active functional light turned on (that is, when the vehicle speed or the motor speed is equal to zero, and the vehicle gear is in parking or neutral, then obtain it in real time The second status signal of the load switch), such as low beam lights, fog lights, etc.; if there is an active functional light turned on, no logical judgment of the light controller shallow sleep network management will be made; if there is no active functional light turned on, then The 5-minute count starts when the vehicle speed or motor speed = 0 and the vehicle gear is P/N, and within 5 minutes, there is no change in vehicle speed or motor speed, and the gear position does not change, and at the same time, no active functional lights are turned on (that is, in the preset During the time period, if the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking or neutral, and all the second state signals obtained in real time indicate that the load switch is in a closed state ), the gateway controller sends the light controller's light sleep entry command "signal E" (ie, sends a light sleep entry signal to control the second controller to enter the light sleep state). If within 5 minutes, the vehicle speed or motor speed ≠ 0, or the gear is not P/N, the timing will end until the conditions are met and the timing will be restarted. For example, after the light controller is in shallow sleep, the vehicle speed or motor speed ≠ 0, or the gear is not P/N, or the user turns on the functional light through the combination switch (that is, the second state signal obtained indicates that the load switch is in On state), the central gateway controller sends the air conditioning controller shallow sleep exit command "signal e" to the bus (that is, sends an exit shallow sleep signal to control the second controller corresponding to the load switch to exit the shallow sleep state). The electronic stability controller or motor controller, transmission controller, combination switch and lighting controller are decoupled.
图10是根据本申请实施例二提供的抬头显示控制器的浅休眠网络管理的逻辑框图,如图10所示,在车辆满足浅休眠网络管理的进入条件的“信号Q”置位后,中央网关控制器判断抬头显示功能开启信号,如抬头显示功能开启,则不进行浅休眠网络管理;如抬头显示功能关闭(即实时获取负载开关的第二状态信号,所述第二状态信号表征所述负载开关处于关闭状态),则发送抬头显示控制器的浅休眠进入指令“信号F”(即发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态),直至收到抬头显示控制开关发出的抬头显示功能开启信号(即获取到的第二状态信号表征所述负载开关处于开启状态),中央网关控制器向总线发送抬头显示控制器浅休眠退出指令“信号f”(即发送退 出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态)。抬头显示控制开关与抬头显示控制器为解耦状态。Figure 10 is a logical block diagram of shallow sleep network management of the head-up display controller provided according to Embodiment 2 of the present application. As shown in Figure 10, after the "signal Q" is set when the vehicle meets the entry conditions of shallow sleep network management, the central The gateway controller determines the head-up display function turn-on signal. If the head-up display function is turned on, shallow sleep network management will not be performed; if the head-up display function is turned off (that is, the second state signal of the load switch is obtained in real time, the second state signal represents the above load switch is in the off state), then send the shallow sleep entry command "signal F" of the heads-up display controller (that is, send the shallow sleep entry signal to control the second controller corresponding to the load switch to enter the shallow sleep state) until the When the head-up display control switch sends a head-up display function turn-on signal (that is, the obtained second status signal indicates that the load switch is in an on-state), the central gateway controller sends the head-up display controller shallow sleep exit command "signal f" to the bus. (i.e. send back A shallow sleep signal is generated to control the second controller corresponding to the load switch to exit the shallow sleep state). The head-up display control switch and the head-up display controller are in a decoupled state.
3)浅休眠网络管理的执行3) Execution of shallow sleep network management
对于所有受控电气负载在收到中央网关控制器发送的浅休眠进入指令“信号N”后,立即执行浅休眠。浅休眠的概念是介于完全休眠与待机状态之间的一种特殊状态,在此状态下,电气负载的功能几乎全部关闭,只留有部分模块工作,用于接收特定浅休眠退出指令“信号n”(即退出),并唤醒整个部件。在此状态下电气负载的功率比待机功耗小很多,比最终的休眠静态电流大一点。For all controlled electrical loads, shallow sleep will be executed immediately after receiving the shallow sleep entry command "signal N" sent by the central gateway controller. The concept of shallow sleep is a special state between full sleep and standby state. In this state, the functions of the electrical load are almost completely shut down, leaving only some modules working to receive specific shallow sleep exit command "signals". n" (i.e. exit) and wake up the entire component. In this state, the power of the electrical load is much smaller than the standby power consumption, and a little larger than the final sleep quiescent current.
实施例三Embodiment 3
图11是根据本申请实施例三提供的一种车辆控制器的控制装置的结构示意图,如图11所示,该装置包括以下模块。Figure 11 is a schematic structural diagram of a vehicle controller control device provided according to Embodiment 3 of the present application. As shown in Figure 11, the device includes the following modules.
第一获取模块310,设置为获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示车辆对应的状态;The first acquisition module 310 is configured to acquire at least one first status signal sent by at least one first controller, where the first status signal is used to indicate the corresponding status of the vehicle;
第二获取模块320,设置为若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;The second acquisition module 320 is configured to acquire the second status signal of the load switch in real time if at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status. The second status signal is used to indicate whether the load switch is in a closed state or inactive state;
发送模块330,设置为若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。The sending module 330 is configured to send a shallow sleep signal to control the second controller corresponding to the load switch to enter shallow sleep if the second status signal obtained in real time indicates that the load switch is in a closed state or inactive state. state.
本申请实施例提供的一种车辆控制器的控制装置,通过第一获取模块310获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示所述车辆对应的状态;通过第二获取模块320若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;通过发送模块330若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。利用该装置,通过对第一控制器发送的第一状态信号进行判断,能够在所有第一状态信号均指示车辆的状态满足第一预设状态时,准确获取负载开关的第二状态信号,同时,当第二状态信号表征负载开关处于关闭状态或无动作状态时,发送进入浅休眠信号,实现了在无需改变整车网络拓扑的前提下,对第二控制器进入浅休眠状态的控制,从而减少了不必要的负载消耗。 An embodiment of the present application provides a control device for a vehicle controller that acquires at least one first status signal sent by at least one first controller through the first acquisition module 310. The first status signal is used to indicate that the vehicle corresponds to state; through the second acquisition module 320, if at least one first state signal sent by all the first controllers indicates that the state of the vehicle satisfies the first preset state, the second state signal of the load switch is acquired in real time. The second state signal is used to represent whether the load switch is in a closed state or a no-action state; if the second state signal obtained in real time through the sending module 330 represents that the load switch is in a closed state or a no-action state, then the sending module 330 will send the signal to enter the shallow state. A sleep signal is used to control the second controller corresponding to the load switch to enter a shallow sleep state. Using this device, by judging the first status signal sent by the first controller, when all the first status signals indicate that the status of the vehicle satisfies the first preset status, the second status signal of the load switch can be accurately obtained, and at the same time , when the second state signal indicates that the load switch is in a closed state or inactive state, the shallow sleep signal is sent, which realizes the control of the second controller to enter the shallow sleep state without changing the vehicle network topology, thus Reduce unnecessary load consumption.
可选的,所述第一控制器包括车身控制器、能源管理控制器、发动机控制器和/或整车控制器;Optionally, the first controller includes a body controller, an energy management controller, an engine controller and/or a vehicle controller;
第二获取模块320包括:The second acquisition module 320 includes:
若所述车身控制器发送的第一状态信号指示车辆电源处于上电状态,所述发动机控制器发送的第一状态信号指示发动机处于怠速状态,所述整车控制器发送的第一状态信号指示车辆处于高压上电状态,和/或所述能源管理控制器发送的第一状态信号指示电网状态处于输出状态,则实时获取负载开关的第二状态信号。If the first status signal sent by the vehicle body controller indicates that the vehicle power supply is in the powered-on state, the first status signal sent by the engine controller indicates that the engine is in idling state, and the first status signal sent by the vehicle controller indicates When the vehicle is in a high-voltage power-on state, and/or the first state signal sent by the energy management controller indicates that the power grid state is in the output state, the second state signal of the load switch is obtained in real time.
可选的,所述发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态之后,还包括:Optionally, after sending the shallow sleep signal to control the second controller corresponding to the load switch to enter the shallow sleep state, the method further includes:
若实时获取到的第二状态信号表征所述负载开关处于开启状态或有动作状态,则发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态。If the second status signal obtained in real time indicates that the load switch is in an on state or in an action state, a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state.
可选的,当第二控制器为氛围灯控制器时,所述发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态之后,还包括:Optionally, when the second controller is an ambient light controller, the step of sending an exit light sleep signal to control the second controller corresponding to the load switch to exit the light sleep state also includes:
实时获取阳光传感器采集的光强信号;Obtain the light intensity signal collected by the sunlight sensor in real time;
若实时获取到的光强信号大于第一光强阈值,则发送进入浅休眠信号,以控制第二控制器进入浅休眠状态;If the light intensity signal obtained in real time is greater than the first light intensity threshold, a shallow sleep signal is sent to control the second controller to enter a shallow sleep state;
在第二控制器进入浅休眠状态之后,若实时获取到的光强信号小于第二光强阈值,则发送退出浅休眠信号,以控制第二控制器退出浅休眠状态。After the second controller enters the shallow sleep state, if the light intensity signal obtained in real time is less than the second light intensity threshold, an exit shallow sleep signal is sent to control the second controller to exit the shallow sleep state.
可选的,第二获取模块320包括:Optionally, the second acquisition module 320 includes:
第一获取单元,设置为若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取电子稳定控制器或电机控制器发送的第三状态信号;The first acquisition unit is configured to acquire the third signal sent by the electronic stability controller or the motor controller in real time if at least one first state signal sent by all the first controllers indicates that the state of the vehicle satisfies the first preset state. status signal;
第二获取单元,设置为若当前获取的第三状态信号满足第二预设状态,则实时获取负载开关的第二状态信号。The second acquisition unit is configured to acquire the second status signal of the load switch in real time if the currently acquired third status signal satisfies the second preset status.
可选的,所述第三状态信号包括车速、电机转速和/或车辆挡位,相应的,第二获取单元是设置为:Optionally, the third status signal includes vehicle speed, motor speed and/or vehicle gear. Correspondingly, the second acquisition unit is set to:
当所述车速或所述电机转速等于零,且所述车辆挡位处于停车挡或空挡时,则实时获取负载开关的第二状态信号。When the vehicle speed or the motor speed is equal to zero and the vehicle gear is in parking gear or neutral, the second status signal of the load switch is obtained in real time.
可选的,所述发送模块330包括: Optionally, the sending module 330 includes:
在预设时间段内,若实时获取到的车速或电机转速等于零,且实时获取到的车辆挡位处于停车挡或空挡,且实时获取到的所有所述第二状态信号表征所述负载开关均处于关闭状态,则发送进入浅休眠信号,以控制第二控制器进入浅休眠状态。Within the preset time period, if the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking gear or neutral, and all the second state signals obtained in real time indicate that the load switch is If the controller is in the off state, a light sleep signal is sent to control the second controller to enter the light sleep state.
本申请实施例所提供的车辆控制器的控制装置可执行本申请任意实施例所提供的车辆控制器的控制方法,具备执行方法相应的功能模块和效果。The control device of the vehicle controller provided by the embodiments of this application can execute the control method of the vehicle controller provided by any embodiment of this application, and has corresponding functional modules and effects for executing the method.
实施例四Embodiment 4
图12是根据本申请实施例四提供的一种中央网关控制器的结构示意图,如图12所示,中央网关控制器包括处理器60、存储器61、输入装置62和输出装置63;中央网关控制器中处理器60的数量可以是一个或多个,图12中以一个处理器60为例;中央网关控制器中的处理器60、存储器61、输入装置62和输出装置63可以通过总线或其他方式连接,图12中以通过总线连接为例。Figure 12 is a schematic structural diagram of a central gateway controller provided according to Embodiment 4 of the present application. As shown in Figure 12, the central gateway controller includes a processor 60, a memory 61, an input device 62 and an output device 63; the central gateway controller The number of processors 60 in the device can be one or more. One processor 60 is taken as an example in Figure 12; the processor 60, memory 61, input device 62 and output device 63 in the central gateway controller can be connected through a bus or other Connection method, Figure 12 takes connection through bus as an example.
存储器61作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本公开实施例一中的车辆控制器的控制方法对应的程序指令/模块(例如,第一获取模块310、第二获取模块320以及发送模块330)。处理器60通过运行存储在存储器61中的软件程序、指令以及模块,从而执行中央网关控制器的多种功能应用以及数据处理,即实现上述的车辆控制器的控制方法。As a computer-readable storage medium, the memory 61 can be configured to store software programs, computer-executable programs and modules, such as program instructions/modules corresponding to the control method of the vehicle controller in Embodiment 1 of the present disclosure (for example, the first acquisition module 310, second acquisition module 320 and sending module 330). The processor 60 executes the software programs, instructions and modules stored in the memory 61 to execute various functional applications and data processing of the central gateway controller, that is, to implement the above control method of the vehicle controller.
存储器61可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器61可包括相对于处理器60远程设置的存储器,这些远程存储器可以通过网络连接至中央网关控制器。上述网络的实例包括互联网、企业内部网、局域网、移动通信网及其组合。The memory 61 may include a program storage area and a data storage area, where the program storage area may store an operating system and an application program required for at least one function; the storage data area may store data created according to the use of the terminal, etc. In addition, the memory 61 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 61 may include memory located remotely relative to processor 60, and these remote memories may be connected to a central gateway controller through a network. Examples of the above-mentioned networks include the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
输入装置62可设置为接收输入的数字或字符信息,以及产生与中央网关控制器的用户设置以及功能控制有关的键信号输入。输出装置63可包括显示屏等显示设备。The input device 62 may be configured to receive input numeric or character information and to generate key signal inputs related to user settings and functional controls of the central gateway controller. The output device 63 may include a display device such as a display screen.
实施例五Embodiment 5
本公开实施例五还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行车辆控制器的控制方法,该方 法包括:Embodiment 5 of the present disclosure also provides a storage medium containing computer-executable instructions, which when executed by a computer processor are used to execute the control method of the vehicle controller. Laws include:
获取至少一个第一控制器发送的至少一个第一状态信号,所述第一状态信号用于指示所述车辆对应的状态;Obtain at least one first status signal sent by at least one first controller, where the first status signal is used to indicate the corresponding status of the vehicle;
若所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态,则实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;If at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, a second status signal of the load switch is obtained in real time, and the second status signal is used to characterize the Whether the load switch is closed or inactive;
若实时获取到的第二状态信号表征所述负载开关处于关闭状态或无动作状态,则发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。If the second status signal obtained in real time indicates that the load switch is in a closed state or has no action, an entry into shallow sleep signal is sent to control the second controller corresponding to the load switch to enter into a shallow sleep state.
本公开实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本公开实施例一或实施例二所提供的车辆控制器的控制方法中的相关操作。An embodiment of the present disclosure provides a storage medium containing computer-executable instructions. The computer-executable instructions are not limited to the method operations described above, and can also execute the vehicle controller provided in the first or second embodiment of the present disclosure. Related operations in the control method.
通过以上关于实施方式的描述,本公开可借助软件及必需的通用硬件来实现,也可以通过硬件实现。本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开多个实施例所述的方法。存储介质可以是非暂态(non-transitory)存储介质。Through the above description of the embodiments, the present disclosure can be implemented by means of software and necessary general hardware, or can also be implemented by hardware. The technical solution of the present disclosure can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer's floppy disk, read-only memory (Read-Only Memory, ROM), random access memory ( Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including multiple instructions to cause a computer device (which can be a personal computer, server, or network device, etc.) to execute the multiple embodiments of the present disclosure. Methods. The storage medium may be a non-transitory storage medium.
上述车辆控制器的控制装置的实施例中,所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本公开的保护范围。 In the above embodiments of the vehicle controller control device, the multiple units and modules included are only divided according to functional logic, but are not limited to the above divisions, as long as the corresponding functions can be realized; in addition, multiple units and modules are not limited to the above divisions. The names of the functional units are only for the convenience of distinguishing each other and are not used to limit the scope of protection of the present disclosure.

Claims (10)

  1. 一种车辆控制器的控制方法,包括:A control method for a vehicle controller, including:
    获取至少一个第一控制器发送的至少一个第一状态信号,所述至少一个第一状态信号用于指示车辆对应的状态;Obtain at least one first status signal sent by at least one first controller, where the at least one first status signal is used to indicate the corresponding status of the vehicle;
    在所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态的情况下,实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;When at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, a second status signal of the load switch is obtained in real time, and the second status signal is used to characterize Whether the load switch is in a closed state or inactive state;
    在实时获取到的第二状态信号表征所述负载开关处于所述关闭状态或所述无动作状态的情况下,发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。When the second status signal obtained in real time indicates that the load switch is in the off state or the no-action state, a shallow sleep signal is sent to control the second controller corresponding to the load switch to enter shallow sleep. state.
  2. 根据权利要求1所述的方法,其中,所述第一控制器包括以下至少之一:车身控制器、能源管理控制器、发动机控制器、或整车控制器;The method of claim 1, wherein the first controller includes at least one of the following: a body controller, an energy management controller, an engine controller, or a vehicle controller;
    所述在所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态的情况下,实时获取负载开关的第二状态信号,包括:When at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, obtaining the second status signal of the load switch in real time includes:
    在满足以下之一的情况下,实时获取所述负载开关的第二状态信号:所述车身控制器发送的第一状态信号指示车辆电源处于上电状态,所述发动机控制器发送的第一状态信号指示发动机处于怠速状态,所述整车控制器发送的第一状态信号指示所述车辆处于高压上电状态,或所述能源管理控制器发送的第一状态信号指示电网状态处于输出状态。When one of the following conditions is met, the second status signal of the load switch is obtained in real time: the first status signal sent by the body controller indicates that the vehicle power supply is in the power-on state, and the first status signal sent by the engine controller The signal indicates that the engine is in an idling state, the first status signal sent by the vehicle controller indicates that the vehicle is in a high-voltage power-on state, or the first status signal sent by the energy management controller indicates that the power grid status is in an output state.
  3. 根据权利要求1所述的方法,其中,在所述发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态之后,还包括:The method according to claim 1, wherein after the sending the shallow sleep signal to control the second controller corresponding to the load switch to enter the shallow sleep state, it further includes:
    在实时获取到的第二状态信号表征所述负载开关处于开启状态或有动作状态的情况下,发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态。When the second status signal obtained in real time indicates that the load switch is in an on state or in an action state, a shallow sleep exit signal is sent to control the second controller corresponding to the load switch to exit the shallow sleep state.
  4. 根据权利要求3所述的方法,其中,在所述第二控制器为氛围灯控制器的情况下,在所述发送退出浅休眠信号,以控制所述负载开关对应的第二控制器退出浅休眠状态之后,还包括:The method according to claim 3, wherein when the second controller is an ambient light controller, sending a light sleep exit signal to control the second controller corresponding to the load switch to exit light sleep. After hibernation, it also includes:
    实时获取阳光传感器采集的光强信号;Obtain the light intensity signal collected by the sunlight sensor in real time;
    在实时获取到的光强信号大于第一光强阈值的情况下,发送所述进入浅休眠信号,以控制所述第二控制器进入所述浅休眠状态;When the light intensity signal obtained in real time is greater than the first light intensity threshold, sending the shallow sleep signal to control the second controller to enter the shallow sleep state;
    在所述第二控制器进入所述浅休眠状态之后,在实时获取到的光强信号小于第二光强阈值的情况下,发送所述退出浅休眠信号,以控制所述第二控制器退出所述浅休眠状态。 After the second controller enters the shallow sleep state, when the light intensity signal obtained in real time is less than the second light intensity threshold, the shallow sleep exit signal is sent to control the second controller to exit. The shallow sleep state.
  5. 根据权利要求1所述的方法,其中,所述在所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态的情况下,实时获取负载开关的第二状态信号,包括:The method according to claim 1, wherein in the case where at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, the third value of the load switch is obtained in real time. Two status signals include:
    在所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足所述第一预设状态的情况下,实时获取电子稳定控制器或电机控制器发送的第三状态信号;When at least one first status signal sent by all first controllers indicates that the status of the vehicle satisfies the first preset status, obtain a third status signal sent by the electronic stability controller or the motor controller in real time;
    在当前获取的第三状态信号满足第二预设状态的情况下,实时获取所述负载开关的第二状态信号。When the currently acquired third state signal satisfies the second preset state, the second state signal of the load switch is acquired in real time.
  6. 根据权利要求5所述的方法,其中,所述第三状态信号包括以下至少之一:车速、电机转速、或车辆挡位,The method of claim 5, wherein the third status signal includes at least one of the following: vehicle speed, motor speed, or vehicle gear,
    所述在当前获取的第三状态信号满足第二预设状态的情况下,实时获取所述负载开关的第二状态信号,包括:When the currently obtained third state signal satisfies the second preset state, obtaining the second state signal of the load switch in real time includes:
    在所述车速或所述电机转速等于零,且所述车辆挡位处于停车挡或空挡的情况下,实时获取所述负载开关的第二状态信号。When the vehicle speed or the motor speed is equal to zero and the vehicle gear is in parking or neutral, the second status signal of the load switch is obtained in real time.
  7. 根据权利要求6所述的方法,其中,所述在实时获取到的第二状态信号表征所述负载开关处于所述关闭状态或所述无动作状态的情况下,发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态,包括:The method according to claim 6, wherein when the second state signal obtained in real time indicates that the load switch is in the off state or the no-action state, a shallow sleep signal is sent to control The second controller corresponding to the load switch enters a shallow sleep state, including:
    在预设时间段内,在实时获取到的车速或电机转速等于零,且实时获取到的车辆挡位处于停车挡或空挡,且实时获取到的所有所述第二状态信号表征所述负载开关均处于所述关闭状态的情况下,发送所述进入浅休眠信号,以控制所述第二控制器进入所述浅休眠状态。Within the preset time period, the vehicle speed or motor speed obtained in real time is equal to zero, and the vehicle gear obtained in real time is in parking gear or neutral, and all the second state signals obtained in real time represent that the load switch is When in the off state, the light sleep entering signal is sent to control the second controller to enter the light sleep state.
  8. 一种车辆控制器的控制装置,包括:A control device for a vehicle controller, including:
    第一获取模块,设置为获取至少一个第一控制器发送的至少一个第一状态信号,所述至少一个第一状态信号用于指示车辆对应的状态;A first acquisition module configured to acquire at least one first status signal sent by at least one first controller, where the at least one first status signal is used to indicate the corresponding status of the vehicle;
    第二获取模块,设置为在所有第一控制器发送的至少一个第一状态信号均指示所述车辆的状态满足第一预设状态的情况下,实时获取负载开关的第二状态信号,所述第二状态信号用于表征所述负载开关是否处于关闭状态或无动作状态;The second acquisition module is configured to acquire the second status signal of the load switch in real time when at least one first status signal sent by all the first controllers indicates that the status of the vehicle satisfies the first preset status, said The second status signal is used to represent whether the load switch is in a closed state or a no-action state;
    发送模块,设置为在实时获取到的第二状态信号表征所述负载开关处于所述关闭状态或所述无动作状态的情况下,发送进入浅休眠信号,以控制所述负载开关对应的第二控制器进入浅休眠状态。A sending module configured to send a shallow sleep signal to control the second state signal corresponding to the load switch when the second state signal obtained in real time indicates that the load switch is in the off state or the no-action state. The controller enters shallow sleep state.
  9. 一种中央网关控制器,包括: A central gateway controller including:
    至少一个处理器;以及at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中任一项所述的车辆控制器的控制方法。The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor, so that the at least one processor can execute any one of claims 1-7 The control method of the vehicle controller.
  10. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现权利要求1-7中任一项所述的车辆控制器的控制方法。 A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the vehicle controller of any one of claims 1-7 when executed by a processor. Control Method.
PCT/CN2023/104399 2022-06-30 2023-06-30 Vehicle controller control method and apparatus, central gateway controller, and medium WO2024002316A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210772492.0 2022-06-30
CN202210772492.0A CN115032932B (en) 2022-06-30 2022-06-30 Control method and device of vehicle controller, central gateway controller and medium

Publications (1)

Publication Number Publication Date
WO2024002316A1 true WO2024002316A1 (en) 2024-01-04

Family

ID=83128138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/104399 WO2024002316A1 (en) 2022-06-30 2023-06-30 Vehicle controller control method and apparatus, central gateway controller, and medium

Country Status (2)

Country Link
CN (1) CN115032932B (en)
WO (1) WO2024002316A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115032932B (en) * 2022-06-30 2024-06-14 中国第一汽车股份有限公司 Control method and device of vehicle controller, central gateway controller and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201511914U (en) * 2009-09-29 2010-06-23 上海汇众汽车制造有限公司 CAN bus vehicle body control system with sleeping and waking function
CN104228713A (en) * 2014-09-26 2014-12-24 重庆长安汽车股份有限公司 Automobile transportation mode control device and method
CN105128783A (en) * 2015-09-22 2015-12-09 华晨汽车集团控股有限公司 Distributed automobile electric energy regulating method
US20200389338A1 (en) * 2019-06-10 2020-12-10 Hyundai Motor Company Apparatus for controlling vehicle network management, system including same and method thereof
CN113043970A (en) * 2021-03-30 2021-06-29 重庆长安汽车股份有限公司 Load management system for whole vehicle
CN115032932A (en) * 2022-06-30 2022-09-09 中国第一汽车股份有限公司 Control method and device for vehicle controller, central gateway controller and medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090002072A (en) * 2007-06-04 2009-01-09 이민화 Controlling vehicular electronics devices using physiological signals
US9373207B2 (en) * 2012-03-14 2016-06-21 Autoconnect Holdings Llc Central network for the automated control of vehicular traffic
CA3067375C (en) * 2017-06-15 2022-08-16 Lutron Technology Company Llc Communicating with and controlling load control systems
CN110001556A (en) * 2019-04-28 2019-07-12 江西江铃集团新能源汽车有限公司 Automobile multisegment cooperates with dormancy control method and system
CN110696587B (en) * 2019-09-24 2021-06-25 中国第一汽车股份有限公司 Air conditioner control method and system and vehicle
CN111322400B (en) * 2020-02-18 2021-12-07 宁波吉利汽车研究开发有限公司 Parking electricity-saving control system and method
CN111891136A (en) * 2020-07-21 2020-11-06 中国第一汽车股份有限公司 Vehicle energy-saving emission-reducing auxiliary system, auxiliary method and automobile
CN111923920B (en) * 2020-08-13 2022-05-17 中国第一汽车股份有限公司 Vehicle control method, device, equipment and storage medium
CN112383558B (en) * 2020-11-24 2023-07-18 上汽通用五菱汽车股份有限公司 Vehicle air conditioner remote control method, vehicle and computer readable storage medium
CN114643941A (en) * 2020-12-18 2022-06-21 长城汽车股份有限公司 Vehicle power-on and power-off control method and device and vehicle
CN114666377B (en) * 2021-04-16 2024-08-27 长城汽车股份有限公司 Remote control method and device for vehicle and vehicle
CN113630746A (en) * 2021-07-15 2021-11-09 江铃汽车股份有限公司 Dormancy method, dormancy system, readable storage medium and vehicle
CN114393977B (en) * 2022-02-28 2022-11-04 湖南行必达网联科技有限公司 Control method, device and equipment of vehicle-mounted air conditioner and working machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201511914U (en) * 2009-09-29 2010-06-23 上海汇众汽车制造有限公司 CAN bus vehicle body control system with sleeping and waking function
CN104228713A (en) * 2014-09-26 2014-12-24 重庆长安汽车股份有限公司 Automobile transportation mode control device and method
CN105128783A (en) * 2015-09-22 2015-12-09 华晨汽车集团控股有限公司 Distributed automobile electric energy regulating method
US20200389338A1 (en) * 2019-06-10 2020-12-10 Hyundai Motor Company Apparatus for controlling vehicle network management, system including same and method thereof
CN113043970A (en) * 2021-03-30 2021-06-29 重庆长安汽车股份有限公司 Load management system for whole vehicle
CN115032932A (en) * 2022-06-30 2022-09-09 中国第一汽车股份有限公司 Control method and device for vehicle controller, central gateway controller and medium

Also Published As

Publication number Publication date
CN115032932A (en) 2022-09-09
CN115032932B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN113253648B (en) Vehicle and network management method thereof, domain controller, storage medium, and electronic device
CN108933719B (en) Vehicle-mounted CAN network management method, vehicle-mounted CAN network and vehicle
CN108900313B (en) Network management method and system based on CAN bus
CN111923920B (en) Vehicle control method, device, equipment and storage medium
GB2385471A (en) Power managament system and method for an automobile
WO2024002316A1 (en) Vehicle controller control method and apparatus, central gateway controller, and medium
CN111404819B (en) Network control method and system based on routing function
CN111624902A (en) Control method and device for dormancy and awakening
US20220055556A1 (en) In-vehicle network system
CN114291015B (en) Vehicle control method and device, vehicle and storage medium
CN112706712A (en) Standby control method and device for vehicle-mounted host and vehicle
CN107888472B (en) Vehicle network management method, control gateway, controller and automobile
CN112537205A (en) Power-saving mode control method and device and electric automobile
CN112078326B (en) Hybrid vehicle and cab heating control method, device and system thereof
CN114379483A (en) CAN network management method for new energy automobile
CN209928230U (en) Electronic gear backlight lamp function dormancy awakening device
CN111532173A (en) Power consumption controller and control method for electric automobile
CN115891879B (en) Power supply method and device for powered-down whole vehicle
CN221113799U (en) Wake-up circuit for vehicle and vehicle
CN114760610B (en) Multipath network awakening method and device and automobile
CN116533830B (en) Whole vehicle energy-saving control method and device and vehicle
KR102371990B1 (en) Controller for vehicle and method for controlling power of controller for vehicle
CN112615767B (en) Whole vehicle network management method and system
CN117021894A (en) Parking heating control method, device, equipment and storage medium
CN113515071A (en) Vehicle-mounted controller power management method, storage medium and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23830480

Country of ref document: EP

Kind code of ref document: A1