CN1283490C - Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology - Google Patents
Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology Download PDFInfo
- Publication number
- CN1283490C CN1283490C CN 200410061203 CN200410061203A CN1283490C CN 1283490 C CN1283490 C CN 1283490C CN 200410061203 CN200410061203 CN 200410061203 CN 200410061203 A CN200410061203 A CN 200410061203A CN 1283490 C CN1283490 C CN 1283490C
- Authority
- CN
- China
- Prior art keywords
- battery
- computer
- vehicle
- upper computer
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Navigation (AREA)
Abstract
本发明涉及到一种基于虚拟和数字技术的汽车仪表。基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台,其特征是:液晶显示器由显卡通过AGP插槽与车载计算机相连;触摸屏通过串口与车载计算机相连;指示灯开关通过信号线与数字I/O数据采集卡相连,数字I/O数据采集卡通过PCI插槽与车载计算机相连;车轮转速传感器通过串口与车载计算机相连;蓄电池监测系统通过串口与车载计算机相连;摄像头通过AV端子将电信号输入电视卡,电视卡通过PCI插槽与车载计算机相连;GPS接收器通过USB接口与车载计算机相连;无线上网卡通过USB接口与车载计算机相连。本发明集汽车仪表和多种信息功能为一体。
The invention relates to a car instrument based on virtual and digital technology. The combination car instrument and vehicle multi-function information platform based on virtual and digital technology is characterized in that: the liquid crystal display is connected with the vehicle computer through the AGP slot by the graphics card; the touch screen is connected with the vehicle computer through the serial port; the indicator light switch is connected with the digital I through the signal line The /O data acquisition card is connected, and the digital I/O data acquisition card is connected with the on-board computer through the PCI slot; the wheel speed sensor is connected with the on-board computer through the serial port; the battery monitoring system is connected with the on-board computer through the serial port; Input the TV card, the TV card is connected with the vehicle computer through the PCI slot; the GPS receiver is connected with the vehicle computer through the USB interface; the wireless network card is connected with the vehicle computer through the USB interface. The invention integrates the automobile instrument and various information functions into one.
Description
技术领域technical field
本发明是基于虚拟技术和数字技术的汽车用多功能仪表,属于汽车用多功能组合仪表类。The invention is a multifunctional instrument for automobiles based on virtual technology and digital technology, and belongs to the category of multifunctional combined instruments for automobiles.
背景技术Background technique
汽车仪表是驾驶员与汽车进行交流的窗口,汽车仪表的发展至今经历了四个阶段:第1代汽车仪表的工作原理基于机械原理,是机械式仪表;第2代汽车仪表基于电测量原理,即通过各类传感器将待测的非电量物理量转换成电信号进行测量,是电气式仪表;第3代为模拟电路电子式仪表;第4代为步进电动机式全数字汽车仪表。现有的步进电动机式全数字汽车仪表常采用机械式或电子式实物仪表、指示器和信号装置,仍会出现机械或电气故障,影响其测量示值的准确性和工作可靠性,因此性能有待进一步提高。The car instrument is the window for the driver to communicate with the car. The development of the car instrument has gone through four stages: the working principle of the first generation of car instrument is based on the mechanical principle, which is a mechanical instrument; the second generation of car instrument is based on the principle of electrical measurement. That is, through various sensors, the non-electrical physical quantity to be measured is converted into an electrical signal for measurement. It is an electrical instrument; the third generation is an analog circuit electronic instrument; the fourth generation is a stepping motor type full digital automotive instrument. Existing stepping motor-type full-digital automotive instruments often use mechanical or electronic physical instruments, indicators and signaling devices, and mechanical or electrical failures will still occur, which will affect the accuracy and reliability of their measurement indications. Therefore, the performance It needs to be further improved.
为完善仪表功能应有报警系统,为判断事故原因应有行车记录,为改善驾驶条件还应有电子倒车后视装置,为方便出行亦需车载办公系统(无线上网)等等。这些单一的车载系统有的已在汽车上应用,但至今仍无集汽车仪表和多种信息功能为一体的基于虚拟和数字技术的汽车仪表和信息综合平台。In order to improve the function of the instrument, there should be an alarm system, to judge the cause of the accident, there should be a driving record, to improve the driving conditions, there should be an electronic rear view device, and for the convenience of travel, an on-board office system (wireless Internet access) and so on should be required. Some of these single in-vehicle systems have been applied in automobiles, but there is still no car instrumentation and information comprehensive platform based on virtual and digital technology that integrates car instrumentation and various information functions.
发明内容Contents of the invention
本发明的目的在于提供一种基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台,它集汽车仪表和多种信息功能为一体。The object of the present invention is to provide a combined vehicle instrument and vehicle multifunctional information platform based on virtual and digital technology, which integrates the vehicle instrument and various information functions.
为了实现上述目的,本发明的技术方案是:基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台,其特征是:液晶显示器由显卡通过AGP插槽与车载计算机相连,液晶显示器显示汽车运行状态监测界面和人机操作界面;触摸屏通过串口与车载计算机相连;指示灯开关通过信号线与数字I/O数据采集卡相连,数字I/O数据采集卡通过PCI插槽与车载计算机相连,数字I/O数据采集卡提供数字I/O功能,它采集:各照明与信号指示灯开关(左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、风窗玻璃刮水器指示灯)、各报警信号指示灯开关(制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯)、电机故障和电机挡位信号;车轮转速传感器采用磁电式转速传感器,它安装在半轴上,通过串口与车载计算机相连,用于测量车轮转动角速度;蓄电池监测系统通过串口与车载计算机相连,它用于监测蓄电池的荷电状态SOC(State OfCharge)、温度、电压和电流;摄像头通过AV端子将电信号输入电视卡,电视卡通过PCI插槽与车载计算机相连,摄像头起后视镜的作用;GPS接收器通过USB接口与车载计算机相连,GPS接收器接收全球定位系统GPS(Global Position System)发送的汽车定位信号,然后通过地图匹配技术将汽车定位点描绘在电子地图上;无线上网卡通过USB接口与车载计算机相连,无线上网卡(CDMA Modem)使车载计算机通过CDMA 1X网络与Internet相连。In order to achieve the above object, the technical solution of the present invention is: a combined vehicle instrument and a vehicle-mounted multifunctional information platform based on virtual and digital technology, characterized in that: the liquid crystal display is connected with the vehicle-mounted computer by the graphics card through the AGP slot, and the liquid crystal display shows that the vehicle is running The status monitoring interface and man-machine operation interface; the touch screen is connected to the on-board computer through the serial port; the indicator switch is connected to the digital I/O data acquisition card through the signal line, and the digital I/O data acquisition The I/O data acquisition card provides digital I/O functions, which collect: various lighting and signal indicator switches (left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights , reversing light, windshield wiper indicator light), each alarm signal indicator switch (brake system failure light, door ajar indicator light, seat belt not fastened indicator light, hazard warning light), motor failure and the gear signal of the motor; the wheel speed sensor adopts a magnetoelectric speed sensor, which is installed on the half shaft and connected with the on-board computer through the serial port to measure the rotational angular velocity of the wheel; the battery monitoring system is connected with the on-board computer through the serial port, which is used for Monitor the SOC (State Of Charge), temperature, voltage and current of the battery; the camera inputs electrical signals into the TV card through the AV terminal, and the TV card is connected to the on-board computer through the PCI slot, and the camera acts as a rearview mirror; GPS receiver The device is connected to the on-board computer through the USB interface, and the GPS receiver receives the vehicle positioning signal sent by the Global Positioning System (GPS), and then draws the vehicle positioning point on the electronic map through map matching technology; the wireless network card communicates with the vehicle through the USB interface. The on-board computer is connected, and the wireless network card (CDMA Modem) enables the on-board computer to be connected to the Internet through the CDMA 1X network.
所述的液晶显示器为1-7个。There are 1-7 liquid crystal displays.
所述的液晶显示器为1个时,其屏幕分为电子后视镜区、定位导航(电子地图)区、车速里程表区、蓄电池工作状态监测区、照明与信号指示灯区、警报信号指示灯区、程序控制区,触摸屏固定在液晶显示器屏幕上;电子后视镜区显示摄像头所拍摄的汽车后方影像,以便驾驶员观察车后交通状况;定位导航区显示电子地图,它利用GPS接收器接收的汽车定位信息在电子地图上描绘汽车运行轨迹;车速里程表区显示车速表、超速报警灯、带复位按钮的单程里程表和累计里程表;蓄电池工作状态监测区显示蓄电池荷电状态SOC(State Of Charge)和蓄电池温度;照明与信号指示灯区显示如下指示灯的状态:左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、挡位指示灯和风窗玻璃刮水器指示灯;警报信号指示灯区显示如下指示灯的状态:制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯和电机故障灯;程序控制区显示如下程序的运行按钮:电子后视镜、车载定位导航、汽车运行记录(黑匣子)、互联网浏览器、MP3播放器、无线电视和调频收音机。When there is one liquid crystal display, the screen is divided into an electronic rearview mirror area, a positioning navigation (electronic map) area, a speedometer area, a battery working state monitoring area, a lighting and signal indicator area, and an alarm signal indicator area. Area, program control area, the touch screen is fixed on the LCD screen; the electronic rearview mirror area displays the rear image of the car captured by the camera, so that the driver can observe the traffic conditions behind the car; the positioning navigation area displays an electronic map, which uses a GPS receiver to receive The car positioning information depicts the car running track on the electronic map; the speedometer area displays the speedometer, overspeed warning light, single-trip odometer and cumulative odometer with reset button; the battery working status monitoring area displays the battery state of charge SOC (State Of Charge) and battery temperature; the lighting and signal indicator area displays the status of the following indicators: left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights, reverse lights , gear position indicator light and windshield wiper indicator light; the warning signal indicator area displays the status of the following indicators: brake system fault indicator light, door ajar indicator light, seat belt not fastened indicator light, hazard warning light and motor failure light; the program control area displays the operation buttons of the following programs: electronic rearview mirror, vehicle positioning navigation, vehicle operation record (black box), Internet browser, MP3 player, wireless TV and FM radio.
所述的车载计算机为小型台式计算机或嵌入式计算机。The vehicle-mounted computer is a small desktop computer or an embedded computer.
本发明为虚拟仪表,采用数字化方式实现车辆运行信息的采集、分析处理和显示,具有结构简单、工作稳定等特点,同时通过模块化设计和系统集成,将汽车虚拟仪表和车载电子信息设备如电子后视镜、车载定位导航、故障监测、无线上网、影音娱乐、运行记录等系统进行集成,共用一台车载计算机,形成基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台,它集汽车仪表和多种信息功能为一体,可达到简化结构、降低成本、提高可靠性、实现多功能的目的。The invention is a virtual instrument, which realizes the collection, analysis, processing and display of vehicle operation information in a digital way, and has the characteristics of simple structure and stable operation. Rearview mirror, on-board positioning and navigation, fault monitoring, wireless Internet access, audio-visual entertainment, operating records and other systems are integrated, and a vehicle-mounted computer is shared to form a combined vehicle instrument and vehicle-mounted multi-functional information platform based on virtual and digital technology. The instrument and various information functions are integrated, which can achieve the purpose of simplifying the structure, reducing the cost, improving the reliability and realizing the multi-function.
附图说明Description of drawings
图1为以纯电动汽车为例的系统人机界面框图Figure 1 is a block diagram of the human-machine interface of the system taking pure electric vehicles as an example
图2为硬件系统的结构框图Figure 2 is a block diagram of the hardware system
图3为软件系统的组成框图Figure 3 is a block diagram of the software system
图4为应用软件的结构框图Figure 4 is a block diagram of the application software
具体实施方式Detailed ways
如图2所示,基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台,液晶显示器由显卡通过AGP插槽与车载计算机相连,液晶显示器显示汽车运行状态监测界面和人机操作界面;触摸屏通过串口与车载计算机相连;指示灯开关通过信号线与数字I/O数据采集卡相连,数字I/O数据采集卡通过PCI插槽与车载计算机相连,数字I/O数据采集卡提供数字I/O功能,它采集:各照明与信号指示灯开关(左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、风窗玻璃刮水器指示灯)、各报警信号指示灯开关(制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯)、电机故障和电机挡位信号;车轮转速传感器采用磁电式转速传感器,它安装在半轴上,通过串口与车载计算机相连,用于测量车轮转动角速度;蓄电池监测系统通过串口与车载计算机相连,它用于监测蓄电池的荷电状态SOC(State Of Charge)、温度、电压和电流;摄像头通过AV端子将电信号输入电视卡,电视卡通过PCI插槽与车载计算机相连,摄像头起后视镜的作用;GPS接收器通过USB接口与车载计算机相连,GPS接收器接收全球定位系统GPS(GlobalPosition System)发送的汽车定位信号,然后通过地图匹配技术将汽车定位点描绘在电子地图上;无线上网卡通过USB接口与车载计算机相连,无线上网卡(CDMA Modem)使车载计算机通过CDMA 1X网络与Internet相连。As shown in Figure 2, based on the combination of virtual and digital technology, the car instrument and the car multi-function information platform, the liquid crystal display is connected with the car computer through the AGP slot by the graphics card, and the liquid crystal display shows the car running status monitoring interface and the man-machine operation interface; the touch screen It is connected with the on-board computer through the serial port; the indicator light switch is connected with the digital I/O data acquisition card through the signal line, and the digital I/O data acquisition card is connected with the on-board computer through the PCI slot, and the digital I/O data acquisition card provides digital I/O O function, it collects: various lighting and signal indicator switches (left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights, reversing lights, windshield wiper indicator light), each alarm signal light switch (brake system failure light, door not closed light, seat belt not fastened light, hazard warning light), motor fault and motor gear signal; the wheel speed sensor adopts The magnetoelectric speed sensor is installed on the half shaft and connected to the on-board computer through the serial port to measure the rotational angular velocity of the wheel; the battery monitoring system is connected to the on-board computer through the serial port, which is used to monitor the SOC (State Of Charge) of the battery Charge), temperature, voltage and current; the camera inputs electrical signals into the TV card through the AV terminal, and the TV card is connected to the on-board computer through the PCI slot, and the camera acts as a rearview mirror; the GPS receiver is connected to the on-board computer through the USB interface. The GPS receiver receives the car positioning signal sent by GPS (Global Position System), and then draws the car positioning point on the electronic map through map matching technology; the wireless network card is connected to the vehicle-mounted computer through the USB interface, and the wireless network card (CDMA Modem ) to connect the vehicle-mounted computer to the Internet through the CDMA 1X network.
如图1所示,液晶显示器为1个,分为电子后视镜区、定位导航(电子地图)区、车速里程表区、蓄电池工作状态监测区、照明与信号指示灯区、警报信号指示灯区、程序控制区,触摸屏固定在液晶显示器屏幕上;电子后视镜区显示摄像头所拍摄的汽车后方影像,以便驾驶员观察车后交通状况;定位导航区显示电子地图,它利用GPS接收器接收的汽车定位信息在电子地图上描绘汽车运行轨迹;车速里程表区显示车速表、超速报警灯、带复位按钮的单程里程表和累计里程表;蓄电池工作状态监测区显示蓄电池荷电状态SOC(StateOf Charge)和蓄电池温度;照明与信号指示灯区显示如下指示灯的状态:左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、挡位指示灯和风窗玻璃刮水器指示灯;警报信号指示灯区显示如下指示灯的状态:制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯和电机故障灯;程序控制区显示如下程序的运行按钮:电子后视镜、车载定位导航、汽车运行记录(黑匣子)、互联网浏览器、MP3播放器、无线电视和调频收音机。As shown in Figure 1, there is one LCD display, which is divided into electronic rearview mirror area, positioning navigation (electronic map) area, speedometer area, battery working status monitoring area, lighting and signal indicator area, and alarm signal indicator Area, program control area, the touch screen is fixed on the LCD screen; the electronic rearview mirror area displays the rear image of the car captured by the camera, so that the driver can observe the traffic conditions behind the car; the positioning navigation area displays an electronic map, which uses a GPS receiver to receive The car positioning information depicts the car running track on the electronic map; the speedometer area displays the speedometer, overspeed warning light, single-trip odometer and cumulative odometer with reset button; the battery working state monitoring area displays the battery state of charge SOC (StateOf Charge) and battery temperature; the lighting and signal indicator area displays the status of the following indicators: left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights, reverse lights, Gear position indicator light and windshield wiper indicator light; the warning signal indicator area displays the status of the following indicator lights: brake system fault light, door ajar light, seat belt not fastened light, hazard warning light and Motor failure light; the program control area displays the operation buttons of the following programs: electronic rearview mirror, vehicle positioning navigation, vehicle operation record (black box), Internet browser, MP3 player, wireless TV and FM radio.
车载计算机采用小型台式计算机(如采用嵌入式技术,可进一步降低体积和成本)。各种指示灯开关信号通过数字I/O数据采集卡传入计算机,各种模拟信号(如车轮转速、蓄电池电压、电流和温度等)通过相应传感器传入计算机。数据和信号通过计算机软硬件处理后在人机界面(液晶显示器)上显示。本例人机界面为单屏,也可采用多屏。本例人机界面划分为7个区,分别显示不同的信息和车辆运行数据。各功能的启动按钮位于触摸屏上,驾驶员可以通过触摸屏很方便地启动相应程序,获取所需的动态信息。汽车仪表均为虚拟,可在人机界面(液晶显示器)上显示。The vehicle-mounted computer adopts a small desktop computer (such as adopting embedded technology, which can further reduce volume and cost). Various indicator light switch signals are transmitted to the computer through the digital I/O data acquisition card, and various analog signals (such as wheel speed, battery voltage, current and temperature, etc.) are transmitted to the computer through corresponding sensors. Data and signals are displayed on the man-machine interface (liquid crystal display) after being processed by computer software and hardware. In this example, the human-machine interface is a single screen, and multiple screens can also be used. In this example, the man-machine interface is divided into 7 areas, which display different information and vehicle operation data respectively. The start button of each function is located on the touch screen, and the driver can easily start the corresponding program through the touch screen to obtain the required dynamic information. The car instruments are all virtual and can be displayed on the man-machine interface (liquid crystal display).
本发明将虚拟数字式汽车仪表与电子后视镜、车载定位导航、故障监测、无线上网和影音娱乐、运行记录等附加信息系统进行了集成,使它们分主次共享车载计算机资源,分区域和分时共用车载液晶显示器。系统集成中,应以与驾驶员行车安全密切相关的虚拟数字式汽车仪表、电子后视镜、车载定位导航和故障监测系统为主,以无线上网和影音娱乐系统为辅。The invention integrates the virtual digital vehicle instrument with additional information systems such as electronic rearview mirror, vehicle positioning and navigation, fault monitoring, wireless Internet access, audio-visual entertainment, and running records, so that they can share the vehicle computer resources in primary and secondary, divided into regions and Time-sharing vehicle LCD display. In the system integration, the virtual digital car instrument, electronic rearview mirror, vehicle positioning navigation and fault monitoring system closely related to the driver's driving safety should be the main ones, supplemented by wireless Internet access and audio-visual entertainment systems.
通过合理的系统集成与选用适合于车载使用和性价比高的部件,提高系统的综合性能和降低系统的总体成本。Through reasonable system integration and selection of components suitable for vehicle use and cost-effective, the overall performance of the system can be improved and the overall cost of the system can be reduced.
将各信号的监测单元和系统的各子功能单元作为相互独立的子模块,各子模块可独立工作,也可依一定的联系组合成为一个系统。模块化在硬件结构上表现为各板卡的模块式集成,在系统的软件整合上表现为虚拟仪器结构。这种模块化设计可提高系统的可靠性、可维护性和可测试性。The monitoring unit of each signal and each sub-functional unit of the system are regarded as mutually independent sub-modules, and each sub-module can work independently, and can also be combined into a system according to a certain connection. Modularization is manifested in the modular integration of each board in terms of hardware structure, and in the form of virtual instrument structure in terms of system software integration. This modular design improves system reliability, maintainability, and testability.
一方面,由于汽车仪表功能的不断丰富,这需要在设计上考虑系统的可扩展性,提高系统的升级换代性能和性价比。另一方面,为得到经济实用的小型系统,这需要在设计上考虑系统的精简性,在保证系统基本功能的前提下降低成本和价格。系统的可扩展性和精简性表现在系统软件之间和硬件之间的兼容性以及软件和硬件之间的柔性连接上。On the one hand, due to the continuous enrichment of automotive instrument functions, it is necessary to consider the scalability of the system in the design, and improve the upgrade performance and cost performance of the system. On the other hand, in order to obtain an economical and practical small system, it is necessary to consider the simplification of the system in the design, and reduce the cost and price on the premise of ensuring the basic functions of the system. The scalability and simplification of the system are reflected in the compatibility between system software and hardware, as well as the flexible connection between software and hardware.
虚拟数字式汽车仪表应是一种基本上能满足各种车型的通用汽车仪表,只要在软件中针对不同车型将有关参数作适当修改,软硬件主体结构不需作改动,便能使通用汽车仪表与该车型相匹配并满足其要求。这样可省去针对不同车型对汽车仪表进行重新设计、调试和做可靠性试验等复杂过程,能最大限度地缩短产品开发的时间和费用,同时避免了可能出现的技术风险。The virtual digital car meter should be a kind of general-purpose car meter that can basically meet various car models. As long as the relevant parameters are appropriately modified in the software for different car models, the main structure of the software and hardware does not need to be changed, and the general-purpose car meter can be used. Matches and satisfies the car model. In this way, complex processes such as redesigning, debugging and reliability testing of automotive instrumentation for different models can be omitted, and the time and cost of product development can be shortened to the greatest extent, while possible technical risks can be avoided.
系统应能满足国家和汽车行业标准中汽车仪表耐久性试验的要求,能连续可靠运行24小时。通过对系统硬件采取良好的屏蔽和保护措施,使其具有可靠的抗干扰能力。通过对系统软件的备份,使其具有自恢复能力。The system should be able to meet the requirements of the automobile instrument durability test in the national and automobile industry standards, and can run continuously and reliably for 24 hours. By taking good shielding and protection measures for the system hardware, it has reliable anti-interference ability. By backing up the system software, it has self-recovery capability.
系统应能经受上下、左右、前后三个方向的定频振动试验和上下方向的扫频振动试验。振动试验后,各硬件不得有松动和损坏现象,并且系统的工作性能应符合国家和汽车行业相关标准的规定。The system should be able to withstand the fixed frequency vibration test in the three directions of up and down, left and right, and front and back, and the sweep frequency vibration test in the up and down direction. After the vibration test, the hardware must not be loose or damaged, and the working performance of the system should comply with the relevant national and automotive industry standards.
系统在-20℃~55℃的环境温度下应能正常工作,其工作性能应符合国家和汽车行业相关标准的规定。The system should be able to work normally at an ambient temperature of -20°C to 55°C, and its working performance should meet the requirements of the relevant national and automotive industry standards.
系统应具有较强的兼容性,在Windows操作系统下能与将来可能添加的硬件和软件配合使用,以扩展系统功能。The system should have strong compatibility, and can be used in conjunction with hardware and software that may be added in the future under the Windows operating system to expand system functions.
本发明通过传感器采集待测非电量物理量,采用数字化方式实现车辆运行信息的传输、分析处理和显示,并结合虚拟仪器VI(Virtual Instrument)技术,用虚拟指示器和信号装置代替相应实物,构建虚拟数字仪表。同时,本发明在汽车仪表基础上扩展了功能,将电子后视镜、车载定位导航、故障监测与诊断、行车记录、无线上网(车载办公系统)、影音娱乐系统组合在一起,并由车载计算机统一控制。通过此方式,组合成具有7种功能(功能可增减)的基于虚拟和数字技术的组合汽车仪表和车载多功能信息平台。The present invention collects the non-electric quantity physical quantity to be measured through the sensor, realizes the transmission, analysis, processing and display of the vehicle operation information in a digital way, and combines the virtual instrument VI (Virtual Instrument) technology, replaces the corresponding physical objects with virtual indicators and signal devices, and constructs a virtual digital instrumentation. Simultaneously, the present invention expands the function on the basis of the automobile instrument, combines the electronic rearview mirror, vehicle positioning and navigation, fault monitoring and diagnosis, driving records, wireless Internet access (vehicle office system), and audio-visual entertainment system together, and is controlled by the vehicle computer Unified control. In this way, it is combined into a virtual and digital technology-based combined car instrument and vehicle multi-function information platform with 7 functions (functions can be increased or decreased).
一、系统的人机界面及功能1. The human-machine interface and functions of the system
系统的人机界面是驾驶员和系统进行信息交换的桥梁。本发明研发的实物采用单一大屏幕显示屏,亦可采用多屏的形式。系统的人机界面根据功能分为7个区,界面设计和分区时充分考虑驾驶员的使用要求(驾驶安全、操作方便),确保输出的信息显示直观醒目和驾驶员的操作准确无误。The human-machine interface of the system is a bridge for information exchange between the driver and the system. The real object developed by the present invention adopts a single large-screen display screen, and may also adopt the form of multiple screens. The man-machine interface of the system is divided into 7 zones according to the functions. The driver’s requirements (safe driving and convenient operation) are fully considered in the interface design and partitioning to ensure that the output information display is intuitive and eye-catching and the driver’s operation is accurate.
图1为以纯电动汽车为例的系统人机界面框图(传统汽车仅需将蓄电池SOC和蓄电池温度表的信息显示改为燃油箱油量和发动机冷却液温度等参数即可)。Figure 1 is a block diagram of the human-machine interface of the system taking pure electric vehicles as an example (traditional vehicles only need to change the information display of battery SOC and battery temperature gauge to parameters such as fuel tank oil volume and engine coolant temperature).
人机界面分为7个区域:The HMI is divided into 7 areas:
1、电子后视镜区1. Electronic rearview mirror area
电子后视镜区显示摄像头所拍摄的汽车后方影像,以便驾驶员观察车后交通状况。当驾驶员挂上倒挡时,电子后视镜区会自动以全屏显示,方便驾驶员倒车。The electronic rearview mirror area displays the rear image of the car captured by the camera, so that the driver can observe the traffic conditions behind the car. When the driver engages the reverse gear, the electronic rearview mirror area will automatically display in full screen, which is convenient for the driver to reverse the car.
2、定位导航(电子地图)区2. Positioning and navigation (electronic map) area
定位导航区显示电子地图,它利用GPS接收器接收的汽车定位信息在电子地图上描绘汽车运行轨迹。定位导航程序可提供静态导航功能,能根据驾驶员提供的起点和终点名称,自动确定最短行车路线。The positioning navigation area displays an electronic map, which uses the vehicle positioning information received by the GPS receiver to describe the vehicle's running track on the electronic map. The positioning navigation program can provide a static navigation function, which can automatically determine the shortest driving route according to the starting point and ending point names provided by the driver.
3、车速里程表区3. Speedometer area
车速里程表区显示车速表、超速报警灯、带复位按钮的单程里程表和累计里程表。The speedometer area displays the speedometer, overspeed warning light, one-way odometer with reset button and cumulative odometer.
应通过实车试验,对用理论公式进行计算的车速表进行校正。当车速为10km/h的整数倍时,会有语音提示“xxkm/h”告知驾驶员。当车速超过某一限定高速时,超速报警灯会点亮,并发出超速报警语音提示“请注意,车速超过xxkm/h”。The speedometer calculated with the theoretical formula should be corrected through the real vehicle test. When the vehicle speed is an integer multiple of 10km/h, there will be a voice prompt "xxkm/h" to inform the driver. When the vehicle speed exceeds a certain limited high speed, the overspeed warning light will light up, and an overspeed alarm voice prompt "Please note that the vehicle speed exceeds xxkm/h" will be issued.
单程里程表显示单次行程的行驶里程,按下复位按钮可使单程里程表回零。The one-way odometer displays the mileage of a single trip, and the one-way odometer can be reset to zero by pressing the reset button.
累计里程表显示汽车的累计总行驶里程。The cumulative odometer displays the cumulative total mileage of the car.
4、蓄电池工作状态监测区4. Battery working status monitoring area
蓄电池工作状态监测区显示蓄电池荷电状态SOC(State Of Charge)和蓄电池温度。当蓄电池SOC低于SOC下限值(如40%)时,蓄电池电量不足,蓄电池SOC表用红色显示,同时会有语音提示“请注意,电量不足”,以提醒驾驶员注意。当蓄电池SOC高于SOC上限值(如80%)时,蓄电池电量充足,蓄电池SOC表用绿色显示。当蓄电池SOC在SOC上、下限值之间(如40%~80%)时,蓄电池电量正常,蓄电池SOC表用蓝色显示。当蓄电池温度高于某一上限值时,蓄电池过热,蓄电池温度表用红色显示,同时会有语音提示“请注意,蓄电池过热”。当蓄电池温度低于该温度上限值时,蓄电池温度正常,蓄电池温度表用绿色显示。The battery working status monitoring area displays the battery state of charge SOC (State Of Charge) and battery temperature. When the battery SOC is lower than the SOC lower limit (such as 40%), the battery power is insufficient, the battery SOC meter is displayed in red, and there will be a voice prompt "Please note that the battery is insufficient" to remind the driver to pay attention. When the battery SOC is higher than the SOC upper limit (such as 80%), the battery power is sufficient, and the battery SOC meter is displayed in green. When the battery SOC is between the SOC upper and lower limits (such as 40% to 80%), the battery power is normal, and the battery SOC meter is displayed in blue. When the battery temperature is higher than a certain upper limit, the battery is overheated, the battery temperature gauge will display in red, and there will be a voice prompt "Please note that the battery is overheated". When the battery temperature is lower than the temperature upper limit, the battery temperature is normal, and the battery temperature gauge is displayed in green.
5、照明与信号指示灯区5. Lighting and signal indicator area
照明与信号指示灯区显示如下指示灯的状态:左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、挡位指示灯和风窗玻璃刮水器指示灯。它们的标志(形状和颜色)应符合GB4094-1999《汽车操纵件、指示器及信号装置的标志》。当某灯的开关闭合且该灯能正常工作,则会有语音提示“xx灯开”。The lighting and signal indicator area shows the status of the following indicators: left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights, reverse lights, gear indicator and windshield Glass wiper indicator light. Their signs (shape and color) should comply with GB4094-1999 "Signs of Automobile Controls, Indicators and Signaling Devices". When the switch of a certain light is closed and the light can work normally, there will be a voice prompt "xx light is on".
6、警报信号指示灯区6. Alarm signal indicator area
警报信号指示灯区显示如下指示灯的状态:制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯和电机故障灯。它们的标志(形状和颜色)应符合GB4094-1999《汽车操纵件、指示器及信号装置的标志》。当某部件有故障时,会有语音提示“请注意,xx有故障”。The warning signal indicator area displays the status of the following indicators: Brake system failure indicator, door ajar indicator, seat belt not fastened indicator, hazard warning indicator and motor failure indicator. Their signs (shape and color) should comply with GB4094-1999 "Signs of Automobile Controls, Indicators and Signaling Devices". When a component is faulty, there will be a voice prompt "Please note that xx is faulty".
7、程序控制区7. Program control area
程序控制区显示如下程序的运行按钮:电子后视镜、车载定位导航、汽车运行记录(黑匣子)、互联网浏览器、MP3播放器、无线电视和调频收音机。按下某一按钮就会启动相应程序。该区中的停止按钮用于使虚拟数字式汽车仪表软件停止运行。The program control area displays the operation buttons of the following programs: electronic rearview mirror, vehicle positioning navigation, vehicle operation record (black box), Internet browser, MP3 player, wireless TV and FM radio. Pressing a button starts the corresponding program. The stop button in this area is used to stop the virtual digital car instrument software from running.
为保证行车安全,行车时互联网浏览器和无线电视程序不可运行,以防止这两者的窗口占用屏幕和对驾驶员视线产生干扰。In order to ensure driving safety, the Internet browser and the wireless TV program cannot be operated during driving, so as to prevent the windows of the two from occupying the screen and interfering with the driver's line of sight.
汽车运行记录仪可指示和记录汽车的行驶速度、距离及对应的时间,它可作为黑匣子用于对汽车交通事故进行分析。The car running recorder can indicate and record the driving speed, distance and corresponding time of the car, and it can be used as a black box to analyze car traffic accidents.
二、硬件系统2. Hardware system
系统硬件的选用和组合原则为:充分考虑各硬件的兼容性和性价比;充分考虑系统的电磁兼容性,保证系统能够在比较恶劣的电磁环境下正常工作;满足系统的七个基本功能要求,并充分考虑系统的可扩展性和精简性,预留若干可扩展接口。图2为硬件系统的结构框图,图中包括如下主要部件。The selection and combination principles of the system hardware are: fully consider the compatibility and cost performance of each hardware; fully consider the electromagnetic compatibility of the system to ensure that the system can work normally in a relatively harsh electromagnetic environment; meet the seven basic functional requirements of the system, and Fully consider the scalability and simplification of the system, and reserve several scalable interfaces. Figure 2 is a structural block diagram of the hardware system, which includes the following main components.
1、车载计算机1. On-board computer
车载计算机采用小型台式计算机,其CPU为AMD Athlon 2000+XP,主频为2.0GHz;内存容量为512M;主板为KM400A-8235,集成显卡、声卡和网卡,提供3个PCI插槽,1个AGP插槽,若干串口和USB接口。亦可应用嵌入式技术,若采用嵌入式操作系统和相应的微处理器等软硬件,则可降低系统成本和体积,有利于其在汽车上应用。The on-board computer adopts a small desktop computer, its CPU is AMD Athlon 2000+XP, the main frequency is 2.0GHz; the memory capacity is 512M; the motherboard is KM400A-8235, integrated graphics card, sound card and network card, providing 3 PCI slots and 1 AGP slot, several serial and USB ports. Embedded technology can also be applied. If the embedded operating system and corresponding microprocessor and other software and hardware are used, the system cost and volume can be reduced, which is conducive to its application in automobiles.
2、液晶显示器2. LCD display
液晶显示器显示汽车运行状态监测和人机操作界面,它和显卡通过AGP插槽与车载计算机相连。The liquid crystal monitor displays the vehicle running status monitoring and the man-machine operation interface, and it and the graphics card are connected with the vehicle-mounted computer through the AGP slot.
3、触摸屏3. Touch screen
触摸屏起鼠标作用,它通过测量触摸点在触摸屏上的位置,确定光标在液晶显示器屏幕上的位置。驾驶员通过在触摸屏上点击,就可方便的操作车载计算机。触摸屏固定在液晶显示器屏幕上,通过串口与车载计算机相连。The touch screen acts as a mouse, and it determines the position of the cursor on the LCD screen by measuring the position of the touch point on the touch screen. The driver can conveniently operate the on-board computer by clicking on the touch screen. The touch screen is fixed on the liquid crystal display screen, and is connected with the on-board computer through the serial port.
4、数字I/O数据采集卡4. Digital I/O data acquisition card
数字I/O数据采集卡提供数字I/O功能。它通过PCI插槽与车载计算机相连。它采集的纯电动汽车信号包括:各照明与信号指示灯开关(左转向灯、右转向灯、远光灯、近光灯、侧灯、前雾灯、驻车灯、倒车灯、风窗玻璃刮水器指示灯)、各报警信号指示灯开关(制动系统故障灯、车门未关好指示灯、安全带未扣紧指示灯、危险报警灯)、电机故障和电机挡位信号。Digital I/O data acquisition cards provide digital I/O functionality. It is connected to the on-board computer through a PCI slot. The pure electric vehicle signals it collects include: various lighting and signal indicator switches (left turn signal, right turn signal, high beam, low beam, side lights, front fog lights, parking lights, reversing lights, windshield Glass wiper indicator light), each alarm signal indicator switch (brake system fault light, door ajar indicator light, seat belt not fastened indicator light, hazard warning light), motor fault and motor gear signal.
5、车轮转速传感器5. Wheel speed sensor
车轮转速传感器采用磁电式转速传感器,用于测量车轮转动角速度。它安装在半轴上,通过串口与车载计算机相连。The wheel speed sensor adopts a magnetoelectric speed sensor to measure the rotational angular velocity of the wheel. It is mounted on the half shaft and connected to the on-board computer through a serial port.
6、蓄电池监测系统6. Battery monitoring system
采用与车载蓄电池(如镍氢蓄电池)相配的蓄电池监测系统,它用于监测蓄电池的荷电状态SOC(State Of Charge)、温度、电压和电流。它通过串口与车载计算机相连。The battery monitoring system matched with the on-board battery (such as Ni-MH battery) is used to monitor the state of charge SOC (State Of Charge), temperature, voltage and current of the battery. It is connected with the on-board computer through the serial port.
7、摄像头7. Camera
摄像头起后视镜的作用,它利用电荷耦合器件CCD(Charge Coupled Devices)图像传感器将光信号转换为电信号,然后通过AV端子将电信号输入电视卡,电视卡再通过相应的软件将摄像头所拍摄的影像实时再现在液晶显示器屏幕上。The camera acts as a rearview mirror. It uses a charge-coupled device (CCD) image sensor to convert light signals into electrical signals, and then inputs the electrical signals into the TV card through the AV terminal. The captured images are reproduced on the LCD screen in real time.
8、电视卡8. TV card
电视卡可接收无线电视信号、AV端子信号、S端子信号和调频广播信号,它通过相应的视频和音频软件可播放无线电视、摄像头所拍摄的影像和调频广播。它通过PCI插槽与车载计算机相连。The TV card can receive wireless TV signals, AV terminal signals, S terminal signals and FM broadcast signals, and it can play wireless TV, images captured by cameras and FM broadcasts through corresponding video and audio software. It is connected to the on-board computer through a PCI slot.
9、GPS接收器9. GPS receiver
GPS接收器接收全球定位系统GPS(Global Position System)发送的汽车定位信号,然后通过地图匹配技术将汽车定位点描绘在电子地图上。它通过USB接口与车载计算机相连。The GPS receiver receives the car positioning signal sent by GPS (Global Position System), and then draws the car positioning point on the electronic map through map matching technology. It is connected to the on-board computer via a USB interface.
10、无线上网卡10. Wireless network card
无线上网卡(CDMA Modem)使车载计算机通过CDMA 1X网络与Internet相连。它通过USB接口与车载计算机相连。The wireless network card (CDMA Modem) connects the on-board computer to the Internet through the CDMA 1X network. It is connected to the on-board computer via a USB interface.
三、软件系统3. Software system
1、软件系统的组成1. The composition of the software system
如图3所示,软件系统主要由操作系统、硬件驱动程序和应用软件三部分组成。操作系统采用Windows2000,它是多任务操作系统,支持多种硬件设备。硬件驱动程序由硬件厂商提供。应用软件包括虚拟数字式汽车仪表和车载多功能信息平台应用软件、车载定位导航软件、互联网浏览器、视频和音频播放软件。As shown in Figure 3, the software system is mainly composed of three parts: operating system, hardware driver and application software. The operating system adopts Windows2000, which is a multi-tasking operating system and supports a variety of hardware devices. Hardware drivers are provided by hardware manufacturers. Application software includes virtual digital vehicle instrumentation and vehicle multifunctional information platform application software, vehicle positioning and navigation software, Internet browser, video and audio playback software.
2、虚拟数字式组合汽车仪表和车载多功能信息平台软件2. Virtual digital combined vehicle instrument and vehicle multifunctional information platform software
虚拟数字式组合汽车仪表和车载多功能信息平台软件的开发工具采用NI(NationalInstrument)公司的LabVIEW,它提供虚拟仪器的图形化软件开发环境。该软件按照结构化、模块化和通用化的程序设计原则进行程序结构设计,自顶向下、逐步细化,直至编码。通过编程,可使该软件调用其它应用软件。The development tool of the virtual digital combined vehicle instrument and the vehicle multifunctional information platform software adopts LabVIEW of NI (National Instrument), which provides a graphical software development environment for virtual instruments. The software is designed according to the programming principles of structured, modularized and generalized programming, from top to bottom, step by step refinement, until coding. Through programming, the software can call other application software.
如图4所示,虚拟数字式汽车仪表和车载多功能信息平台应用软件的结构可分为主控模块、事件捕获模块、事件处理模块和数据存储模块。As shown in Figure 4, the structure of the virtual digital vehicle instrument and the application software of the vehicle multifunctional information platform can be divided into a main control module, an event capture module, an event processing module and a data storage module.
主控模块主要控制和协调程序中其它模块的运行。The main control module mainly controls and coordinates the operation of other modules in the program.
事件捕获模块主要监视、识别并报告外部或内部事件的发生,然后通知主控模块,主控模块再激活事件处理模块中的相应线程从而响应外部或内部事件。The event capture module mainly monitors, identifies and reports the occurrence of external or internal events, and then notifies the main control module, and the main control module then activates the corresponding thread in the event processing module to respond to external or internal events.
事件处理模块是该应用软件功能实现的主体,它由若干松散耦合在一起的功能子模块组成,功能子模块中包括对其它应用程序的调用。它在外部或内部事件的触发下执行特定的子模块,实现一定的功能。The event processing module is the main body of the application software function realization, and it is composed of several function sub-modules loosely coupled together, and the function sub-modules include calls to other application programs. It executes specific sub-modules to achieve certain functions under the trigger of external or internal events.
数据存储模块主要用于存储一些重要的运行数据(如车速、里程、行驶轨迹等)和故障报警记录,以便于进行事后统计分析、故障分析和诊断。The data storage module is mainly used to store some important operating data (such as vehicle speed, mileage, driving track, etc.) and fault alarm records, so as to facilitate post-event statistical analysis, fault analysis and diagnosis.
实时多任务系统为应用软件提供一个对现实世界的多重、离散事件的控制和响应的机制。每个任务有独立的线程,任务之间独立运行又相互协调。在应用软件的设计过程中,应避免由于系统资源的使用不恰当或程序结构设计不合理而出现系统效率低下、共享冲突、任务终止或系统死机等问题,保证系统实时、高效、可靠地工作。Real-time multitasking systems provide application software with a mechanism for controlling and responding to multiple, discrete events in the real world. Each task has an independent thread, and the tasks run independently and coordinate with each other. During the design process of application software, problems such as low system efficiency, sharing conflicts, task termination or system crash due to inappropriate use of system resources or unreasonable program structure design should be avoided to ensure that the system works in real time, efficiently and reliably.
现将事件处理模块中的车速里程表、蓄电池监测系统及指示灯状态显示模块和数据存储模块中的运行记录数据存储模块详述如下。The vehicle speed odometer in the event processing module, the battery monitoring system and the indicator light status display module and the operation record data storage module in the data storage module are described in detail as follows.
(1)车速里程表(1) Speedometer
车速里程表采用磁电式转速传感器测量车轮转动角速度(r/min)。该转速传感器安装在半轴上,半轴每转动1圈,则该转速传感器就向与其相连的下位机(单片机)发出1个脉冲。车速里程表下位机测量每个脉冲上升沿之间的时间间隔中所含的定时基数0.05s的倍数n,则脉冲周期(s)T=0.05n.。相应的,车轮转速(r/min)
车速(km/h)Vehicle speed(km/h)
其中:r为车轮半径(m)。Among them: r is the wheel radius (m).
同时,下位机也对转速传感器发出的脉冲个数进行计数,得到车轮转动总圈数m,则行驶里程(km)At the same time, the lower computer also counts the number of pulses sent by the speed sensor to obtain the total number of turns m of the wheel, then the mileage (km)
S=2π×r×m/1000 (2)S = 2π×r×m/1000 (2)
下位机通过RS485-RS232转接头与上位机的串行接口RS-232相连,上位机(车载计算机)通过串行接口RS-232读取车速里程表下位机测出的n和m值,然后按式(1)、(2)计算车速和行驶里程,并将其值显示在虚拟仪表界面上。The lower computer is connected to the serial interface RS-232 of the upper computer through the RS485-RS232 adapter, and the upper computer (vehicle computer) reads the n and m values measured by the lower computer of the speedometer through the serial interface RS-232, and then press Formulas (1), (2) calculate vehicle speed and mileage, and display their values on the virtual instrument interface.
上位机和下位机之间遵循如下串口通讯协议:The following serial port communication protocol is followed between the upper computer and the lower computer:
d、串口设置d. Serial port settings
波特率为9600bps,数据位为8位,停止位为1,无流控制。The baud rate is 9600bps, the data bit is 8 bits, the stop bit is 1, and there is no flow control.
e、上位机向下位机发送指令e. The upper computer sends instructions to the lower computer
上位机向下位机依次发送如下3个字节,每发送1个字节后延时10ms。The upper computer sends the following 3 bytes to the lower computer in turn, and the delay is 10ms after each byte is sent.
第1个字节为32(16进制数),它为车速里程表下位机地址号。串口校验位设为Mark。The first byte is 32 (hexadecimal number), which is the address number of the lower computer of the speedometer. The serial port parity bit is set to Mark.
第2个字节为C5(16进制数),它为要求下位机发送数据的命令。串口校验位设为Space。The second byte is C5 (hexadecimal number), which is a command that requires the lower computer to send data. The serial parity bit is set to Space.
第3个字节为F7(16进制数),它为第1个字节(地址号)和第2个字节(命令)的异或所组成的校验码,即32 XOR C5=F7。串口校验位设为Space。The third byte is F7 (hexadecimal number), which is the check code formed by the XOR of the first byte (address number) and the second byte (command), that is, 32 XOR C5=F7 . The serial parity bit is set to Space.
f、下位机向上位机发送数据f. The lower computer sends data to the upper computer
下位机接受到上位机发送的上述3个字节后,向上位机发送数据n和m。下位机向上位机发送的数据遵循如下格式:n_L-n_H-m_LL-m_LH-m_HL-m_HH-check,其中:n_L、n_H为式(1)中n所对应的16进制数的第2、1个字节;m_LL、m_LH、m_HL、m_HH分别为式(2)中m所对应的16进制数的第4、3、2、1个字节;校验码check为n_L、n_H、m_LL、m_LH、m_HL、m_HH的异或。After the lower computer receives the above 3 bytes sent by the upper computer, it sends data n and m to the upper computer. The data sent by the lower computer to the upper computer follows the following format: n_L-n_H-m_LL-m_LH-m_HL-m_HH-check, where: n_L and n_H are the 2nd and 1st of the hexadecimal numbers corresponding to n in formula (1). bytes; m_LL, m_LH, m_HL, m_HH are the 4th, 3rd, 2nd, 1st bytes of the hexadecimal number corresponding to m in formula (2); the check code check is n_L, n_H, m_LL, Exclusive OR of m_LH, m_HL, m_HH.
(2)蓄电池监测系统(2) Battery monitoring system
蓄电池监测系统的下位机(单片机)采用电压传感器、电流传感器和温度传感器分别测量蓄电池的工作电压、电流和温度,其上位机根据上述参数计算出蓄电池的SOC。现以一实例说明蓄电池监测系统的工作原理。将车载280节镍氢蓄电池分为40组(每组7节),每组蓄电池上安装1个测电压和温度的下位机,该下位机可测该组蓄电池组中每节蓄电池的电压和该组蓄电池组的温度。整个蓄电池堆上安装1个测蓄电池堆电流的下位机。The lower computer (single chip microcomputer) of the battery monitoring system uses voltage sensors, current sensors and temperature sensors to measure the working voltage, current and temperature of the battery respectively, and its upper computer calculates the SOC of the battery according to the above parameters. An example is now used to illustrate the working principle of the battery monitoring system. Divide the 280-cell Ni-MH batteries on the vehicle into 40 groups (7 cells in each group), and install a lower computer for measuring voltage and temperature on each group of batteries. The lower computer can measure the voltage of each battery in the battery group and the The temperature of the battery pack. A lower computer for measuring the current of the battery stack is installed on the entire battery stack.
蓄电池监测系统的41个下位机都挂接在一条网线上,该网线通过RS485-RS232转接头与上位机的串口相连,上位机和下位机通过此方式组成总线型网络。上位机通过“点名”方式向下位机发送命令,相应的下位机接受到上位机命令后,向上位机发送上位机所需的数据。The 41 lower computers of the battery monitoring system are all connected to a network cable, which is connected to the serial port of the upper computer through the RS485-RS232 adapter, and the upper computer and the lower computer form a bus network in this way. The upper computer sends commands to the lower computer through "roll call", and the corresponding lower computer sends the data required by the upper computer to the upper computer after receiving the command from the upper computer.
上位机(车载计算机)按如下串口通讯协议通过串行接口RS-232读取蓄电池监测系统下位机测出的电压、电流和温度值。The upper computer (vehicle computer) reads the voltage, current and temperature values measured by the lower computer of the battery monitoring system through the serial interface RS-232 according to the following serial port communication protocol.
c、串口设置c. Serial port settings
波特率为9600bps,数据位为8位,停止位为1,无流控制。The baud rate is 9600bps, the data bit is 8 bits, the stop bit is 1, and there is no flow control.
d、上位机向下位机发送指令d. The upper computer sends instructions to the lower computer
测电压和温度时,上位机向下位机依次发送如下3个字节,每发送1个字节后延时10ms。When measuring voltage and temperature, the upper computer sends the following 3 bytes to the lower computer in sequence, and delays 10ms after each byte is sent.
第1个字节为地址号,即蓄电池组的地址编号01~28(16进制数)。串口校验位设为Mark。The first byte is the address number, that is, the address number of the battery pack is 01~28 (hexadecimal number). The serial port parity bit is set to Mark.
第2个字节为命令C3(16进制数),表示要求下位机发送电压和温度数据。串口校验位设为Space。The second byte is the command C3 (hexadecimal number), indicating that the lower computer is required to send voltage and temperature data. The serial parity bit is set to Space.
第3个字节为校验码(16进制数),它为第1个字节(地址号)和第2个字节(命令)的异或。串口校验位设为Space。The third byte is the check code (hexadecimal number), which is the XOR of the first byte (address number) and the second byte (command). The serial parity bit is set to Space.
测电流时,上位机向下位机依次发送如下3个字节,每发送1个字节后延时10ms。When measuring the current, the upper computer sends the following 3 bytes to the lower computer in turn, with a delay of 10ms after each byte is sent.
第1个字节为测电流的下位机地址号29(16进制数)。串口校验位设为Mark。The first byte is the address number 29 (hexadecimal number) of the lower computer for current measurement. The serial port parity bit is set to Mark.
第2个字节为命令C4(16进制数),表示要求下位机发送电流数据。串口校验位设为Space。The second byte is the command C4 (hexadecimal number), indicating that the lower computer is required to send current data. The serial parity bit is set to Space.
第3个字节为校验码ED(16进制数),它为第1个字节(地址号)和第2个字节(命令)的异或,即29 XOR C4=ED。串口校验位设为Space。The third byte is the check code ED (hexadecimal number), which is the XOR of the first byte (address number) and the second byte (command), that is, 29 XOR C4=ED. The serial parity bit is set to Space.
e、下位机向上位机发送数据e. The lower computer sends data to the upper computer
下位机A/D转换为10位,基准电压为3.3V。The A/D conversion of the lower computer is 10 bits, and the reference voltage is 3.3V.
下位机接受到上位机发送的上述3个字节后,向上位机发送上位机所需的数据。After the lower computer receives the above-mentioned 3 bytes sent by the upper computer, it sends the data required by the upper computer to the upper computer.
测电压和温度的下位机向上位机发送的数据(16个字节)遵循如下格式:该组第1节蓄电池的电压高位(2bit)和低位(8bit),……,该组第7节蓄电池的电压高位(2bit)和低位(8bit),该组蓄电池的温度高位(2bit)和低位(8bit)。The data (16 bytes) sent by the lower computer for measuring voltage and temperature to the upper computer follows the following format: the voltage high (2bit) and low (8bit) of the voltage of the first battery in the group, ..., the seventh battery in the group The high bit (2bit) and low bit (8bit) of the voltage, the high bit (2bit) and low bit (8bit) of the temperature of the battery.
测电流的下位机向上位机发送的数据(2个字节)遵循如下格式:该组蓄电池的电流高位(2bit)和低位(8bit)。The data (2 bytes) sent by the lower computer for current measurement to the upper computer follows the following format: the current high bit (2bit) and low bit (8bit) of the battery.
上位机接受到下位机发送的数据后,按下述各式计算电压、电流、温度和SOC:After the upper computer receives the data sent by the lower computer, it calculates the voltage, current, temperature and SOC according to the following formulas:
单节蓄电池电压(V)
蓄电池电流(A)
蓄电池温度(℃)
式中:VHEX、IHEX、THEX分别为上位机接受到的下位机发送的电压、电流和温度数据的16进制数。In the formula: V HEX , I HEX , THEX are the hexadecimal numbers of the voltage, current and temperature data received by the upper computer and sent by the lower computer, respectively.
蓄电池荷电状态(%)Battery state of charge (%)
式中:Q总为蓄电池总容量(Ah)(近似为蓄电池额定容量);t为蓄电池充放电时间(h);I为蓄电池充放电电流(A),充电时I<0,放电时I≥0。In the formula: Q always is the total capacity of the battery (Ah) (approximately the rated capacity of the battery); t is the charging and discharging time of the battery (h); I is the charging and discharging current (A) of the battery, I<0 when charging, and I≥ when discharging 0.
上位机计算出各节蓄电池的电压后,对电压值进行统计,统计出最大电压值及其所对应的蓄电池编号,最小电压值及其所对应的蓄电池编号,电压过低的蓄电池编号,电压过高的蓄电池编号,蓄电池组总电压。After the upper computer calculates the voltage of each battery, it makes statistics on the voltage value, counts the maximum voltage value and its corresponding battery number, the minimum voltage value and its corresponding battery number, the number of the battery with too low voltage, the number of the battery with too The highest battery number, the total voltage of the battery pack.
上位机计算出各蓄电池组的温度后,对温度值进行统计,统计出最高温度值及其所对应的蓄电池组编号,最低温度值及其所对应的蓄电池组编号,温度过高的蓄电池组编号。After the upper computer calculates the temperature of each battery pack, it makes statistics on the temperature value, counts the highest temperature value and its corresponding battery pack number, the lowest temperature value and its corresponding battery pack number, and the battery pack number with too high temperature .
通过选择需观测的单节蓄电池编号,可实时观测该节蓄电池的电压、电流和温度。By selecting the number of a single battery to be observed, the voltage, current and temperature of the battery can be observed in real time.
上位机计算出各蓄电池SOC和最高温度后,将其值显示在虚拟仪表界面上。After the upper computer calculates the SOC and maximum temperature of each battery, it displays the value on the virtual instrument interface.
(3)指示灯状态显示(3) LED status display
用数字I/O数据采集卡采集各指示灯的开关信号,车载计算机根据所采集的各指示灯的开关信号控制虚拟仪表界面上相应指示灯的亮灭。若指示灯亮,则会有相应语音提示“xx灯开”。Use the digital I/O data acquisition card to collect the switch signals of each indicator light, and the on-board computer controls the corresponding indicator lights on the virtual instrument interface to turn on and off according to the collected switch signals of each indicator light. If the indicator light is on, there will be a corresponding voice prompt "xx light is on".
(4)运行记录数据存储(4) Operation record data storage
运行记录数据存储模块将一些重要运行数据(如车速等)和故障报警记录存储为LabVIEW测试数据文件(.lvm)和文本文件(.txt),前一文件类型用于绘制数据曲线,后一文件类型用于查看数据记录(含时间和数据)。The operation record data storage module stores some important operation data (such as vehicle speed, etc.) and fault alarm records as LabVIEW test data files (.lvm) and text files (.txt). The former file type is used to draw data curves, and the latter file type Type is used to view data records (including time and data).
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410061203 CN1283490C (en) | 2004-11-29 | 2004-11-29 | Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410061203 CN1283490C (en) | 2004-11-29 | 2004-11-29 | Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1618647A CN1618647A (en) | 2005-05-25 |
| CN1283490C true CN1283490C (en) | 2006-11-08 |
Family
ID=34764457
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200410061203 Expired - Fee Related CN1283490C (en) | 2004-11-29 | 2004-11-29 | Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1283490C (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102207860A (en) * | 2010-03-31 | 2011-10-05 | 比亚迪股份有限公司 | Embedded software development method |
Families Citing this family (20)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7965177B2 (en) | 2005-09-16 | 2011-06-21 | Sharp Kabushiki Kaisha | Display system, screen design setting tool, display system program, screen design setting program, and recording medium |
| CN101033977B (en) * | 2007-04-18 | 2010-09-22 | 江苏华科导航科技有限公司 | Voice Navigation Method for Navigator |
| DE102008028512A1 (en) * | 2008-06-16 | 2009-12-17 | Audi Ag | Communication system and method for displaying information in a communication |
| CN102542863B (en) * | 2010-12-31 | 2016-01-06 | 上海博泰悦臻电子设备制造有限公司 | Vehicular system simulator |
| US8688320B2 (en) * | 2011-01-11 | 2014-04-01 | Robert Bosch Gmbh | Vehicle information system with customizable user interface |
| CN102211524A (en) * | 2011-05-12 | 2011-10-12 | 重庆力华科技有限责任公司 | Instrument special for new energy automobile |
| CN102790569B (en) * | 2011-05-19 | 2015-08-19 | 苏州诺思特微电子有限公司 | A kind of stepping motor rotating speed/speedometer special chip system |
| CN102522059B (en) * | 2011-12-26 | 2015-08-05 | 深圳市长宇电器有限公司 | Vehicle condition data presentation device and realize display items display control method |
| CN102970279B (en) * | 2012-10-24 | 2015-01-21 | 厦门金龙联合汽车工业有限公司 | Adaptive communication system of automobile electronic device based on serial ports |
| CN103855433B (en) * | 2012-11-28 | 2016-05-18 | 上海航天有线电厂 | Based on the intellectual power lithium-ion battery management of charging and discharging equipment of touch-screen |
| CN103868539A (en) * | 2012-12-18 | 2014-06-18 | 上海黄浦船用仪器有限公司 | Method and device for identifying and displaying states of combined instrument |
| CN104050992B (en) * | 2014-06-10 | 2016-07-20 | 浙江中科领航汽车电子有限公司 | There is the vehicle intelligent system of virtual instrument and Infotainment terminal |
| CN106153068A (en) * | 2015-04-03 | 2016-11-23 | 软控股份有限公司 | Tire mileage monitoring method, Apparatus and system |
| CN106209547A (en) * | 2016-07-20 | 2016-12-07 | 浙江吉利汽车研究院有限公司 | The communication system of a kind of combination instrument and vehicle-mounted information and entertainment system and method |
| CN106162256A (en) * | 2016-07-21 | 2016-11-23 | 赵家琦 | Automobile engine failure warning system |
| CN106183812B (en) * | 2016-07-29 | 2019-01-29 | 北京车和家信息技术有限公司 | Information display method, control equipment and vehicle |
| CN106945522A (en) * | 2017-04-11 | 2017-07-14 | 吉林省德科电子有限公司 | The automobile instrument with log based on bus communication |
| CN108107785A (en) * | 2017-12-25 | 2018-06-01 | 上海仪电汽车电子系统有限公司 | A kind of automobile instrument and its exchange method based on digital image display panel |
| CN110460586B (en) * | 2019-07-23 | 2021-09-03 | 北京伏羲车联信息科技有限公司 | In-vehicle node communication method, device, equipment and storage medium |
| CN110450721A (en) * | 2019-07-30 | 2019-11-15 | 铁将军汽车电子股份有限公司 | The display methods and car-mounted display equipment of rearview mirror display device |
-
2004
- 2004-11-29 CN CN 200410061203 patent/CN1283490C/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102207860A (en) * | 2010-03-31 | 2011-10-05 | 比亚迪股份有限公司 | Embedded software development method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1618647A (en) | 2005-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1283490C (en) | Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology | |
| CN101318473A (en) | Integrated instrument system for a hybrid electric vehicle | |
| CN102211524A (en) | Instrument special for new energy automobile | |
| CN1796941A (en) | Car borne communication and navigation equipment for realization of detecting cars mobilely and remotely | |
| CN201805439U (en) | Portable Automotive Diagnostic System | |
| CN101704341A (en) | Combination meter for cars | |
| JP3217833U (en) | Vehicle information display device | |
| CN105365674A (en) | Multifunctional vehicle meter panel and realization method thereof | |
| CN1811345A (en) | Whole liquid crystal display wide screen combined instrument for vehicle | |
| CN105974585B (en) | Vehicle-mounted head-up-display system based on smart mobile phone | |
| CN1298572C (en) | MPC500 process type electric car multi-energy power assembly control device | |
| CN1811667A (en) | Vehicular system based on in-vehicle network and long-distance radio communication service | |
| CN101055200A (en) | CAN bus type agricultural machine digital instrument | |
| CN2792041Y (en) | Automobile multifunctional control type instrument device | |
| CN203698176U (en) | Hybrid electric vehicle mounted display system | |
| CN202138303U (en) | Rearview mirror navigator with monitoring function | |
| CN201777209U (en) | Electric automobile instrument integration management system with battery pack on-line management function | |
| CN109493446A (en) | Data processing method and device | |
| CN2725082Y (en) | Vehicle electron display system | |
| CN202345415U (en) | Graphic digital meter device for electric automobile | |
| CN206106958U (en) | High -performance intelligent liquid crystal panel board | |
| CN1808092A (en) | Vehicle carried economy test system for fuel cell automobile and working condition economy test method thereof | |
| CN205384655U (en) | Multifunctional driving recorder | |
| CN109795321A (en) | A kind of auto navigation HUD head-up-display system | |
| CN2898773Y (en) | Liquid-crystal assembled instrument of automobile |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| EE01 | Entry into force of recordation of patent licensing contract |
Assignee: Ningbo Jiaqi Electron Co., Ltd. Assignor: Wuhan University of Technology Contract fulfillment period: 2005.10.5 to 2010.10.5 contract change Contract record no.: 2008330002302 Denomination of invention: Composite automobile instrument and vehicle multifunction information platform based on virtual and digital technology Granted publication date: 20061108 License type: Exclusive license Record date: 20081124 |
|
| LIC | Patent licence contract for exploitation submitted for record |
Free format text: EXCLUSIVE LICENSE; TIME LIMIT OF IMPLEMENTING CONTACT: 2005.10.5 TO 2010.10.5; CHANGE OF CONTRACT Name of requester: NINGBO JIAQI ELECTRONICS CO., LTD. Effective date: 20081124 |
|
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061108 Termination date: 20131129 |