Vehicle controller and vehicle
Patent Information
- Application Number
- CN202522074960.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-25
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2035-09-25
AI Technical Summary
搭电唤醒作为一种特殊的唤醒方式,相关技术中缺少有效的诊断识别措施,导致在一些特定的工况中,无法准确区分搭电唤醒与硬线唤醒,可能导致软件的误判,影响车辆的稳定性
Smart Images

Figure CN224828955U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle controllers, and more specifically, to a vehicle controller and a vehicle. Background Technology
[0002] Vehicle controllers can be woken up using various methods, including hard-wired wake-up, CAN wake-up, timed wake-up, and jump-start wake-up. Jump-start wake-up, as a special wake-up method, lacks effective diagnostic and identification measures in related technologies. This can lead to the inability to accurately distinguish between jump-start wake-up and hard-wired wake-up in certain operating conditions, potentially causing software misjudgments and affecting vehicle stability. Utility Model Content
[0003] This application provides a vehicle controller and a vehicle to accurately distinguish between jump-start and hard-wire wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0004] In a first aspect, embodiments of this application provide a vehicle controller, including: a system base chip, wherein the system base chip is respectively connected to a hard-wired wake-up circuit and a constant power supply circuit; A state latch circuit, wherein a level signal is latched within the state latch circuit; The microcontroller is connected to both the state latch circuit and the system base chip.
[0005] In the above technical solution, by setting a state latch circuit in the vehicle controller to latch the wake-up category detected by the system base chip, the microcontroller can determine the wake-up category based on the level signal latched in the state latch circuit when the vehicle controller wakes up again, thereby accurately distinguishing between power-on wake-up and hard-wired wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0006] In some embodiments, the state latch circuit includes a data trigger.
[0007] In some embodiments, the state latching circuit includes: The first input terminal is connected to the first GPIO port of the microcontroller; The second input terminal is connected to the second GPIO port of the microcontroller; The first output terminal is connected to the third GPIO port of the microcontroller.
[0008] In some embodiments, a high-level signal is input to the first input terminal, a pulse signal is input to the second input terminal, a high-level signal is output to the first output terminal, and the high-level signal is latched in the state latch circuit.
[0009] In some embodiments, a low-level signal is input to the first input terminal, a pulse signal is input to the second input terminal, a low-level signal is output to the first output terminal, and the low-level signal is latched in the state latch circuit.
[0010] In some embodiments, the state latching circuit further includes: The first resistor is set at the first output terminal.
[0011] In some embodiments, the state latching circuit further includes: The third input port is connected to the power supply device.
[0012] According to one embodiment of this application, it also includes: A power supply device is connected to the state latching circuit.
[0013] In some embodiments, the power supply device includes: First port; The second port is connected to the hard-wired wake-up line, and the first port and the second port are respectively connected to the hard-wired wake-up line. The third port is connected to the state latch circuit.
[0014] Secondly, this application provides a vehicle. Attached Figure Description
[0015] Figure 1 This is one of the structural schematic diagrams of a vehicle controller provided in some embodiments of this application; Figure 2 This is a second schematic diagram of the structure of a vehicle controller provided in some embodiments of this application; Figure 3 This is a schematic diagram of the execution logic of a vehicle controller provided in some embodiments of this application.
[0016] Figure label: System base chip 110; state latch circuit 130; First input terminal D; Second input terminal CP; First output terminal Q; Microcontroller 120; The first GPIO port is GPIO1; the second GPIO port is connected to GPIO2; the third GPIO port is connected to GPIO3. Power supply unit 140; First port: IN; Second port: EN; Third port: First resistor R1; Second resistor R2; Power-on wake-up point 111; Hard-wire wake-up line 112. Detailed Implementation
[0017] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0018] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used in the description of this application is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms "comprising" and "having," and any variations thereof, in the description, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the description, claims, or accompanying drawings of this application are used to distinguish different objects, not to describe a specific order or hierarchy.
[0019] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0020] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "attachment" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal communication between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0021] In this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, in this application, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0022] In this application, "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).
[0023] The vehicle controller and vehicle provided in this application will be described in detail below with reference to the accompanying drawings, through specific embodiments and application scenarios.
[0024] The inventors discovered that vehicle controllers have multiple wake-up methods, including hard-wired wake-up, CAN wake-up, timed wake-up, and jump-start wake-up. While most wake-up methods have diagnostic measures to identify the specific wake-up method, jump-start wake-up, as a special method, generally lacks diagnostic identification measures. In certain operating conditions, it can be difficult to distinguish from hard-wired wake-up, potentially leading to software misjudgment.
[0025] Based on the above considerations, in order to solve the problem of being unable to distinguish between hard-wired wake-up and power-on wake-up, which could easily lead to software misjudgment, the inventors, after in-depth research, designed a vehicle controller, including a system base chip, which is connected to both the hard-wired wake-up line and the constant power supply line; a state latch circuit, which latches level signals; and a microcontroller, which is connected to both the state latch circuit and the system base chip.
[0026] In this type of vehicle controller, a state latch circuit is set in the vehicle controller to latch the wake-up category detected by the system base chip. This allows the microcontroller to determine the wake-up category based on the level signal latched in the state latch circuit when the vehicle controller wakes up again, thereby accurately distinguishing between power-on wake-up and hard-wired wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0027] like Figure 1 As shown, the vehicle controller includes: a system base chip 110, a state latch circuit 130, and a microcontroller 120.
[0028] The System Basis Chip 110 (SBC) is a chip used in vehicle controllers to provide key basic support functions for the microcontroller 120 unit and other on-board electronic control units.
[0029] like Figure 1 As shown, the system base chip 110 is connected to the hard-wired wake-up line 112 and the constant power supply line, respectively.
[0030] Among them, hard-wire wake-up line 112, such as Figure 1 As shown, when the source ECU or switch is activated, a level change will be generated on the hard-wire wake-up line 112 (e.g., from 0V to 12V, or from 12V to 0V). When the system base chip 110 detects the change on the hard-wire wake-up circuit, it considers that a hard-wire wake-up event has been triggered.
[0031] Continue to refer to Figure 1The constant power supply line has a power-on wake-up point 111. The system base chip 110 can monitor whether a power-on wake-up event is triggered by monitoring the power-on wake-up point 111.
[0032] Continue to refer to Figure 1 In some embodiments, a switch control is provided between the constant power supply line and the hard-wired wake-up line 112.
[0033] The state latch circuit 130 is used to receive input signals and latch level signals according to the received input signals; the level signals include high level signals or low level signals.
[0034] The state latch circuit 130 may include, but is not limited to, basic latches such as set-reset latch (SR latch) and data latch (D latch); it may also include clock edge triggered flip-flops such as JK flip-flops and toggle flip-flops (T flip-flops).
[0035] In some embodiments, the state latch circuit 130 includes a data flip-flop (D flip-flop).
[0036] The microcontroller unit (MCU) is connected to the state latch circuit 130 and the system base chip 110 respectively. It is used to receive the signals output by the system base chip 110 and output corresponding signals to the state latch circuit 130 according to the received signals for the state latch circuit 130 to latch; it is also used to receive the signals latched in the state latch circuit 130.
[0037] In actual execution, the system base chip 110 monitors the voltage changes on the hard-wire wake-up line 112 and the constant power supply line to determine the wake-up type based on the line where the change occurs, and sends the result to the microcontroller 120. When the microcontroller 120 detects that the wake-up type is power-on wake-up, it sends a first signal to the state latch circuit 130 for latching. When the microcontroller 120 detects that the wake-up type is hard-wire wake-up, it sends a second signal to the state latch circuit 130 for latching the level signal. The first signal is different from the second signal.
[0038] When the controller is powered on again, before the microcontroller 120 is working normally, it first obtains the latched level signal from the status latch circuit 130, and the wake-up type can be determined based on the latched level signal.
[0039] like Figure 1 As shown, in some embodiments, the vehicle controller further includes a power supply device 140.
[0040] In this embodiment, the power supply device 140 is connected to the state latch circuit 130 and is used to supply power to the latch circuit.
[0041] In some embodiments, the power supply device 140 may be a low dropout regulator (LDO) circuit, used to provide a stable DC voltage when the input voltage and output voltage are relatively close.
[0042] According to the vehicle controller provided in the embodiments of this application, by setting a state latch circuit 130 in the vehicle controller to latch the wake-up category detected by the system base chip 110, the microcontroller 120 can determine the wake-up category according to the level signal latched in the state latch circuit 130 when the vehicle controller wakes up again, thereby accurately distinguishing between power-on wake-up and hard-wired wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0043] like Figure 2 As shown, in some embodiments, the state latch circuit 130 includes a first input terminal D, a second input terminal CP, and a first output terminal Q.
[0044] In this embodiment, the first input terminal D is connected to the first GPIO port GPIO1 of the microcontroller 120 and is used to receive the D signal output by the microcontroller 120. The second input terminal CP is connected to the second GPIO port GPIO2 of the microcontroller 120 and is used to receive the pulse signal output by the microcontroller 120, such as the CP signal. The first output terminal Q is connected to the third GPIO port GPIO3 of the microcontroller 120 and is used to send a latched level signal, i.e., the Q signal, to the microcontroller 120.
[0045] The D signal can be either a high-level signal or a low-level signal.
[0046] like Figure 2 As shown, in some embodiments, the state latch circuit 130 further includes a first resistor R1, which is disposed at the first output terminal Q, and the state latch circuit 130 outputs a latched level signal through the first resistor R1.
[0047] like Figure 2 As shown, in some embodiments, the state latch circuit 130 further includes a third input port.
[0048] In this embodiment, the third input port is connected to the power supply device 140. The power supply device 140 is a constantly powered device used to supply power to the state latch circuit 130.
[0049] In some embodiments, the third input port is connected to the power supply device 140 via the second resistor R2.
[0050] like Figure 1 As shown, in some embodiments, the power supply device 140 includes a first port IN, a second port EN, and a third port.
[0051] In this embodiment, the first port IN and the second port EN are respectively connected to the hard-wired wake-up line 112; the third port is connected to the state latch circuit 130 and is used to power the state latch circuit 130.
[0052] In some embodiments, the power supply signals for both the MR signal and the D flip-flop are connected to constant power.
[0053] Figure 3 This example illustrates the execution logic of a vehicle controller. In some embodiments, the execution logic of the vehicle controller is as follows: After the vehicle controller is woken up, and the output signal of the state latch circuit 130 is a high-level signal, it is determined to be a hard-wired wake-up. After the vehicle controller is woken up, and the output signal of the state latch circuit 130 is a low-level signal, it is determined to be a power-on wake-up.
[0054] The following is combined Figure 2 The execution logic described above will be explained in detail.
[0055] In some embodiments, a high-level signal is input to the first input terminal D, a pulse signal is input to the second input terminal CP, and a high-level signal is output to the first output terminal Q, and the high-level signal is latched in the state latch circuit 130.
[0056] In this embodiment, reference continues. Figure 2 When the vehicle controller is in sleep mode, the system base chip 110 detects that the vehicle controller is in sleep mode through the hard-wired wake-up line 112 and sends the monitoring signal to the microcontroller 120. The microcontroller 120 outputs a high-level signal through the first GPIO port GPIO1 and outputs a pulse signal through the second GPIO port GPIO2. At this time, the first output terminal Q of the state latch circuit 130 will output a high-level signal, and this high-level signal will be latched; that is, the state latch circuit 130 does not power down and maintains the high-level state as when it was powered on.
[0057] After the vehicle controller is woken up again, the microcontroller 120 first judges the output state of the state latch circuit 130. If the output state is high, it is judged as a normal hard-wired wake-up.
[0058] In some embodiments, a low-level signal is input to the first input terminal D, a pulse signal is input to the second input terminal CP, and a low-level signal is output to the first output terminal Q, and the low-level signal is latched in the state latch circuit 130.
[0059] In this embodiment, reference continues. Figure 2 When the vehicle controller loses power, the system base chip 110 detects the power failure through the constant power supply line and sends the monitoring signal to the microcontroller 120. The microcontroller 120 outputs a low-level signal through the first GPIO port GPIO1 and a pulse signal through the second GPIO port GPIO2. At this time, the first output terminal Q of the state latch circuit 130 will output a low-level signal, and this low-level signal will be latched; that is, when the state latch circuit 130 is powered down, the output state will change to a low-level state.
[0060] After the vehicle controller is woken up again, the microcontroller 120 first judges the output state of the state latch circuit 130. If the output state is low, it is judged to be a power-on wake-up.
[0061] In actual execution, after the vehicle controller is powered on and woken up for the first time, the microcontroller 120 can set the default state of the D signal output by the first GPIO port GPIO1 to a high level signal by running the program. The microcontroller 120 sends a pulse signal to the second input terminal CP through the second GPIO port GPIO2. The state latch circuit 130 outputs a high level signal to the microcontroller 120 through the first output terminal Q so that the microcontroller 120 can make a state judgment.
[0062] If the vehicle controller enters the wake-up state from the sleep state via a hardwire, the state latch circuit 130 outputs a high-level signal through the first output terminal Q, and the microcontroller 120 determines that the vehicle controller has been woken up via a hardwire.
[0063] If the vehicle controller transitions from a power-off state to a power-on start state, the state latch circuit 130 outputs a low-level signal via its first output terminal Q, and the microcontroller 120 determines that the vehicle controller has been woken up by power-on.
[0064] According to the vehicle controller provided in the embodiments of this application, by setting a state latch circuit 130 in the vehicle controller to latch the wake-up category detected by the system base chip 110, the microcontroller 120 can determine the wake-up category according to the level signal latched in the state latch circuit 130 when the vehicle controller wakes up again, thereby accurately distinguishing between power-on wake-up and hard-wired wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0065] This application also provides a vehicle.
[0066] The vehicle includes the vehicle controller as described in any of the above embodiments.
[0067] According to the vehicle provided in the embodiments of this application, by setting a state latch circuit 130 in the vehicle controller to latch the wake-up category detected by the system base chip, the microcontroller 120 can determine the wake-up category according to the level signal latched in the state latch circuit 130 when the vehicle controller wakes up again, thereby accurately distinguishing between power-on wake-up and hard-wired wake-up, reducing the risk of software misjudgment and improving vehicle stability.
[0068] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0069] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0070] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
[0071] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0072] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.
Claims
1. A vehicle controller, characterized in that, include: The system base chip is connected to both a hard-wired wake-up circuit and a constant power supply circuit. A state latch circuit, wherein a level signal is latched within the state latch circuit; The microcontroller is connected to both the state latch circuit and the system base chip.
2. The vehicle controller according to claim 1, characterized in that, The state latch circuit includes a data trigger.
3. The vehicle controller according to claim 1 or 2, characterized in that, The state latching circuit includes: The first input terminal is connected to the first GPIO port of the microcontroller; The second input terminal is connected to the second GPIO port of the microcontroller; The first output terminal is connected to the third GPIO port of the microcontroller.
4. The vehicle controller according to claim 3, characterized in that, The first input terminal receives a high-level signal, the second input terminal receives a pulse signal, the first output terminal outputs a high-level signal, and the high-level signal is latched in the state latch circuit.
5. The vehicle controller according to claim 3, characterized in that, The first input terminal receives a low-level signal, the second input terminal receives a pulse signal, the first output terminal outputs a low-level signal, and the low-level signal is latched in the state latch circuit.
6. The vehicle controller according to claim 3, characterized in that, The state latching circuit further includes: The first resistor is set at the first output terminal.
7. The vehicle controller according to claim 3, characterized in that, The state latching circuit further includes: The third input port is connected to the power supply device.
8. The vehicle controller according to any one of claims 1-7, characterized in that, Also includes: A power supply device is connected to the state latching circuit.
9. The vehicle controller according to claim 8, characterized in that, The power supply device includes: First port; The second port is connected to the hard-wired wake-up line, and the first port and the second port are respectively connected to the hard-wired wake-up line. The third port is connected to the state latch circuit.
10. A vehicle, characterized in that, include: The vehicle controller as described in any one of claims 1-9.