Unlock instant, AI-driven research and patent intelligence for your innovation.

A program control method, device and vehicle

A technology of preset programs and vehicle controllers, which is applied in the automotive field, can solve problems such as excessive execution, program jamming, and affecting the stability and safety of vehicle controllers, so as to improve stability and safety, prevent The effect of the accident

Active Publication Date: 2020-03-17
BEIJING ELECTRIC VEHICLE
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the whole vehicle controller is running with the operating system scheduler. It is very important to ensure the reliability of the program in time and sequence, which directly affects the stability and safety of the whole vehicle controller. Once the abnormal crystal oscillator or other reasons cause TASK (task) execution is too fast or too slow, resulting in an unexpected program stuck in a certain position and falling into an infinite loop, or not running according to the normal execution sequence. Without an effective online monitoring mechanism, effective processing is not carried out. prone to safety accidents

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A program control method, device and vehicle
  • A program control method, device and vehicle
  • A program control method, device and vehicle

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0053] see figure 1 , an embodiment of the present invention provides a program control method, which is applied to a vehicle controller, the vehicle controller includes a watchdog module, and the program control method includes:

[0054] Step 101, detecting the sending detection time of the dog feeding signal sent by the preset program within the preset time period;

[0055] Step 102, when the sending detection time matches the preset sending time of the dog feeding signal, acquire the running state parameters of the preset program within the preset time period;

[0056]Among them, in view of the fact that the program often produces certain deviations when it is running, for example, the time to complete the program in an ideal state is 5ms (milliseconds), but the actual running time may be 5.5ms, and it can also be judged at this time Basically normal (the error value can be preset according to different programs, and the accuracy requirements for different programs may be ...

no. 2 example

[0060] see figure 2 , compared with the first embodiment, the program control method of this embodiment further includes:

[0061] Step 201, when the sending detection time does not meet the preset sending time of the dog feeding signal, control the watchdog module to reset the preset program.

[0062] In this embodiment, when it is detected that the sending detection time of sending the dog-feeding signal does not meet the preset sending time of the dog-feeding signal (that is, the dog is not fed during the window period), the watchdog module is directly controlled to Set the program to reset.

[0063] Among them, when the program is stuck and the dog feeding signal is not sent, it can be judged that the sending time of the dog feeding signal is 0 or the maximum value of the cycle within a detection cycle. In this case, the time cannot be within the preset sending time , it also controls the watchdog module to reset the preset program.

no. 3 example

[0065] see image 3 , For the first embodiment, the step of detecting the detection preset program sending the dog feeding signal within the preset time period includes:

[0066] Step 301, controlling the preset program to send a dog feeding signal after running a preset number of times within the preset time period;

[0067] Step 302: Determine the sending detection time according to the time when the dog feeding signal is sent.

[0068] In this embodiment, when the preset program is preset to run for a preset number of times, the preset program is controlled to send a dog feeding signal. For example, if the preset program is set to send the dog feeding signal after running 10 times, then the preset program is controlled to send the dog feeding signal after the preset program runs 10 times.

[0069] Wherein, the above is an embodiment of the present invention. In another embodiment of the present invention, the sending of the dog feeding signal is controlled by a trigger pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a program control method and device and an automobile. The program control method is applied to an automobile controller which comprises a watchdog module. The program control method comprises the steps that a sending detection time of a preset program for sending a dog feeding signal in a preset time period is detected; when the sending detection time accords with a dog feeding signal preset sending time, operating status parameters of the preset program in the preset time period are obtained; and whether the operating status parameters meet preset operating conditions or not is judged, and if not, the watchdog module is controlled to reset the preset program. According to the program control method and device and the automobile, program operation is monitored by arranging the watchdog module in the automobile controller, abnormal program operating can be timely found, the program is reset to prevent accidents, and the system stability and safety are improved.

Description

technical field [0001] The invention relates to the technical field of automobiles, in particular to a program control method, device and automobile. Background technique [0002] The ISO 26262 standard for functional safety is based on IEC61508 and was written to meet the requirements of specific electrical and electronic systems on road vehicles. Safety is one of the key issues in the development of future vehicles. Not only in the field of driver assistance and power drive, but also in the field of vehicle dynamic control and active and passive safety systems, new functions are increasingly touching the field of system safety engineering. The development and integration of these functions will reinforce the need for a safety-related system development process and require demonstration that all reasonable system safety objectives are met. As technology becomes more complex, software content and mechatronics applications increase, the risk from systematic failures and rand...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/07
CPCG06F11/0757
Inventor 曹文锋代康伟余军王亮吕玉军张占龙佟世蒙
Owner BEIJING ELECTRIC VEHICLE