CN113535550A - Virtual liquid crystal instrument and test system thereof - Google Patents
Virtual liquid crystal instrument and test system thereof Download PDFInfo
- Publication number
- CN113535550A CN113535550A CN202110716848.4A CN202110716848A CN113535550A CN 113535550 A CN113535550 A CN 113535550A CN 202110716848 A CN202110716848 A CN 202110716848A CN 113535550 A CN113535550 A CN 113535550A
- Authority
- CN
- China
- Prior art keywords
- instrument
- liquid crystal
- unit
- signal
- virtual
- 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.)
- Pending
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 31
- 239000004973 liquid crystal related substance Substances 0.000 claims abstract description 31
- 238000004088 simulation Methods 0.000 claims description 6
- 239000003086 colorant Substances 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 16
- 238000011161 development Methods 0.000 abstract description 6
- 238000010998 test method Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000004075 alteration Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Human Computer Interaction (AREA)
- Instrument Panels (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention relates to a virtual liquid crystal instrument and a test method thereof, comprising an instrument signal unit, a virtual bus unit and an instrument display unit which are operated in a computer system; the instrument signal unit reads control signals sent to the liquid crystal instrument by the vehicle controller, generates digitized signals of input or output display interfaces corresponding to the control signals, and sends the digitized signals to the instrument display unit through the virtual bus unit; the meter display unit includes: and the UI display module is used for switching and displaying according to the digitized signals sent by the virtual bus unit and sending the displayed results to the instrument signal unit through the virtual bus unit. The signal of the automobile instrument is simulated in the PC and is transmitted to the virtual instrument in a virtual bus mode, the virtual instrument displays an interface according to the signal, and the method for simulating the work of the automobile instrument in the PC can more conveniently test the development process of the liquid crystal instrument and reduce the problems in the actual operation process.
Description
Technical Field
The invention relates to the field of automotive electronic instruments, in particular to a virtual liquid crystal instrument and a test method thereof.
Background
The automobile instrument is turned to the full liquid crystal instrument by traditional pointer instrument, and full liquid crystal instrument board function is abundant, not only can convey basic information such as vehicle speed, engine speed, surplus oil volume that show for driver's traditional mechanical instrument board, can also make the display effect gorgeous, realize individualized setting, show that content is abundanter, makes the driver have better driving experience.
In order to ensure that the vehicle-mounted all-liquid crystal instrument panel has good reliability and stability, a large number of tests are carried out in the development process, but the output information of the liquid crystal instrument panel is displayed through a picture, and a good means for accurately and quickly acquiring the output information is lacked in the prior art.
Disclosure of Invention
Aiming at the technical problems in the prior art, the invention provides a virtual liquid crystal instrument and a test method thereof, wherein the signal of the automobile instrument is simulated in a PC (personal computer), the signal is transmitted to the virtual instrument in a virtual bus mode, the virtual instrument displays an interface according to the signal, and the work of the automobile instrument is simulated in the PC, so that the test in the development process of the liquid crystal instrument can be more conveniently carried out, and the problems in the actual operation process are reduced.
According to a first aspect of the present invention, there is provided a virtual liquid crystal meter comprising a meter signal unit, a virtual bus unit and a meter display unit which are run on a computer system;
the instrument signal unit reads control signals sent to the liquid crystal instrument by the vehicle controller, generates digitized signals of input or output display interfaces corresponding to the control signals, and sends the digitized signals to the instrument display unit through the virtual bus unit;
the meter display unit includes: and the UI display module performs switching display according to the digitized signals sent by the virtual bus unit and sends the displayed results to the instrument signal unit through the virtual bus unit.
On the basis of the technical scheme, the invention can be improved as follows.
Optionally, the meter signal unit reads that a control signal sent to the liquid crystal meter by the vehicle controller is a file in an xml format, and the meter signal unit reads the control signal by reading the description of the file in the xml format;
the types of the control signals comprise CAN network signals, voltage signals, frequency signals and high and low level signals.
Optionally, the CAN network signal is displayed in a pull-down menu mode, and data content and display meaning used for sending the signal are described through an information window.
Optionally, the voltage signal is displayed in a manner of addition and subtraction and label display.
Optionally, the frequency signal is input and displayed through an input box and in an addition and subtraction mode, and the output frequency signal is represented through a label.
Optionally, the high and low level signals display different color representation input signals through the selection button, and represent output signals through the color of the label.
Optionally, the UI display module implements a display function based on a Qt portable framework.
According to a second aspect of the present invention, there is provided a test system of a virtual liquid crystal meter, comprising: the system comprises a vehicle signal generating unit and an image acquiring unit;
the whole vehicle signal sounding unit generates a test case of a control signal sent to the liquid crystal instrument by the vehicle controller and sends the test case to the virtual liquid crystal instrument;
the image acquisition unit acquires an image displayed by the meter display unit of the virtual liquid crystal meter.
Optionally, the vehicle signal generating unit includes a fault simulation module for simulating a test case of a control signal sent to the liquid crystal instrument when a vehicle generates a fault.
Optionally, the image obtaining unit further includes an image comparison module, where the image comparison module stores a display image of the liquid crystal instrument corresponding to the test case of the control signal, and compares the obtained image with the stored display image of the liquid crystal instrument.
According to the virtual liquid crystal instrument and the test system thereof, the display of the virtual liquid crystal instrument comprises the display of the integral effect of a UI (user interface), the logic of key switching and interface elements; the UI display module is designed into a portable part, and can be transplanted into a real instrument for display after simulation in the PC.
Drawings
Fig. 1 is a block diagram of a virtual liquid crystal instrument according to an embodiment of the present invention;
fig. 2 is a block diagram of a test system of a virtual liquid crystal instrument according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Since the liquid crystal instrument is a display device, a signal output port is lacking. At present, the test of the liquid crystal instrument is realized by adding a port but not by outputting a signal, and an image of a display interface of the liquid crystal instrument is acquired by a camera unit to realize automatic test. The operation process is complicated and the acquired image may be prone to errors due to accuracy problems.
Fig. 1 is a block diagram of a virtual liquid crystal instrument according to an embodiment of the present invention, and it can be known from fig. 1 that the virtual liquid crystal instrument includes an instrument signal unit, a virtual bus unit, and an instrument display unit, which are operated in a computer system;
the instrument signal unit reads control signals sent to the liquid crystal instrument by the vehicle controller, generates digitized signals of input or output display interfaces corresponding to the control signals, and sends the digitized signals to the instrument display unit through the virtual bus unit; the function realized by the instrument signal unit is that the whole vehicle signal required by the instrument is digitalized.
The meter display unit includes: and the UI display module is used for switching and displaying according to the digitized signals sent by the virtual bus unit and sending the displayed results to the instrument signal unit through the virtual bus unit.
The instrument display unit constructs a display mode of a real instrument in the PC through importing the 3D structure module and the UI display module. And the integral display condition of the structure and the UI is visually observed, and the display of the UI is switched according to the signal of the virtual bus.
Based on the above defects, the virtual liquid crystal instrument provided by the invention can simulate the signal of the automobile instrument in the PC, and transmits the signal to the virtual instrument in a virtual bus mode, the virtual instrument displays an interface according to the signal, and the method for simulating the work of the automobile instrument in the PC can more conveniently test the development process of the liquid crystal instrument and reduce the problems in the actual operation process.
Example 1
Embodiment 1 provided by the present invention is an embodiment of a virtual liquid crystal instrument provided by the present invention, and as can be seen from fig. 1, the embodiment includes: the system comprises a meter signal unit, a virtual bus unit and a meter display unit which run in a computer system;
the instrument signal unit reads control signals sent to the liquid crystal instrument by the vehicle controller, generates digitized signals of input or output display interfaces corresponding to the control signals, and sends the digitized signals to the instrument display unit through the virtual bus unit;
in a possible embodiment mode, the meter signal unit reads that the control signal sent to the liquid crystal meter by the vehicle controller is a file in an xml format, and the meter signal unit reads the control signal by reading the description of the file in the xml format;
the types of the control signals comprise CAN network signals, voltage signals, frequency signals and high and low level signals.
Specifically, the CAN network signal is displayed in a pull-down menu manner and describes data content and display meaning used for sending the signal through an information window.
The voltage signal is displayed in a mode of addition and subtraction and label display.
The frequency signal is displayed by inputting the frame and adding or subtracting, and the output frequency signal is displayed by the label.
The high and low level signals represent input signals by different colors displayed by the selection buttons, and represent output signals by colors of the labels.
The display of the virtual liquid crystal meter includes the overall effect of the UI, logic of key switching, and display of interface elements.
The meter display unit includes: and the UI display module is used for switching and displaying according to the digitized signals sent by the virtual bus unit and sending the displayed results to the instrument signal unit through the virtual bus unit.
The UI display module implements a display function based on a Qt (application development framework) portable framework.
The UI display module is designed into a portable part, and can be transplanted into a real instrument for display after simulation in the PC.
Example 2
Embodiment 2 of the present invention is an embodiment of a test system of a virtual liquid crystal instrument, and fig. 2 is a block diagram of a test system of a virtual liquid crystal instrument, and it can be known from fig. 2 that the embodiment of the test system of the virtual liquid crystal instrument includes: the system comprises a vehicle signal generating unit and an image acquiring unit;
the whole vehicle signal sounding unit generates a test case of a control signal sent to the liquid crystal instrument by the vehicle controller and sends the test case to the virtual liquid crystal instrument;
in a possible embodiment mode, the whole vehicle signal generating unit comprises a fault simulation module for simulating a test case of a control signal sent to the liquid crystal instrument when a vehicle generates a fault.
The image acquisition unit acquires an image displayed by a meter display unit of the virtual liquid crystal meter.
In a possible embodiment mode, the image obtaining unit further includes an image comparison module, and the image comparison module stores a display image of the liquid crystal instrument corresponding to the test case of the control signal and compares the obtained image with the stored display image of the liquid crystal instrument.
According to the test system of the virtual liquid crystal instrument, provided by the invention, the signal of the automobile instrument is simulated in the PC and is transmitted to the virtual instrument in a virtual bus mode, the virtual instrument displays an interface according to the signal, and the method for simulating the work of the automobile instrument in the PC can be used for more conveniently testing the development process of the liquid crystal instrument and reducing the problems in the actual operation process. The display of the virtual liquid crystal instrument comprises the display of the integral effect, the logic of key switching and the interface elements of the UI; the UI display module is designed into a portable part, and can be transplanted into a real instrument for display after simulation in the PC.
It should be noted that, in the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to relevant descriptions of other embodiments for parts that are not described in detail in a certain embodiment.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (10)
1. The virtual liquid crystal instrument is characterized by comprising an instrument signal unit, a virtual bus unit and an instrument display unit which are operated in a computer system;
the instrument signal unit reads control signals sent to the liquid crystal instrument by the vehicle controller, generates digitized signals of input or output display interfaces corresponding to the control signals, and sends the digitized signals to the instrument display unit through the virtual bus unit;
the meter display unit includes: and the UI display module performs switching display according to the digitized signals sent by the virtual bus unit and sends the displayed results to the instrument signal unit through the virtual bus unit.
2. The virtual liquid crystal meter according to claim 1, wherein the meter signal unit reads that the control signal sent to the liquid crystal meter by the vehicle controller is a file in xml format, and the meter signal unit reads the control signal by reading the description of the file in xml format;
the types of the control signals comprise CAN network signals, voltage signals, frequency signals and high and low level signals.
3. The virtual liquid crystal meter of claim 2, wherein the CAN network signal is displayed by means of a pull-down menu and describes the data content and display meaning used for sending the signal through an information window.
4. The virtual liquid crystal meter of claim 2, wherein the voltage signal is displayed by add-subtract and label display.
5. The virtual liquid crystal meter of claim 2, wherein the frequency signal is displayed as an input by means of an input box and a plus-minus representation, and the output frequency signal is represented by a label.
6. The virtual liquid crystal meter of claim 2, wherein the high and low level signals represent input signals by selecting buttons displaying different colors and represent output signals by colors of labels.
7. The virtual liquid crystal meter of claim 1, wherein the UI display module implements display functionality based on a Qt portable framework.
8. A test system for a virtual liquid crystal meter according to any one of claims 1 to 7, comprising: the system comprises a vehicle signal generating unit and an image acquiring unit;
the whole vehicle signal sounding unit generates a test case of a control signal sent to the liquid crystal instrument by the vehicle controller and sends the test case to the virtual liquid crystal instrument;
the image acquisition unit acquires an image displayed by the meter display unit of the virtual liquid crystal meter.
9. The test system of claim 8, wherein the vehicle signal generating unit comprises a fault simulation module for simulating a test case for generating a control signal to be sent to the liquid crystal instrument when the vehicle has a fault.
10. The test system according to claim 8, wherein the image acquisition unit further comprises an image comparison module, the image comparison module stores a display image of the liquid crystal meter corresponding to the test case of the control signal, and compares the acquired image with the stored display image of the liquid crystal meter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110716848.4A CN113535550A (en) | 2021-06-27 | 2021-06-27 | Virtual liquid crystal instrument and test system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110716848.4A CN113535550A (en) | 2021-06-27 | 2021-06-27 | Virtual liquid crystal instrument and test system thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113535550A true CN113535550A (en) | 2021-10-22 |
Family
ID=78096912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110716848.4A Pending CN113535550A (en) | 2021-06-27 | 2021-06-27 | Virtual liquid crystal instrument and test system thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113535550A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488028A (en) * | 2009-02-24 | 2009-07-22 | 陈振华 | System and method for testing CAN bus automobile instrument |
CN101566835A (en) * | 2009-05-21 | 2009-10-28 | 中兴通讯股份有限公司 | Method and device for controlling instrument |
CN105091927A (en) * | 2015-08-20 | 2015-11-25 | 浙江中科领航汽车电子有限公司 | All-liquid-crystal automobile instrument automatic test platform |
CN110567503A (en) * | 2019-09-05 | 2019-12-13 | 浙江中科领航汽车电子有限公司 | Automobile instrument testing system and method based on Arduino |
CN110576744A (en) * | 2018-06-07 | 2019-12-17 | 上海新围电子科技有限公司 | Automobile virtual instrument based on embedded Linux |
-
2021
- 2021-06-27 CN CN202110716848.4A patent/CN113535550A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101488028A (en) * | 2009-02-24 | 2009-07-22 | 陈振华 | System and method for testing CAN bus automobile instrument |
CN101566835A (en) * | 2009-05-21 | 2009-10-28 | 中兴通讯股份有限公司 | Method and device for controlling instrument |
CN105091927A (en) * | 2015-08-20 | 2015-11-25 | 浙江中科领航汽车电子有限公司 | All-liquid-crystal automobile instrument automatic test platform |
CN110576744A (en) * | 2018-06-07 | 2019-12-17 | 上海新围电子科技有限公司 | Automobile virtual instrument based on embedded Linux |
CN110567503A (en) * | 2019-09-05 | 2019-12-13 | 浙江中科领航汽车电子有限公司 | Automobile instrument testing system and method based on Arduino |
Non-Patent Citations (2)
Title |
---|
樊戎: "基于GL Studio的航空虚拟仪表的设计与实现", 《自动化博览》 * |
郑永军等: "汽车虚拟仪表实验系统设计", 《仪器仪表学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7869985B2 (en) | 3D vehicle simulator system and simulation method for ECU embedded system | |
CN101488028B (en) | System and method for testing CAN bus automobile instrument | |
CN108027597B (en) | System and method for monitoring technical equipment | |
KR20070069614A (en) | Software test method and software test apparatus | |
CN109634426B (en) | High-freedom experimental three-dimensional virtual simulation method and system based on Unity3D | |
CN102589604A (en) | System and method for verifying automobile instrument | |
CN107689168B (en) | Vehicle diagnosis simulation teaching method, terminal device and computer-readable storage medium | |
CN102231127B (en) | System and method for detecting BIOS (Basic Input Output System) wrong information display | |
CN112347650A (en) | Hardware-in-loop simulation test method and system for automatic driving | |
KR102637132B1 (en) | Simulation system and method for intergrated interlocking with combat system | |
CN113535550A (en) | Virtual liquid crystal instrument and test system thereof | |
WO2003096033A1 (en) | Test apparatus | |
Osswald et al. | Hardware-in-the-loop-based evaluation platform for automotive instrument cluster development (EPIC) | |
CN115543147A (en) | Icon detection script generation method and device and storage medium | |
CN110046384B (en) | Model instantiation method and device, electronic equipment and computer-readable storage medium | |
CN112396912A (en) | Method for simulating driving test subjects on line and related equipment | |
Himmels et al. | Presence questionnaires in driving simulation | |
CN112561331A (en) | Visual experimental analysis evaluation index construction method | |
US10268625B2 (en) | Signal path verification device | |
Nimară et al. | Reference images generation for automotive regression testing | |
CN115774124A (en) | Speedometer testing method and device, electronic equipment and storage medium | |
CN117711237B (en) | Control method of sensor teaching equipment and sensor teaching equipment | |
CN115562220A (en) | Automobile HIL (hardware-in-the-loop) testing method and system, electronic equipment and storage medium | |
CN113852518A (en) | Automobile instrument data demonstration method, instrument equipment and system | |
CN117746714B (en) | Test method and system for simulated driving operation |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211022 |
|
RJ01 | Rejection of invention patent application after publication |