CN114537306A - Domain controller, power-on and power-off control method and device thereof, and readable storage medium - Google Patents
Domain controller, power-on and power-off control method and device thereof, and readable storage medium Download PDFInfo
- Publication number
- CN114537306A CN114537306A CN202210134439.8A CN202210134439A CN114537306A CN 114537306 A CN114537306 A CN 114537306A CN 202210134439 A CN202210134439 A CN 202210134439A CN 114537306 A CN114537306 A CN 114537306A
- Authority
- CN
- China
- Prior art keywords
- power
- domain controller
- control module
- module
- control
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004146 energy storage Methods 0.000 claims description 21
- 238000013500 data storage Methods 0.000 claims description 12
- 238000007599 discharging Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 8
- 230000003993 interaction Effects 0.000 description 10
- 230000015654 memory Effects 0.000 description 8
- 230000008901 benefit Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 239000003990 capacitor Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
- B60R16/02—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
- B60R16/03—Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for supply of electrical power to vehicle subsystems or for
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Power Sources (AREA)
Abstract
The invention provides a domain controller, a power-on and power-off control method and device thereof and a readable storage medium, and relates to the technical field of component control. The domain controller comprises a control module and a plurality of chip modules connected with the control module, the control module can be connected with the power supply module, and the domain controller power-on and power-off control method is applicable to the control module and comprises the following steps: detecting a signal state of a wake-up signal; controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition so as to enable the control module to be powered on and initialized; and finishing power-on based on the control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence. The power-on and power-off control method of the domain controller provided by the invention ensures that the domain controller can be normally started and closed by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module.
Description
Technical Field
The invention relates to the technical field of component control, in particular to a domain controller, a power-on and power-off control method and device thereof and a readable storage medium.
Background
With the development of artificial intelligence, driving an automobile intelligently has become a hot direction. The intelligent driving automobile is mainly combined with a vehicle drive-by-wire platform and a large number of multi-type peripheral sensors through an intelligent driving domain controller to complete corresponding control.
Technologies such as multi-sensor data fusion and artificial intelligence algorithm have higher requirements on the interface and computational power performance of the domain controller, so the domain controller needs to adopt a hardware scheme of a heterogeneous multi-core chip integrating various architecture chips. That is, a plurality of function modules are often included in the domain controller, and each function module needs power supply, which makes the power supply tree of the domain controller rather complicated, and is not beneficial to the normal startup and shutdown of the domain controller.
Disclosure of Invention
The invention aims to provide a domain controller, a power-on and power-off control method and device thereof, and a readable storage medium, which at least solve the technical problems that a power tree of the domain controller in the related art is complex and is not beneficial to normal starting and closing of the domain controller.
To this end, a first aspect of the present invention is to provide a power-on and power-off control method for a domain controller.
A second aspect of the present invention is to provide a power-on/power-off control device for a domain controller.
A third aspect of the invention is directed to a readable storage medium.
A fourth aspect of the present invention is to provide a domain controller.
A fifth aspect of the present invention is to provide an intelligent automobile.
In view of the above, a first aspect of the present invention provides a power-up and power-down control method for a domain controller, where the domain controller includes a control module and a plurality of chip modules connected to the control module, the control module is capable of being connected to a power supply module, the power-up and power-down control method for the domain controller is applied to the control module, and the power-up and power-down control method for the domain controller includes: detecting a signal state of a wake-up signal; controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition so as to enable the control module to be powered on and initialized; and finishing power-on based on the control module, and controlling the plurality of chip modules to sequentially power on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller.
The power-on and power-off control method of the domain controller is suitable for the control module, the control module is a control module of the domain controller, and the control module can control a plurality of chip modules to work. Specifically, the Control module may be a microcontroller module in the domain controller, i.e. an MCU (Micro Control Unit) of the domain controller.
In the power-on and power-off control method of the domain controller, the signal state of the wake-up signal is detected by the control module, the power supply module is controlled to supply power to the control module under the condition that the signal state of the wake-up signal meets a first preset condition so that the control module is powered on and completes initialization operation, and the control module controls the rest modules (namely a plurality of chip modules) in the domain controller to be sequentially powered on according to a preset power-on time sequence under the condition that the control module is powered on. Therefore, the normal electrification of the domain controller is ensured by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module, so that the domain controller can be started normally.
The power supply module is used for supplying power to the control module, and the power supply module can be a power supply module in the domain controller, or the power supply module is arranged outside the domain controller and is connected with the control module through a power line so as to supply power to the control module. The position and form of the power supply module can be selected according to actual conditions, and are not particularly limited herein.
Further, the wake-up signal is specifically a key signal, and the on-off state of the key is determined by detecting the signal state of the wake-up signal, so that each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the first preset condition is that the wake-up signal is at a high level, that is, the key is in an on state. The control module starts to be in a dormant state, determines that the domain controller is in a state to be started under the condition that the key is detected to be in an open state, at the moment, switches the control module from the dormant state to a working state, performs operations such as power-on and initialization, and controls the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence after the power-on is completed. And after the plurality of chip modules are powered on, determining that the domain controller is powered on, namely determining that the domain controller is in a normal working state.
Further, the plurality of Chip modules include modules such as SOC1 (System-on-a-Chip), SOC2, PCIE (Peripheral Component Interconnect Express), lan Switch (Local Area Network Switch), FPGA (Field Programmable Gate Array), and the like. Specifically, data interaction is performed between SOC1 and SOC2 through PCIE, data interaction is performed between MCU and SOC1 and SOC2 through SPI (Serial Peripheral Interface) or ethernet, data interaction is performed between FPGA and SOC1, SOC2 and MCU through SPI or ethernet, and ethernet communication is performed through lans switch.
Furthermore, the MCU is connected with one end of a plurality of power lines, the other end of each power line is respectively connected with the SOC1 module, the SOC2 module, the PCIE module, the LANSwitch module, the FPGA module and other modules, and the MCU controls the SOC1 module, the SOC2 module, the PCIE module, the LANSwitch module and the FPGA module to be sequentially powered on. That is, the MCU corresponds to a power supply of modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. Namely, the control module is equivalent to the power supply of a plurality of chip modules, and the control module is powered on and powered off through other modules in a plurality of power cord control domain controllers, so that the control domain controller is wholly powered on and powered off to ensure the normal starting and closing of the domain controller.
In any of the above technical solutions, preferably, after detecting a signal state of the wake-up signal, the domain controller power-on and power-off control method further includes: and controlling the plurality of chip modules to be powered off based on the fact that the signal state of the wake-up signal meets a second preset condition.
In the technical scheme, under the condition that the domain controller works normally, the control module detects the signal state of the wake-up signal, and under the condition that the signal state of the wake-up signal meets a second preset condition, the control module controls the chip modules to be powered off so that the domain controller is powered off integrally. Therefore, the control module controls other chip modules in the domain controller to be powered off, and the normal power-off of the domain controller is ensured, so that the domain controller can be normally closed.
The wake-up signal is a key signal, the on-off state of the key is judged by detecting the signal state of the wake-up signal, and then each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the second preset condition is that the wake-up signal is at a low level, that is, the key is in the off state. Under the condition that the domain controller works normally, when the control module detects that the key is in the closing state, the domain controller is determined to be in the state to be closed, and at the moment, the control module controls the chip modules to be powered off.
In addition, when the domain controller is not started, the domain controller is in a closed state, and the control module is in a dormant state. At this time, when the control module detects that the signal state of the wake-up signal meets a second preset condition, that is, the key is in the off state, the control module keeps the sleep state and does not perform any action, that is, the domain controller keeps the off state.
In any of the above technical solutions, preferably, the controlling the plurality of chip modules to power down specifically includes: sending a first control instruction to the plurality of chip modules, wherein the first control instruction is used for controlling the plurality of chip modules to carry out data storage operation; and finishing data storage operation based on the plurality of chip modules and controlling the plurality of chip modules to be powered off.
In the technical scheme, under the condition that the domain controller works normally, when the control module detects that the signal state of the wake-up signal meets a second preset condition, the control module can control the plurality of chip modules to be powered off so that the domain controller is powered off integrally. Specifically, control module can send first control command to a plurality of chip module, and first control command is used for controlling a plurality of chip module storage self working data to guarantee going on smoothly of work next time, the back is accomplished in the working data storage of a plurality of chip module, and control module just can control a plurality of chip module and power down, thereby makes whole domain controller accomplish power down.
Specifically, after the working data of the plurality of chip modules are stored, an acknowledgement signal may be sent to the control module to notify the control module that the working data of the control module is stored. The control module can control the plurality of chip modules to be powered off simultaneously after all the working data of the plurality of chip modules are stored, and can also control the plurality of chip modules to be powered off sequentially according to the sequence of the received confirmation signals.
That is to say, in the technical scheme, before controlling the plurality of chip modules to power down, the plurality of chip modules are controlled to store the working data of the chip modules, and the chip modules are controlled to power down after the working data of the chip modules are stored. Therefore, the control module controls other chip modules in the domain controller to store data and power off, and normal power off of the domain controller is guaranteed, so that the domain controller can be normally closed, meanwhile, safe storage of working data of each chip module is guaranteed, and smooth operation of each chip module is guaranteed.
In any of the above technical solutions, preferably, the domain controller further includes an energy storage module, and after controlling the plurality of chip modules to power down, the power-down control method of the domain controller further includes: the energy storage module is controlled to discharge electricity based on the fact that the plurality of chip modules complete power-off; and the control module enters a dormant state based on the energy storage module completing discharging.
In the technical scheme, the domain controller further comprises an energy storage module, and under the condition that the domain controller works normally, when the control module detects that the signal state of the wake-up signal meets a second preset condition, the control module can control the plurality of chip modules to power off. Under the condition that the plurality of chip modules are powered off, the control module can control the energy storage module in the domain controller to discharge, namely, the domain controller discharges the system. When the energy storage module finishes discharging, namely the domain controller finishes system discharging, the domain controller integrally finishes powering off, at the moment, the control module enters a dormant state to wake up the domain controller when a next wake-up signal is at a high level, and then the plurality of chip modules are controlled to finish powering on next time through the method.
A second aspect of the present invention provides a power on/off control apparatus for a domain controller, the domain controller including a control module and a plurality of chip modules connected to the control module, the control module being connectable to a power supply module, the power on/off control apparatus for the domain controller being adapted to the control module, the power on/off control apparatus for the domain controller including: the detection unit is used for detecting the signal state of the wake-up signal; the control unit is used for controlling the power supply module to supply power to the control module based on the condition that the signal state of the wake-up signal meets a first preset condition so as to electrify and initialize the control module; and completing power-on based on the control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller.
The power-on and power-off control device of the domain controller is suitable for the control module, the control module is a control module of the domain controller, and the control module can control a plurality of chip modules to work. In particular, the control module may be a microcontroller module in the domain controller, i.e. an MCU of the domain controller.
In the power-on and power-off control device of the domain controller, the detection unit detects the signal state of the wake-up signal, the control unit controls the power supply module to supply power to the control module under the condition that the signal state of the wake-up signal meets a first preset condition so as to electrify the control module and finish initialization operation, and the control unit controls other modules (namely a plurality of chip modules) in the domain controller to be electrified sequentially according to a preset electrifying time sequence under the condition that the control module finishes electrifying. Therefore, the normal electrification of the domain controller is ensured by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module, so that the domain controller can be started normally.
In some embodiments, the control unit is further configured to: and controlling the plurality of chip modules to be powered off based on the fact that the signal state of the wake-up signal meets a second preset condition.
In the technical scheme, under the condition that the domain controller works normally, the detection unit detects the signal state of the wake-up signal, and under the condition that the signal state of the wake-up signal meets a second preset condition, the control unit controls the plurality of chip modules to be powered off so that the domain controller is powered off integrally. Therefore, the control module controls other chip modules in the domain controller to be powered off, and the normal power-off of the domain controller is ensured, so that the domain controller can be normally closed.
In some embodiments, the control unit is further configured to:
controlling the energy storage module to discharge based on the fact that the plurality of chip modules finish power-off;
and the control module enters a dormant state based on the energy storage module finishing discharging.
A third aspect of the present invention provides a readable storage medium, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of the domain controller power-up and power-down control method according to any one of the above technical solutions.
The present invention provides a readable storage medium, on which a program or an instruction is stored, and the program or the instruction can realize the steps of the domain controller power-on and power-off control method in any of the above technical solutions when being executed by a processor. Therefore, the readable storage medium provided by the present invention has all the advantages of the domain controller power-on and power-off control method in any of the above technical solutions, and details are not described herein again.
In particular, a readable storage medium may include any medium that is capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor Memory devices, Read-Only memories (ROMs), Random Access Memories (RAMs), Compact Disc Read-Only memories (CD-ROMs), flash memories, erasable ROMs (eroms), magnetic tapes, floppy disks, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, optical data storage devices, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
A fourth aspect of the present invention provides a domain controller comprising: the control module can be connected with the power supply module, and the control module comprises a power-on and power-off control device of the domain controller in any technical scheme.
The domain controller provided by the invention comprises the domain controller power-on and power-off control device in any technical scheme, so that the domain controller power-on and power-off control device has all the beneficial effects of the domain controller power-on and power-off control device in any technical scheme, and is not described again here.
A fifth aspect of the present invention provides an intelligent automobile, including: the domain controller defined in the above technical solution. Therefore, the intelligent automobile provided by the invention has all the beneficial effects of the domain controller defined in the technical scheme, and the details are not repeated herein.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 shows one of the flow diagrams of a domain controller power-on and power-off control method of an embodiment of the present invention;
fig. 2 is a second flowchart of the power-on and power-off control method of the domain controller according to the embodiment of the present invention;
fig. 3 is a third flow chart of the power-on and power-off control method of the domain controller according to the embodiment of the present invention;
FIG. 4 is a fourth flowchart illustrating a power-on and power-off control method of the domain controller according to an embodiment of the present invention;
FIG. 5 is a schematic block diagram illustrating a domain controller power-on and power-off control apparatus according to an embodiment of the present invention;
FIG. 6 shows a schematic block diagram of a domain controller of an embodiment of the present invention;
FIG. 7 shows a schematic block diagram of an intelligent car of an embodiment of the present invention;
fig. 8 shows a block diagram of a domain controller according to an embodiment of the present invention.
Detailed Description
So that the manner in which the above recited aspects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
A domain controller, a power-on and power-off control method and apparatus thereof, and a readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 8.
The embodiment of the first aspect of the invention provides a power-on and power-off control method for a domain controller. The domain controller comprises a control module and a plurality of chip modules connected with the control module, the control module can be connected with the power supply module, and the power-on and power-off control method of the domain controller is suitable for the control module. As shown in fig. 1, in some embodiments of the present invention, there is provided a domain controller power-on and power-off control method, including:
step S101, detecting the signal state of the wake-up signal;
step S102, controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized;
and step S103, completing power-on based on the control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence.
In the embodiment of the invention, the power-on time sequence is set according to the characteristics of a plurality of chip modules in the domain controller.
The power-on and power-off control method of the domain controller is suitable for the control module, the control module is a control module of the domain controller, and the control module can control a plurality of chip modules to work. In particular, the control module may be a microcontroller module in the domain controller, i.e. an MCU of the domain controller.
In the power-on and power-off control method of the domain controller, the signal state of the wake-up signal is detected by the control module, the power supply module is controlled to supply power to the control module under the condition that the signal state of the wake-up signal meets a first preset condition so as to enable the control module to be powered on and complete initialization operation, and the control module controls other modules (namely a plurality of chip modules) in the domain controller to be powered on sequentially according to a preset power-on time sequence under the condition that the control module is powered on. Therefore, the normal electrification of the domain controller is ensured by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module, so that the domain controller can be started normally.
The power supply module is used for supplying power to the control module, and the power supply module is a power supply module in the domain controller, or the power supply module is arranged outside the domain controller and is connected with the control module through a power line so as to supply power to the control module. The position and form of the power supply module can be selected according to actual conditions, and are not particularly limited herein.
Further, the plurality of chip modules include modules such as SOC1, SOC2, PCIE, LANSwitch, FPGA, and the like. Specifically, as shown in fig. 8, data interaction is performed between SOC1 and SOC2 via PCIE, data interaction is performed between MCU and SOC1 and SOC2 via SPI or ethernet, data interaction is performed between FPGA and SOC1, SOC2, and MCU via SPI or ethernet, and ethernet communication is performed via LANSwitch.
Furthermore, the MCU is connected to one end of a plurality of power lines, and the other end of the plurality of power lines is connected to the modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA, respectively, so as to supply power to the modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. That is, the MCU corresponds to a power supply of modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. Namely, the control module is equivalent to the power supply of a plurality of chip modules, and the control module is powered on and powered off through other modules in a plurality of power cord control domain controllers, so that the control domain controller is wholly powered on and powered off to ensure the normal starting and closing of the domain controller.
Further, the wake-up signal is specifically a key signal, and the on-off state of the key is determined by detecting the signal state of the wake-up signal, so that each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the first preset condition is that the wake-up signal is at a high level, that is, the key is in an on state. The control module starts to be in a dormant state, determines that the domain controller is in a state to be started under the condition that the key is detected to be in an open state, at the moment, switches the control module from the dormant state to a working state, performs operations such as electrification, initialization and the like, and controls the plurality of chip modules to be electrified after electrification is completed. And after the plurality of chip modules are powered on, determining that the domain controller is powered on, namely determining that the domain controller is in a normal working state.
In some embodiments, information between the AI computation chip SOC1 and the SOC2 of the domain controller needs to be communicated and interacted through PCIE and LANSwitch, and in order to guarantee the requirement of the overall power-on time of the domain controller, since the SOC1 and the SOC2 run on the Linux operating system, the power-on is slow, a power-on time sequence can be preset, the SOC1 and the SOC2 are powered firstly, then the PCIE and LANSwitch are powered, and finally the FPGA module is powered, so that the control module sequentially pulls up power chip pins of the SOC1 module, the SOC2 module, the PCIE module, the LANSwitch module, and the FPGA module, that is, the control module sequentially controls the SOC1 module, the SOC2 module, the PCIE module, the LANSwitch module, and the FPGA module to be powered on. Therefore, the normal electrification of the domain controller is ensured by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module, so that the domain controller can be started normally.
In some embodiments of the present invention, further, as shown in fig. 2, a domain controller power-on and power-off control method is provided, including:
step S101, detecting the signal state of the wake-up signal;
step S102, controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized;
step S103, completing power-on based on a control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller;
and step S104, controlling the plurality of chip modules to power off based on the signal state of the wake-up signal meeting a second preset condition.
In this embodiment, under the condition that the domain controller normally works, the control module detects the signal state of the wake-up signal, and under the condition that the signal state of the wake-up signal meets the second preset condition, the control module controls the plurality of chip modules to power down, so that the domain controller is powered down integrally. Therefore, the control module controls other chip modules in the domain controller to be powered off, and the normal power-off of the domain controller is ensured, so that the domain controller can be normally closed.
The wake-up signal is a key signal, the on-off state of the key is judged by detecting the signal state of the wake-up signal, and then each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the second preset condition is that the wake-up signal is at a low level, that is, the key is in the off state. Under the condition that the domain controller works normally, when the control module detects that the key is in the closing state, the domain controller is determined to be in the state to be closed, and at the moment, the control module controls the chip modules to be powered off.
In addition, when the domain controller is not started, the domain controller is in a closed state, and the control module is in a dormant state. At this time, when the control module detects that the signal state of the wake-up signal meets a second preset condition, that is, the key is in the off state, the control module keeps the sleep state and does not perform any action, that is, the domain controller keeps the off state.
In some embodiments of the present invention, further, as shown in fig. 3, a domain controller power-on and power-off control method is provided, including:
step S101, detecting the signal state of the wake-up signal;
step S102, controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized;
step S103, completing power-on based on a control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller;
step S105, based on the fact that the signal state of the wake-up signal meets a second preset condition, sending a first control instruction to the plurality of chip modules;
step S106, finishing data storage operation based on the plurality of chip modules, and controlling the plurality of chip modules to power off;
the first control instruction is used for controlling the plurality of chip modules to perform data storage operation.
In this embodiment, under the condition that the domain controller normally works, when the control module detects that the signal state of the wake-up signal meets the second preset condition, the control module controls the plurality of chip modules to power down, so that the domain controller is powered down as a whole. Specifically, control module can send first control command to a plurality of chip module, and first control command is used for controlling a plurality of chip module storage self working data to guarantee going on smoothly of work next time, the back is accomplished in the working data storage of a plurality of chip module, and control module just can control a plurality of chip module and power down, thereby makes whole domain controller accomplish power down.
Specifically, after the working data of the plurality of chip modules are stored, an acknowledgement signal may be sent to the control module to notify the control module that the working data of the control module is stored. The control module can control the plurality of chip modules to be powered off simultaneously after all the working data of the plurality of chip modules are stored, and can also control the plurality of chip modules to be powered off sequentially according to the sequence of the received confirmation signals.
That is to say, in this embodiment, before controlling the plurality of chip modules to power down, the plurality of chip modules are controlled to store their own working data, and the chip modules are controlled to power down after the working data of the chip modules are stored. Therefore, the control module controls other chip modules in the domain controller to store data and power off, and normal power off of the domain controller is guaranteed, so that the domain controller can be normally closed, meanwhile, safe storage of working data of each chip module is guaranteed, and smooth operation of each chip module is guaranteed.
Because many large-capacity capacitor components are welded in the circuit of the domain controller, the capacitors play roles of decoupling, filtering and energy storage in the circuit, if the domain controller is powered off and not discharged but powered on again, the capacitors lose functions to cause that the driving current or the signal does not meet the requirements, thereby influencing the power on again, therefore, in some embodiments of the invention, further, as shown in fig. 4, a power-on and power-off control method of the domain controller is provided, which comprises the following steps:
step S101, detecting the signal state of the wake-up signal;
step S102, controlling a power supply module to supply power to a control module based on the fact that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized;
step S103, completing power-on based on a control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller;
step S104, controlling the plurality of chip modules to power off based on the fact that the signal state of the wake-up signal meets a second preset condition;
step S107, finishing power-off based on the plurality of chip modules, and controlling the energy storage module to discharge;
and step S108, finishing discharging based on the energy storage module, and enabling the control module to enter a dormant state.
In this embodiment, the domain controller further includes an energy storage module (e.g., a capacitive load), and when the domain controller works normally, and the control module detects that the signal state of the wake-up signal meets the second preset condition, the control module controls the plurality of chip modules to power down. Under the condition that the plurality of chip modules are powered off, the control module controls the energy storage module in the domain controller to discharge, namely, the domain controller discharges the system, for example, the control module controls the discharge circuit to discharge the capacitive load through the power resistor, the control module detects the voltage of the capacitive load in real time, and the discharge is completed when the voltage is lower than the limit value. When the energy storage module finishes discharging, namely the domain controller finishes discharging of the system, the domain controller is confirmed to finish power off integrally, at the moment, the control module enters a dormant state to wake up the domain controller when a wake-up signal is at a high level next time, and then the plurality of chip modules are controlled to finish power on next time through the method.
Embodiments of a second aspect of the present invention provide a power-on and power-off control device for a domain controller. The domain controller comprises a control module and a plurality of chip modules connected with the control module, the control module can be connected with the power supply module, and the power-on and power-off control device of the domain controller is suitable for the control module. As shown in fig. 5, in some embodiments of the present invention, a domain controller power-on and power-off control apparatus 600 is provided, including:
a detecting unit 602, configured to detect a signal state of the wake-up signal;
the control unit 604 is configured to control the power supply module to supply power to the control module based on that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized; and completing power-on based on the control module, and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller.
The power-on and power-off control device 600 of the domain controller provided in this embodiment is suitable for a control module, where the control module is a control module of the domain controller, and the control module can control a plurality of chip modules to work. In particular, the control module may be a microcontroller module in the domain controller, i.e. an MCU of the domain controller.
In the power-on and power-off control apparatus 600 of the domain controller according to this embodiment, the detection unit 602 detects a signal state of the wake-up signal, and when the signal state of the wake-up signal meets a first preset condition, the control unit 604 controls the power supply module to supply power to the control module, so that the control module is powered on and completes an initialization operation, and when the control module completes the power-on, the control unit 604 controls the other modules (i.e., a plurality of chip modules) in the domain controller to be powered on sequentially according to a preset power-on timing sequence. Therefore, the normal electrification of the domain controller is ensured by setting the power-on and power-off flow of the domain controller and controlling the power supply time sequence of other chip modules in the domain controller through the control module, so that the domain controller can be started normally.
The power supply module is used for supplying power to the control module, and the power supply module is a power supply module in the domain controller, or the power supply module is arranged outside the domain controller and is connected with the control module through a power line so as to supply power to the control module. The position and form of the power supply module can be selected according to actual conditions, and are not limited specifically herein.
Further, the wake-up signal is specifically a key signal, and the on-off state of the key is determined by detecting the signal state of the wake-up signal, so that each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the first preset condition is that the wake-up signal is at a high level, that is, the key is in an on state. The control module starts to be in a sleep state, and when the detection unit 602 detects that the key is in an on state, it is determined that the domain controller is in a to-be-started state, at this time, the control module switches from the sleep state to a working state, performs operations such as power-on and initialization, and controls the plurality of chip modules to be powered on after power-on is completed. And after the plurality of chip modules are powered on, determining that the domain controller is powered on, namely determining that the domain controller is in a normal working state.
Further, the plurality of chip modules include modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. Specifically, data interaction is performed between the SOC1 and the SOC2 through PCIE, data interaction is performed between the MCU and the SOC1 and between the MCU and the SOC2 through SPI or ethernet, data interaction is performed between the FPGA and the SOC1, between the FPGA and the SOC2, and between the FPGA and the MCU through SPI or ethernet, and interaction is performed through lans switch for ethernet communication.
Furthermore, the MCU is connected to one end of a plurality of power lines, and the other end of the plurality of power lines is connected to the modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA, respectively, so as to supply power to the modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. That is, the MCU corresponds to a power supply of modules such as SOC1, SOC2, PCIE, LANSwitch, and FPGA. Namely, the control module is equivalent to the power supply of a plurality of chip modules, and the control module is powered on and powered off through other modules in a plurality of power cord control domain controllers, so that the control domain controller is wholly powered on and powered off to ensure that the normal starting cover of the domain controller is closed and closed.
In summary, in the power-on and power-off control apparatus 600 for the domain controller according to this embodiment, when the detection unit 602 detects that the state of the wake-up signal meets the first preset condition, it is determined that the domain controller is in a state to be started, the control module switches from a sleep state to a working state, and performs operations such as power-on and initialization, and after the control module completes power-on, the control unit 604 controls the plurality of chip modules to sequentially power on according to a preset power-on timing sequence. Therefore, the power-on and power-off process of the domain controller is formulated, other chip modules in the domain controller are controlled to be powered on through the control module, and then the domain controller is controlled to be powered on integrally, so that the normal power-on of the domain controller is ensured, and the domain controller can be started normally.
In some embodiments of the present invention, further, the control unit 604 is further configured to: and controlling the plurality of chip modules to be powered off based on the condition that the signal state of the wake-up signal accords with a second preset condition.
In this embodiment, when the domain controller operates normally, the detection unit 602 detects a signal state of the wake-up signal, and when the signal state of the wake-up signal meets a second preset condition, the control unit 604 controls the plurality of chip modules to power down, so that the domain controller is powered down as a whole. Therefore, the control module controls other chip modules in the domain controller to be powered off, and normal power off of the domain controller is guaranteed, so that the domain controller can be normally closed.
The wake-up signal is a key signal, the on-off state of the key is judged by detecting the signal state of the wake-up signal, and then each chip module is controlled to be powered on and powered off according to the on-off state of the key.
Specifically, the second preset condition is that the wake-up signal is at a low level, that is, the key is in the off state. Under the condition that the domain controller works normally, when the control module detects that the key is in the closing state, the domain controller is determined to be in the state to be closed, and at the moment, the control module controls the chip modules to be powered off.
In addition, when the domain controller is not started, the domain controller is in a closed state, and the control module is in a dormant state. At this time, when the control module detects that the signal state of the wake-up signal meets a second preset condition, that is, the key is in the off state, the control module keeps the sleep state and does not perform any action, that is, the domain controller keeps the off state.
In some embodiments of the present invention, further, the control unit 604 may specifically be further configured to: sending a first control instruction to the plurality of chip modules, wherein the first control instruction is used for controlling the plurality of chip modules to perform data storage operation; and finishing data storage operation based on the plurality of chip modules, and controlling the plurality of chip modules to be powered off.
In some embodiments of the present invention, further, the control unit 604 may be further configured to: the energy storage module is controlled to discharge electricity based on the fact that the plurality of chip modules complete power-off; and the control module enters a dormant state based on the energy storage module completing discharging.
An embodiment of a third aspect of the invention provides a readable storage medium. In this embodiment, a readable storage medium is proposed, on which a program or instructions are stored, which when executed by a processor implement the steps of the domain controller power-up and power-down control method in any of the above embodiments.
The present embodiment provides a readable storage medium, on which a program or instructions are stored, and the program or instructions, when executed by a processor, implement the steps of the domain controller power-up and power-down control method in any of the above embodiments. Therefore, the readable storage medium proposed in this embodiment has all the benefits of the domain controller power-on and power-off control method in any of the above embodiments, and is not described herein again.
In particular embodiments, a readable storage medium may include any medium that is capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor Memory devices, Read-Only memories (ROMs), Random Access Memories (RAMs), Compact Disc Read-Only memories (CD-ROMs), flash memories, erasable ROMs (eroms), magnetic tapes, floppy disks, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, optical data storage devices, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
An embodiment of a fourth aspect of the present invention provides a domain controller. As shown in fig. 6, in some embodiments of the present invention, there is provided a domain controller 700 including: a control module 701 and a plurality of chip modules 702 connected to the control module 701, wherein the control module 701 can be connected to the power supply module 703, and the control module 701 includes the power-on/power-off control device 600 of any of the above-described embodiments.
The power supply module is used for supplying power to the control module, and the power supply module is a power supply module in the domain controller, or as shown in fig. 6, the power supply module 703 is outside the domain controller and is connected with the control module 701 through a power line to supply power to the control module 701. The position and form of the power supply module can be selected according to actual conditions, and are not particularly limited herein.
The domain controller 700 provided in this embodiment includes the domain controller power-on and power-off control apparatus 600 according to any of the above embodiments, and therefore, has all the advantages of the domain controller power-on and power-off control apparatus 600 according to any of the above embodiments, and details thereof are not repeated herein.
An embodiment of a fifth aspect of the invention provides an intelligent automobile. As shown in fig. 7, in some embodiments of the invention, there is provided a smart car 800 comprising: the domain controller 700 defined in the above embodiments. Therefore, the intelligent vehicle 800 has all the advantages of the domain controller 700 defined in the above embodiments, and will not be described herein again.
In the description herein, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A domain controller power-on and power-off control method, wherein the domain controller includes a control module and a plurality of chip modules connected to the control module, the control module is connectable to a power supply module, the domain controller power-on and power-off control method is applied to the control module, and the domain controller power-on and power-off control method includes:
detecting a signal state of a wake-up signal;
controlling the power supply module to supply power to the control module based on the fact that the signal state of the wake-up signal meets a first preset condition, so that the control module is powered on and initialized;
and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence based on the completion of the power-on of the control module, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller.
2. The domain controller power-on and power-off control method according to claim 1, wherein after the detecting the signal state of the wake-up signal, the domain controller power-on and power-off control method further comprises:
and controlling the plurality of chip modules to be powered off based on the fact that the signal state of the wake-up signal meets a second preset condition.
3. The domain controller power-on and power-off control method according to claim 2, wherein the controlling the plurality of chip modules to power off specifically comprises:
sending a first control instruction to the plurality of chip modules, wherein the first control instruction is used for controlling the plurality of chip modules to perform data storage operation;
and controlling the plurality of chip modules to be powered off based on the completion of the data storage operation by the plurality of chip modules.
4. The domain controller power-on and power-off control method according to claim 2 or 3, wherein the domain controller further comprises an energy storage module, and after the controlling the plurality of chip modules to power off, the domain controller power-on and power-off control method further comprises:
controlling the energy storage module to discharge based on the fact that the plurality of chip modules finish power-off;
and the control module enters a dormant state based on the energy storage module finishing discharging.
5. A domain controller power-on and power-off control apparatus, wherein the domain controller includes a control module and a plurality of chip modules connected to the control module, the control module is connectable to a power supply module, the domain controller power-on and power-off control apparatus is adapted to the control module, the domain controller power-on and power-off control apparatus includes:
the detection unit is used for detecting the signal state of the wake-up signal;
the control unit is used for controlling the power supply module to supply power to the control module based on the condition that the signal state of the wake-up signal meets a first preset condition so as to electrify and initialize the control module; and controlling the plurality of chip modules to be sequentially powered on according to a preset power-on time sequence based on the control module, wherein the power-on time sequence is set according to the characteristics of the plurality of chip modules in the domain controller.
6. The domain controller power-on and power-off control device according to claim 5, wherein the control unit is further configured to:
and controlling the plurality of chip modules to be powered off based on the fact that the signal state of the wake-up signal meets a second preset condition.
7. A domain controller power-on and power-off control apparatus according to claim 5, wherein said control unit is further adapted to:
controlling the energy storage module to discharge based on the fact that the plurality of chip modules finish power-off;
and the control module enters a dormant state based on the energy storage module finishing discharging.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the domain controller power-up and power-down control method according to any one of claims 1 to 4.
9. A domain controller, comprising: a control module and a plurality of chip modules connected with the control module, wherein the control module can be connected with a power supply module, and the control module comprises a domain controller power-on and power-off control device according to any one of claims 5 to 7.
10. An intelligent automobile, comprising:
the domain controller of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210134439.8A CN114537306A (en) | 2022-02-14 | 2022-02-14 | Domain controller, power-on and power-off control method and device thereof, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210134439.8A CN114537306A (en) | 2022-02-14 | 2022-02-14 | Domain controller, power-on and power-off control method and device thereof, and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114537306A true CN114537306A (en) | 2022-05-27 |
Family
ID=81675361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210134439.8A Pending CN114537306A (en) | 2022-02-14 | 2022-02-14 | Domain controller, power-on and power-off control method and device thereof, and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114537306A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116545247A (en) * | 2023-05-08 | 2023-08-04 | 浙江伊控动力系统有限公司 | Powering-on and powering-off method of xEV function integrated motor controller with timing wake-up function |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102019888A (en) * | 2009-09-10 | 2011-04-20 | 上海海马汽车研发有限公司 | Controller and control method of pure electric vehicle |
CN106004510A (en) * | 2016-07-15 | 2016-10-12 | 奇瑞汽车股份有限公司 | High-voltage and low-voltage power-on/off time sequence control method of pure electric vehicle |
CN106991056A (en) * | 2015-12-10 | 2017-07-28 | Arm 有限公司 | For the system address map in chip with chip chamber Hash |
CN109249897A (en) * | 2017-07-13 | 2019-01-22 | 维特汽车有限责任公司 | System including door, door lock and radio key |
CN113093619A (en) * | 2021-04-06 | 2021-07-09 | 无锡海斯凯尔医学技术有限公司 | Method and device for controlling power-on and power-off time sequence, chip and storage medium |
CN113459827A (en) * | 2021-05-27 | 2021-10-01 | 浙江伊控动力系统有限公司 | Power-on and power-off method of function integrated type motor controller |
-
2022
- 2022-02-14 CN CN202210134439.8A patent/CN114537306A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102019888A (en) * | 2009-09-10 | 2011-04-20 | 上海海马汽车研发有限公司 | Controller and control method of pure electric vehicle |
CN106991056A (en) * | 2015-12-10 | 2017-07-28 | Arm 有限公司 | For the system address map in chip with chip chamber Hash |
CN106004510A (en) * | 2016-07-15 | 2016-10-12 | 奇瑞汽车股份有限公司 | High-voltage and low-voltage power-on/off time sequence control method of pure electric vehicle |
CN109249897A (en) * | 2017-07-13 | 2019-01-22 | 维特汽车有限责任公司 | System including door, door lock and radio key |
CN113093619A (en) * | 2021-04-06 | 2021-07-09 | 无锡海斯凯尔医学技术有限公司 | Method and device for controlling power-on and power-off time sequence, chip and storage medium |
CN113459827A (en) * | 2021-05-27 | 2021-10-01 | 浙江伊控动力系统有限公司 | Power-on and power-off method of function integrated type motor controller |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116545247A (en) * | 2023-05-08 | 2023-08-04 | 浙江伊控动力系统有限公司 | Powering-on and powering-off method of xEV function integrated motor controller with timing wake-up function |
CN116545247B (en) * | 2023-05-08 | 2024-04-09 | 浙江伊控动力系统有限公司 | Powering-on and powering-off method of xEV function integrated motor controller with timing wake-up function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958106B (en) | Electric automobile controller dormancy awakening system and control method | |
JP3217730B2 (en) | Apparatus for bus interconnected operation of electronic devices having a microcontroller and uses thereof | |
CN103034509B (en) | Mobile unit | |
CN102857255B (en) | Communication network system | |
US20110022826A1 (en) | Power management apparatus and methods | |
CN105711520A (en) | Power management circuit of vehicle control unit and control method thereof | |
CN104071102B (en) | The twin voltage electric control method of automobile and control system and automobile | |
CN114537306A (en) | Domain controller, power-on and power-off control method and device thereof, and readable storage medium | |
CN102099762B (en) | System and method for power management | |
CN115202681A (en) | Vehicle-mounted software updating method and vehicle-mounted system | |
CN113885516A (en) | Automatic driving domain controller of electric tractor and control method thereof | |
CN113765679A (en) | Computer network awakening method and system | |
CN115139937B (en) | Power-on and power-off time sequence control method of vehicle-mounted controller and vehicle-mounted controller | |
JP2004503135A (en) | Method of operating equipment connected to vehicle communication network | |
US9815423B2 (en) | Motor vehicle state control system and method | |
CN111376245B (en) | Steering engine control method and system and robot | |
US20140214233A1 (en) | In-vehicle ecu | |
CN114123423B (en) | Control circuit and control method for movable body with multiple driving modes | |
JP2003196623A (en) | Voltage detecting circuit control device, memory control device having the same, and memory card having the same | |
CN113771780A (en) | Method for TBOX to enter enhanced networking dormancy and TBOX | |
CN113696732A (en) | Low-voltage power-down control method and device and electric automobile | |
US6269444B1 (en) | Operational state switching apparatus and method for network computers | |
CN115891879B (en) | Power supply method and device for powered-down whole vehicle | |
US20190155366A1 (en) | Current-saving storage concept for electronic modules in a motor vehicle (as amended) | |
CN118488540B (en) | Management system based on AUTOSAR vehicle-mounted network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220527 |
|
RJ01 | Rejection of invention patent application after publication |