CN114518738A - Hardware-in-loop test system for multi-channel controller - Google Patents

Hardware-in-loop test system for multi-channel controller Download PDF

Info

Publication number
CN114518738A
CN114518738A CN202011312069.XA CN202011312069A CN114518738A CN 114518738 A CN114518738 A CN 114518738A CN 202011312069 A CN202011312069 A CN 202011312069A CN 114518738 A CN114518738 A CN 114518738A
Authority
CN
China
Prior art keywords
card
load
lamp
controller
lin
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.)
Granted
Application number
CN202011312069.XA
Other languages
Chinese (zh)
Other versions
CN114518738B (en
Inventor
朱涛
沈倩
黄琬祯
吴杰
薛蔚平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changzhou Xingyu Automotive Lighting Systems Co Ltd
Original Assignee
Changzhou Xingyu Automotive Lighting Systems Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Changzhou Xingyu Automotive Lighting Systems Co Ltd filed Critical Changzhou Xingyu Automotive Lighting Systems Co Ltd
Priority to CN202011312069.XA priority Critical patent/CN114518738B/en
Publication of CN114518738A publication Critical patent/CN114518738A/en
Application granted granted Critical
Publication of CN114518738B publication Critical patent/CN114518738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention relates to the technical field of automobile lamps, in particular to a hardware-in-loop test system of a multi-channel controller, which comprises a PC (personal computer), an IO (input/output) board card, a CAN (controller area network) conversion card, a lamp domain controller, a plurality of loads, a plurality of LIN conversion cards and a relay module; the PC is connected with the relay module through the IO board card, and the relay module is respectively connected with a plurality of loads; the PC is connected with the lamp domain controller through the CAN conversion card; the lamp field controller is connected with the LIN switching cards respectively; each LIN conversion card is correspondingly connected with a load; the device also comprises a programmable power supply and a voltage acquisition card; the PC is connected with a load through a programmable power supply; the PC is also connected with a load through a voltage acquisition card; the automatic on-load aging test function of the multi-channel car lamp can be realized, so that the production efficiency and the automatic detection degree of the car lamp controller are greatly improved.

Description

Multi-channel controller hardware-in-the-loop test system
Technical Field
The invention relates to the technical field of automobile lamps, in particular to a hardware-in-loop test system for a multi-channel controller.
Background
With the continuous development of electronic technology and automobile industry, the automobile lamp control is used as an important auxiliary tool on the automobile lamp, the use frequency of the intelligent automobile lamp in modern automobiles is continuously increased, the requirement on automatic aging is continuously increased, and the detection of various performance indexes of the automobile lamp also presents the trend of diversification and complication. The initial aging system of the car lamp controller is a single-channel detection system, so that the cost is high and the time is wasted; therefore, the aging test system for the vehicle lamp controller is designed, and the multi-channel detection function is very necessary.
Disclosure of Invention
Aiming at the problems mentioned in the background technology, the invention provides a hardware-in-loop test system of a multi-channel controller, which can realize the automatic on-load aging test function of a multi-channel vehicle lamp, thereby greatly improving the production efficiency and the automatic detection degree of the vehicle lamp controller.
The technical purpose of the invention is realized by the following technical scheme: a hardware-in-loop test system for a multi-channel controller comprises a PC (personal computer), an IO (input/output) board card, a CAN (controller area network) conversion card, a lamp area controller, a plurality of loads, a plurality of LIN conversion cards and a relay module;
the PC is connected with the relay module through the IO board card, and the relay module is respectively connected with a plurality of loads;
the PC is connected with the lamp domain controller through the CAN conversion card;
the lamp field controller is connected with the LIN switching cards respectively;
each LIN conversion card is correspondingly connected with a load;
the device also comprises a programmable power supply and a voltage acquisition card; the PC is connected with a load through a programmable power supply; the PC is also connected with a load through a voltage acquisition card.
Preferably, the PC is connected to the CAN conversion card through a USB, and is configured to send a CAN message to the lamp domain controller.
Preferably, the programmable power supply is connected to the PC via USB for supplying power to a plurality of loads.
In conclusion, the invention has the following beneficial effects: the multi-channel controller hardware-in-loop test system CAN greatly improve the production efficiency and the production automation degree, a PC sends a working instruction message to a lamp domain controller through a CAN conversion card, the lamp domain controller identifies and converts an LIN message of lamp working according to the received CAN message instruction, the LIN message is sent to a virtual load of the lamp domain controller through an LIN conversion card, the lamp domain controller starts the working of the corresponding virtual load according to the received LIN message instruction, the input voltage of each load is circularly acquired at an interval of 1min in the load working process through a voltage acquisition card, and fault information is fed back to a loaded aging control system at the PC end through the LIN conversion card when the load working is in an abnormal state. .
Drawings
FIG. 1 is a schematic structural diagram of a multi-channel controller hardware-in-the-loop test system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A hardware-in-loop test system for a multi-channel controller adopts the technical scheme that the hardware-in-loop test system comprises a PC, a terminal display, an IO board card, a programmable power supply, a CAN conversion card, an LIN conversion card, a voltage acquisition card, a relay module, a car lamp domain controller, a controller virtual load and the like.
The PC is connected with the CAN conversion card through a USB and is used for sending a CAN message to the lamp domain controller; the programmable power supply is connected with the PC through a USB bus to provide power for the system; the CAN conversion card and the LIN conversion card are used for sending CAN messages, LIN messages and fault information feedback; the car light domain controller is used for receiving the CAN message and converting the CAN message into an LIN message; the IO board card is used for controlling the switching of signals; the voltage acquisition card is used for acquiring voltage in the working process of the load.
As an optimized scheme of the invention, the on-load aging control system adopts the drawer type design of an aging box, and each drawer can be independently operated; and code scanning, data recording and analysis and MES information system integration are supported.
The aging box drawer consists of a load drawer and a test drawer, and the load drawer is connected with the test drawer through a connector.
The test drawer consists of three parts: the device comprises a drawer body, a product to be tested and a switching PCB; the switching PCB board comprises a product plug-in interface, a load, a communication plug-in interface and the like which are integrated; the load drawer consists of three parts: drawer body, master control PCB board and load PCB board.
The hardware-in-the-loop test system of the multi-channel controller adopts the detection principle that: according to the system, a PC sends a working instruction message to a lamp domain controller through a CAN conversion card, the lamp domain controller identifies and converts an LIN message of lamp working into an LIN message of lamp working according to the received CAN message instruction, the LIN message is sent to a virtual load of the lamp domain controller through the LIN conversion card, the lamp domain controller starts working of a corresponding virtual load according to the received LIN message instruction, input voltage of each load is circularly acquired at an interval of 1min through a voltage acquisition card in the working process of the load, and fault information is fed back to a loaded aging control system at the PC end through the LIN conversion card when the load is in an abnormal working state.
In the specific test, the method comprises the following steps:
first, a CAN message is sent.
The PC sends an instruction to the car light domain controller, and the domain controller converts the received CAN message into a LIN message and sends the LIN message to a load.
And secondly, receiving the LIN message and collecting the voltage.
The load executes work according to the received message, and circularly collects the working voltage through the voltage collecting card.
And thirdly, monitoring and feeding back in real time.
And monitoring the working state in real time, and if the voltage is abnormal, feeding back fault information to the PC.
As shown in fig. 1, the hardware-in-the-loop test system for the multi-channel controller includes a PC, a terminal display, an IO board card, a programmable power supply, a CAN converter card, a LIN converter card, a voltage acquisition card, a relay module, a car light domain controller, a controller virtual load, and the like.
According to the system, a PC sends a working instruction message to a lamp domain controller through a CAN conversion card, the lamp domain controller identifies and converts an LIN message of lamp working into an LIN message of lamp working according to the received CAN message instruction, the LIN message is sent to a virtual load of the lamp domain controller through the LIN conversion card, the lamp domain controller starts working of a corresponding virtual load according to the received LIN message instruction, input voltage of each load is circularly acquired at an interval of 1min through a voltage acquisition card in the working process of the load, and fault information is fed back to a loaded aging control system at the PC end through the LIN conversion card when the load is in an abnormal working state.
The PC is connected with the CAN conversion card through a USB and is used for sending a CAN message to the lamp domain controller; the programmable power supply is connected with the PC through a USB bus and provides power for the system; the CAN conversion card and the LIN conversion card are used for sending CAN messages, LIN messages and fault information feedback; the car light domain controller is used for receiving the CAN message and converting the CAN message into an LIN message; the IO board card is used for controlling the switching of signals; and the voltage acquisition card is used for acquiring the voltage in the working process of the load.
The on-load aging control system is designed by adopting an aging box drawer type, and each drawer can be independently operated; and code scanning, data recording and analysis and MES information system integration are supported.
The aging box drawer consists of a load drawer and a test drawer, and the load drawer is connected with the test drawer through a connector.
The test drawer consists of three parts: the device comprises a drawer body, a product to be tested and a switching PCB; the switching PCB board comprises a product plug interface, a load, a communication plug interface and the like; the load drawer consists of three parts: drawer body, master control PCB board and load PCB board.
As shown in fig. 1, the detection method of the detection apparatus according to the present invention adopts the following steps:
first, a CAN message is sent.
The PC sends an instruction to the car light domain controller, and the domain controller converts the received CAN message into a LIN message and sends the LIN message to a load.
And secondly, receiving the LIN message and collecting the voltage.
The load executes work according to the received message, and circularly collects the working voltage through the voltage collecting card.
And thirdly, monitoring and feeding back in real time.
And monitoring the working state in real time, and if the voltage is abnormal, feeding back fault information to the PC.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (3)

1. The utility model provides a multichannel controller hardware is at ring test system which characterized in that: the intelligent lamp comprises a PC, an IO board card, a CAN conversion card, a lamp domain controller, a plurality of loads, a plurality of LIN conversion cards and a relay module;
the PC is connected with the relay module through the IO board card, and the relay module is respectively connected with a plurality of loads;
the PC is connected with the lamp domain controller through a CAN conversion card;
the lamp field controller is connected with the LIN switching cards respectively;
each LIN conversion card is correspondingly connected with a load;
the device also comprises a programmable power supply and a voltage acquisition card; the PC is connected with a load through a programmable power supply; the PC is also connected with a load through a voltage acquisition card.
2. The multi-channel controller hardware-in-the-loop test system of claim 1, wherein: and the PC is connected with the CAN conversion card through a USB and is used for sending CAN messages to the lamp domain controller.
3. The multi-channel controller hardware-in-the-loop test system of claim 1, wherein: the programmable power supply is connected with the PC through the USB and is used for supplying power to a plurality of loads.
CN202011312069.XA 2020-11-20 2020-11-20 Hardware-in-loop test system of multichannel controller Active CN114518738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011312069.XA CN114518738B (en) 2020-11-20 2020-11-20 Hardware-in-loop test system of multichannel controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011312069.XA CN114518738B (en) 2020-11-20 2020-11-20 Hardware-in-loop test system of multichannel controller

Publications (2)

Publication Number Publication Date
CN114518738A true CN114518738A (en) 2022-05-20
CN114518738B CN114518738B (en) 2024-06-21

Family

ID=81594631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011312069.XA Active CN114518738B (en) 2020-11-20 2020-11-20 Hardware-in-loop test system of multichannel controller

Country Status (1)

Country Link
CN (1) CN114518738B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076814A (en) * 2014-07-09 2014-10-01 哈尔滨工业大学 Automobile ECU measurement system based on hardware-in-loop simulation
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller
CN110525232A (en) * 2019-09-04 2019-12-03 天津易鼎丰动力科技有限公司 A kind of dynamical system domain controller for electric vehicle and its control method
CN213338432U (en) * 2020-11-20 2021-06-01 常州星宇车灯股份有限公司 Hardware-in-loop test system for multi-channel controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104076814A (en) * 2014-07-09 2014-10-01 哈尔滨工业大学 Automobile ECU measurement system based on hardware-in-loop simulation
CN108205308A (en) * 2017-12-19 2018-06-26 中国第汽车股份有限公司 A kind of automated diagnostic tester system based on vehicle body domain controller
CN110525232A (en) * 2019-09-04 2019-12-03 天津易鼎丰动力科技有限公司 A kind of dynamical system domain controller for electric vehicle and its control method
CN213338432U (en) * 2020-11-20 2021-06-01 常州星宇车灯股份有限公司 Hardware-in-loop test system for multi-channel controller

Also Published As

Publication number Publication date
CN114518738B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN213338432U (en) Hardware-in-loop test system for multi-channel controller
CN102681557A (en) Integrated control device and control method for hydraulic system
CN114035025A (en) Automatic testing device and method for portable power station instrument control system board card
CN114518738A (en) Hardware-in-loop test system for multi-channel controller
CN111446775A (en) Wiring-free centralized control type power distribution automatic terminal and system thereof
CN105301519A (en) Detachable and replaceable constant-current constant-voltage isolation electric energy feedback power aging device
CN211639980U (en) Terminal keypad test system of cooperation robot
CN213843889U (en) SSPC solid state power controller test fixture
CN202431651U (en) Integrated control device of hydraulic system
CN201600574U (en) Vehicular logic control unit for realizing interchange of inserts
CN111736572A (en) Numerical control system complete machine hardware testing platform based on Codesys software development system
CN219625643U (en) Nuclear power board card testing device
CN218099467U (en) Remote controller mainboard function testing device
CN219936057U (en) Test equipment and system for battery management unit circuit board
CN218917970U (en) Practical multifunctional module PLC electric cabinet
CN203455660U (en) Bus rocker switch controller
CN220913552U (en) PNG controller automatic test system
CN216312954U (en) Intelligent modular power supply capable of replacing constant current conversion module
CN218938396U (en) Test platform device capable of configuring universal signals
CN217360089U (en) Improve frock of helicopter folding system simulation circular telegram inspection efficiency
CN114222458B (en) Wiring device and cabinet
CN209948286U (en) IO module adapter of machine tool numerical control system
CN103792470A (en) Method and device for testing voltage withstanding capacity of car central cable connector
CN111190845B (en) Communication circuit and method compatible with multiple devices
CN219179509U (en) Automatic detection device for vehicle door

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
GR01 Patent grant
GR01 Patent grant