Vehicle body simulation controller

By designing the body simulation controller, using the combination of the main control module, high-side switch and communication transceiver selection module, the problem of low efficiency of the existing test methods is solved, and the efficient simulation of the body controller signals and communication signals in the laboratory is realized. Synchronous testing reduces development costs and testing time.

CN222050729UActive Publication Date: 2024-11-22HASCO VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420795097.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-11-22
Estimated Expiration
2034-04-16

AI Technical Summary

Technical Problem

The existing body testing methods are inefficient and cannot perfectly simulate the vehicle state in the laboratory, making it difficult to detect problems in software development in a timely manner, increasing development costs and testing time.

Method used

Design a body simulation controller, including the main control module, high-side switch and communication transceiver selection module, realize synchronous signal control through multiple electronic switches, simulate the body hardline signal and communication signal, and support a variety of communication protocols and equipment. Synchronous test.

Benefits of technology

It realizes efficient simulation of the hard-wire signals and communication signals of the body controller in the laboratory, ensuring the accuracy and synchronization of the test, reducing the testing cost, and improving the testing efficiency and development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222050729U_ABST
    Figure CN222050729U_ABST
Patent Text Reader

Abstract

The utility model relates to a vehicle body part testing device, in particular to a vehicle body simulation controller, which comprises a main control module (100), a high-side switch (200) and a communication transceiving selection module (300), the main control module (100) is electrically connected with the high-side switch (200), an output port of the high-side switch (200) is electrically connected with a peripheral (400) so as to control the high-side switch (200) to output a hard wire signal, and the communication transceiving selection module (300) is electrically connected with the communication transceiving selection module (300). A communication interface of the main control module (100) is in communication connection with the peripheral (400) through the communication transceiving selection module (300), the communication transceiving selection module (300) comprises a plurality of electronic switches (301), and the main control module (100) can control on-off of the electronic switches to switch circuits. The vehicle body simulation controller can output hard wire signals consistent with a vehicle body end ECU controller, synchronous control of various signals is ensured, and the actual situation of vehicle body control is simulated to the maximum extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a vehicle body component testing device, in particular to a vehicle body simulation controller. Background Art

[0002] With the rapid development of automotive electronic technology, vehicle control systems are becoming more and more complex, and the development and testing of control software are becoming more and more difficult. In order to ensure the quality of control software, each version needs to be fully tested, and in order to ensure the best results, these tests need to be performed on the vehicle. However, due to the large number of versions, it is impossible to send each version to the OEM for testing, so a convenient, fast, and stable method is needed to test the vehicle in the laboratory.

[0003] Most of the current software system testing methods are manual testing, that is, manual testing through various devices, such as engineers manually wiring, using equipment such as signal generators, relays, etc., but these methods are often inefficient, and the test items cannot perfectly simulate the status on the vehicle, which will cause some problems to be exposed after the lamps are actually on the vehicle. If such problems can be discovered during the software development process, then development costs can be greatly reduced and efficiency can be improved.

[0004] In current tests, many instruments are used for auxiliary testing. For example, a body communication simulator is used to simulate body communication. However, it is unable to simultaneously send body communication signals, board communication signals (such as fault injection and other application scenarios) and body high-power hard-wire signals during software debugging. When using an external board communication simulation device, the two cannot be synchronized in time. A signal generator is used to simulate body PWM signals, but the signal generator cannot output only high-level PWM waves. A relay module is used to simulate body hard-wire lighting instructions, but its cost is high and its response delay is high (about 20-30ms), which will affect delay-related tests. Moreover, the output of the relay module can only perform high- and low-level low-frequency switching, and cannot simulate relatively high-frequency body PWM signals. Utility Model Content

[0005] The technical problem to be solved by the utility model is to provide a vehicle body simulation controller, which can output a hard-line signal consistent with the vehicle body end ECU controller and ensure the synchronous control of multiple signals to simulate the actual situation of vehicle body control to the greatest extent.

[0006] In order to solve the above technical problems, the utility model provides a vehicle body simulation controller, including a main control module, a high-side switch and a communication transceiver selection module, the main control module is electrically connected to the high-side switch, the output port of the high-side switch is electrically connected to an external device to control the high-side switch to output a hard-wired signal, the communication interface of the main control module is communicatively connected to the external device through the communication transceiver selection module, the communication transceiver selection module includes multiple electronic switches, and the main control module can control the on and off of each of the electronic switches to switch the circuit.

[0007] In some implementations, the communication interface of the main control module is communicatively connected to the communication transceiver selection module via at least two signal lines among a Uart signal line, an IIC signal line, and an SPI signal line.

[0008] In some implementations, at least two of the Uart signal line, the IIC signal line, and the SPI signal line are connected to each of the electronic switches, and the main control module is electrically connected to a switch control pin of each of the electronic switches.

[0009] In some embodiments, the communication line between the communication transceiver selection module and the main control module is connected through an integrated connector or several single-group connectors, and the communication line between the communication transceiver selection module and the peripheral device is connected through an integrated connector or several single-group connectors.

[0010] In some embodiments, the high-side switch includes a MOS tube and a protection circuit, the IO port of the main control module is electrically connected to the control end of the MOS tube, the input end of the MOS tube is connected to an external power supply through the protection circuit, and the output end of the MOS tube is electrically connected to the peripheral device.

[0011] In some embodiments, an indicator light is further included, and the indicator light is electrically connected to the main control module to control the brightness of the indicator light according to a control signal from the main control module to the high-side switch.

[0012] In some embodiments, there are multiple high-side switches, and the output end of each high-side switch is provided with the indicator light.

[0013] In some embodiments, the main control module is provided with a simulated vehicle body communication interface.

[0014] In some implementations, the simulated vehicle body end communication interface is connected to a CAN signal line or a LIN signal line.

[0015] In some implementations, the main control module is a single chip microcomputer.

[0016] Through the above scheme, the beneficial effects of the utility model are as follows:

[0017] The vehicle body simulation controller of the utility model adopts a high-side switch to output a PWM signal with only a high level, so as to be consistent with the PWM signal on the vehicle body, thereby ensuring the accuracy of the simulation test, and connecting the board-side communication interface of the main control module to the external test equipment through the communication transceiver selection module. The communication transceiver selection module is composed of multiple electronic switches. Therefore, by controlling the on and off of each electronic switch, the switching of the physical circuit can be realized, thereby meeting the needs of testing various different communication protocols and external test equipment during the test process, and meeting the synchronization between multiple external test equipment, and meeting the test needs of multiple external test equipment at a lower cost.

[0018] Other features and advantages of the present invention will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation to the present invention. In the accompanying drawings:

[0020] Figure 1 It is a structural block diagram of the vehicle body simulation controller of the utility model;

[0021] Figure 2 It is the structural block diagram of the smallest unit of the communication transceiver selection module;

[0022] Figure 3 It is the structural block diagram of the high-side switch;

[0023] Figure 4 It is the software execution flow chart of the communication transceiver selection module.

[0024] Description of Reference Numerals

[0025] 100, main control module; 101, single chip microcomputer; 200, high side switch; 201, MOS tube; 202 protection circuit; 300 communication transceiver selection module; 301, electronic switch; 400, peripherals; 500, vehicle body communication simulator; 600, host computer; 700, indicator light. DETAILED DESCRIPTION

[0026] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation modes described herein are only used to illustrate and explain the present invention, and the protection scope of the present invention is not limited to the specific implementation modes described below.

[0027] In the description of the present utility model, it should be noted that, unless otherwise clearly specified and limited, the terms "formed", "provided with", "set", "connected" and the like should be understood in a broad sense. For example, the connection can be a direct connection or an indirect connection through an intermediate medium, a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate connection member, and it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances.

[0028] The utility model provides a vehicle body simulation controller, see Figure 1 As a specific embodiment of the present utility model, it includes a main control module 100, a high side switch 200 and a communication transceiver selection module 300, wherein the high side switch 200 is a component for generating a PWM signal for the vehicle body end ECU controller, the main control module 100 is electrically connected to the high side switch 200, and the output port of the high side switch 200 is electrically connected to the peripheral device (external test equipment) 400, thereby controlling the high side switch 200 to output various hard-line signals simulating the vehicle body, the hard-line signal includes a brake light signal, a turn signal signal, a PWM signal, etc., the communication interface (such as a board-end communication interface) of the main control module 100 is connected to the peripheral device 400 through the communication transceiver selection module 300, and the communication transceiver selection module 300 includes a plurality of electronic switches 301, the main control module 100 can control the on and off of each electronic switch to switch the circuit, thereby meeting the testing and analysis requirements of various peripheral devices 400, and ensuring the synchronization between multiple peripheral devices 400, and the component cost of the vehicle body simulation controller of the utility model is low, and it is applicable to the testing requirements of various external test equipment at a lower cost. It should be noted that the above peripheral device 400 may be a lamp or other test element on the vehicle body, which is not limited here. In order to better understand the technical solution of this utility model, the single chip microcomputer 101 is used as a preferred implementation of the main control module 100 for description below.

[0029] In some embodiments, see Figure 1, the board-side communication interface of the single-chip microcomputer 101 is connected to the communication transceiver selection module 300 through at least two signal lines of the Uart signal line, the IIC signal line and the SPI signal line. Optionally, the board-side communication interface of the single-chip microcomputer 101 is connected to the communication transceiver selection module 300 through the Uart signal line, the IIC signal line and the SPI signal line. Furthermore, the board-side communication interface of the single-chip microcomputer 101 can also be connected to other signal lines, and the present application is not limited to this. In order to meet the various lamps and various application scenarios that may appear in testing and development, the multi-functional communication port of the single-chip microcomputer 101 is extended with functional expansion, and the communication transceiver selection module 300 is used to realize the limited interface of the single-chip microcomputer 101 to control various peripherals 400. The hardware level of the communication transceiver selection module 300 is composed of multiple electronic switches 301, and all electronic switches 301 are uniformly controlled by the single-chip microcomputer 101. Specifically, see Figure 1 and Figure 2 , the board-side communication interface of the single-chip microcomputer 101 is connected to each electronic switch 301 through at least two signal lines among the Uart signal line, the IIC signal line and the SPI signal line, and the main control module 100 is electrically connected to the switch control pins of each electronic switch 301, so that the on and off of each electronic switch 301 can be controlled by software control to realize the switching of the physical circuit, and the communication transceiver selection module 300 also enables the single-chip microcomputer 101 to control a large number of peripherals 400 through fewer interfaces, and at a lower cost, meet the needs of testing various different communication protocols and peripherals 400 in the vehicle body simulation test. Optionally, the board-side communication interface of the single-chip microcomputer 101 is connected to each electronic switch 301 through the Uart signal line, the IIC signal line and the SPI signal line.

[0030] In addition, while the above-mentioned logistics circuit is switched, the software itself can also synchronously redefine the pins and reinitialize the corresponding interfaces, realizing software and hardware changes without the need for additional human intervention, which greatly improves the usability of this product. Figure 4 As shown, after receiving the communication switching instruction, it is first determined whether the channel is in use. When the channel is not in use, the single-chip microcomputer 101 controls the electronic switch 301 to complete the circuit conversion. The single-chip microcomputer 101 performs internal redefinition and reinitialization. After the switching is completed, the new peripheral related instructions can be directly executed.

[0031] In some embodiments, the communication lines between the communication transceiver selection module 300 and the single-chip microcomputer 101 can be aggregated to a unified multi-pin interface, so that the multi-pin interface can be directly connected to the integrated connector, or the communication lines between the two can be divided into multiple groups, and connected through several single-group connectors for easy use; similarly, the communication lines between the communication transceiver selection module 300 and the peripheral 400 can be aggregated to a unified multi-pin interface, so that the multi-pin interface can be directly connected to the integrated connector, or the communication lines between the two can be divided into multiple groups, and connected through several single-group connectors. Compared with the vehicle body communication simulator (such as PCAN, CANoe, etc.) in the prior art, the present utility model can easily achieve the synchronous transceiver of multiple communication protocols through the communication transceiver selection module 300. When simulating multiple vehicle body communications, it is not necessary to cooperate with multiple vehicle body communication simulators, and the synchronization between multiple peripherals 400 can be met. For example, when performing a test project such as a fault diagnosis test that requires high time accuracy, the vehicle body simulation controller of the present utility model can perform synchronous transceiver of multiple communications to perform system testing.

[0032] In some embodiments, see Figure 3 The high-side switch 200 includes a MOS tube 201 and a protection circuit 202 . The IO port of the single-chip computer 101 is electrically connected to the control end of the MOS tube 201 . The input end of the MOS tube 201 is connected to an external power supply through the protection circuit 202 . The output end of the MOS tube 201 is electrically connected to the peripheral 400 .

[0033] Further, in order to increase the usability of the present invention, the vehicle body simulation controller of the present invention further includes an indicator light 700 (for example, an LED indicator light), see Figure 1 , the indicator light 700 is electrically connected to the single-chip microcomputer 101, so as to control the brightness of the indicator light 700 according to the control signal of the single-chip microcomputer 101 to the high-side switch 200, that is, the indicator light 700 is set at the output position of the single-chip microcomputer 101 to the high-side switch 200, so as to bind the PWM wave duty cycle with the brightness of the indicator light 700 in the software, so that the user can more intuitively feel the change of the PWM duty cycle, which is convenient for testing. In addition, due to the brightness perception characteristics of the indicator light 700 itself and the human eye, the brightness changes less under high duty cycles, so Gamma correction is performed in the software design, and the PWM wave of the light source control and the original output PWM will be converted according to the following formula:

[0034]

[0035] PWM LED The duty cycle of the final indicator light 700 output, PWM OUTis the PWM duty cycle actually output by this channel at present. Further, a plurality of high-side switches 200 may be arranged on the single-chip microcomputer 101, and an LED indicator 700 is arranged at the output end of each high-side switch 200 to indicate the brightness of the PWM wave duty cycle of each high-side switch 200, and the plurality of indicator lights 700 are uniformly controlled by an integrated driver chip to improve the integration.

[0036] In some embodiments, the vehicle body simulation controller of the present invention can also communicate with external devices, specifically, see Figure 1 The main control module 100 is provided with a simulated vehicle body communication interface. Preferably, the simulated vehicle body communication interface is connected to a CAN signal line or a LIN signal line, so as to be able to connect to a vehicle body communication simulator 500 or a vehicle body communication bus, etc.

[0037] Specifically, the vehicle body simulation controller of the present utility model can realize the following multiple working modes through the above technical solution (illustrated with the external device 400 being a lamp):

[0038] 1. Directly used as the driving module of the automation control rack

[0039] The vehicle body simulation controller of the utility model has various communication and drive interfaces, can be directly connected to a computer to receive instructions, and at the same time serves as a drive function for an automated test bench, and can directly control various lamps to realize automated testing;

[0040] 2. Use as a standalone simulator controller

[0041] The simulation controller of the utility model is connected to the vehicle body communication simulator (such as CANoe, CAN analyzer, etc.), and is in parallel with the lamps controlled by the vehicle body communication simulator 500, and is controlled by the host computer 600 written in CAPL, and can automatically light and test according to the timing, so that the program writing on the controller side is relatively simple, and all projects use the same controller program. It is easy to use, and you only need to master specific control instructions to write control scripts in the CAPL host computer, and the threshold for use is low;

[0042] 3. Used as a slave connected to the bus

[0043] The analog controller of the utility model is directly connected to the vehicle body communication bus, and can identify the instructions on the bus and make relevant responses according to specific instructions. The software of the controller can be directly transplanted from the communication-related parts of the lamp, so that no additional channels are required, no additional control instructions are required, and it can be directly connected to the CAN or LIN bus for use, and the delay can be controlled to the minimum.

[0044] 4. Use as a data recorder

[0045] The utility model simulation controller has three-way UartCan communication interface, which can be connected to the LED driven lamp using Uart communication to perform data monitoring and recording or communication testing;

[0046] 5. Used as a data converter

[0047] The utility model simulates the controller to receive UartCan signals in real time and send them through Can-FD (CAN with FlexibleData Rate), so that it can analyze Uart signals through a vehicle body communication simulator (such as CANoe, CAN analyzer, etc.) to achieve functions such as screening, bit-by-bit analysis, and message playback;

[0048] 6. Other multi-function controls

[0049] Perform basic lighting, program flashing, version reading and other tasks as required.

[0050] The preferred embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, the technical solution of the present invention can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present invention.

[0051] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.

[0052] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the present invention, they should also be regarded as the contents disclosed by the present invention.

Claims

1. A vehicle body simulation controller, characterized in that: The invention comprises a main control module (100), a high side switch (200) and a communication transceiver selection module (300), wherein the main control module (100) is electrically connected to the high side switch (200), an output port of the high side switch (200) is electrically connected to an external device (400) to control the high side switch (200) to output a hard line signal, a communication interface of the main control module (100) is communicatively connected to the external device (400) via the communication transceiver selection module (300), the communication transceiver selection module (300) comprises a plurality of electronic switches (301), and the main control module (100) is capable of controlling the on and off of each of the electronic switches to switch the circuit.

2. The vehicle body simulation controller according to claim 1, characterized in that: The communication interface of the main control module (100) is communicatively connected to the communication transceiver selection module (300) via at least two signal lines among a Uart signal line, an IIC signal line and an SPI signal line.

3. The vehicle body simulation controller according to claim 2, characterized in that: At least two of the Uart signal line, the IIC signal line and the SPI signal line are connected to each of the electronic switches (301), and the main control module (100) is electrically connected to a switch control pin of each of the electronic switches (301).

4. The vehicle body simulation controller according to claim 1, characterized in that: The communication line between the communication transceiver selection module (300) and the main control module (100) is connected via an integrated connector or a plurality of single-group connectors, and the communication line between the communication transceiver selection module (300) and the peripheral device (400) is connected via an integrated connector or a plurality of single-group connectors.

5. The vehicle body simulation controller according to claim 2, characterized in that: The high-side switch (200) comprises a MOS tube (201) and a protection circuit (202); the IO port of the main control module (100) is electrically connected to the control end of the MOS tube (201); the input end of the MOS tube (201) is connected to an external power supply via the protection circuit (202); and the output end of the MOS tube (201) is electrically connected to the peripheral device (400).

6. The vehicle body simulation controller according to claim 1, characterized in that: It also comprises an indicator light (700), wherein the indicator light (700) is electrically connected to the main control module (100) so as to control the brightness of the indicator light (700) according to a control signal of the main control module (100) on the high side switch (200).

7. The vehicle body simulation controller according to claim 6, characterized in that: There are a plurality of high side switches (200), and the output end of each high side switch (200) is provided with the indicator light (700).

8. The vehicle body simulation controller according to claim 1, characterized in that: The main control module (100) is provided with a simulated vehicle body end communication interface.

9. The vehicle body simulation controller according to claim 8, characterized in that: The simulated vehicle body end communication interface is connected to a CAN signal line or a LIN signal line.

10. The vehicle body simulation controller according to claim 1, characterized in that: The main control module (100) is a single chip microcomputer.