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

Method for realizing time-sharing task of whole-vehicle controller

A vehicle controller and implementation method technology, applied in vehicle components, circuits or fluid pipelines, transportation and packaging, etc., can solve the problems of intermittent blockage of source data, unreliability, and untimely data exchange, etc. The effect of avoiding task execution omissions and intermittent blocking of source data

Active Publication Date: 2014-05-28
苏州海格电控股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the scheduling of periodic timing tasks or interrupts that are usually used is based on the clock cycle, such as figure 1 As shown; at a certain point in time, multiple tasks will be triggered simultaneously, such as the task of data exchange with multiple control objects in the MCU of the vehicle controller will occur simultaneously or successively; and because the vehicle controller The calculation speed of the MCU is much faster than the communication or acquisition speed for data exchange, so each control object will receive the request of the vehicle controller at almost the same time and respond, resulting in disordered competition in CAN communication and source-end data array. Many problems such as intermittent blocking have become one of the main factors for the untimely and unreliable data exchange with each control object

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
  • Method for realizing time-sharing task of whole-vehicle controller
  • Method for realizing time-sharing task of whole-vehicle controller
  • Method for realizing time-sharing task of whole-vehicle controller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, so that the protection scope of the present invention can be more clearly defined.

[0047] Refer to Figure 2 to Figure 7 , figure 2 It relates to the scheduling method of the present invention centered on the reference clock cycle and the time-sharing task; image 3 It is a schematic structural diagram of a preferred embodiment of a method for implementing time-sharing tasks of a vehicle controller according to the present invention; Figure 4 Is the flow chart of the reference clock module of the present invention; Figure 5 Is a flowchart of the task scheduling and marking module of the present invention; Image 6 Is a flowchart of the task execution module of the present invention; Figure 7 It is a flowchart of the task ...

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 method for realizing a time-sharing task of a whole-vehicle controller. The whole-vehicle controller comprises a reference clock module, a task scheduling marking module, a task execution module and a task mark removing module, wherein the reference clock module is used for generating and counting a reference clock period and calling the task scheduling marking module; the task scheduling marking module is used for sequentially and evenly hashing each task on a time axis by utilizing the information of the time-sharing task, a reference clock counted value and a specific algorithm, and is used for marking the task scheduling; the task execution module is used for triggering and executing a plurality of tasks by utilizing a task scheduling mark and is used for calling the task mark removing module; and the task mark removing module is used for removing the task scheduling mark according to a task removing mark after the task execution is finished. The method provided by the invention can be used for effectively solving the problems that soft interrupted clock counting is inaccurate, source data are subjected to paroxysmal blocking, and task execution is omitted in front and back frameworks.

Description

Technical field [0001] The present invention provides a method for implementing task scheduling, and in particular relates to a method for implementing time-sharing tasks for a vehicle controller. Background technique [0002] As the core of the management and coordination of the power and drive of the new energy vehicle, the vehicle controller is the key to achieving energy saving and environmental protection; however, the relevant subsystems involved in the vehicle controller are many and complex control objects, and there are many The timeliness and reliability of data exchange are extremely demanding; for this reason, periodic timing tasks or interruptions are usually used for data collection, exchange, analysis, and storage. [0003] However, the commonly used periodic timing task or interrupt scheduling is based on the clock cycle as the core, such as figure 1 It means; at a certain point in time, multiple tasks will be triggered at the same time, such as the task of data exc...

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): B60R16/023
Inventor 吴新兵
Owner 苏州海格电控股份有限公司