The invention discloses a dynamic point tracing method for an MCU (Microprogrammed Control Unit) chip without an operating system, belongs to the field of automotive electronics, and aims to solve the problem that an existing MCU chip does not support OpenGL (Open Graphics Library) drawing and cannot draw an energy consumption curve. The method comprises the following steps: S1, initializing data, wherein the drawing range of an energy consumption curve on a screen is as follows: N pixel points are drawn in an x-axis range, and M pixel points are drawn in a y-axis range; the range of the received energy consumption data is 0-A; the basic picture materials comprise straight line tracing points, upper tracing points and lower tracing points; s2, acquiring a corresponding point tracing position (Xn, Yn) according to the received energy consumption data, S3, performing point tracing on the first energy consumption data by adopting a straight line point tracing material; and S4, comparing the current energy consumption data with the previous energy consumption data, performing point drawing on the second to Nth energy consumption data by adopting straight line point drawing, upper point drawing and lower point drawing materials, and completing point drawing of N energy consumption data to form a cycle of energy consumption curve to be displayed on a screen.
一种不带操作系统的MCU级芯片动态描点方法,属于汽车电子领域,本发明为解决现有MCU级芯片不支持OpenGL绘制,无法绘制出能耗曲线的问题。本发明方法包括以下步骤:S1、初始化数据:屏幕上能耗曲线的绘制范围:x轴绘制范围N个像素点,y轴绘制范围M个像素点;接收的能耗数据范围0~A;基础图片素材:直线描点、上描点和下描点;S2、根据接收到的能耗数据获取对应的描点位置(Xn,Yn),S3、采用直线描点素材进行第1个能耗数据描点;S4、根据当前能耗数据和前一能耗数据比较,对第2~N个能耗数据分别采用直线描点、上描点和下描点素材进行描点,完成N个能耗数据描点形成一个周期的能耗曲线在屏幕上显示。
Dynamic point tracing method for MCU (Microprogrammed Control Unit)-level chip without operating system
一种不带操作系统的MCU级芯片动态描点方法
05.04.2024
Patent
Elektronische Ressource
Chinesisch
IPC: | B60K Anordnung oder Einbau von Antriebseinheiten oder von Kraft- bzw. Drehmomentübertragungen in Fahrzeugen , ARRANGEMENT OR MOUNTING OF PROPULSION UNITS OR OF TRANSMISSIONS IN VEHICLES / G06T Bilddatenverarbeitung oder Bilddatenerzeugung allgemein , IMAGE DATA PROCESSING OR GENERATION, IN GENERAL / G06F ELECTRIC DIGITAL DATA PROCESSING , Elektrische digitale Datenverarbeitung |
Battery management system with double-MCU (microprogrammed control unit) hot backup
Europäisches Patentamt | 2023
|Microprogrammed control unit (MCU) low-voltage redundant circuit system based on function safety
Europäisches Patentamt | 2024
|A microprogrammed allocating-loader
NTRS | 1970
|Europäisches Patentamt | 2025
|Integration of a microprogrammed CPU
Tema Archiv | 1990
|