Display testing device based on double-chip architecture
By using the MCU and SOC dual-chip architecture and custom uCOM protocol in the display test device, the problems of single functions and insufficient data processing capabilities in the existing technology are solved, efficient data processing and multi-function testing are realized, and custom screens are supported. Communication with I2C improves testing accuracy and production quality.
Patent Information
- Application Number
- CN202420666568.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-02
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2034-04-02
AI Technical Summary
The existing display testing device has a single function and insufficient data processing capabilities. It cannot meet the verification needs of various information during the production process of automotive instrument displays. It has a short development cycle and high cost, so it is impossible to realize custom screens and I2C communication.
Using a display test device based on a dual-chip architecture, including two control chips, MCU and SOC, communication is carried out through the CAN bus and the I2C bus, realizing the division of labor in data processing, setting up the picture call module to support custom pictures, and using custom uCOM protocol performs data interaction.
It improves the test data processing capability and efficiency, realizes customized test screens and I2C communication, enhances the versatility and flexibility of the test device, reduces production costs, and improves test accuracy and production quality.
Smart Images

Figure CN222106249U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the field of display screen testing, and specifically relates to a display test device based on a dual-chip architecture. Background Art
[0002] With the rapid development of the automotive industry, the role of automotive instrument displays in automobiles is becoming increasingly important. In order to ensure the production accuracy of automotive instrument displays, it is necessary to verify the production line information read during production. Various information will be generated during the production of the display, which means that the testing of the display needs to collect a large amount of data, which requires the data processing capabilities of the test device and the diversification of control functions. However, the existing test box has a single function and cannot meet the verification needs of various information during the production of automotive instrument displays.
[0003] With the advent of the era of large-screen displays, the development cycle of displays is getting shorter and shorter. Display development cannot wait for the cockpit functions to be fully developed. In addition, the procurement cost of the host is high, and the early development of the display cannot be supported by the host. The production of display projects in the industry requires the display of various customized screens and I2C communication, which cannot be completed by relying on the host. In addition, various experiments and tests of display projects require a large number of lit screens, which require the input of test screens and the simulation of the host to process touch data. In summary, there is an urgent need for a test device that can replace the host in the early stage of display development, and can transmit customized screens and realize I2C communication.
[0004] The comparative document (CN203787060U) discloses a display screen test device with multiple VGA output interfaces, including an ARM processor, an FPGA chip, a storage module and a video interface chip, wherein the FPGA chip is respectively connected to the ARM processor and the storage module, and the FPGA chip is provided with multiple VGA interfaces, each of which is respectively connected to the video interface chip. The utility model can test multiple display screens at the same time by setting multiple VGA interfaces for testing, greatly reducing the time of production testing, and having low production costs. In addition, the ARM processor and FPGA chip are used for control, and the DDR2 memory is used for storage, which can effectively improve the test processing speed and response speed, and greatly improve production efficiency.
[0005] The above-mentioned comparative document realizes the simultaneous testing of multiple display screens and reduces the testing time, but the comparative document does not solve the problem that the display screen testing function is single and the data processing capability of the testing device is weak. In summary, the utility model proposes a display testing device based on a dual-chip architecture. Utility Model Content
[0006] The utility model aims to overcome the deficiencies of the prior art and proposes a display test device based on a dual-chip architecture to achieve the purpose of improving the display test data processing capability, customizing the test screen, realizing I2C communication, and realizing multiple function tests of the display, thereby improving the accuracy of existing display testing and improving production quality.
[0007] In order to achieve the above-mentioned purpose, the technical solution adopted by the utility model is: a display testing device based on a dual-chip architecture, the device comprising a production line testing equipment, a test box, and a display, the test box being respectively connected to the production line testing equipment and the display, wherein: the test box comprises a first control chip, a second control chip, and a serializer, the first control chip being respectively connected to the production line testing equipment, the second control chip, and the serializer; the second control chip being connected to the serializer; the serializer being connected to the display.
[0008] Furthermore, the first control chip is an MCU, and the MCU is respectively connected to the production line test equipment, the second control chip, and the serializer.
[0009] Furthermore, the second control chip is a SOC, and the SOC is connected to the first control chip and the serializer respectively.
[0010] Furthermore, the SOC includes a picture calling module, the picture calling module includes a memory, and the memory stores preset image and video data.
[0011] Furthermore, the device also includes a detection device, which is connected to the first control chip and is used to detect status information during the display production process and transmit it to the first control chip. The detection device includes a temperature sensor, a humidity sensor, and a voltage sampling device. The temperature sensor, humidity sensor, and voltage sampling device are respectively connected to the first control chip.
[0012] Furthermore, the test box is connected to the production line test equipment via a CAN bus.
[0013] Furthermore, the MCU and the SOC communicate with each other using a custom uCOM protocol; the SOC and the serializer are connected via an I2C bus.
[0014] Furthermore, the display includes a deserializer, a screen MCU, and a display screen, wherein: the deserializer is connected to the serializer, the screen MCU, and the display screen of the test box respectively; and the screen MCU is connected to the display screen.
[0015] Furthermore, the serializer and the deserializer are connected via an FPD Link interface or a GMSL interface.
[0016] Further, the production line test equipment is used to send display test data information to the first control chip;
[0017] The first control chip is used to receive and preliminarily analyze the data information sent by each component of the device, output high and low level enable signals for controlling the display state, and PWM signals for controlling the display brightness to the serializer, and output the preliminarily analyzed data information to the second control chip;
[0018] The second control chip is used to perform secondary analysis on the data information initially analyzed by the first control chip, and output an image display control signal and a video stream signal to the serializer;
[0019] The serializer is used to transparently transmit the high and low level enable signals and PWM signals of the first control chip to the display, and convert the image display control signal and video stream signal of the second control chip into serial signals and output them to the display.
[0020] The display is used to perform a display test according to the output of the serializer.
[0021] The technical effects of the utility model are as follows: (1) the test device architecture of the MCU and SOC dual chips improves the test data processing capability and the test efficiency; (2) the self-developed uCOM communication protocol is used to realize the data recognition and interaction between the two independent units of MCU and SOC, while reducing resource occupation and improving data transmission efficiency; (3) the SOC is provided with a picture calling module to realize a customized test screen; (4) the test box can be independent of the device and can be reused, and it has high scalability. The functions of the test box can be flexibly adjusted according to needs to realize the multi-functional testing of the display. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a structural diagram of a display testing device based on a dual-chip architecture according to an embodiment of the present utility model. DETAILED DESCRIPTION
[0023] The following is a further detailed description of the specific implementation of the utility model through the description of the embodiments with reference to the accompanying drawings, with the aim of helping those skilled in the art to have a more complete, accurate and in-depth understanding of the utility model concept and technical solution of the utility model, and to facilitate its implementation. In the utility model, the "connection" includes both signal transmission and data interaction achieved by wired connection with actual lines, and signal transmission and data interaction achieved by wireless connection achieved through wireless transmission technology. In the utility model, the terms "first", "second", etc. are only for the convenience of text description, and are not limited to this in actual implementation on the premise of ensuring the technical principles.
[0024] In order to make the technical solution of the present invention clearer, the present invention is explained through the following embodiments: A display test device based on a dual-chip architecture, the device includes a production line test device, a test box, and a display, the test box is respectively connected to the production line test device and the display, wherein: the test box includes a first control chip, a second control chip, and a serializer, the first control chip is respectively connected to the production line test device, the second control chip, and the serializer; the second control chip is connected to the serializer; the serializer is connected to the display. Figure 1 The figure shows the device structure diagram of the utility model embodiment, wherein the first control chip is MCU, the second control chip is SOC, the test box and the production line test equipment are connected via a CAN bus, that is, the production line test equipment and the MCU communicate via the CAN bus. The CAN bus is widely used in vehicle devices. The use of the CAN bus in this embodiment can simulate the test environment more realistically.
[0025] Specifically, in this embodiment, the device is also provided with a detection device, which is connected to the first control chip and is used to detect the status information of the display during the production process and transmit it to the first control chip. The detection device includes a temperature sensor, a humidity sensor, a voltage sampling device, etc., and the temperature sensor, the humidity sensor, and the voltage sampling device are respectively connected to the first control chip. In actual implementation, the detection device can be flexibly expanded according to the test needs. At the same time, the detection device can be used as a peripheral device of the device to send the collected data information to the MCU through the CAN bus. This method is more flexible and easy to expand; it can also be directly added to the test box as a detection function module of the test box, and directly send the data to the MCU. This method requires the reservation of the test box layout space and interface when expanding, but it can save wiring harnesses. The detection device collects parameters such as temperature, humidity, and voltage during the production or testing process of the display to ensure the accuracy of the test.
[0026] Specifically, in this embodiment, the first control chip adopts MCU (microcontroller), and the MCU is respectively connected to the production line test equipment, the second control chip, and the serializer. MCU is a commonly used chip for data processing, which can collect and parse data in real time; although MCU can effectively parse various information in the display production process, such as test commands, production environment information, display status information, etc., for huge data information, the data processing efficiency of a single MCU is low, and it is not suitable for a fast display production process. For this reason, in the utility model, the advantage of high real-time performance of MCU is utilized, and MCU is used to perform preliminary analysis of data information, and execute some simple control functions, including display status control (such as the switch status of the display, etc.), control the working status of each component of the test box, etc., so as to ensure that the test box has a clear division of labor and improve the test efficiency. In this embodiment, the first control chip MCU is used to receive and preliminarily parse the data information sent by the components of the device, including the display test data information sent by the production line test equipment and the data information collected by the detection device, and then outputs the high and low level enable signals for controlling the display status and the PWM signal for controlling the display brightness to the serializer through the GPIO interface of the MCU. At the same time, the communication protocol between the MCU and the SOC outputs the preliminarily parsed data information to the second control chip SOC.
[0027] In this embodiment, the second control chip adopts SOC (on-chip device), and the SOC is connected to the first control chip and the serializer respectively. A separate SOC has the advantages of strong computing performance, high internal integration, and can participate in complex graphics operations, but the real-time performance is difficult to meet the requirements of the automobile controller. For this reason, this embodiment is based on the preliminary analysis of MCU data, and uses SOC as the core processor to perform more complex data fusion and logic operations, thereby achieving efficient and accurate data processing and improving test efficiency. In this embodiment, the SOC module is responsible for processing various information in the production process of the automobile instrument display screen, including temperature, humidity, voltage, etc. At the same time, in order to realize the custom display screen during the display test, the utility model is provided with a picture calling module in the SOC, and the picture calling module includes a memory, and the preset image and video data are stored in the memory. In actual implementation, the SOC only needs to parse the picture or video to be called from the test command of the production line test equipment, and then directly read it from the memory and transmit it to the serializer according to a certain video stream format. The video format includes but is not limited to LVDS, MIPIDSI, etc. In this embodiment, the second control chip SOC is used to perform secondary analysis on the data information after the initial analysis of the first control chip MCU, and output the image display control signal and the video stream signal to the serializer, wherein: the image display control signal includes the frequency and time of the image to be displayed. In order to further meet the I2C communication requirements of the display screen project production in the industry, this embodiment is provided with an I2C bus between the SOC and the serializer, and the relevant image display control signal and the video stream signal can be transmitted to the serializer through the I2C bus, which saves the layout space of the test box, reduces the cost, and improves the test efficiency with a high information transmission rate.
[0028] In this embodiment, the serializer is used to transparently transmit the high and low level enable signals and PWM signals of the first control chip MCU to the display, and convert the image display control signal and the video stream signal of the second control chip SOC into serial signals and then output them to the display. Among them, the serializer and the deserializer of the display are connected through the FPD Link interface or the GMSL interface. The models of the serializer include but are not limited to DS90UB947, MAX96789, etc. The serializer of the test box of the utility model can adapt to a variety of deserializers and video transmission hardware interfaces, including but not limited to COAX, STP, H-MTD, etc.
[0029] In summary, the test box of this embodiment realizes I2C communication and can customize the display screen. Among them, the test device architecture of MCU and SOC dual chips improves the test data processing capability and improves the test efficiency. Furthermore, the test box can be independent of the device and can be reused; at the same time, the test box can reserve multiple interfaces to expand components and ensure high scalability; the test box can flexibly adjust the functions of the test box according to needs to realize multi-functional testing of the display.
[0030] Specifically, the display includes a deserializer, a screen MCU, and a display screen (the display screen is a TFT liquid crystal display screen), wherein: the deserializer is respectively connected to the serializer, the screen MCU, and the display screen of the test box; and the screen MCU is connected to the display screen. After the serial data output by the serializer is quickly decoded by the deserializer, the display performs a display test according to the decoding result, that is, the status of each component of the display is controlled according to the high and low level enable signals; the backlight brightness of the display screen is controlled according to the PWM signal; the picture effect displayed on the display screen is controlled according to the image display control signal and the video stream signal, wherein the signal processing and task allocation are controlled by the screen MCU. The fast decoding of the deserializer can facilitate subsequent data processing and analysis and improve test efficiency. The deserializer models include but are not limited to TI948 / MAX752F.
[0031] The working principle of the utility model is as follows: the production line test equipment sends test data information to the test box; the test box receives the test data information, and at the same time collects data information of each component of the device and processes the data through the dual chips of the test box, and then the test box sends a display control signal to the display, and the display control signal includes a high and low level enable signal for controlling the display state, a PWM signal for controlling the display brightness, an image display control signal, and a video stream signal; the display receives the display control signal and starts the display test.
[0032] Since MCU and SOC are two independently running chips, in order to achieve accurate and efficient data interaction between MCU and SOC and ensure that both parties can recognize each other's received data, the utility model adopts a custom uCOM protocol for communication. The uCOM protocol is divided into three layers: application layer, transport layer, and physical layer.
[0033] Application layer: defines the different message contents transmitted between the two chips and the interface for the application to call to send a certain data content. It also defines the processing function for receiving data from the other side so that the transport layer can call back when receiving the corresponding data.
[0034] The application layer defines each message to be sent, and defines the corresponding processing function for receiving a message. Each message has its own command ID, which consists of three bytes, namely CmdType, CmdId, and CmdOpt:
[0035] CmdType: identifies a certain type of message. If these messages are of the same type, then the CmdType of these messages has the same value.
[0036] CmdId: identifies a specific message in a certain category of messages. For example, when the MCU is powered on, its related software version information needs to be sent to the SoC. The software version in the MCU includes APP, Bootloader, and EEPROM. When defining messages, we can classify these messages related to the MCU version into one category. For example, CmdType 11 indicates messages such as MCU software version, so CmdId is used to distinguish whether it is the APP version or the Bootloader version.
[0037] CmdOpt: Optional field, set to 0x00 by default, and can also be set to define whether the other party needs to respond after receiving this message. For example, when this field is set to 0x80, the other party needs to reply to a message with a specific ID after receiving it. The message content is the ID of the message to respond to this message. If the other party does not respond to the message for a period of time, the resend mechanism will be started.
[0038] The application layer maintains two tables. One is the sending table, which defines the data ID and data to be sent, as well as the number of retransmissions and retransmission time interval when no response is received. The other is the receiving table, which defines the ID of the received data and the processing function for the received data.
[0039] Send table:
[0040] Cmd: Indicates what the command is. It is an enumerated value that is abstracted for the convenience of the application layer. This command is mapped to the ID field of each message described above. For example, if I set it to Vehicle_MCUVersionInfo_ID, then this Cmd is actually mapped to the message 0x11 / 0x01 / 0x00 in the command ID table.
[0041] retryTimer: timeout period. When the CmdOpt value is 0x80, this content needs to be set when the message needs to be responded. It enables a timer. If no response is received from the other party within this period of time after the message is sent, the resend mechanism will be enabled.
[0042] retryTimes: The number of retries. If no message response is received, the maximum number of retries is that the message can be sent.
[0043] RetryFunc: The error handling callback function after the number of retransmissions is exhausted and no correct response is received.
[0044] CallFunc: callback function after the message is sent.
[0045] cmdPara: describes the content and base address of the data to be sent.
[0046] cmdParaSize: describes the length of the data to be sent.
[0047] Receiving table:
[0048] Cmd: Indicates what command it is. After receiving the data, find out its Cmd according to the command ID table, and then find the same Cmd in the Rx table.
[0049] callFunc: The function that processes this message after receiving it.
[0050] For transmission purposes, the protocol needs to define some message IDs, which must exist. The messages used in the protocol are as follows:
[0051] Handshake message: Before officially transmitting data, the protocol requires both parties to perform handshake recognition. Generally, the handshake message is sent by the initiator of the protocol. After the handshake message is sent, if the other party responds within the specified time, it means that the communication is established and the application data can be transmitted normally.
[0052] Handshake response message: After receiving the handshake message, send this message to the other party to tell the other party that I have received the handshake message and can communicate normally.
[0053] Heartbeat packet: After the protocol handshake is successful, both parties will send heartbeat packets to each other at a specified period. If the heartbeat packet of the other party is not received within the specified time, it means that the other party can no longer work normally. At this time, a relative error log is recorded and the device is reset.
[0054] Communication response message: Some key information in data transmission is very important. If the other party does not receive it during the transmission, it needs to be retransmitted. Therefore, the other party needs to respond during data transmission. When the other party receives this kind of message, it will use the communication response message plus the ID of the message to tell the object that I have received this message and you do not need to retransmit it.
[0055] Transport layer: The functions include two parts. One is to add corresponding identification to the application layer data and calculate CRC to ensure the integrity of data transmission. The other is to provide a buffer for the data received by the physical layer, parse the data stored in the buffer, identify a complete frame of data and call the corresponding processing function of the application layer.
[0056] The transport layer defines the length of a frame of data, and then adds the corresponding identification information to the data to be sent, so that the party receiving the data can parse it according to the established format after receiving the data and get the original data. The data of the transport layer contains the following parts: frame header, data length, seed, message ID, data, CRC, frame tail, among which:
[0057] Frame header: distinguishes the beginning of a frame of data.
[0058] Seed: used in conjunction with CRC verification.
[0059] Data length: the length of data to be read continuously, including the number of data such as seed, message ID, data length, etc.
[0060] CmdType / CmdId / CmdOpt: Message ID, describing what kind of message this is.
[0061] Data content: The data content to be sent by the application layer, with a maximum of 250 bytes.
[0062] CRC: CRC check area, which stores the CRC results of CmdType, CmdId, CmdOpt and data content areas to ensure that the other party can perform data packet integrity detection after receiving it.
[0063] Frame tail: distinguishes the end of a frame of data.
[0064] The transport layer maintains a state machine. When it is IDLE, the upper layer will request the transport layer to send the data to be sent. The transport layer adds identification information to the upper layer data and then puts itself in BUSY mode until the transmission of a frame of data is completed and then puts itself in IDLE mode.
[0065] Physical layer: provides an interface for sending and receiving data. The transport layer calls the physical layer sending interface to send the packaged data. The physical layer driver writes the data received from the other party into the ring buffer of the transport layer, and tells the data parsing function of the transport layer to parse and distribute the received data. The physical layer connection is mainly divided into two parts: data transmission part and signal notification part.
[0066] The data transmission part is bidirectional. Considering the efficiency of data transmission, the MCU uses a single peripheral to send messages to the SOC, and the SOC also uses a single peripheral to send messages to the MCU. The physical transmission layer is decoupled from the upper layer, and protocols such as SPI, UART, and I2C can be used as the physical transmission layer. To transplant the protocol to different physical layers, it is only necessary to provide the upper layer with interfaces for reading and writing each communication peripheral, obtaining the status of peripheral transmission data, and receiving data callback functions.
[0067] The signal notification part only uses one GPIO. Since the SOC starts slower than the MCU, when the SOC starts, the internal processes start and the communication between processes is established. At this time, the GPIO will be pulled high to inform the MCU: the SOC has started normally and has the conditions for dual-chip communication. After receiving the information, the MCU starts to send handshake information. The SOC receives the handshake information and correctly identifies the response. At this point, dual-chip communication is established.
[0068] In summary, the uCOM protocol of the present utility model has the following advantages:
[0069] 1. The protocol is designed to be flexible and compatible with different OME protocol requirements, while also having integrity verification mechanisms and security mechanisms, such as handshakes, retransmissions, heartbeat packets, etc., which can monitor important messages and avoid message loss during transmission.
[0070] 2. The protocol is independent of the physical transport layer, and the upper and lower layers are strongly decoupled, which is convenient for porting on different hardware. When porting on different transport layers, only the bottom layer needs to provide the relevant hardware driver interface to the upper layer.
[0071] 3. The protocol is simple in design and can be used on some hardware with limited performance and resources, occupying very low resources.
[0072] The above is an exemplary description of the utility model in conjunction with the accompanying drawings. Obviously, the specific implementation of the utility model is not limited to the above-mentioned method. As long as various non-substantial improvements are made using the method concept and technical solution of the utility model; or the above concept and technical solution of the utility model are directly applied to other occasions without improvement, they are all within the protection scope of the utility model.
Claims
1. A display test device based on a dual-chip architecture, characterized in that: The device includes a production line test equipment, a test box, and a display, and the test box is connected to the production line test equipment and the display respectively, wherein: the test box includes a first control chip, a second control chip, and a serializer, and the first control chip is connected to the production line test equipment, the second control chip, and the serializer respectively; the second control chip is connected to the serializer; and the serializer is connected to the display.
2. The display test device based on a dual-chip architecture according to claim 1, characterized in that: The first control chip is an MCU, and the MCU is connected to the production line test equipment, the second control chip, and the serializer respectively.
3. The display test device based on a dual-chip architecture according to claim 2, characterized in that: The second control chip is a SOC, and the SOC is connected to the first control chip and the serializer respectively.
4. The display test device based on a dual-chip architecture according to claim 3, characterized in that: The SOC includes a picture calling module, and the picture calling module includes a memory, and the memory stores preset image and video data.
5. The display test device based on a dual-chip architecture according to claim 1, characterized in that: The device also includes a detection device, which is connected to the first control chip and is used to detect status information during the display production process and transmit it to the first control chip. The detection device includes a temperature sensor, a humidity sensor, and a voltage sampling device. The temperature sensor, the humidity sensor, and the voltage sampling device are respectively connected to the first control chip.
6. The display test device based on a dual-chip architecture according to claim 1, characterized in that: The test box is connected to the production line test equipment via a CAN bus.
7. The display test device based on a dual-chip architecture according to claim 3, characterized in that: The MCU and the SOC communicate with each other using a custom uCOM protocol; the SOC and the serializer are connected via an I2C bus.
8. The display test device based on a dual-chip architecture according to claim 1, characterized in that: The display comprises a deserializer, a screen MCU and a display screen, wherein: the deserializer is respectively connected to the serializer, the screen MCU and the display screen of the test box; and the screen MCU is connected to the display screen.
9. The display test device based on a dual-chip architecture according to claim 8, characterized in that: The serializer and the deserializer are connected via an FPD Link interface or a GMSL interface.
10. The display test device based on a dual-chip architecture according to claim 1, characterized in that: The production line testing equipment is used to send display test data information to the first control chip; The first control chip is used to receive and preliminarily analyze the data information sent by each component of the device, output high and low level enable signals for controlling the display state, and PWM signals for controlling the display brightness to the serializer, and output the preliminarily analyzed data information to the second control chip; The second control chip is used to perform secondary analysis on the data information initially analyzed by the first control chip, and output an image display control signal and a video stream signal to the serializer; The serializer is used to transparently transmit the high and low level enable signals and PWM signals of the first control chip to the display, and convert the image display control signal and video stream signal of the second control chip into serial signals and output them to the display; The display is used to perform a display test according to the output of the serializer.
Citation Information
Patent Citations
Display screen test device provided with plurality of VGA output interfaces
CN203787060U
