CN108810785A - A kind of vehicle-mounted loudspeaker automatization test system and method based on bus - Google Patents
A kind of vehicle-mounted loudspeaker automatization test system and method based on bus Download PDFInfo
- Publication number
- CN108810785A CN108810785A CN201810398581.7A CN201810398581A CN108810785A CN 108810785 A CN108810785 A CN 108810785A CN 201810398581 A CN201810398581 A CN 201810398581A CN 108810785 A CN108810785 A CN 108810785A
- Authority
- CN
- China
- Prior art keywords
- loudspeaker
- vehicle
- bus
- test
- setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R29/00—Monitoring arrangements; Testing arrangements
- H04R29/001—Monitoring arrangements; Testing arrangements for loudspeakers
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
- Stereophonic System (AREA)
Abstract
The present invention relates to technical field of automotive electronics, specifically disclose a kind of vehicle-mounted loudspeaker automatization test system and method based on bus, there are the host computer and test equipment of CANoe softwares including operation, the host computer is connected with test equipment by CAN bus, the test equipment includes the vehicle mounted guidance module and test module being electrically connected, the test module includes relay unit and compound horn unit, the present invention can improve the limitation of current manual test, improve the testing efficiency of vehicle-mounted loudspeaker, tester can also be according to the method simultaneously, flexibly simulation is related to the test cases under various environment, it effectively solves manual test and is difficult to the low probability defect reappeared.
Description
Technical field
The present invention relates to technical field of automotive electronics more particularly to a kind of vehicle-mounted loudspeaker automatic test systems based on bus
System and method.
Background technology
With the development of entertainment information, it is more and more that vehicle device assembles loudspeaker number so that loudspeaker diagnostic function is also more next
It is more complicated.Loudspeaker state is arranged often through manual plug loudspeaker connection type for loudspeaker diagnostic test at present, is then passed through
ODIS tools send diagnostic instruction and trigger loudspeaker electrical testing, finally read loudspeaker testing result with ODIS again, test other cases
When example, plug loudspeaker again again.
On the one hand, in order to enable navigation to detect various mistakes, routine test needs can accurately detect high pitch open circuit, low
Sound open circuit, it is positive/negative extremely shortly, positive/negative extremely short power supply, mutually it is short, it is normal connection etc..On the other hand, it is guarantee loudspeaker electrical testing
As a result validity, detection limit condition is also numerous, and however as the development of entertainment information, it is at least all four that loudspeaker, which connect quantity,
More than a, it is low to result in traditional test method efficiency in this way, and multiple plug also be easy to cause joint failure, and actual test is also very
Difficulty detects low probability defect.
Invention content
In view of the above technical problems, the present invention provides a kind of limitation of improvement current manual test, vehicle-mounted loudspeaker is improved
The vehicle-mounted loudspeaker based on bus that testing efficiency and effectively solution manual test are difficult to the low probability defect reappeared are automatic
Change test system and method.
In order to solve the above technical problem, the present invention provides concrete scheme it is as follows:A kind of vehicle-mounted loudspeaker based on bus
Automatization test system and method, including operation have the host computer and test equipment of CANoe softwares, and the host computer and test are set
Standby to be connected by CAN bus, the test equipment includes the vehicle mounted guidance module and test module being electrically connected, the test mould
Block includes relay unit and compound horn unit.
Preferably, the compound horn unit includes high-pitched speaker and woofer.
The present invention also provides a kind of vehicle-mounted loudspeaker automated testing method based on bus, includes the following steps:
S1, CANoe softwares are run on host computer, send setting loudspeaker state message to CAN bus;
S2, CAN bus parsing setting loudspeaker state message, complete the setting to high-pitched speaker and woofer state;
S3, after setting up high-pitched speaker and woofer state, CANoe send out triggering loudspeaker electrical testing message to vehicle mounted guidance
Module;
S4, vehicle mounted guidance module complete loudspeaker electrical testing and confirm diagnostic trouble code DTC;
S5, CANoe software send the diagnosis message for reading diagnostic trouble code DTC, judge DTC states by return value, in turn
This is analyzed to test whether effectively.
Preferably, further include step S0 before the step S1, complete the structure reconciliation of test cases on CANoe softwares
Analysis, test cases set specified detection environmental condition, complete the automatic test to vehicle-mounted loudspeaker.
Preferably, the step S2 specifically includes following procedure:CAN bus parsing setting loudspeaker state message, setting
GPIO level is output to test equipment, completes the setting to high-pitched speaker and woofer state, simulates high-pitched speaker and bass
The various settings such as the cut-offfing of loudspeaker, short circuit.
Preferably, the step S2 further includes following procedure:Complete the setting to high-pitched speaker and woofer state
Delay time T1 afterwards, the T1 are more than or equal to 100ms, ensure enough time to complete to high-pitched speaker and woofer state
Setting.
Preferably, the step S3 further includes following procedure:Triggering loudspeaker electrical testing message is sent out to vehicle-mounted in CANoe
Delay time T2 after navigation module, the T2 are more than or equal to 3s, it is ensured that enough time completes loudspeaker electrical testing.
Preferably, the step S4 further includes following procedure:Loudspeaker electrical testing is completed in vehicle mounted guidance module and is confirmed
Delay time T3 after diagnostic trouble code DTC, the T3 are more than or equal to 2s, and duplicate acknowledgment diagnostic trouble code avoids the occurrence of mistake
Sentence.
Preferably, the T1 is 200ms, which neither influences testing efficiency, at the same can complete again to high-pitched speaker and
The setting of woofer state.
It is further preferred that the high-pitched speaker and woofer state include:Open circuit, it is positive/negative extremely shortly, positive/negative
Short power supply, mutually short and normal connection status, by relay unit control to inductive switch, to reach simulation high-pitched speaker and bass
The setting of loudspeaker state.
Compared with prior art, the beneficial effects of the present invention are:1, the present invention is based on CAN bus to control output GPIO electricity
It is flat, according to relay unit control to inductive switch, to reach the various states setting of simulation high-pitched speaker and woofer;
2, delay time is set, ensure enough time to complete the setting to high-pitched speaker and woofer state, loudspeaker electricity
Test and duplicate acknowledgment diagnostic trouble code, avoid the occurrence of erroneous judgement, improve the precision of automatic test.
Description of the drawings
Fig. 1 is the overall system diagram of the embodiment of the present invention one;
Fig. 2 is one vehicle mounted guidance module of the embodiment of the present invention and test module wherein circuit connection diagram all the way;
Fig. 3 is the method flow diagram of the embodiment of the present invention two.
Specific implementation mode
For the technical solution that the present invention will be described in detail, below in conjunction with the attached drawing of the embodiment of the present invention, to of the invention real
The technical solution for applying example carries out clear, complete description.Obviously, described embodiment is a part of the embodiment of the present invention,
Instead of all the embodiments.Based on described the embodiment of the present invention, those of ordinary skill in the art are without creativeness
The every other embodiment obtained under the premise of labour, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to Fig.1 and 2, a kind of vehicle-mounted loudspeaker automatization test system based on bus is present embodiments provided, including fortune
Row has the host computer and test equipment of CANoe softwares, the host computer to be connected by CAN bus with test equipment, the test
Equipment includes the vehicle mounted guidance module and test module being electrically connected, and the test module includes relay unit and high bass loudspeaker
Unit.
Specifically, compound horn unit includes high-pitched speaker and woofer, the present embodiment in specific implementation process,
CANoe softwares are run on host computer, send setting loudspeaker state message to CAN bus, CAN bus parsing setting loudspeaker state
Message completes the setting to high-pitched speaker and woofer state, after setting up high-pitched speaker and woofer state, CANoe
Sending out triggering loudspeaker electrical testing message gives vehicle mounted guidance module, vehicle mounted guidance module to complete loudspeaker electrical testing and confirm diagnosis
Failure code DTC, CANoe software sends the diagnosis message for reading diagnostic trouble code DTC, judges DTC states by return value,
And then it analyzes this and tests whether effectively.
As shown in Fig. 2, for vehicle mounted guidance module and test module wherein circuit connecting relation all the way, in the present embodiment, one
There are four compound horn units altogether, and certainly, the present embodiment is not restricted to this, and set forth below is only circuit wherein all the way
Connection needs seven relays, wherein vehicle mounted guidance module altogether when completing the state simulation of a compound horn
One end is separately connected the cathode of woofer and high-pitched speaker, and the anode connection relay S1 of woofer, relay S1's is another
One end connects vehicle mounted guidance module;The anode connection relay S2 of high-pitched speaker, the other end of relay S2 are separately connected relay
Device S3, S4 and S7, the other end connection relay S5 and S6 of relay S7, wherein relay S3 and S6 are separately connected power supply, after
Electric appliance S4 and S5 are grounded respectively, and in the control circuit, relay S1 is normally off, are mainly used for control woofer and are opened
It closes;Relay S2 is normally off, is mainly used for controlling high-pitched speaker switch;And relay S3 be normally open when, bass loudspeaker
And high-pitched speaker be the disconnected power supply status of anode;When relay S4 is normally open, woofer and high-pitched speaker are just extremely short
Ground state;When relay S5 is normally open, woofer and high-pitched speaker are cathode short ground state;Relay S6 is normally opened shape
When state, woofer and high-pitched speaker are the short power supply status of cathode;When relay S7 is normally open, woofer and high pitch loudspeaker
Positive and negative anodes are mutually short.
The present embodiment is based on CAN bus control output GPIO level, and corresponding relay switch is controlled according to relay unit,
To reach the various states setting of simulation woofer and high-pitched speaker, the automatic test of vehicle-mounted loudspeaker is realized.
Embodiment two:
Please refer to Fig. 3, a kind of vehicle-mounted loudspeaker automated testing method based on bus provided in this embodiment, including following step
Suddenly:S1, CANoe softwares are run on host computer, send setting loudspeaker state message to CAN bus;S2, CAN bus parsing are set
Loudspeaker state message is set, the setting to high-pitched speaker and woofer state is completed;S3, high-pitched speaker and woofer are set up
After state, CANoe sends out triggering loudspeaker electrical testing message and gives vehicle mounted guidance module;S4, vehicle mounted guidance module complete loudspeaker electricity
It learns and tests and confirm diagnostic trouble code DTC;S5, CANoe software send the diagnosis message for reading diagnostic trouble code DTC, lead to
It crosses return value and judges DTC states, and then analyze this and test whether effectively.
Specifically, further including step S0 before the step S1, completing the structure reconciliation of test cases on CANoe softwares
Analysis, test cases set specified detection environmental condition, complete the automatic test to vehicle-mounted loudspeaker, the height in the present embodiment
Sound loudspeaker and woofer state include:Open circuit, it is positive/negative extremely shortly, positive/negative extremely short power supply, mutually short and normal connection status, lead to
Relay unit control is crossed inductive switch had been embodied to reach the setting of simulation high-pitched speaker and woofer state
Cheng Zhong runs CANoe softwares on host computer, under the specified detection environmental condition that test cases is set, sends setting loudspeaker
State message is to CAN bus, and CAN bus parsing setting loudspeaker state message, setting GPIO level is output to test equipment, complete
At the setting to high-pitched speaker and woofer state in test cases, then CANoe, which is sent out, triggers loudspeaker electrical testing message
Vehicle mounted guidance module, vehicle mounted guidance module is given to complete loudspeaker electrical testing and confirm that diagnostic trouble code DTC, CANoe software is sent out
The diagnosis message for reading diagnostic trouble code DTC is sent, DTC states are judged by return value, and then analyze this and test whether effectively,
If being had no after vehicle mounted guidance module completion loudspeaker electrical testing and DTC occur, continue other tests.
Embodiment three;
The present embodiment is similar to embodiment two, and further, the present embodiment further includes following procedure in step S2:It completes to height
Delay time T1 after the setting of sound loudspeaker and woofer state, the T1 are more than or equal to 100ms, ensure enough time to complete
Setting to high-pitched speaker and woofer state, in the present embodiment, T1 200ms, the time as the preferred time, both will not
Testing efficiency is influenced, while the setting to high-pitched speaker and woofer state can be completed again.
Step S3 further includes following procedure:After CANoe sends out triggering loudspeaker electrical testing message to vehicle mounted guidance module
Delay time T2, the T2 are more than or equal to 3s, it is ensured that enough time completes loudspeaker electrical testing, is not intended to limit in the present embodiment
The time size of T2 can specifically define according to different depots and be adjusted, have larger flexibility.
Step S4 further includes following procedure:Loudspeaker electrical testing is completed in vehicle mounted guidance module and confirms diagnostic trouble code
Delay time T3 after DTC, the T3 are more than or equal to 2s, and duplicate acknowledgment diagnostic trouble code avoids the occurrence of erroneous judgement, need to illustrate
It is mainly to be adjusted according to different depot's definition T3 times herein, does not do certain limitation.
Embodiments of the present invention are explained in detail above in conjunction with attached drawing, but the present invention is not limited to above-mentioned implementations
Mode within the knowledge of a person skilled in the art can also be without departing from the purpose of the present invention
Various changes can be made.
Claims (10)
1. a kind of vehicle-mounted loudspeaker automatization test system based on bus, it is characterised in that:There is the upper of CANoe softwares including operation
Position machine and test equipment, the host computer are connected with test equipment by CAN bus, and the test equipment includes being electrically connected
Vehicle mounted guidance module and test module, the test module include relay unit and compound horn unit.
2. the vehicle-mounted loudspeaker automatization test system according to claim 1 based on bus, it is characterised in that:The height
Sound loudspeaker unit includes high-pitched speaker and woofer.
3. the vehicle-mounted loudspeaker automated testing method according to claim 2 based on bus, which is characterized in that including following
Step:
S1, CANoe softwares are run on host computer, send setting loudspeaker state message to CAN bus;
S2, CAN bus parsing setting loudspeaker state message, complete the setting to high-pitched speaker and woofer state;
S3, after setting up high-pitched speaker and woofer state, CANoe send out triggering loudspeaker electrical testing message to vehicle mounted guidance
Module;
S4, vehicle mounted guidance module complete loudspeaker electrical testing and confirm diagnostic trouble code DTC;
S5, CANoe software send the diagnosis message for reading diagnostic trouble code DTC, judge DTC states by return value, in turn
This is analyzed to test whether effectively.
4. the vehicle-mounted loudspeaker automated testing method according to claim 3 based on bus, it is characterised in that:The step
Further include step S0 before S1, complete structure and the parsing of test cases on CANoe softwares.
5. the vehicle-mounted loudspeaker automated testing method according to claim 3 based on bus, which is characterized in that the step
S2 specifically includes following procedure:CAN bus parsing setting loudspeaker state message, setting GPIO level is output to test equipment, complete
The setting of pairs of high-pitched speaker and woofer state.
6. the vehicle-mounted loudspeaker automated testing method according to claim 3 based on bus, which is characterized in that the step
S2 further includes following procedure:Delay time T1, the T1 are more than after completing to the setting of high-pitched speaker and woofer state
Equal to 100ms.
7. the vehicle-mounted loudspeaker automated testing method according to claim 3 based on bus, which is characterized in that the step
S3 further includes following procedure:The delay time T2 after CANoe sends out triggering loudspeaker electrical testing message to vehicle mounted guidance module, institute
It states T2 and is more than or equal to 3s.
8. the vehicle-mounted loudspeaker automated testing method according to claim 3 based on bus, which is characterized in that the step
S4 further includes following procedure:Vehicle mounted guidance module complete loudspeaker electrical testing and confirm be delayed after diagnostic trouble code DTC when
Between T3, the T3 be more than or equal to 2s.
9. the vehicle-mounted loudspeaker automated testing method according to claim 8 based on bus, it is characterised in that:The T1 is
200ms。
10. the vehicle-mounted loudspeaker automated testing method based on bus according to any one of claim 3-9, feature exist
In:The high-pitched speaker and woofer state include:Open circuit, it is positive/negative extremely shortly, it is positive/negative extremely short power supply, mutually short and normally connect
Connect state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810398581.7A CN108810785A (en) | 2018-04-28 | 2018-04-28 | A kind of vehicle-mounted loudspeaker automatization test system and method based on bus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810398581.7A CN108810785A (en) | 2018-04-28 | 2018-04-28 | A kind of vehicle-mounted loudspeaker automatization test system and method based on bus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108810785A true CN108810785A (en) | 2018-11-13 |
Family
ID=64093060
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810398581.7A Pending CN108810785A (en) | 2018-04-28 | 2018-04-28 | A kind of vehicle-mounted loudspeaker automatization test system and method based on bus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108810785A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486054A (en) * | 2020-10-29 | 2021-03-12 | 惠州市德赛西威汽车电子股份有限公司 | Device and method for controlling on-off of signal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100250046A1 (en) * | 2009-03-30 | 2010-09-30 | Aisin Aw Co., Ltd. | Vehicle operation diagnosis device, vehicle operation diagnosis method, and computer program |
CN202221451U (en) * | 2011-07-29 | 2012-05-16 | 惠州市德赛西威汽车电子有限公司 | Parameter automatic test system for vehicle-mounted entertainment system |
CN102608993A (en) * | 2012-03-09 | 2012-07-25 | 北京经纬恒润科技有限公司 | Network automation test method, cabinet and test host |
CN103592940A (en) * | 2013-11-26 | 2014-02-19 | 重庆长安汽车股份有限公司 | System for automatically testing automotive electronic controller on basis of CANoe |
EP2716491A4 (en) * | 2011-05-25 | 2014-12-10 | Aisin Seiki | Vehicle seat device |
CN106767924A (en) * | 2016-12-28 | 2017-05-31 | 郑州北斗七星通讯科技有限公司 | A kind of multi-functional navigation box test device |
-
2018
- 2018-04-28 CN CN201810398581.7A patent/CN108810785A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100250046A1 (en) * | 2009-03-30 | 2010-09-30 | Aisin Aw Co., Ltd. | Vehicle operation diagnosis device, vehicle operation diagnosis method, and computer program |
EP2716491A4 (en) * | 2011-05-25 | 2014-12-10 | Aisin Seiki | Vehicle seat device |
CN202221451U (en) * | 2011-07-29 | 2012-05-16 | 惠州市德赛西威汽车电子有限公司 | Parameter automatic test system for vehicle-mounted entertainment system |
CN102608993A (en) * | 2012-03-09 | 2012-07-25 | 北京经纬恒润科技有限公司 | Network automation test method, cabinet and test host |
CN103592940A (en) * | 2013-11-26 | 2014-02-19 | 重庆长安汽车股份有限公司 | System for automatically testing automotive electronic controller on basis of CANoe |
CN106767924A (en) * | 2016-12-28 | 2017-05-31 | 郑州北斗七星通讯科技有限公司 | A kind of multi-functional navigation box test device |
Non-Patent Citations (3)
Title |
---|
刘建民: "《现代轿车电控技术与疑难杂症诊断》", 31 August 2005 * |
徐赟、邵晖: "基于CAN总线的汽车测试解决方案", 《世界电子元器件 ,GLOBAL ELECTRONICS CHINA》 * |
栗盈等: "喇叭及控制电路检修", 《汽车车身电气设备检修》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112486054A (en) * | 2020-10-29 | 2021-03-12 | 惠州市德赛西威汽车电子股份有限公司 | Device and method for controlling on-off of signal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106526456B (en) | Integrated circuit on-line testing device and testing method | |
CN103323809B (en) | A kind of electric energy meter test equipment | |
CN110609491B (en) | Semi-physical simulation accident identification method and system for whole electric vehicle controller | |
CN108545562A (en) | A kind of elevator display unit and its application method of automatic fault detection | |
CN112034388A (en) | Automatic wire harness detection system and detection method | |
CN101408583A (en) | Method and device for detecting inserting state between printed circuit boards and printed circuit boards | |
EP3179321B1 (en) | System and method for testing configuration and operation of i/o devices | |
CN115091957A (en) | Device and method for diagnosing contact state of high-voltage upper and lower electric contactors and vehicle | |
CN105846263A (en) | USB adapter cable, charging testing method and charging testing system of mobile terminal | |
CN108810785A (en) | A kind of vehicle-mounted loudspeaker automatization test system and method based on bus | |
CN102288841A (en) | Plug-in unit identification system and method of common testing interface | |
CN110888053A (en) | Relay detection device, detection system and detection method | |
EP3719516A1 (en) | Charging device test system and method | |
CN201607507U (en) | Intelligent backboard test system | |
CN116684343A (en) | Automatic test method, device, system, equipment and medium for switch | |
CN210200048U (en) | Programmable control's line fault analogue means | |
CN111722149A (en) | Cable detection equipment, method and system and computer readable storage medium | |
CN116448158A (en) | Method and device for testing combination instrument in vehicle and electronic device | |
CN106776101B (en) | Watchdog circuit and signal processing circuit | |
CN108427044A (en) | Method, device, equipment and storage medium for testing fault protection function | |
CN104501875A (en) | Self-learning wire harness sample model database establishing method for wire harness intelligent testing machine | |
CN210466051U (en) | Fault injection test system for redundant flight control computer | |
CN107885190A (en) | Electric automobile function test system | |
CN106799526A (en) | The control system and spark-erosion machine tool of spark-erosion machine tool | |
CN109283920B (en) | DCS system connection fault testing device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181113 |
|
RJ01 | Rejection of invention patent application after publication |