CN111025990A - RISC-V based vehicle-mounted terminal system - Google Patents

RISC-V based vehicle-mounted terminal system Download PDF

Info

Publication number
CN111025990A
CN111025990A CN201911354541.3A CN201911354541A CN111025990A CN 111025990 A CN111025990 A CN 111025990A CN 201911354541 A CN201911354541 A CN 201911354541A CN 111025990 A CN111025990 A CN 111025990A
Authority
CN
China
Prior art keywords
vehicle
risc
module
state
kernel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911354541.3A
Other languages
Chinese (zh)
Other versions
CN111025990B (en
Inventor
王子彤
姜凯
秦刚
李朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Scientific Research Institute Co Ltd
Original Assignee
Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Artificial Intelligence Research Institute Co Ltd filed Critical Shandong Inspur Artificial Intelligence Research Institute Co Ltd
Priority to CN201911354541.3A priority Critical patent/CN111025990B/en
Publication of CN111025990A publication Critical patent/CN111025990A/en
Application granted granted Critical
Publication of CN111025990B publication Critical patent/CN111025990B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a vehicle-mounted terminal system based on RISC-V, which relates to the technical field of embedded vehicle networking and comprises a RISC-V kernel module, a state monitoring module, a platform management module, a communication transmission module and a vehicle machine interface module; the RISC-V kernel module is composed of a CPU kernel which accords with the RISC-V instruction set standard; the vehicle-mounted machine interface module consists of a controller local area network transceiver and is used for carrying out physical connection with a vehicle and transmitting vehicle data; the state monitoring module is used for receiving vehicle data transmitted by the vehicle-mounted interface, analyzing and storing the data according to rules, and transmitting selected vehicle data information to the platform management module; the platform management module is used for performing enabling management on the RISC-V kernel module and the vehicle machine interface module according to the input current vehicle state information; the communication transmission module is used for transmitting the vehicle data received by the platform management module into a remote end so as to realize vehicle information reporting and remote end management. The invention can meet the severe requirements of the continuously developed vehicle networking on the vehicle-mounted terminal.

Description

RISC-V based vehicle-mounted terminal system
Technical Field
The invention relates to the technical field of embedded vehicle networking, in particular to a vehicle-mounted terminal system based on RISC-V.
Background
RISC-V generally refers to the RISC-V instruction set and a series of ecology derived therefrom. The RISC-V instruction set, similar to the INTEL X86, ARM instruction set, is an instruction set that is read into memory by the CPU and directs the computer to run. The CPU implementing the instruction set can execute all basic instructions specified in the instruction set, so that programs compiled according to the instruction set can run without obstacles, and the CPU has the portability and compatibility with the same series of CPUs.
In contrast to most ISAs, RISC-V ISAs can be used freely in all desired devices, allowing anyone to design, manufacture and sell RISC-V chips and software. RISC-V has the advantages of complete open source, simple architecture, easy Linux transplantation, modular design, complete tool chain and the like, and is suitable for realizing system master control in the outbreak environment of the Internet of things.
The vehicle-mounted terminal is front-end equipment of a vehicle monitoring and management system, can also be called a vehicle dispatching and monitoring terminal (TCU terminal), integrates multiple functions of positioning, communication, an automobile driving recorder and the like, and has a strong service dispatching function, data processing capacity and the like.
Based on this, if RISC-V can be applied to the vehicle-mounted system implementation, the advantages of both RISC-V and vehicle-mounted terminal are combined, which can better meet the development of the industry.
Disclosure of Invention
Aiming at the requirements and the defects of the prior art development, the invention provides a vehicle-mounted terminal system based on RISC-V.
The invention discloses a vehicle-mounted terminal system based on RISC-V, which adopts the following technical scheme for solving the technical problems:
a RISC-V based in-vehicle terminal system, comprising: RISC-V kernel module, state monitoring module, platform management module, communication transmission module, vehicle interface module;
the RISC-V kernel module is composed of a CPU kernel which accords with the RISC-V instruction set standard;
the vehicle-mounted machine interface module is composed of a controller local area network transceiver and is used for being physically connected with a vehicle and transmitting vehicle data;
the state monitoring module is used for receiving vehicle data transmitted by the vehicle-mounted interface, analyzing and storing the data according to rules, and transmitting selected vehicle data information to the platform management module;
the platform management module is used for performing enabling management on the RISC-V kernel module and the vehicle machine interface module according to the input current vehicle state information;
the communication transmission module is used for transmitting the vehicle data received by the platform management module into a remote end so as to realize vehicle information reporting and remote end management.
Optionally, the related state monitoring module is configured to monitor various information of vehicle speed, acceleration, vehicle position, vehicle height, and environment temperature and humidity within a period of time and at the current time, divide the state and duration of each state of the current vehicle according to rules, and transmit the state and duration of each state to the platform management module.
Further optionally, the current vehicle state includes an idle state, a general working state and a special working state;
when the state monitoring module monitors that the vehicle is in a long-term idling state, the platform management module gives a sleep instruction, so that the terminal system enters an extremely low power consumption state and returns to a general working state when the vehicle state changes;
when the state monitoring module monitors that the vehicle is in a normal running or stopping state, the platform management module gives a general working state enabling instruction to enable the terminal system to enter a general working state;
when the state monitoring module monitors that the vehicle is in an abnormal driving state, the platform management module gives a special working state enabling instruction, so that the terminal system enters a special working state.
Further optionally, RISC-V kernel module supports RISC-V basic instruction set RV32IF or RV 32E.
Further optionally, the RISC-V kernel module divides different power domains and clock domains in the kernel, and the RISC-V kernel module includes a basic instruction sub-module and an extended instruction sub-module. The basic instruction submodule is used for realizing RV32IMFA or RV32E instruction set defined by RISC-V standard. The extended instruction submodule is used for realizing a self-customized instruction set defined by a car factory or a user and is used for carrying out instruction set level acceleration on an application with special requirements.
Further optionally, when the current vehicle is in a general working state, the extended instruction set module is disabled;
when the current vehicle is in a special working state, the RISC-V kernel module enables the extended instruction submodule, and the function of the self-customization instruction set is executed.
Preferably, when the current vehicle is in a normal working state, the RISC-V kernel module enables only relevant components implemented by the RV32E instruction set, and the configuration enables 16 general integer registers to form a register set.
When the current vehicle is in a special working state, the RISC-V kernel module enables an additional 16 general integer registers, an additional 32 general floating point registers and related connecting components, so that the RISC-V kernel module supports the RV32IF instruction subset.
Further optionally, when the current vehicle is in a general working state, the RISC-V kernel module works in a machine mode defined by a RISC-V architecture;
when the current vehicle is in a special working state, the RISC-V kernel can improve the processing speed and accuracy, enable a user mode defined by a RISC-V architecture and realize resource protection at the same time.
Compared with the prior art, the vehicle-mounted terminal system based on RISC-V of the invention has the beneficial effects that:
the invention controls the working state of the RISC-V kernel module through the matching of the state monitoring module and the platform management module, and transmits data through the communication transmission module and the vehicle interface module, thereby improving the speed of data processing and transmission, accurately controlling the power consumption of the system, greatly improving the speed and precision of service processing, ensuring the safety and reliability of vehicle driving, and meeting the severe requirements of continuously developed vehicle networking on a vehicle-mounted terminal.
Drawings
FIG. 1 is a diagram of a connection framework of the present invention.
The reference information in the drawings indicates:
1. RISC-V kernel module, 2, state monitoring module, 3, platform management module, 4, communication transmission module, 5, vehicle interface module.
Detailed Description
In order to make the technical scheme, the technical problems to be solved and the technical effects of the present invention more clearly apparent, the following technical scheme of the present invention is clearly and completely described with reference to the specific embodiments.
The first embodiment is as follows:
with reference to fig. 1, the present embodiment provides a RISC-V based vehicle-mounted terminal system, which includes: RISC-V kernel module 1, state monitoring module 2, platform management module 3, communication transmission module 4, vehicle interface module 5;
the RISC-V kernel module 1 is composed of a CPU kernel which accords with the RISC-V instruction set standard;
the vehicle-mounted interface module 5 is composed of a controller local area network transceiver, and the vehicle-mounted interface module 5 is used for being physically connected with a vehicle and transmitting vehicle data;
the state monitoring module 2 is used for receiving vehicle data transmitted by the vehicle-mounted interface, analyzing and storing the data according to rules, and transmitting selected vehicle data information to the platform management module 3;
the platform management module 3 is used for performing the performance management on the RISC-V kernel module 1 and the vehicle machine interface module 5 according to the input current vehicle state information;
the communication transmission module 4 is used for transmitting the vehicle data received by the platform management module 3 to a remote end so as to realize vehicle information reporting and remote end management.
In this embodiment, the related state monitoring module 2 is configured to monitor various information of vehicle speed, acceleration, vehicle position, vehicle height, and environmental temperature and humidity within a period of time and at the current time, and divide the state and duration of each state of the current vehicle according to rules, and then transmit the state and duration of each state into the platform management module 3.
In the present embodiment, the current vehicle state includes three states, namely, an idle state, a general operating state and a special operating state.
a) When the state monitoring module 2 monitors that the vehicle is in a long-term idle state, the platform management module 3 gives a sleep instruction, so that the terminal system enters an extremely low power consumption state and returns to a general working state when the vehicle state changes;
b) when the state monitoring module 2 monitors that the vehicle is in a normal running or stopping state, the platform management module 3 gives a general working state enabling instruction, so that the terminal system enters a general working state;
c) when the state monitoring module 2 monitors that the vehicle is in an abnormal driving state, the platform management module 3 gives a special working state enabling instruction, so that the terminal system enters a special working state.
In this embodiment, RISC-V kernel module 1 supports either the RISC-V basic instruction set RV32IF or RV 32E.
In this embodiment, the RISC-V core module 1 divides the core into different power domains and clock domains, and the RISC-V core module 1 includes a basic instruction sub-module and an extended instruction sub-module. The basic instruction submodule is used for realizing RV32IMFA or RV32E instruction set defined by RISC-V standard. The extended instruction submodule is used for realizing a self-customized instruction set defined by a car factory or a user and is used for carrying out instruction set level acceleration on an application with special requirements.
In this embodiment, when the current vehicle is in a general working state, the extended instruction set module is disabled;
when the current vehicle is in a special working state, the RISC-V kernel module 1 enables the extended instruction submodule, and the self-customized instruction set function is executed.
In a specific implementation process, when the current vehicle is in a general working state, the RISC-V kernel module 1 only enables relevant components realized by the RV32E instruction set, and configures and enables 16 general integer registers to form a register set.
When the current vehicle is in a special working state, the RISC-V kernel module 1 enables an additional 16 general integer registers, an additional 32 general floating point registers and related connecting components, so that the RISC-V kernel module 1 supports the RV32IF instruction subset.
In this embodiment, when the current vehicle is in a normal operating state, the RISC-V kernel module 1 operates in a machine mode defined by the RISC-V architecture;
when the current vehicle is in a special working state, the RISC-V kernel can improve the processing speed and accuracy, enable a user mode defined by a RISC-V architecture and realize resource protection at the same time.
In summary, the vehicle-mounted terminal system based on RISC-V of the invention greatly improves the service processing speed and precision, ensures the safety and reliability of vehicle driving, and meets the severe requirements of the continuously developed vehicle networking on the vehicle-mounted terminal.
The principles and embodiments of the present invention have been described in detail using specific examples, which are provided only to aid in understanding the core technical content of the present invention. Based on the above embodiments of the present invention, those skilled in the art should make any improvements and modifications to the present invention without departing from the principle of the present invention, and therefore, the present invention should fall into the protection scope of the present invention.

Claims (8)

1. A RISC-V based vehicle-mounted terminal system, characterized in that it comprises: RISC-V kernel module, state monitoring module, platform management module, communication transmission module, vehicle interface module;
the RISC-V kernel module is composed of a CPU kernel which accords with the RISC-V instruction set standard;
the vehicle-mounted device interface module is composed of a controller local area network transceiver and is used for being physically connected with a vehicle and transmitting vehicle data;
the state monitoring module is used for receiving vehicle data transmitted by the vehicle-mounted machine interface, analyzing and storing the data according to rules, and transmitting selected vehicle data information to the platform management module;
the platform management module is used for performing the performance management on the RISC-V kernel module and the vehicle machine interface module according to the input current vehicle state information;
the communication transmission module is used for transmitting the vehicle data received by the platform management module into a remote end so as to realize vehicle information reporting and remote end management.
2. The RISC-V based vehicle terminal system of claim 1, wherein the state monitoring module is configured to monitor various information of vehicle speed, acceleration, vehicle position, vehicle height, environment temperature and humidity within a period of time and at the current time, and to divide the current vehicle state and the duration of each state according to rules, and then to transmit the state and duration to the platform management module.
3. The RISC-V based vehicle terminal system of claim 2, wherein the current vehicle state comprises three states, namely idle state, general working state and special working state;
when the state monitoring module monitors that the vehicle is in a long-term idling state, the platform management module gives a sleep instruction, so that the terminal system enters an extremely low power consumption state and returns to a general working state when the vehicle state changes;
when the state monitoring module monitors that the vehicle is in a normal running or stopping state, the platform management module gives a general working state enabling instruction to enable the terminal system to enter a general working state;
when the state monitoring module monitors that the vehicle is in an abnormal driving state, the platform management module gives a special working state enabling instruction, so that the terminal system enters a special working state.
4. A RISC-V based vehicle terminal system according to claim 3, wherein said RISC-V kernel module supports RISC-V basic instruction set RV32IF or RV 32E.
5. The RISC-V based vehicle mounted terminal system of claim 4, wherein the RISC-V kernel module divides different power domains and clock domains in the kernel, the RISC-V kernel module comprises a basic instruction sub-module and an extended instruction sub-module;
the basic instruction sub-module is used for realizing RV32IMFA or RV32E instruction set defined by RISC-V standard;
the extended instruction submodule is used for realizing a self-customized instruction set defined by a car factory or a user and is used for carrying out instruction set level acceleration on an application with special requirements.
6. The RISC-V based vehicle terminal system of claim 5, wherein the extended instruction set module is disabled when the current vehicle is in a normal operating state;
when the current vehicle is in a special working state, the RISC-V kernel module enables the extended instruction submodule, and the function of the self-customization instruction set is executed.
7. The RISC-V based vehicle terminal system of claim 6, wherein when the current vehicle state is normal, the RISC-V kernel module enables only the related components realized by RV32E instruction set, and the configuration enables 16 general integer registers to form a register set.
When the current vehicle is in a special working state, the RISC-V kernel module enables an additional 16 general integer registers, an additional 32 general floating point registers and related connecting components, so that the RISC-V kernel module supports the RV32IF instruction subset.
8. The RISC-V based vehicle terminal system of claim 6, wherein when the current vehicle is in a normal operation mode, the RISC-V kernel module operates in a machine mode defined by the RISC-V architecture;
when the current vehicle is in a special working state, the RISC-V kernel can improve the processing speed and accuracy, enable a user mode defined by a RISC-V architecture and realize resource protection at the same time.
CN201911354541.3A 2019-12-25 2019-12-25 RISC-V based vehicle-mounted terminal system Active CN111025990B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911354541.3A CN111025990B (en) 2019-12-25 2019-12-25 RISC-V based vehicle-mounted terminal system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911354541.3A CN111025990B (en) 2019-12-25 2019-12-25 RISC-V based vehicle-mounted terminal system

Publications (2)

Publication Number Publication Date
CN111025990A true CN111025990A (en) 2020-04-17
CN111025990B CN111025990B (en) 2021-08-03

Family

ID=70214794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911354541.3A Active CN111025990B (en) 2019-12-25 2019-12-25 RISC-V based vehicle-mounted terminal system

Country Status (1)

Country Link
CN (1) CN111025990B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114257619A (en) * 2021-12-20 2022-03-29 中科芯云微电子科技有限公司 Internet of things terminal, Internet of things system and Internet of things control method
CN114390465A (en) * 2020-10-19 2022-04-22 中移物联网有限公司 Vehicle-mounted positioning terminal control method and device and electronic equipment
CN115184437A (en) * 2022-07-15 2022-10-14 山东云海国创云计算装备产业创新中心有限公司 RISC-V based biological signal detection system, method and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210882A (en) * 2012-03-30 2013-10-10 Nec Soft Ltd Emulation device, emulation method, program, and development support system of built-in apparatus
CN204331355U (en) * 2014-11-28 2015-05-13 奇点新源国际技术开发(北京)有限公司 The car-mounted terminal of electric automobile
CN204567573U (en) * 2015-03-27 2015-08-19 西安科技大学 Based on automobile monitoring and the anti-theft system of 3G network
CN104890594A (en) * 2015-04-20 2015-09-09 成都亿盟恒信科技有限公司 Vehicle-mounted wireless terminal capable of intelligent sleep and multistage sleep method of vehicle-mounted wireless terminal
CN206369812U (en) * 2016-11-28 2017-08-01 东莞职业技术学院 The vehicle management intelligent terminal positioned based on the Big Dipper
CN108765625A (en) * 2018-03-31 2018-11-06 成都四海万联科技有限公司 A kind of car-mounted device having from arousal function
CN108961461A (en) * 2018-06-05 2018-12-07 中建八局第二建设有限公司 A kind of device and method of real-time monitoring engineering mechanical device
CN110557134A (en) * 2018-05-30 2019-12-10 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013210882A (en) * 2012-03-30 2013-10-10 Nec Soft Ltd Emulation device, emulation method, program, and development support system of built-in apparatus
CN204331355U (en) * 2014-11-28 2015-05-13 奇点新源国际技术开发(北京)有限公司 The car-mounted terminal of electric automobile
CN204567573U (en) * 2015-03-27 2015-08-19 西安科技大学 Based on automobile monitoring and the anti-theft system of 3G network
CN104890594A (en) * 2015-04-20 2015-09-09 成都亿盟恒信科技有限公司 Vehicle-mounted wireless terminal capable of intelligent sleep and multistage sleep method of vehicle-mounted wireless terminal
CN206369812U (en) * 2016-11-28 2017-08-01 东莞职业技术学院 The vehicle management intelligent terminal positioned based on the Big Dipper
CN108765625A (en) * 2018-03-31 2018-11-06 成都四海万联科技有限公司 A kind of car-mounted device having from arousal function
CN110557134A (en) * 2018-05-30 2019-12-10 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted terminal
CN108961461A (en) * 2018-06-05 2018-12-07 中建八局第二建设有限公司 A kind of device and method of real-time monitoring engineering mechanical device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114390465A (en) * 2020-10-19 2022-04-22 中移物联网有限公司 Vehicle-mounted positioning terminal control method and device and electronic equipment
CN114257619A (en) * 2021-12-20 2022-03-29 中科芯云微电子科技有限公司 Internet of things terminal, Internet of things system and Internet of things control method
CN115184437A (en) * 2022-07-15 2022-10-14 山东云海国创云计算装备产业创新中心有限公司 RISC-V based biological signal detection system, method and medium
CN115184437B (en) * 2022-07-15 2024-02-02 山东云海国创云计算装备产业创新中心有限公司 Biological signal detection system, method and medium based on RISC-V

Also Published As

Publication number Publication date
CN111025990B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN111025990B (en) RISC-V based vehicle-mounted terminal system
CN102546843B (en) A kind of method by the multiple UART communication interfaces of software simulated implementation
CN106371847B (en) CPCI bus RS422 communication driving method and system under Windows xp system
CN108333566B (en) ZYNQ-based portable radar test system and test method
CN104021060A (en) BMC serial port debugging system and method
CN110888767B (en) Interface multiplexing module verification platform architecture and quick expansion implementation method
US20110191573A1 (en) Multi-motherboard server system
EP2372603A1 (en) Appliance including a radio frequency identification (RFID) device and method for two-way communication of dynamic data by the appliance via the RFID device
CN104903800A (en) Motion controller and robot control system using the same
CN115098412A (en) Peripheral access controller, data access device and corresponding method, medium and chip
CN102759980B (en) Multi-core electronic system and rate adjustment device thereof
CN102636987A (en) Dual control device
CN113010470A (en) Edge node remote control system, method, device and storage medium
CN105487403A (en) Establishment of motion control system based on CAN and simulation modeling method
EP4372576A1 (en) Sensor data access system
CN102923127A (en) Calibration system of machine controller and hybrid electric vehicle
CN203754167U (en) Handheld terminal for elevator debugging and maintenance
CN103149909A (en) Field programmable gate array (FPGA)-based controller area network (CAN) simulation node system
CN1979459A (en) Electric automotive motor and monitoring device for controlling system operation course
CN101315555A (en) USB communication system of field excitation controller based on DSP chip, and operation method thereof
CN117311447A (en) Clock source determining method, device, equipment and computer readable storage medium
CN110377272B (en) Method and device for realizing SDK based on TBOX
CN114860512A (en) Method, device, equipment and system for detecting working state of SOC (system on chip) chip of vehicle
Nicolae et al. Embedding Android devices in automation systems
US7000148B2 (en) Program-controlled unit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210713

Address after: Building S02, 1036 Gaoxin Langchao Road, Jinan, Shandong 250100

Applicant after: Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before: North 6th floor, S05 building, Langchao Science Park, 1036 Langchao Road, hi tech Zone, Jinan City, Shandong Province, 250100

Applicant before: SHANDONG INSPUR ARTIFICIAL INTELLIGENCE RESEARCH INSTITUTE Co.,Ltd.

GR01 Patent grant
GR01 Patent grant