Vehicle power on and off control architecture, control method, vehicle and storage medium
By independent of the high-voltage module and introducing the power coordination module, the problems of huge and high coupling in the existing technology are solved, efficient vehicle power control and maintenance are achieved, and the scalability of the architecture is improved.
Patent Information
- Application Number
- CN202210018319.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-01-07
AI Technical Summary
In the prior art, the state machine of the vehicle up and down structure is huge and has high coupling, resulting in difficulty in maintenance and expansion.
By independent of each high-voltage module from the huge state machine and introducing a power coordination module, the status of the high-voltage module and the vehicle status display module are unified to achieve vehicle status updates.
The coupling between the high-voltage module and the vehicle status display module is reduced, the independent control of the high-voltage module is realized, the later maintenance costs are reduced, and the scalability of the vehicle's up-and-down power architecture is improved.
Smart Images

Figure CN115122922B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle power on and off control architecture, a control method, a vehicle and a storage medium. Background Art
[0002] At present, the upper and lower power architecture of new energy vehicles integrates all controlled high-voltage components into a huge state machine system. The high-voltage components may include a battery management system (BMS), a microcontroller unit (MCU), and a direct current-direct current (DCDC) converter, etc. Whenever the state machine jumps to a new state, the state machine sends the value that each high-voltage component needs to receive, and then each high-voltage component feeds back the signal value to the state machine.
[0003] However, the state machine under this strategy is large, redundant and highly coupled. When maintaining the power-on and power-off functions in the later stage, sometimes only a small change requires the modification of the entire large state machine, which is not conducive to the later maintenance and development of new functions. Summary of the invention
[0004] The embodiments of the present invention provide a vehicle power-on and power-off control architecture, a control method, a vehicle and a storage medium to solve the problem in the prior art that the state machine is large and highly coupled, resulting in the state machine being difficult to maintain and expand.
[0005] In a first aspect, an embodiment of the present invention provides a vehicle power-on and power-off control architecture, including: a vehicle status display module and a power coordination module;
[0006] The vehicle status display module is connected to the power coordination module, and is used to communicate with the power coordination module and display the overall status of the vehicle according to the status of the power coordination module;
[0007] The power coordination module is also respectively connected to each high-voltage module in the vehicle, for communicating with each high-voltage module respectively, and updating the current first coordination state of the power coordination module to the corresponding second coordination state according to the different states of the vehicle when powered on and off displayed by each high-voltage module, and coordinating the vehicle status display module to update the current first vehicle status of the vehicle status display module to the corresponding second vehicle status according to the second coordination state.
[0008] In a possible implementation, each high-voltage module includes each high-voltage device state machine and a corresponding high-voltage device;
[0009] Each of the high-voltage equipment state machines is respectively connected to the power coordination module and to the corresponding high-voltage equipment, and is used to communicate with the power coordination module and control the corresponding high-voltage equipment according to the communication information.
[0010] In a possible implementation, the vehicle status display module includes a vehicle status machine;
[0011] The vehicle state machine is connected to the power coordination module.
[0012] In a second aspect, an embodiment of the present invention provides a method for controlling power on and off of a vehicle, including: adopting the control architecture for power on and off of a vehicle described in any one of the first aspects above, the method for controlling power on and off of a vehicle includes:
[0013] Receive request information, and forward the request information to each high-voltage module in the vehicle; wherein each high-voltage module performs a corresponding operation according to the request information, and the request information includes a corresponding state requested for the high-voltage module to enter;
[0014] Receive the current status fed back by each high-voltage module, and update the current first coordination state of the power coordination module to the corresponding second coordination state according to the current status fed back by all high-voltage modules, wherein the current state is the current state of the high-voltage module when the vehicle is powered on or off;
[0015] The second coordination state is sent to the vehicle state display module; wherein the vehicle state display module updates the current first vehicle state of the vehicle state display module to the corresponding second vehicle state according to the second coordination state.
[0016] In a possible implementation, updating the current first coordination state of the power coordination module to the corresponding second coordination state according to the current states fed back by all high-voltage modules includes:
[0017] When the current states fed back by all high-voltage modules are consistent with the requested states included in the corresponding request information, the current first coordination state of the power coordination module is updated to the corresponding second coordination state.
[0018] In a possible implementation, updating the current first coordination state of the power coordination module to the corresponding second coordination state according to the current states fed back by all high-voltage modules includes:
[0019] When any current state among the current states fed back by all the high-voltage modules is inconsistent with the request state included in the corresponding request information, the current first coordination state of the power coordination module is maintained.
[0020] In a possible implementation, when the request information is the low-voltage power-on information of the vehicle key, the current states fed back by all high-voltage modules are all in the to-be-activated state, then the first coordination state of the power coordination module is the off state, the second coordination state is the to-be-activated state, the first vehicle state of the vehicle state machine display module is the dormant state, and the second vehicle state is the to-be-activated state;
[0021] When the request information is high-voltage power-on information, the current states fed back by all high-voltage modules are all awake states, then the first coordination state of the power coordination module is the waiting state, the second coordination state is the awake state, the first vehicle state of the vehicle state machine display module is the waiting state, and the second vehicle state is the awake state;
[0022] When the request information is high voltage power-off or low voltage power-off information, the current status fed back by all high voltage modules is the power-off status, then the first coordination status of the power coordination module is the high voltage preparation status, and the second coordination status is the power-off status, and the first vehicle status of the vehicle status machine display module is the high voltage preparation status, and the second vehicle status is the power-off status.
[0023] In a possible implementation, it also includes: when the state of each high-voltage equipment state machine is a high-voltage power-off state, obtaining a bus current value in the vehicle, and when the bus current value is less than a preset value, sending a power-off completion signal to the vehicle status display module; wherein the vehicle status display module updates the current power-off state to a sleep state.
[0024] In a third aspect, an embodiment of the present invention provides a vehicle, comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for controlling power on and off of the vehicle as described in the first aspect or any possible implementation of the first aspect are implemented.
[0025] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle power-on and power-off control method as described in the first aspect or any possible implementation method of the first aspect are implemented.
[0026] The embodiments of the present invention provide a vehicle power-on and power-off control architecture, a control method, a vehicle and a storage medium. The embodiments of the present invention separate each high-voltage module from the huge state machine in the prior art, add a power coordination module, coordinate the states of each high-voltage module and the vehicle status display module, and realize the update of the vehicle status. The complex state jump caused by the direct communication between each high-voltage module and the vehicle status display module in the prior art is avoided, and the coupling between each high-voltage module and the vehicle status display module is reduced, thereby realizing independent control of the high-voltage module, effectively reducing the subsequent maintenance cost, and improving the scalability of the vehicle power-on and power-off architecture. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 is a schematic diagram of a vehicle power-on and power-off control architecture provided by an embodiment of the present invention;
[0029] Figure 2 is a schematic diagram of a vehicle power-on and power-off control architecture provided by another embodiment of the present invention;
[0030] Figure 3 is a flow chart of the implementation of the vehicle power on and off control method provided by an embodiment of the present invention;
[0031] Figure 4 It is a schematic diagram of the relationship between the displayed states of the vehicle state machine, the power coordination unit and each high-voltage equipment state machine provided by an embodiment of the present invention;
[0032] Figure 5 is a schematic diagram of the structure of a vehicle power on and off control device provided by an embodiment of the present invention;
[0033] Figure 6 is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0035] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0036] Figure 1 A schematic diagram of a vehicle power-on and power-off control architecture provided by an embodiment of the present invention may include: a vehicle status display module 10 and a power coordination module 20;
[0037] The vehicle status display module 10 is connected to the power coordination module 20, and is used to communicate with the power coordination module 20 and display the overall status of the vehicle according to the status of the power coordination module 20;
[0038] The power coordination module 20 is also connected to each high-voltage module 30 in the vehicle, respectively, for communicating with each high-voltage module 30, and updating the current first coordination state of the power coordination module to the corresponding second coordination state according to the different states of the vehicle when powered on and off displayed by each high-voltage module, and coordinating the vehicle status display module 10 to update the current first vehicle status of the vehicle status display module to the corresponding second vehicle status according to the second coordination state.
[0039] The power coordination module 20 serves as an intermediary for communication between the vehicle status display module 10 and each high-voltage module 30. It monitors the actual status or next status of each high-voltage module 30, summarizes the status of each high-voltage module, updates its own first coordination status through the summarized status, and feeds back its own updated second coordination status to the vehicle status display module 10, so that the vehicle status display module 10 can update the status of the entire vehicle and complete the vehicle's power on and off process.
[0040] like Figure 2 As shown, the vehicle status display module 10 includes a vehicle status machine, which is connected to the power coordination module. The vehicle status machine displays the vehicle status at the vehicle level, that is, the overall status of the vehicle, such as the vehicle sleep state, initialization state, wake-up state, high-voltage preparation state, driving state and power-off state.
[0041] like Figure 2 As shown, each high-voltage module 30 includes each high-voltage device state machine 301 and a corresponding high-voltage device 302;
[0042] Each high-voltage device state machine 301 is connected to the power coordination module 20, and is connected to the corresponding high-voltage device 302, for communicating with the power coordination module 20 and controlling the corresponding high-voltage device 302. That is, each high-voltage device state machine 301 is only connected to the corresponding high-voltage device 302 for signal interaction and status feedback. The power coordination module 20 is connected to each high-voltage device state machine 301, obtains the status of each high-voltage device state machine 301, and summarizes the status of each high-voltage device state machine 301 to form a unified system status and feedback it to the vehicle status display module 10. After receiving the unified system status of the power coordination module 20, the vehicle status display module 10 updates the status of the entire vehicle.
[0043] The high voltage device state machine 301 at least includes: a high voltage battery state machine, a DCDC converter state machine, a charger state machine and a motor state machine, such as Figure 2 As shown. The high-voltage device corresponding to the high-voltage battery state machine is the device in the BMS, the high-voltage device corresponding to the DCDC converter state machine is the DCDC converter, which is a converter that converts high-voltage DC to low-voltage DC, the high-voltage device corresponding to the charger state machine is the device in the on-board charger (OBC), and the high-voltage device corresponding to the motor state machine is the device in the MCU, which can be divided into a first motor state machine and a second motor state machine, which respectively include a front-drive motor, a rear-drive motor, or a four-drive motor.
[0044] Since the high-voltage equipment state machine 301 is only connected to the power coordination module 20, when a certain high-voltage equipment state machine needs to be modified, after the high-voltage equipment state machine is modified, only the power coordination module 20 needs to be modified, and no other high-voltage equipment state machines or vehicle state machines need to be modified. Compared with the prior art that requires the entire state machine to be modified, this embodiment saves time and effort, reduces maintenance workload and reduces maintenance error rate. When a new high-voltage control component needs to be introduced, only a separate control strategy needs to be added, and the corresponding power coordination module 20 needs to be modified, and connected to the newly added high-voltage equipment state machine for communication. The upgrade can be completed without changing the original high-voltage equipment state machines. For example, to increase the control of hydrogen energy vehicles, only the hydrogen state machine needs to be added to achieve overall expansion. Thereby, changes to the vehicle state machine display module can be avoided.
[0045] In the above-mentioned vehicle power-on and power-off control architecture, the vehicle status machine display module 10 does not directly participate in the control of each high-voltage device but controls each high-voltage module through the power coordination module, thereby avoiding the complexity of state jumps caused by each high-voltage module directly communicating with the vehicle status display module in the prior art, and reducing the coupling between each high-voltage module and the vehicle status display module. Each high-voltage device state machine and each high-voltage device are independently controlled, avoiding mutual influence and mutual coupling between high-voltage devices, thereby realizing independent control of high-voltage devices, effectively reducing later maintenance costs, and improving the scalability of the power-on and power-off architecture.
[0046] Figure 3 The following is a flow chart of a method for controlling vehicle power on and off provided by an embodiment of the present invention, wherein the execution subject is a power coordination module, as described in detail as follows:
[0047] Step 301, receiving request information, and forwarding the request information to corresponding high-voltage modules in the vehicle.
[0048] Among them, each high-voltage module performs corresponding operations according to the request information, and the request information includes the corresponding state requested for the high-voltage module to enter. The request information can be the signal sent by the received vehicle control unit (VCU) and the signal sent by each high-voltage module. For example, the driver inserts the vehicle key into the keyhole and turns it to the ON position. At this time, the VCU detects the ON signal of the vehicle key and sends it to the power coordination module. The ON signal of the vehicle key is the low-voltage power-on signal. When the key is turned to the START position, the VCU detects the START signal of the vehicle key and sends it to the power coordination module. The START signal of the vehicle key is the high-voltage power-on information; when the key is turned to the OFF position, the VCU detects the OFF signal of the vehicle key and sends it to the power coordination module. The OFF signal of the vehicle key is the power-off information, and the power-off information here can include high-voltage power-off information or low-voltage power-off information.
[0049] The high voltage module includes each high voltage device state machine and the corresponding high voltage device; see Figure 2In the embodiment, each high-voltage device state machine is respectively connected to the power coordination module and connected to the corresponding high-voltage device, so that after the power coordination module receives the above request information, it forwards the request information to each high-voltage module in the vehicle, specifically, forwards it to each high-voltage device state machine, so that the high-voltage device state machine controls the corresponding high-voltage device to perform corresponding operations according to the request information. For example, after the power coordination module forwards the low-voltage power-on information to each high-voltage device state machine, each high-voltage device state machine requests the corresponding high-voltage device to be activated according to the request information, and each high-voltage device enters the waiting to be activated state. For another example, after the power coordination module forwards the high-voltage power-on information to each high-voltage device state machine, each high-voltage device state machine requests the corresponding high-voltage device to wake up according to the request information, and each high-voltage device enters the wake-up state. For another example, after the power coordination module forwards the power-off information to each high-voltage device state machine, each high-voltage device state machine requests the corresponding high-voltage device to power off according to the request information, and each high-voltage device enters the power-off state.
[0050] Step 302, receiving the current status feedback from each high-voltage module, and updating the current first coordination state of the power coordination module to the corresponding second coordination state according to the current status feedback from all high-voltage modules. The current state is the current state of the high-voltage module when the vehicle is powered on and off.
[0051] The power coordination module receives the current status fed back by each high-voltage module in real time. Specifically, it receives the current status of the high-voltage equipment fed back by each high-voltage equipment state machine in real time, so that the power coordination module updates its first coordination state according to the status of the high-voltage equipment state machine. The purpose of the power coordination module updating the current first coordination state to the corresponding second coordination state is that the vehicle status display module needs to display the status of the whole vehicle according to the real-time updated status of the high-voltage equipment. Therefore, the power coordination module updates its first coordination state according to the status of the high-voltage equipment state machine, so as to send its updated second coordination state to the vehicle status display module. In other words, the second coordination state updated by the power coordination module here represents the current status of each high-voltage equipment state machine, so that each high-voltage equipment state machine does not need to feed back its own status to the vehicle status display module one by one, thereby reducing the workload of the vehicle status display module.
[0052] Here, all high-voltage modules refer to the high-voltage modules that receive the request information. There are two situations in the current state of the feedback, one is the state after the operation is successful according to the request information, and the other is the state after the operation fails according to the request information. For example, in step 301, when the request information is high-voltage power-on information, when the current state fed back by the high-voltage device state machine is the awakening state, it means that each high-voltage device has been successfully operated. When a high-voltage device fails to wake up successfully, the awakening state will not be fed back to the corresponding high-voltage device state machine. Therefore, the power coordination module will perform different processing according to the two different situations.
[0053] Specifically, when the current status fed back by all high-voltage modules is consistent with the status of the request included in the corresponding request information, the current first coordination state of the power coordination module is updated to the corresponding second coordination state. For example, if the current status fed back by all high-voltage modules is the waiting activation state, the power coordination module updates its first coordination state from the OFF state to the waiting activation state. For another example, if the current status fed back by all high-voltage modules is the awakening state, the power coordination module updates its first coordination state from the waiting activation state to the awakening state. For another example, if the current status fed back by all high-voltage modules is the power-off state, the power coordination module updates its state from the high-voltage ready state to the power-off state.
[0054] Specifically, when any of the current states fed back by all high-voltage modules is inconsistent with the request state included in the corresponding request information, the current first coordination state of the power coordination module is maintained. For example, if the current state fed back by one of the high-voltage modules is a power-off state, and the current states fed back by the remaining high-voltage modules are all waiting to be activated, the power coordination module maintains its current first coordination state, i.e., the OFF state.
[0055] Step 303: Send the second coordination status to the vehicle status display module.
[0056] Among them, the vehicle status display module updates the current first vehicle status of the vehicle status display module to the corresponding second vehicle status according to the second coordination status updated by the power coordination module.
[0057] The vehicle status display module is updated according to the status of the power coordination module in order to display the current status of the vehicle. For example, when the status of the power coordination module is in the waiting state, when the vehicle status display module obtains the waiting state of the power coordination module, it updates its first vehicle status to the waiting state. When the status of the power coordination module is in the awakened state, when the vehicle status display module obtains the awakened state of the power coordination module, it updates its first vehicle status to the awakened state. When the status of the power coordination module is in the power-off state, when the vehicle status display module obtains the power-off state of the power coordination module, it updates its first vehicle status to the power-off state.
[0058] It should be noted that when the state of each high-voltage equipment state machine is in the power-off state, the power coordination module obtains the current bus current value. If the current bus current value is less than the preset value, the power coordination module sends a power-off completion signal to the vehicle status display module, and the vehicle status display module updates the current power-off state to the sleep state. The preset value here can be 5A.
[0059] Specifically, the high-voltage device state machine may include a high-voltage battery state machine, a DCDC converter state machine, a charger state machine, and a motor state machine, which correspond to the high-voltage battery system, the motor control system, the DCDC control system, and the OBC control system, respectively. The high-voltage device corresponding to the high-voltage battery state machine is the device in the BMS, the high-voltage device corresponding to the DCDC converter state machine is the DCDC converter, the high-voltage device corresponding to the charger state machine is the device in the on-board charger OBC, and the high-voltage device corresponding to the motor state machine is the device in the MCU.
[0060] The states of each high-voltage device state machine may include an initialization state, a start up state, a permission state, an HV ready state, a drive state, and a shut down state.
[0061] Based on the process of powering on and off the vehicle, the following specifically describes the state change process of each high-voltage device state machine, the power coordination module, and the vehicle state machine. The change of the state of each high-voltage device state machine is caused by the high-voltage device executing the operation corresponding to the corresponding request information. The change of the state of the power coordination module is obtained by updating the state when the current state of each high-voltage device state machine is consistent with the request state included in the request information. The state change of the vehicle state machine is due to the change of the state of the power coordination module, which displays the state of the entire vehicle.
[0062] (1) In this embodiment, before the vehicle is powered on, the entire vehicle is in a dormant state, and the vehicle state machine displays the Sleep state. Before the vehicle is powered on, when the VCU detects the ON signal of the vehicle key, the ON signal of the vehicle key is sent to the power coordination module. The power coordination module forwards the ON signal of the vehicle key to the high-voltage battery state machine, the DCDC converter state machine, the motor state machine and the charger state machine. The high-voltage battery state machine, the DCDC converter state machine, the motor state machine and the charger state machine control the activation of the corresponding devices in the BMS, the DCDC converter, the MCU and the OBC according to this signal. After successful activation, each high-voltage device feeds back its current state to the corresponding high-voltage device state machine, that is, the waiting activation state. The high-voltage battery state machine, the DCDC converter state machine, the motor state machine and the charger state machine display the waiting activation state. The power coordination module obtains the current state of each high-voltage device state machine, confirms that it is consistent with the low-voltage power-on state requested by the request information, and updates its own state to the waiting activation state, and sends the current waiting activation state to the vehicle state machine. The vehicle state machine updates the dormant state to the waiting activation state, indicating that the entire vehicle is currently in the waiting activation state, and the low-voltage power-on of the vehicle is completed. That is to say, at this time, the first coordination state of the power coordination module is the off state, the second coordination state is the waiting state, the first vehicle state of the vehicle state machine display module is the dormant state, and the second vehicle state is the waiting state. The waiting state can be represented by initialization, see Figure 4 A schematic diagram showing the relationship between the displayed states of the vehicle state machine, the power coordination module and the state machines of each high-voltage device.
[0063] (2) When the driver needs to start the vehicle, he turns the vehicle key to the START position, triggering a high-voltage power-on request. When the VCU detects this high-voltage power-on request information, it determines that the driver intends to start the vehicle, and sends a high-voltage power-on request information to the power coordination module. The power coordination module forwards this information to each high-voltage device state machine. Each high-voltage device state machine wakes up the corresponding high-voltage device. After the high-voltage device wakes up, it feeds back that the corresponding high-voltage device state machine is currently in the wake-up state. After the power coordination module obtains the wake-up state of each high-voltage device state machine, it updates its own state to the wake-up state and notifies the vehicle state machine. The vehicle state machine updates its own state to the wake-up state. In other words, at this time, the first coordination state of the power coordination module is the waiting activation state, and the second coordination state is the wake-up state. The first vehicle state of the vehicle state machine display module is the waiting activation state, and the second vehicle state is the wake-up state. The vehicle enters the wake-up state, and the wake-up state is represented by start up.
[0064] In the awakened state, each high-voltage device state machine requests the corresponding high-voltage device to enter the pre-high-voltage preparation state, and this request information will also be sent to the power coordination module. Specifically, the high-voltage battery state machine requests the BMS to enter the standby state when in the awakened state, where standby can be understood as the pre-charge preparation state. The motor state machine requests the MCU to enter the precharge state when in the awakened state, where precharge can be understood as the pre-charge preparation state. The DCDC converter state machine requests the DCDC converter to enter the standby state when in the awakened state. When the state requested by each high-voltage device state machine counted by the power coordination module is consistent with the state feedback by each high-voltage device, each high-voltage device state machine enters the permission state, and Permission can be understood as waiting for permission to enter the high-voltage state. After the power coordination module receives the permission state signal from each high-voltage device state machine, it enters the pre-charge release state, and sends the information of entering the prechargerelease state to the vehicle state machine. At this time, the vehicle state machine maintains the Start up state.
[0065] After the high-voltage battery state machine receives the precharge release status information sent by the power coordination module, it requests the BMS to enter the high-voltage ready state, that is, the HV ready state. After the motor state machine receives the ready state from the BMS, it enters the high-voltage ready state, that is, the HV ready state. The DCDC converter state machine also enters the HV ready state, see Figure 4 .
[0066] The operations performed by the high voltage on the BMS include: first closing the main negative contactor, then closing the pre-charge contactor to start pre-charging, when the pre-charge voltage reaches the preset limit, closing the main positive contactor, and finally disconnecting the pre-charge contactor. At this time, the high voltage power-on is completed and the HV ready state is fed back;
[0067] If the BMS does not meet the conditions for high voltage, it will not respond to the high voltage power-on request of the VCU forwarded by the power coordination module. If there is no feedback that the positive and negative poles of the main contactor have been closed within a period of time, it is considered that the high voltage power-on has failed, and the high voltage power-on failure is fed back to the high voltage equipment state machine, and the current state is still the permission state. At this time, the current state received by the power coordination module from the high voltage equipment state machine is inconsistent with the requested state, and the state is not updated. The VCU resends the high voltage power-on request information and re-executes the above process.
[0068] The motor state machine controls the MCU to enable, and the MCU completes power-on. The DCDC converter state machine controls the DCDC converter to enable, and the DCDC converter completes power-on.
[0069] Optionally, each high-voltage device state machine enters a high-voltage ready state, and the power coordination module collects the high-voltage ready state signal of each high-voltage state machine. When it is determined that the state of each high-voltage device is consistent with the state of the whole vehicle, it enters a high-voltage ready state and sends the high-voltage ready state to the vehicle state machine. The vehicle state machine enters a high-voltage ready state. At this time, the first coordination state of the power coordination module is the permission state, and the second coordination state is the high-voltage ready state. The first vehicle state of the vehicle state machine is the Start up state, and the second vehicle state is the high-voltage ready state. The high-voltage ready state can be represented as the HVready state, see Figure 4 .
[0070] (3) In the high-voltage standby state, the motor state machine controls the motor to enter the driving state according to the request of the vehicle's power system mode state machine. After the anti-theft system passes the detection, the power system mode state machine sends the request information of the driving state to the motor state machine through the power coordination module.
[0071] After the power coordination module collects the driving state signal of the motor state machine, it enters the driving state and sends the driving state to the vehicle state machine. The vehicle state machine enters the driving state. That is, at this time, the first coordination state of the power coordination module is the HV ready state, the second coordination state is the driving state, the first vehicle state of the vehicle state machine is the high voltage ready state, and the second vehicle state is the driving state. Figure 4 In the process, the motor state machine is in the Torque state, the power coordination module is in the Drive state, the vehicle state machine enters the Drive state, and the vehicle moves.
[0072] In one embodiment, in the high-voltage preparation state, when the VCU detects a charging gun connection signal, the power coordination module sends a charging request message to the charger state machine and the high-voltage battery state machine, the high-voltage battery state machine sends a charging request message to the BMS, the BMS controls the positive main contactor and the negative main contactor to close, the charger state machine sends a charging request message to the OBC, the OBC is enabled and starts charging. At this time, the motor state machine is in the pre-charge preparation state, and the DCDC converter state machine is in the enabled state.
[0073] The charger state machine and the high-voltage battery state machine enter the charging state, i.e., the charge state. When the power coordination module collects the charging state signal of the charger state machine, it enters the charging state and sends the charging state to the vehicle state machine. The vehicle state machine enters the charging state, and the vehicle can be charged. That is, at this time, the first coordination state of the power coordination module is the high-voltage rotor state, the second coordination state is the charging state, the first vehicle state of the vehicle state machine is the high-voltage preparation state, and the second vehicle state is the charging state.
[0074] The vehicle can be charged by slow charging or fast charging. After inserting the slow charging gun or fast charging gun, slow charging or fast charging can be performed. If the key position is switched during the charging process, the vehicle can still be charged by slow charging or fast charging. When the slow charging or fast charging gun is disconnected, charging can be restarted. Re-inserting the charging gun can continue charging.
[0075] (4) VCU detects the vehicle power-off information. At this time, the power-off can be low-voltage power-off or high-voltage power-off information, and the logic of the two is the same. VCU sends the power-off information to the power coordination module. The power coordination module sends the power-off information to the corresponding high-voltage equipment through each high-voltage equipment state machine. The BMS disconnects the main positive contactor and the main negative contactor in turn to complete the main contactor disconnection process, and feedbacks the main contactor status and BMS status to the high-voltage battery state machine. The BMS status includes: BMS_PosRlySts=Open, BMS_NegRlySts=Open, BMS_Sts=Shutdown. The MCU feedback status includes MCU_OperMod=standby, and then the VCU sends VCU_MCUModReq=Discharge, the MCU discharge is completed, and the MCU feedbacks MCU_OperMod=Afterrun, and the power-off is completed.
[0076] After the power coordination module receives the status of the high-voltage equipment fed back by each high-voltage equipment state machine, if they are all in the power-off state, it updates its own state to the power-off state, and sends the power-off state to the vehicle state machine, and the vehicle state machine updates its own state to the power-off state. At this time, the first coordination state of the power coordination module is the high-voltage preparation state, and the second coordination state is the power-off state. The first vehicle state of the vehicle state machine display module is the high-voltage preparation state, and the second vehicle state is the power-off state. The power-off state can be represented by Shut Down, and the vehicle is powered off.
[0077] (5) When the state of each high-voltage equipment state machine is in the power-off state, the power coordination module obtains the current bus current value. If the current bus current value is less than the preset value, it means that the loss of all high-voltage equipment is zero, and the current power-off state is updated to the sleep state. Here, the preset value can be 5A.
[0078] It should be noted that the change in the vehicle's power-on and power-off control architecture enables each high-voltage device to communicate directly with the corresponding high-voltage device state machine instead of the vehicle state machine. Instead, it communicates with the vehicle state machine through an added power coordination unit. However, it does not change the vehicle's power-on and power-off process, which is consistent with the vehicle's power-on and power-off process in the prior art, and the vehicle's power-on and power-off process will not be described in detail.
[0079] The above-mentioned vehicle power-on and power-off control method separates each high-voltage module from the huge state machine in the prior art, adds a power coordination module, coordinates the unification of the state of each high-voltage module and the vehicle status display module, realizes the update of the vehicle status, avoids the complexity of state jumps caused by the direct communication between each high-voltage module and the vehicle status display module in the prior art, and reduces the coupling between each high-voltage module and the vehicle status display module, realizes independent control of high voltage, effectively reduces the subsequent maintenance cost, and improves the scalability of the vehicle power-on and power-off architecture. And by coordinating the states of each high-voltage device state machine and the vehicle state machine through the added power coordination unit, when the state of each high-voltage device state machine is consistent with the requested state, the power coordination module is updated to a state consistent with the high-voltage device state machine, and the updated state is sent to the vehicle state machine, so that the whole vehicle state is updated, avoiding the state update of all high-voltage devices in the prior art directly communicating with the vehicle state machine, resulting in complex signal processing of the vehicle state machine, improving the smoothness of the vehicle power-on and power-off control, and simplifying the subsequent maintenance.
[0080] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0081] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0082] Figure 5 The schematic diagram of the structure of the vehicle power on and off control device provided by the embodiment of the present invention is shown, wherein the vehicle power on and off control device can be the power coordination unit described above. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, which is described in detail as follows:
[0083] like Figure 5 As shown, the vehicle power on and off control device includes: a receiving module 501 , a processing module 502 and a sending module 503 .
[0084] Receiving module 501, used for receiving request information;
[0085] The sending module 502 is used to forward the request information to the corresponding high-voltage modules in the vehicle; wherein each high-voltage module performs a corresponding operation according to the request information, and the request information includes the corresponding state that the high-voltage module is requested to enter;
[0086] The receiving module 501 is also used to receive the current status feedback from each high-voltage module;
[0087] The processing module 502 is used to update the current first coordination state of the power coordination module to the corresponding second coordination state according to the current state fed back by all high-voltage modules, where the current state is the current state of the high-voltage module when the vehicle is powered on or off;
[0088] The sending module 503 is used to send the second coordination state to the vehicle state display module; wherein the vehicle state display module updates the current first vehicle state of the vehicle state display module to the corresponding second vehicle state according to the second coordination state.
[0089] In one embodiment, the processing module 502 is further used to update the current first coordination state of the power coordination module to the corresponding second coordination state when the current states fed back by all high-voltage modules are consistent with the requested states included in the corresponding request information.
[0090] In one embodiment, the processing module 502 is further configured to maintain the current first coordination state of the power coordination module when any current state fed back by all high-voltage modules is inconsistent with the request state included in the corresponding request information.
[0091] In one embodiment, when the request information is the low-voltage power-on information of the vehicle key, the current states fed back by all high-voltage modules are all in the waiting-to-be-activated state, then the first coordination state of the power coordination module is the off state, the second coordination state is the waiting-to-be-activated state, the first vehicle state of the vehicle state machine display module is the dormant state, and the second vehicle state is the waiting-to-be-activated state;
[0092] When the request information is high voltage power-on information, the current states fed back by all high voltage modules are awake, then the first coordination state of the power coordination module is the waiting state, the second coordination state is the awake state, the first vehicle state of the vehicle state machine display module is the waiting state, and the second vehicle state is the awake state;
[0093] When the request information is high voltage power-off or low voltage power-off information, the current status fed back by all high voltage modules is the power-off status, then the first coordination status of the power coordination module is the high voltage preparation status, and the second coordination status is the power-off status, and the first vehicle status of the vehicle status machine display module is the high voltage preparation status, and the second vehicle status is the power-off status.
[0094] When the state of each high-voltage equipment state machine is a power-off state, the processing module 502 is also used to obtain the bus current value in the vehicle, and when the bus current value is less than a preset value, send a power-off completion signal to the vehicle status display module; wherein the vehicle status display module updates the current power-off state to a sleep state.
[0095] The above-mentioned vehicle power-on and power-off control device coordinates the states of each high-voltage device state machine and the vehicle state machine through an added power coordination unit. When the state of each high-voltage device state machine is consistent with the requested state, the processing module updates its own state to a state consistent with the high-voltage device state machine, and sends the updated state to the vehicle state machine, so that the state of the entire vehicle is updated. This avoids the situation in the prior art where the state updates of all high-voltage devices are directly communicated with the vehicle state machine, resulting in complex signal processing of the vehicle state machine, improves the smoothness of the vehicle's power-on and power-off control, and simplifies subsequent maintenance.
[0096] An embodiment of the present invention provides a vehicle, the vehicle comprising Figure 6 The electronic equipment shown. Figure 6 As shown, the electronic device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60. When the processor 60 executes the computer program 62, the steps in the above-mentioned vehicle power-on and power-off control method embodiments are implemented, such as Figure 3 Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 5 Functionality of modules / units 501 to 503 shown.
[0097] Exemplarily, the computer program 62 may be divided into one or more modules / units, one or more modules / units are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments that can implement specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 may be divided into Figure 5 Modules / units 501 to 503 are shown.
[0098] The electronic device 6 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that Figure 6 It is only an example of the electronic device 6 and does not constitute a limitation of the electronic device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0099] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0100] The memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit of the electronic device 6 and an external storage device. The memory 61 is used to store computer programs and other programs and data required by the electronic device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0101] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0102] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0103] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0104] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0105] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0107] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned vehicle power-on and power-off control method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0108] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for controlling power on and off of a vehicle, characterized in that: A vehicle power-on and power-off control architecture is adopted, and the control architecture includes: a vehicle status display module and a power coordination module; The vehicle status display module is connected to the power coordination module, and is used to communicate with the power coordination module and display the overall status of the vehicle according to the status of the power coordination module; The power coordination module is also connected to each high-voltage module in the vehicle, respectively, for communicating with each high-voltage module; Each of the high-voltage modules includes each high-voltage device state machine and a corresponding high-voltage device; each of the high-voltage device state machines is respectively connected to the power coordination module and to the corresponding high-voltage device, and is used to communicate with the power coordination module; The vehicle status display module includes a vehicle status machine; the vehicle status machine is connected to the power coordination module; The vehicle power-on and power-off control method comprises: The power coordination module receives the request information and forwards the request information to the corresponding high-voltage modules in the vehicle; wherein the high-voltage modules perform corresponding operations according to the request information, and the request information includes the corresponding state requested for the high-voltage modules to enter; The power coordination module receives the current status fed back by each high-voltage module, and updates the current first coordination status of the power coordination module to the corresponding second coordination status or maintains the current first coordination status of the power coordination module according to the current status fed back by all the high-voltage modules, wherein the current status is the current status of the high-voltage module when the vehicle is powered on or off; When the power coordination module updates the current first coordination state to the corresponding second coordination state, the power coordination module sends the second coordination state to the vehicle status display module; wherein the vehicle status display module updates the current first vehicle status of the vehicle status display module to the corresponding second vehicle status according to the second coordination state.
2. The vehicle power on and off control method according to claim 1, characterized in that: The updating of the current first coordination state of the power coordination module to the corresponding second coordination state according to the current states fed back by all high-voltage modules includes: When the current states fed back by all high-voltage modules are consistent with the requested states included in the corresponding request information, the current first coordination state of the power coordination module is updated to the corresponding second coordination state.
3. The vehicle power on and off control method according to claim 1, characterized in that: The updating of the current first coordination state of the power coordination module to the corresponding second coordination state according to the current states fed back by all high-voltage modules includes: When any current state among the current states fed back by all the high-voltage modules is inconsistent with the request state included in the corresponding request information, the current first coordination state of the power coordination module is maintained.
4. The vehicle power on and off control method according to claim 2, characterized in that: When the request information is the low-voltage power-on information of the vehicle key, the current states fed back by all high-voltage modules are all in the waiting-to-be-activated state, then the first coordination state of the power coordination module is the off state, the second coordination state is the waiting-to-be-activated state, the first vehicle state of the vehicle state display module is the dormant state, and the second vehicle state is the waiting-to-be-activated state; When the request information is high-voltage power-on information, the current states fed back by all high-voltage modules are all awake states, then the first coordination state of the power coordination module is the waiting state, the second coordination state is the awake state, the first vehicle state of the vehicle state display module is the waiting state, and the second vehicle state is the awake state; When the request information is high voltage power-off or low voltage power-off information, the current status fed back by all high voltage modules is the power-off status, then the first coordination status of the power coordination module is the high voltage preparation status, and the second coordination status is the power-off status, and the first vehicle status of the vehicle status display module is the high voltage preparation status, and the second vehicle status is the power-off status.
5. The vehicle power on and off control method according to claim 4, characterized in that: Also includes: When the state of each high-voltage equipment state machine is a power-off state, the bus current value in the vehicle is obtained, and when the bus current value is less than a preset value, a power-off completion signal is sent to the vehicle status display module; wherein the vehicle status display module updates the current power-off state to a sleep state.
6. A vehicle, comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the vehicle power on and off control method as described in any one of claims 1 to 5 are implemented.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the vehicle power on and off control method as described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Production control device and method for multi-process equipment on basis of state machines
CN104142666A