Detection device for automobile lamp domain controller and control method thereof
Technical Field
The invention belongs to the technical field of automobile lamp control detection, and particularly relates to an automobile lamp domain controller detection device and a control method thereof.
Background
As more and more distributed ECUs are used on the body of a car, the maximum is more than one hundred. Distributed weakness, complex logic management, complex wire harness design and high cost. The manufacturers of bosch, delfu, continent and the like put forward the upgrading of the automobile electric architecture from distribution to centralized, and the doctor drives the electric controller to power, chassis, cabin, autopilot and automobile body in five domains. Car light field controllers based on platform demands are also introduced in the car light industry in recent two years, and different software is provided through standard universal field controllers so as to meet the customization demands of different host factories, thereby realizing project development cost, period and improving product profitability
The lamp domain controller is divided into three domains, namely a front part, a rear part and an indoor part, and one lamp domain controller can control a plurality of lamps. Taking a lamp rear domain controller as an example, 4 sets of tail lamps matched with the rear 1 left, the rear 1 right, the rear 2 left and the rear 2 right of the domain controller are required to be connected to the lamp domain controller as real loads for testing, the testing is very complex, the real loads are large in size, the wire harness is connected more, the lamp is easy to damage, and uncertainty is added to the testing. The lamp panel is not manufactured in the lamp plant, and the real load lamp panel is required to be customized independently, so that the testing difficulty and the development period are increased.
Disclosure of Invention
The invention aims to provide an automobile lamp domain controller detection device and a control method thereof, which are used for solving the technical problems that the test is very complex, the real load volume is large, the connection of wire harnesses is many, the lamps are easy to damage, and uncertainty is added to the test, so that the purposes of reducing the instability risk of the load lamps and improving the test stability of the detection device are achieved.
In order to solve the technical problems, the present invention provides an automotive luminaire domain controller detection device, comprising:
The system comprises a programmable power supply, an industrial computer, an industrial touch screen display, a digital input/output board card, a CAN communication board card, a LIN communication board card, a programmable multi-channel resistor matrix board card and a UART board card, wherein the programmable power supply supplies power to the industrial computer, the industrial touch screen display, the digital input/output board card, the CAN communication board card, the LIN communication board card, the programmable multi-channel resistor matrix board card and the UART board card;
The digital input/output board card, the CAN communication board card, the LIN communication board card, the programmable multi-channel resistor matrix board card and the UART board card are electrically connected to the car light domain controller so as to detect the car light domain controller;
The industrial computer is electrically connected with a programmable power supply, an industrial touch screen display, a CAN communication board card, a LIN communication board card, a programmable multi-channel resistance matrix board card, a multi-channel programmable electronic load instrument and a UART board card;
the automatic test software on the industrial computer simulates the test environment of the car light domain controller and the acquisition test of the output signals of the car light domain controller through the instrument board of the program controller.
Furthermore, the industrial computer runs the automatic test software to control the multichannel programmable electronic load instrument;
The multi-channel programmable electronic load instrument is provided with one or more modes of a constant-current load mode, a constant-voltage load mode or a constant-power load mode;
And the simulated car light domain controller tests the required load condition requirement of the car light LED lamp panel.
The invention has the beneficial effects that:
1. by using the programmable virtual instrument scheme to replace the real lamp load, the wire harness and tooling design are simplified, the instability risk of the load lamp is reduced, and the testing stability of the detection device is improved.
2. The real lamp load is replaced by the programmable virtual instrument scheme, the real load lamp is not needed to be used by replacing the load regularly, and the maintenance workload of the detection device is reduced. Meanwhile, because individual differences exist in the real load, the accuracy and repeatability of the detection device are improved by using a virtual instrument scheme.
3. By using the programmable virtual instrument scheme to replace the real lamp load, the requirements of the universality, the compatibility and the multi-type switching test of the detection device are improved.
4. Because different real loads are needed for the controller test of each model, the real loads relate to the different numbers of LEDs, power, BIN dividing resistance, NTC resistance and the like, and therefore, the controller test of different models needs to be matched with corresponding multiple real loads. However, by adopting a virtual load scheme, a program control instrument, a board card and a resistance load instrument are used, and the real load states with the same functions and various types and specifications can be simulated through software control to test. The control method has the advantages that the control method is advanced, the test scheme and the test equipment can meet the test requirements of controllers of different types, and the universality, the compatibility and the multi-type switching test requirements of the detection device are improved.
Another object of the present invention is to provide a control method of an automotive luminaire domain controller detection device, including:
The detection device of the automobile lamp domain controller is as described above;
After power-on initialization, manually selecting a configuration program to be detected by the lamp domain controller;
after the system is loaded successfully, the lamp domain controller to be detected is placed on the detection workbench manually, a double-hand starting button is pressed manually, a detection device probe is automatically inserted onto a PIN needle of the lamp domain controller in an opposite mode, and the system performs test flow actions according to preset settings;
Step one, an industrial computer runs a program, controls a digital input/output board card and a relay to act so as to switch power supply and signals required for detection by a car light domain controller;
Step two, an industrial computer running program is communicated with a car light domain controller through a CAN communication board card, and UDS diagnosis service is used for reading the 3 voltage states so as to ensure whether message recovery in the under-voltage, normal and high-voltage 3 states is met;
Step three, an industrial computer running program controls a programmable multi-channel resistance matrix board card, 8 channels output set resistance values, a car light domain controller identifies voltages of corresponding points of 8 resistors, the voltage is communicated with the car light domain controller through a CAN communication board card, and a UDS diagnosis service reads ADC voltage sampling values of 8 points;
Step four, an industrial computer running program controls a programmable multi-channel electronic load instrument to start in a Constant Voltage (CV) mode and set corresponding voltage, and the programmable multi-channel electronic load instrument is communicated with a car light domain controller through a CAN communication board card and used for controlling the car light domain controller to output a Constant Current (CC) mode by a UDS diagnosis service to set constant current;
the controller can program the multi-channel electronic load instrument to read the current value and the voltage value of each channel;
Fifth, repeating the above steps once, controlling the car light domain controller to output different current values in Constant Current (CC) mode, and testing;
step six, operating a program by an industrial computer, controlling a programmable multi-channel electronic load instrument to start in a Constant Current (CC) mode, and setting corresponding current;
the controller CAN be used for programming the multi-channel electronic load instrument to read the current value and the voltage value of each channel in reverse;
Step seven, repeating the steps for six times, controlling the vehicle lamp domain controller to output different voltage values in a Constant Voltage (CV) mode, and testing;
the industrial computer running program controls the programmable multi-channel electronic load instrument to start in a constant Current (CV) mode and set corresponding current, communicates with the car light domain controller through the CAN communication board card, and controls the high-side switch of the car light domain controller to be opened through the UDS diagnosis service;
Step nine, an industrial computer running program is communicated with a car light domain controller through a CAN communication board card, and UDS diagnosis service is used for controlling UART output of the car light domain controller;
Reading and outputting a UART serial port message through a UART board card;
and step ten, comparing the detection information after the measurement is completed, outputting OKNG signal indicating lamps, storing the detection data in a database, and displaying the result on an industrial touch display.
In the second step, the programmable power supply is controlled to output 7V,13.5V and 18V voltages.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic block diagram of an automotive luminaire domain controller detection device of the present invention;
FIG. 2 is a block diagram of an industrial computer of the present invention for detecting a controller of an automotive lamp domain and a control method thereof;
fig. 3 is a block diagram of an industrial computer according to the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples:
The detection device for the automotive lamp domain controller comprises a programmable power supply, an industrial computer, an industrial touch screen display, a digital input/output board card, a CAN communication board card, an LIN communication board card, a programmable multi-channel resistor matrix board card and a UART board card, wherein the programmable power supply is used for supplying power to the industrial computer, the industrial touch screen display, the digital input/output board card, the CAN communication board card, the LIN communication board card, the programmable multi-channel resistor matrix board card and the UART board card are electrically connected to the automotive lamp domain controller so as to detect the automotive lamp domain controller, and the industrial computer is electrically connected with the programmable power supply, the industrial touch screen display, the CAN communication board card, the LIN communication board card, the programmable multi-channel resistor matrix board card, the multi-channel programmable electronic load meter and the UART board card, and automatic test software on the industrial computer is used for testing the instrument card, the analog domain controller and the automotive lamp domain controller so as to test the automotive lamp domain controller.
The multi-channel programmable electronic load instrument is controlled by running automatic test software on an industrial computer, and is provided with one or more modes of a constant-current load mode, a constant-voltage load mode or a constant-power load mode, and simulates the load condition requirements of the LED lamp panel of the car lamp required by the test of the car lamp domain controller.
For convenience of use, the industrial tablet computer 4 is adopted in the embodiment, so that a user can conveniently move.
The industrial tablet computer 4 is connected to the programmable power supply 1, and the programmable power supply 1 supplies power to the industrial tablet computer 4. The industrial tablet computer 4 is also connected with a first color industrial camera 2, a black and white industrial camera 3 and a digital input/output board card 5. Wherein, for better illumination, the industrial tablet computer 4 is also connected with a lamp 6.
For better monitoring of the plurality of lamp field controllers by the industrial tablet computer 4, the industrial tablet computer 4 is connected with a second color industrial camera 7.
In summary, the programmable virtual instrument scheme is used for replacing the real lamp load, so that the wire harness and tool design is simplified, the instability risk of the load lamp is reduced, and the test stability of the detection device is improved. The real lamp load is replaced by the programmable virtual instrument scheme, the real load lamp is not needed to be used by replacing the load regularly, and the maintenance workload of the detection device is reduced. Meanwhile, because individual differences exist in the real load, the accuracy and repeatability of the detection device are improved by using a virtual instrument scheme. By using the programmable virtual instrument scheme to replace the real lamp load, the requirements of the universality, the compatibility and the multi-type switching test of the detection device are improved.
The embodiment 2 of the control method of the detection device of the automobile lamp domain controller comprises the steps of selecting a configuration program to be detected by the lamp domain controller manually after power-on initialization, placing the lamp domain controller to be detected on a detection workbench manually after the system is loaded successfully, manually pressing a double-hand start button, automatically inserting a detection device probe onto a PIN needle of the lamp domain controller, and performing test flow action according to preset by the system.
Step one, an industrial computer runs a program, controls a digital input/output board card and a relay to act so as to switch power supply and signals required for detection by a car light domain controller;
Step two, an industrial computer running program is communicated with a car light domain controller through a CAN communication board card, and UDS diagnosis service is used for reading the 3 voltage states to ensure whether message recovery in the undervoltage, normal and high voltage 3 states is met, wherein 7V,13.5V and 18V voltages are controlled to be output by a programmable power supply.
Step three, an industrial computer running program controls a programmable multi-channel resistance matrix board card, 8 channels output set resistance values, a car light domain controller identifies voltages of corresponding points of 8 resistors, the voltage is communicated with the car light domain controller through a CAN communication board card, and a UDS diagnosis service reads ADC voltage sampling values of 8 points;
Step four, an industrial computer running program controls a programmable multi-channel electronic load instrument to start in a Constant Voltage (CV) mode and set corresponding voltage, and the programmable multi-channel electronic load instrument is communicated with a car light domain controller through a CAN communication board card and used for controlling the car light domain controller to output a Constant Current (CC) mode by a UDS diagnosis service to set constant current;
the controller can program the multi-channel electronic load instrument to read the current value and the voltage value of each channel;
Fifth, repeating the above steps once, controlling the car light domain controller to output different current values in Constant Current (CC) mode, and testing;
step six, operating a program by an industrial computer, controlling a programmable multi-channel electronic load instrument to start in a Constant Current (CC) mode, and setting corresponding current;
the controller CAN be used for programming the multi-channel electronic load instrument to read the current value and the voltage value of each channel in reverse;
Step seven, repeating the steps for six times, controlling the vehicle lamp domain controller to output different voltage values in a Constant Voltage (CV) mode, and testing;
the industrial computer running program controls the programmable multi-channel electronic load instrument to start in a constant Current (CV) mode and set corresponding current, communicates with the car light domain controller through the CAN communication board card, and controls the high-side switch of the car light domain controller to be opened through the UDS diagnosis service;
Step nine, an industrial computer running program is communicated with a car light domain controller through a CAN communication board card, and UDS diagnosis service is used for controlling UART output of the car light domain controller;
Reading and outputting a UART serial port message through a UART board card;
and step ten, comparing the detection information after the measurement is completed, outputting OKNG signal indicating lamps, storing the detection data in a database, and displaying the result on an industrial touch display.
Through the operation flow in the fifth cycle and the fourth cycle, the car light domain controller can be better controlled and controlled to output different current values in a Constant Current (CC) mode, so that the operation stability is improved.
The LED controller has the beneficial effects that as different real loads are required for testing the controllers of each model, the real loads relate to different numbers of LEDs, power, BIN dividing resistance, NTC resistance and the like, and therefore, the controllers of different models are required to be matched with corresponding various real loads. However, by adopting a virtual load scheme, a program control instrument, a board card and a resistance load instrument are used, and the real load states with the same functions and various types and specifications can be simulated through software control to test. The control method has the advantages that the control method is advanced, the test scheme and the test equipment can meet the test requirements of controllers of different types, and the universality, the compatibility and the multi-type switching test requirements of the detection device are improved.
The components selected in the application are all universal standard components or components known to the person skilled in the art, and the structure and principle of the components are all known to the person skilled in the art through technical manuals or through routine experimental methods.
In describing embodiments of the present invention, unless explicitly stated or limited otherwise, the terms "mounted," "connected," "coupled," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected via an intervening medium, or in communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
With the above-described preferred embodiments according to the present invention as an illustration, the above-described descriptions can be used by persons skilled in the relevant art to make various changes and modifications without departing from the scope of the technical idea of the present invention. The technical scope of the present invention is not limited to the description, but must be determined according to the scope of claims.