Monitoring control method and device for automobile controller in dormant state and electronic equipment

By monitoring the phase-locked loop frequency and timer count value of the car controller and controlling its reset in abnormal situations, the problem of the car controller being unable to sleep is solved and the system is ensured to run stably.

CN119292125APending Publication Date: 2025-01-10DONGFENG COMML VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411300115.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

Existing automotive controllers cannot sleep when there is a phase-locked loop abnormality or timer abnormality, resulting in abnormal working conditions.

Method used

By obtaining the frequency value of the phase-locked loop in the automotive controller in the sleep state, and controlling the automotive controller to reset when the frequency value exceeds the preset threshold range or the timer count value does not match to ensure the normal operation of the system clock and timer.

Benefits of technology

It effectively avoids the problem of the car controller being unable to sleep due to abnormal phase-locked loop frequency jitter or abnormal timer, ensuring that the car controller can sleep normally and resume work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292125A_ABST
    Figure CN119292125A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring control method and device for an automobile controller in a dormant state and electronic equipment, and belongs to the technical field of automobile control. The method comprises the steps that a frequency value of a phase-locked loop in the automobile controller in the dormant state is obtained, and when the frequency value of the phase-locked loop is larger than a preset normal threshold value range, the automobile controller is monitored; controlling the automobile controller to reset under the condition that the deviation of the frequency values at different moments or the deviation of the frequency values at different moments is greater than a preset deviation threshold range; and / or, starting an auxiliary timer except the main timer of the automobile controller in the dormant state, acquiring count values of the main timer and the auxiliary timer under set conditions, and controlling the automobile controller to reset under the condition that the count values of the main timer and the auxiliary timer are not consistent. According to the invention, after the jitter abnormity of the frequency of the phase-locked loop or the abnormity of the main timer is determined, the automobile controller is controlled to be reset, so that the problem that the automobile controller cannot sleep when the phase-locked loop abnormity or the timer abnormity occurs, so that the work is abnormal is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile control technology, and in particular to a monitoring and control method, device and electronic equipment for an automobile controller in a dormant state. Background Art

[0002] When the car controller (MCU) does not receive an external signal within a certain period of time, it enters a sleep state. After entering the sleep state, the car controller uses a low-power mode, turns off peripheral interrupts, and reduces the system frequency. If the system clock jitters, the phase-locked loop is abnormal, the timer is abnormal, etc., the car controller will not be able to enter the sleep state, and the car controller will work abnormally. Therefore, when the phase-locked loop or timer abnormality occurs, the existing car controller cannot sleep itself, resulting in abnormal operation. Summary of the invention

[0003] In view of this, it is necessary to provide a monitoring and control method, device and electronic equipment for a sleep state automobile controller to solve the technical problem that the existing automobile controller cannot sleep itself when a phase-locked loop abnormality or a timer abnormality occurs, resulting in abnormal operation.

[0004] In order to solve the above problems, the present invention provides a monitoring and control method for a dormant automobile controller, comprising: Acquiring a frequency value of a phase-locked loop in a car controller in a dormant state, and controlling the car controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, A sub-timer is started in addition to the main timer of the automobile controller in the sleep state, and the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, the automobile controller is controlled to reset.

[0005] In a possible implementation, before starting a sub-timer other than a main timer of a car controller in a dormant state, the method further includes: The main timer and the sub-timer of the automobile controller are respectively set with corresponding cycles, and the main timer and the sub-timer need to perform tasks in their respective cycles.

[0006] In a possible implementation, before respectively setting corresponding periods for the main timer and the sub-timer of the automobile controller, the method further includes: A clock source referenced by the automobile controller is set, wherein the clock source is an internal clock source or an external clock source of the automobile controller.

[0007] In a possible implementation, different periods are set for the main timer and the sub-timer of the automobile controller.

[0008] In a possible implementation, the master timer includes at least one of a counter register, a pre-scaling register, an auto-load register, and a capture register.

[0009] In a possible implementation, the sub-timer includes at least one of a counter register, a pre-scaling register, an automatic loading register, and a capture register.

[0010] In a possible implementation, obtaining a frequency value of a phase-locked loop in a vehicle controller includes: The phase-locked loop of the vehicle controller is initialized, and a main function including monitoring variables is set for the phase-locked loop to obtain the frequency value of the phase-locked loop in real time.

[0011] On the other hand, the present invention also provides a monitoring and control device for a dormant automobile controller, comprising: A first reset module is used to obtain a frequency value of a phase-locked loop in a vehicle controller in a dormant state, and control the vehicle controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, The second reset module is used to start a sub-timer in addition to the main timer of the automobile controller in the sleep state, obtain the count values ​​of the main timer and the sub-timer under the set conditions, and control the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match.

[0012] On the other hand, the present invention also provides an electronic device, including a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the monitoring and control method of the automobile controller in the dormant state as described in any one of the above.

[0013] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the monitoring and control method for a dormant automobile controller as described in any one of the above.

[0014] The beneficial effects of adopting the above implementation mode are as follows: the monitoring and control method, device and electronic device of the automobile controller in the dormant state provided by the present invention can determine that the frequency of the phase-locked loop has a jitter abnormality by obtaining the frequency value of the phase-locked loop in the automobile controller. When the frequency value of the phase-locked loop is greater than the preset normal threshold range, or the deviation of the frequency values ​​at different times is greater than the preset deviation threshold range, the frequency of the phase-locked loop can be determined to have a jitter abnormality. By starting a sub-timer outside the main timer of the automobile controller in the dormant state, the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, it is determined that the main timer has an abnormality. When the frequency of the phase-locked loop has a jitter abnormality or the main timer has an abnormality, the automobile controller is controlled to reset. After the automobile controller is controlled to complete the reset, the automobile controller can re-enter the dormant state, avoiding the situation where the automobile controller cannot sleep due to the abnormal frequency jitter of the phase-locked loop or the abnormal timer. When the automobile controller can sleep normally, it can work normally afterwards, thereby solving the technical problem that the existing automobile controller cannot sleep when the phase-locked loop or the timer is abnormal, resulting in abnormal work. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 A flow chart of an embodiment of a monitoring and controlling method of a dormant automobile controller provided by the present invention; Figure 2 A flow chart of another embodiment of the monitoring and controlling method of the automobile controller in the dormant state provided by the present invention; Figure 3 A flowchart of another embodiment of the monitoring and control method of the automobile controller in the dormant state provided by the present invention; Figure 4 A principle block diagram of an embodiment of a monitoring and control device for a dormant automobile controller provided by the present invention; Figure 5 A schematic structural diagram of an embodiment of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0018] In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more than two.

[0019] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or equipment comprising a series of steps or modules is not necessarily limited to those steps or modules clearly listed, but may include other steps or modules not clearly listed or inherent to these processes, methods, products or equipment.

[0020] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.

[0021] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0022] The present invention provides a monitoring and control method, device and electronic equipment for a dormant automobile controller, which are described below respectively.

[0023] like Figure 1 As shown, the present invention provides a monitoring and control method for a dormant automobile controller, comprising: S101, obtaining a frequency value of a phase-locked loop (PLL) in an automobile controller (MCU) in a dormant state, and controlling the automobile controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; S102, starting a sub-timer in addition to the main timer of the automobile controller in the sleep state, obtaining the count values ​​of the main timer and the sub-timer under the set conditions, and controlling the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match.

[0024] It can be understood that in this embodiment, S101 is executed first and S102 is executed later.

[0025] When the frequency value of the phase-locked loop is greater than a preset normal threshold range, or the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range, it indicates that the frequency of the phase-locked loop has a jitter abnormality.

[0026] When the count values ​​of the main timer and the sub-timer do not match, it indicates that an abnormality has occurred in the main timer.

[0027] After the vehicle controller is reset, the vehicle controller can re-enter the sleep state, thereby preventing the vehicle controller from being unable to sleep due to abnormal frequency jitter of the phase-locked loop or abnormality of the timer.

[0028] The present invention sets monitoring variables for the phase-locked loop design to obtain the frequency value of the phase-locked loop in real time. When the frequency value of the phase-locked loop exceeds the normal working range (i.e., the normal threshold range), it indicates that the system clock of the automobile controller is abnormal, and the automobile controller system is forced to reset at this time; a separate timer (i.e., the sub-timer) is started to monitor whether the main timer is working normally. When the count value of the main timer does not match the count value of the newly started timer, it indicates that the system clock is abnormal, and the automobile controller system is forced to reset.

[0029] A monitoring variable K is set to obtain the frequency value of the phase-locked loop. Before entering the sleep mode, if the frequency value of the phase-locked loop changes and exceeds the preset deviation threshold range, indicating that the deviation is too large, the vehicle controller system is reset.

[0030] The solution provided by the present invention mainly includes the following parts: Phase-locked loop monitoring module: used to monitor whether the phase-locked loop frequency jitter is too large.

[0031] Main timer counting module: used to record the count value of the main timer.

[0032] Sub-timer counting module: used to record the count value of the sub-timer.

[0033] Comparison module: used to compare whether the count values ​​of the main timer and the sub-timer are equal.

[0034] In other embodiments, Figure 2 As shown, the present invention provides a monitoring and control method for a dormant automobile controller, comprising: S201, starting a sub-timer in addition to the main timer of the automobile controller in the dormant state, obtaining the count values ​​of the main timer and the sub-timer under the set conditions, and controlling the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match; S202, obtaining a frequency value of a phase-locked loop in a car controller in a dormant state, and controlling the car controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when a deviation of frequency values ​​at different times is greater than a preset deviation threshold range.

[0035] It can be understood that in this embodiment, S201 is executed first and S202 is executed later.

[0036] In other embodiments, Figure 3 As shown, the present invention provides a monitoring and control method for a dormant automobile controller, comprising: S301, obtaining a frequency value of a phase-locked loop in a vehicle controller in a dormant state, and controlling the vehicle controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; S302, starting a sub-timer in addition to the main timer of the automobile controller in the dormant state, obtaining the count values ​​of the main timer and the sub-timer under the set conditions, and controlling the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match; Among them, S301 and S302 can be performed simultaneously, without particular order of execution.

[0037] In some embodiments, in the software initialization code of the automobile controller, the normal threshold range of the phase-locked loop is set. A monitoring variable is set in the main function to obtain the frequency value of the phase-locked loop in real time. When the frequency value of the phase-locked loop exceeds the normal working range, the automobile controller system is forced to reset. The main timer with a period of 50ms is turned on, and the count value counter_50ms is added. The main timer with a period of 2ms is turned on, and the count value counter_2ms is added. Every 25 cycles, compare whether the values ​​of counter_50ms and counter_2ms are equal. If they are not equal, reset the automobile controller system to ensure that the automobile controller can enter the sleep state normally.

[0038] In some embodiments, before starting a sub-timer outside of a main timer of a car controller in a sleep state, the method further includes: The main timer and the sub-timer of the automobile controller are respectively set with corresponding cycles, and the main timer and the sub-timer need to perform tasks in their respective cycles.

[0039] In some embodiments, before setting corresponding periods for the main timer and the sub-timer of the automobile controller respectively, the method further includes: A clock source referenced by the automobile controller is set, wherein the clock source is an internal clock source or an external clock source of the automobile controller.

[0040] It can be understood that the clock source of the car controller can select the internal clock source or the external clock source, set the main frequency XTA1 to 16M, set the clock parameters of the phase-locked loop in the initialization function car controller_Init, and define the parameters as follows: IDF=2, ODF=4, NDIV=40, VCO=320MHz, PLL=80MHz.

[0041] In some embodiments, different periods are set for the main timer and the sub-timer of the vehicle controller.

[0042] It can be understood that the period of the main timer is generally greater than the period of the sub-timer. For example, the period of the main timer can be set to 50 ms, and the period of the sub-timer can be set to 2 ms.

[0043] In some embodiments, the master timer includes at least one of a counter register, a prescaler register, an auto-load register, and a capture register.

[0044] The sub-timer includes at least one of a counter register, a pre-scaling register, an automatic loading register and a capture register.

[0045] It can be understood that the counter register, pre-scaling register, automatic loading register, and capture register of the main task timer TMR0 of the automobile controller system are set, the timer interrupt is turned on, the cycle is set to 50ms, and the task Task_50ms is added to the main task function for scheduled execution. The task resets a count value counter_50ms. The counter register, pre-scaling register, automatic loading register, and capture register of a separate timer TMR1 are turned on, the timer interrupt is turned on, the cycle is set to 2ms, and the count value counter_2ms is added to the corresponding task function Task_2ms. A cycle of 25 times is set. Every 25 times (the specific interval number can be adjusted according to the cycle of TMR0 and TMR1), compare the values ​​of counter_50ms and counter_2ms to see if they are equal. If they are not equal, the automobile controller system is reset to ensure that the automobile controller can enter the sleep state normally.

[0046] In some embodiments, obtaining a frequency value of a phase-locked loop in a vehicle controller includes: The phase-locked loop of the vehicle controller is initialized, and a main function including monitoring variables is set for the phase-locked loop to obtain the frequency value of the phase-locked loop in real time.

[0047] In summary, the monitoring and control method of the automobile controller in the sleep state provided by the present invention obtains the frequency value of the phase-locked loop in the automobile controller. When the frequency value of the phase-locked loop is greater than the preset normal threshold range, or the deviation of the frequency values ​​at different times is greater than the preset deviation threshold range, it can be determined that the frequency of the phase-locked loop has a jitter abnormality. By starting a sub-timer outside the main timer of the automobile controller in the sleep state, the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, it is determined that the main timer has an abnormality. When the frequency of the phase-locked loop has a jitter abnormality or the main timer has an abnormality, the automobile controller is controlled to reset.

[0048] After the vehicle controller is reset, it can re-enter the sleep state, avoiding the situation where the vehicle controller cannot sleep due to abnormal frequency jitter of the phase-locked loop or abnormal timer. When the vehicle controller can sleep normally, it can work normally afterwards, thereby solving the technical problem that the existing vehicle controller cannot sleep when a phase-locked loop abnormality or a timer abnormality occurs, resulting in abnormal operation.

[0049] like Figure 4 As shown, the present invention also provides a monitoring and control device 400 for a dormant automobile controller, comprising: The first reset module 401 is used to obtain the frequency value of the phase-locked loop in the automobile controller in the sleep state, and control the automobile controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, The second reset module 402 is used to start a sub-timer in addition to the main timer of the automobile controller in the sleep state, obtain the count values ​​of the main timer and the sub-timer under the set conditions, and control the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match.

[0050] The monitoring and control device for the automobile controller in the dormant state provided in the above embodiment can implement the technical solution described in the above embodiment of the monitoring and control method for the automobile controller in the dormant state. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above embodiment of the monitoring and control method for the automobile controller in the dormant state, which will not be repeated here.

[0051] like Figure 5As shown, the present invention also provides an electronic device 500. The electronic device 500 includes a processor 501, a memory 502 and a display 503. Figure 5 Only some components of the electronic device 500 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.

[0052] In some embodiments, the memory 502 may be an internal storage unit of the electronic device 500, such as a hard disk or memory of the electronic device 500. In other embodiments, the memory 502 may also be an external storage device of the electronic device 500, 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 500.

[0053] Furthermore, the memory 502 may include both an internal storage unit of the electronic device 500 and an external storage device. The memory 502 is used to store application software installed in the electronic device 500 and various data.

[0054] In some embodiments, the processor 501 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 502, such as the monitoring and control method of the automobile controller in the dormant state in the present invention.

[0055] In some embodiments, the display 503 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 503 is used to display information on the electronic device 500 and to display a visual user interface. The components 501-503 of the electronic device 500 communicate with each other via a system bus.

[0056] In some embodiments of the present invention, when the processor 501 executes the monitoring control program of the automobile controller in the dormant state in the memory 502, the following steps may be implemented: Acquiring a frequency value of a phase-locked loop in a car controller in a dormant state, and controlling the car controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, A sub-timer is started in addition to the main timer of the automobile controller in the sleep state, and the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, the automobile controller is controlled to reset.

[0057] It should be understood that: when the processor 501 executes the monitoring control program of the dormant automobile controller in the memory 502, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.

[0058] Furthermore, the embodiment of the present invention does not specifically limit the type of the electronic device 500 mentioned, and the electronic device 500 may be a portable electronic device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer, etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the electronic device 500 may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0059] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the monitoring and control method of a dormant automobile controller provided by the above methods is implemented, and the method comprises: Acquiring a frequency value of a phase-locked loop in a car controller in a dormant state, and controlling the car controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, A sub-timer is started in addition to the main timer of the automobile controller in the sleep state, and the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, the automobile controller is controlled to reset.

[0060] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0061] The above is a detailed introduction to the monitoring and control method, device and electronic device of the dormant automobile controller provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A monitoring and control method for a dormant automobile controller, characterized in that: include: Acquiring a frequency value of a phase-locked loop in a car controller in a dormant state, and controlling the car controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, A sub-timer is started in addition to the main timer of the automobile controller in the sleep state, and the count values ​​of the main timer and the sub-timer under the set conditions are obtained. When the count values ​​of the main timer and the sub-timer do not match, the automobile controller is controlled to reset.

2. The monitoring and control method of a dormant automobile controller according to claim 1, characterized in that: Before starting a sub-timer in addition to the main timer of the car controller in the sleep state, it also includes: The main timer and the sub-timer of the automobile controller are respectively set with corresponding cycles, and the main timer and the sub-timer need to perform tasks in their respective cycles.

3. The monitoring and control method of a dormant automobile controller according to claim 2, characterized in that: Before respectively setting corresponding cycles for the main timer and the sub-timer of the automobile controller, the method further includes: A clock source referenced by the automobile controller is set, wherein the clock source is an internal clock source or an external clock source of the automobile controller.

4. The monitoring and control method of a dormant automobile controller according to claim 2, characterized in that: Different periods are set for the main timer and the sub-timer of the vehicle controller.

5. The monitoring and control method of a dormant automobile controller according to claim 1, characterized in that: The main timer includes at least one of a counter register, a pre-scaling register, an automatic loading register and a capture register.

6. The monitoring and control method of a dormant automobile controller according to claim 1, characterized in that: The sub-timer includes at least one of a counter register, a pre-scaling register, an automatic loading register and a capture register.

7. The monitoring and control method of a dormant automobile controller according to any one of claims 1 to 6, characterized in that: Get the frequency value of the phase-locked loop in the car controller, including: The phase-locked loop of the vehicle controller is initialized, and a main function including monitoring variables is set for the phase-locked loop to obtain the frequency value of the phase-locked loop in real time.

8. A monitoring and control device for a dormant automobile controller, characterized in that: include: A first reset module is used to obtain a frequency value of a phase-locked loop in a vehicle controller in a dormant state, and control the vehicle controller to reset when the frequency value of the phase-locked loop is greater than a preset normal threshold range, or when the deviation of the frequency values ​​at different times is greater than a preset deviation threshold range; and / or, The second reset module is used to start a sub-timer in addition to the main timer of the automobile controller in the sleep state, obtain the count values ​​of the main timer and the sub-timer under the set conditions, and control the automobile controller to reset when the count values ​​of the main timer and the sub-timer do not match.

9. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the monitoring and control method of the automobile controller in a dormant state as described in any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the monitoring and control method of a dormant automobile controller as claimed in any one of claims 1 to 7 are implemented.