CN114338251A - Automatic testing device and method for TBOX dormancy awakening of automobile - Google Patents

Automatic testing device and method for TBOX dormancy awakening of automobile Download PDF

Info

Publication number
CN114338251A
CN114338251A CN202111634505.XA CN202111634505A CN114338251A CN 114338251 A CN114338251 A CN 114338251A CN 202111634505 A CN202111634505 A CN 202111634505A CN 114338251 A CN114338251 A CN 114338251A
Authority
CN
China
Prior art keywords
tbox
automobile
port
test
computer terminal
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
Application number
CN202111634505.XA
Other languages
Chinese (zh)
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.)
ChinaGPS Co Ltd Shenzhen
Original Assignee
ChinaGPS Co Ltd Shenzhen
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 ChinaGPS Co Ltd Shenzhen filed Critical ChinaGPS Co Ltd Shenzhen
Priority to CN202111634505.XA priority Critical patent/CN114338251A/en
Publication of CN114338251A publication Critical patent/CN114338251A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention discloses an automatic testing device and method for automobile TBOX dormancy awakening, relates to the technical field of automatic testing, and solves the technical problems of low efficiency and low reliability of the existing testing device. The device comprises a computer terminal, and a voltage control module, a current acquisition module and a CAN data analysis module which are all connected with the computer terminal. And the voltage control module, the current acquisition module and the CAN data analysis module are all connected with the automobile TBOX. The computer terminal supplies power or cuts off power to the TBOX of the automobile through the voltage control module; acquiring a current value of the automobile TBOX through a current acquisition module, and judging the dormancy state of the automobile TBOX through the current value; and acquiring CAN data of the automobile TBOX through a CAN data analysis module, and performing awakening operation on the automobile TBOX. The invention greatly improves the efficiency and reliability of testing the automobile TBOX and has good market popularization value.

Description

Automatic testing device and method for TBOX dormancy awakening of automobile
Technical Field
The invention relates to the technical field of automatic testing, in particular to an automatic testing device and method for TBOX dormancy awakening of an automobile.
Background
TBOX (Telematics BOX), vehicle network system contains four parts: host computer, car TBOX, cell-phone APP and backstage system. The automobile TBOX is mainly used for interconnection communication with a background system and a mobile phone APP. The automobile TBOX and the host machine are communicated through a CAN BUS BUS (all nodes are connected together through CANH and CANL to achieve a BUS communication mode of sharing an information channel), transmission of instructions and information is achieved, and therefore information including vehicle states, key states and the like and transmission control instructions and the like are obtained. The TBOX and background system communication also comprises two forms of voice and short message, and the short message form is used for realizing one-key navigation and remote control functions.
When an automobile TBOX is flamed out, the automobile TBOX needs to enter a sleep state as soon as possible so as to avoid consuming the electric quantity of an automobile storage battery, and meanwhile, a response instruction needs to be waken up quickly when data exist on a CAN (Controller Area Network, CAN) line or a short message is received. The conventional testing device needs to take at least 30 minutes for testing a sleep process, one day needs to be consumed for manually testing sleep functions in various states, and the test example is only taken once without repeated verification. Therefore, the existing testing device has low efficiency and low reliability.
Disclosure of Invention
The invention aims to provide an automatic testing device and method for automobile TBOX dormancy awakening, and the technical problems of low efficiency and low reliability in the existing test are solved. The technical effects that can be produced by the preferred technical scheme in the technical schemes provided by the invention are described in detail in the following.
In order to achieve the purpose, the invention provides the following technical scheme:
the invention provides an automatic testing device for dormancy and awakening of an automobile TBOX (tunnel boring machine), which is used for testing whether the dormancy and awakening states of the automobile TBOX are abnormal or not. The voltage control module, the current acquisition module and the CAN data analysis module are all connected with the automobile TBOX; the computer terminal supplies power to or cuts off power from the automobile TBOX through the voltage control module; acquiring a current value of the automobile TBOX through the current acquisition module, and judging the dormancy state of the automobile TBOX according to the current value; and acquiring CAN data of the automobile TBOX through the CAN data analysis module, and performing awakening operation on the automobile TBOX.
Furthermore, the voltage control module comprises a programmable direct current power supply, a programmable IO control card, a first relay and a second relay; the port 1 and the port 2 of the programmable direct current power supply are respectively connected with the port 7 and the port 3 of the computer terminal, the port 3 of the programmable direct current power supply is connected with the port 2 of the first relay, and the port 4 of the programmable direct current power supply is grounded; the port 1 of the programmable IO control card is connected with the port 1 of the first relay, the port 1 of the second relay and the port 2 of the second relay, the port 13 and the port 14 of the programmable IO control card are respectively connected with the port 3 of the first relay and the port 3 of the second relay, and the port 26 of the programmable IO control card is connected with the port 6 of the computer terminal; and the No. 5 port of the first relay and the No. 5 port of the second relay are respectively connected with the No. 5 port and the No. 6 port of the automobile TBOX.
Furthermore, the current acquisition module is a program-controlled universal meter; and the No. 1 port and the No. 2 port of the program-controlled multimeter are respectively connected with the No. 7 port and the No. 2 port of the computer terminal, and the No. 3 port of the program-controlled multimeter is connected with the No. 4 port of the automobile TBOX.
Furthermore, the CAN data analysis module is an automobile CAN bus analyzer; and the No. 2 port of the automobile CAN bus analyzer is connected with the No. 1 port of the computer terminal, and the No. 6 port and the No. 7 port of the automobile CAN bus analyzer are respectively connected with the No. 2 port and the No. 3 port of the automobile TBOX.
Further, the port No. 5 of the computer terminal is connected with the port No. 1 of the automobile TBOX.
The invention also provides an automatic test method for the sleep and awakening of the automobile TBOX, which comprises the automatic test device for the sleep and awakening of the automobile TBOX and the following steps:
s10, setting a test mode; the test modes comprise a sleep-only mode, an awake-only mode, a single flow mode and a full flow mode;
s11, whether to execute the sleep-only mode, if yes, executing step S12; otherwise, go to step S13;
s12, carrying out a dormancy test on the automobile TBOX;
s13, whether the only wake-up mode is executed or not, if yes, executing a step S14; otherwise, go to step S15;
s14, performing a wake-up test on the automobile TBOX;
s15, whether the single flow mode is executed or not, if yes, the step S16 is executed; otherwise, go to step S17;
s16, carrying out sleep awakening test on the automobile TBOX;
and S17, carrying out dormancy and multi-mode awakening test on the automobile TBOX.
Further, the step S12 includes the following steps:
s120, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s121, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX; the CAN bus data is collected through the CAN data analysis module; the working current value is acquired through the current acquisition module;
s122, judging whether the CAN bus data is empty or not and whether the working current value is less than 3mA or not; if yes, go to step S123; otherwise, go to step S124;
s123, successfully testing, generating a test report and executing the step S125;
s124, failing the test, and generating an abnormal report;
s125, whether the test is finished or not is judged, if yes, the step S126 is executed; otherwise, go to step S127;
s126, outputting the test report or the abnormal report, and executing the step S13;
s127, returning to the step S121 until all tests are completed, outputting the test report or the exception report, and executing the step S13.
Further, the step S14 includes the following steps:
s140, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX;
s141, judging whether the CAN bus data is not empty and whether the working current value is greater than or equal to 3 mA; if yes, go to step S142; otherwise, go to step S146;
s142, selecting a wake-up mode; the awakening mode comprises short message awakening, telephone awakening, power-on awakening, CAN awakening and ECALL awakening;
s143, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s144, whether the WIFI is successfully connected or not is judged, and if yes, the step S145 is executed; otherwise, go to step S146;
s145, successfully testing, generating the test report and executing the step S147;
s146, generating the abnormal report when the test fails;
s147, whether the test is finished or not is judged, and if yes, the step S148 is executed; otherwise, go to step S149;
s148, outputting the test report or the abnormal report, and executing the step S15;
s149, returning to the step S140 until all tests are completed, outputting the test report or the exception report, and executing the step S15.
Further, step S16 includes the following steps:
s160, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s161, the computer terminal obtains CAN bus data of the automobile TBOX and working current values of the automobile TBOX;
s162, judging whether the CAN bus data is empty or not, wherein the working current value is less than 3 mA; if yes, go to step S163; otherwise, go to step S167;
s163, selecting the awakening mode;
s164, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s165, judging whether the WIFI is successfully connected, if so, executing a step S166; otherwise, go to step S167;
s166, successfully waking up, generating the test report and executing the step S168;
s167, waking up the abnormal report in failure, and generating the abnormal report;
s168, whether the test is finished or not is judged, and if yes, the step S169 is executed; otherwise, go to step S1610;
s169, outputting the test report or the abnormal report, and executing the step S17;
and S1610, returning to the step S160 until all tests are completed, outputting the test report or the exception report, and executing the step S17.
Further, step S17 includes the steps of:
s170, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s171, the computer terminal obtains CAN bus data of the automobile TBOX and working current values of the automobile TBOX;
s172, judging whether the CAN bus data is empty or not and whether the working current value is less than 3mA or not; if yes, go to step S173; otherwise, go to step S1718;
s173, starting the automobile TBOX by adopting a power-on awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s174, whether the WIFI is successfully connected or not is judged, and if yes, the step S175 is executed; otherwise, go to step S1718;
s175, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s176, starting the automobile TBOX by adopting a CAN (controller area network) awakening mode, so that the automobile TBOX automatically starts to be connected with a network;
s177, judging whether the WIFI is successfully connected, if so, executing a step S178; otherwise, go to step S1718;
s178, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s179, starting the automobile TBO by adopting a short message awakening mode to enable the automobile TBOX to start to be connected with a network;
s1710, whether the WIFI is successfully connected or not is judged, and if yes, the step S1711 is executed; otherwise, go to step S1718;
s1711, the computer terminal controls the voltage control module to turn off a power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s1712, starting the automobile TBO by adopting a telephone awakening mode to enable the automobile TBOX to start to be connected with a network;
s1713, whether the WIFI is successfully connected or not is judged, and if yes, the step S1714 is executed; otherwise, go to step S1718;
s1714, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s1715, starting the automobile TBO by adopting an ECALL awakening mode to enable the automobile TBOX to start to be connected with a network;
s1716, if the WIFI is successfully connected, executing a step S1717; otherwise, go to step S1718;
s1717, if the test is successful, generating the test report, and executing the step S1719;
s1718, generating the abnormal report when the test fails;
s1719, whether the test is finished or not is judged, if yes, the step S1720 is executed; otherwise, go to step S1721;
s1720, outputting the test report or the abnormal report, and returning to the step S10;
s1721, returning to the step S170 until all tests are completed, outputting the test report or the exception report, and returning to the step S10.
The implementation of one of the technical schemes of the invention has the following advantages or beneficial effects:
the invention realizes the power supply control of B + and ACC of the automobile TBOX by controlling the program-controlled power supply and the digital IO card through the computer terminal, so that the automobile TBOX enters a dormant state or an awakening state, and judges whether a product successfully enters the dormant state or the awakening state by connecting the program-controlled multimeter with the computer and reading the current value in real time. The device can automatically operate without manual participation, operates for 24 hours, automatically records and generates an abnormal report when abnormal occurs, and can automatically verify repeatedly, so that the efficiency and reliability of testing the automobile TBOX are greatly improved, and the device has good market promotion value.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without inventive efforts, wherein:
FIG. 1 is a schematic structural diagram of an automatic test device for sleep and wake-up of a TBOX of an automobile according to an embodiment of the present invention;
FIG. 2 is a flowchart of an implementation of an automated testing method for sleep and wake-up of a vehicle TBOX according to an embodiment of the invention;
FIG. 3 is a flowchart of an implementation of step S12 in an automatic test method for waking up a vehicle TBOX in a sleep mode according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an implementation of step S14 in an automatic test method for waking up a vehicle TBOX in a sleep mode according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating an implementation of step S16 in an automatic test method for waking up a vehicle TBOX in a sleep mode according to an embodiment of the present invention;
fig. 6 is a flowchart of implementing step S17 in the automated test method for waking up from a TBOX sleep mode of an automobile according to an embodiment of the present invention.
In the figure: 1. a computer terminal; 2. a voltage control module; 3. a current collection module; 4. and a CAN data analysis module.
Detailed Description
In order that the objects, aspects and advantages of the present invention will become more apparent, various exemplary embodiments will be described below with reference to the accompanying drawings, which form a part hereof, and in which are shown by way of illustration various exemplary embodiments in which the invention may be practiced. The same numbers in different drawings identify the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. It is to be understood that they are merely examples of processes, methods, apparatus, etc. consistent with certain aspects of the present disclosure as detailed in the appended claims, and that other embodiments may be used or structural and functional modifications may be made to the embodiments set forth herein without departing from the scope and spirit of the present disclosure.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," and the like are used in the orientations and positional relationships illustrated in the accompanying drawings for the purpose of facilitating the description of the present invention and simplifying the description, and do not indicate or imply that the elements so referred to must have a particular orientation, be constructed in a particular orientation, and be operated. The terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "plurality" means two or more. The terms "coupled" and "connected" are to be construed broadly and may include, for example, a fixed connection, a removable connection, a unitary connection, a mechanical connection, an electrical connection, a communicative connection, a direct connection, an indirect connection via intermediate media, and may include, but are not limited to, a connection between two elements or an interactive relationship between two elements. The term "and/or" includes any and all combinations of one or more of the associated listed items. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In order to explain the technical solution of the present invention, the following description is made by way of specific examples, which only show the relevant portions of the embodiments of the present invention.
The first embodiment is as follows:
as shown in figure 1, the invention provides an automatic testing device for testing the dormancy and awakening states of an automobile TBOX (tunnel boring machine), which is used for testing whether the dormancy and awakening states of the automobile TBOX are abnormal or not and comprises a computer terminal 1, and a voltage control module 2, a current acquisition module 3 and a CAN (controller area network) data analysis module 4 which are all connected with the computer terminal 1. Specifically, the voltage control module 2, the current acquisition module 3 and the CAN data analysis module 4 are all connected with the vehicle TBOX. The computer terminal 1 supplies power or cuts off power to the TBOX of the automobile through the voltage control module 2; acquiring a current value of the automobile TBOX through the current acquisition module 3, and judging the dormancy state of the automobile TBOX according to the current value; and acquiring CAN data of the automobile TBOX through the CAN data analysis module 4, and performing awakening operation on the automobile TBOX. The computer terminal 1 of the device utilizes the voltage control module 2 to realize the control of providing two power supplies for the automobile TBOX, one is a power supply B +, the power supply is variable voltage, the value range is 0-24V, and specifically can be 12V, 5V, 3.5V or 2.5V, and the adjustment is realized through the voltage control module 2 and is used for the power consumption requirements of different modules of the automobile TBOX; one is the power supply ACC, which is switched off to put the vehicle TBOX in a sleep state and which is switched on to wake up the vehicle TBOX. The invention controls the on and off of the voltage ACC through the voltage control module 2, so that the vehicle TBOX is in a wake-up or sleep state. The current acquisition module 3 enables the computer terminal 1 to read the working current of the automobile TBOX in real time, and then whether the automobile TBOX successfully enters a dormancy or awakening state is judged. Of course, the computer terminal 1 CAN also wake up the vehicle TBOX from the sleep state in various ways such as CAN, short message, telephone, etc. through the CAN data analysis module 4 and the voltage control module 2. Finally, the sleeping and awakening results are displayed and output in the form of a report form and the like through the computer terminal 1. Therefore, the device can automatically run without manual participation, runs for 24 hours, automatically records and generates an abnormal report when an abnormality occurs, can repeatedly and automatically verify, and greatly improves the testing efficiency and the testing reliability.
Further, the voltage control module 2 includes a programmable dc power supply, a programmable IO control card, a first relay, and a second relay. Specifically, the port 1 and the port 2 of the programmable dc power supply are respectively connected to the port 7 and the port 3 of the computer terminal 1, the port 3 of the programmable dc power supply is connected to the port 2 of the first relay, and the port 4 of the programmable dc power supply is grounded. The number 1 port of the programmable IO control card is connected with the number 1 port of the first relay, the number 1 port of the second relay and the number 2 port of the second relay, the number 13 port and the number 14 port of the programmable IO control card are respectively connected with the number 3 port of the first relay and the number 3 port of the second relay, and the number 26 port of the programmable IO control card is connected with the number 6 port of the computer terminal 1; and a No. 5 port of the first relay and a No. 5 port of the second relay are respectively connected with a No. 5 port and a No. 6 port of the automobile TBOX. It should be noted that port 1-3 of the computer terminal 1 is a USB port, and is mainly used for data transmission; 5. the No. 6 port is a serial port, can be connected with an RS232 communication interface and is mainly used for transmitting a control instruction; and the No. 7 port is an alternating current power supply output port and mainly provides a 220V alternating current power supply for a programmable direct current power supply and a programmable IO control card. The port 1 of the programmable direct current power supply is a power supply input port, and the computer terminal 1 provides power supply; the No. 2 port is a USB port; the No. 3 port is an output anode capable of adjusting output voltage, and the output adjustable voltage is 12V, 5V, 3.5V, 2.5V and the like; the port No. 4 is the output cathode of the port No. 3. The No. 1 port of the programmable IO control card is a power supply output port and is used for providing voltage required by work for the first relay and the second relay together with the No. 13 port (independent output port) and the No. 14 port (independent output port); the port No. 26 is an RS232 communication interface. The first relay and the second relay are 5-pin switch relays, the port 1 is the anode of the relay coil, and the port 3 is the cathode of the relay coil; the No. 2 port is a public end; the port 4 is a normally closed port (the ports 1 and 3 are closed when not powered on, and the ports 2 and 5 are not powered on at the moment); the port 5 is normally open (the ports 1 and 3 are closed when powered on, and the ports 2 and 5 are communicated at the moment). It should be further explained that a power supply B + of the automobile TBOX is provided by a programmable direct current power supply and is output to a No. 5 port (B + power supply input port) of the automobile TBOX through a first relay, and the computer terminal 1 acquires related real-time power supply information of the B + through a USB port; the power ACC of the automobile TBOX is supplied with power and cut off by the programmable IO control card controlled by the computer terminal 1 through a serial port, and is transmitted to the No. 6 port (ACC power input port) of the automobile TBOX through the second relay, so that the dormancy and awakening of the automobile TBOX are controlled.
Further, the current collection module 3 is a program-controlled multimeter. And a No. 1 port and a No. 2 port of the program-controlled multimeter are respectively connected with a No. 7 port and a No. 2 port of the computer terminal 1, and a No. 3 port of the program-controlled multimeter is connected with a No. 4 port of the automobile TBOX. It should be noted that port 1 of the current collection module 3 is a power access port, is connected to the computer terminal 1, and is powered by the computer terminal 1; the No. 2 port is a USB port, and the acquired current information is transmitted to the computer terminal 1 through the USB port; and the No. 3 port is an INPUT port (I-INPUT) for collecting current, and the port is connected with a No. 4 port (I-OUT, a current output port for collecting current value during testing) of the automobile TBOX.
Moreover, the CAN data analysis module 4 is an automobile CAN bus analyzer. A No. 2 port of the automobile CAN bus analyzer is connected with a No. 1 port of a computer terminal 1, and a No. 6 port and a No. 7 port of the automobile CAN bus analyzer are respectively connected with a No. 2 port and a No. 3 port of an automobile TBOX. It should be noted that the port 2 of the CAN data analysis module 4 is a USB port; 6. the No. 7 port is an access port of CAN data; the bus interface is respectively connected with a number 2 port (CAN bus data output port) and a number 3 port (CAN bus data output port) of the automobile TBOX, and in the embodiment, the CAN buses of the automobile TBOX are two. In addition, the port 5 of the computer terminal 1 is connected with the port 1 of the vehicle TBOX, the port 1 of the vehicle TBOX is an RS232 communication interface, and the computer terminal 1 can initiate a wake-up command to the vehicle TBOX through the port 5 and wake up the vehicle TBOX from a sleep state.
In this embodiment, the model of the automobile CAN bus analyzer is USBCAN-I, the model of the program-controlled multimeter is GDM-8342, the model of the programmable DC power supply is GDP-3303S, and the model of the programmable IO control card is FY 2450P. The model can be used as a universal configuration, is practical for most automobile TBOX on the market, and can be made into other adaptive models according to the model of the automobile TBOX to be tested specifically.
Example two:
as shown in fig. 2 to 6, the present invention further provides an automatic test method for sleep and wake-up of an automobile TBOX, which includes the automatic test device for sleep and wake-up of an automobile TBOX according to the first embodiment, and includes the following steps:
and S10, setting a test mode. The test mode comprises a sleep-only mode, an awaken-only mode, a single flow mode and a full flow mode, and the mode setting is set through the computer terminal. Specifically, the sleep-only mode refers to performing a sleep test on only the vehicle TBOX; the only wake-up mode refers to only carrying out wake-up test on the vehicle TBOX; the single-flow mode refers to a sleep test and an awakening test for the vehicle TBOX, and one of an electrifying awakening mode (ACC awakening), a telephone awakening mode, a short message awakening mode, a CAN data awakening mode and an ECALL awakening mode is selected to awaken the vehicle TBOX during the awakening test; the full-flow mode refers to a sleep test and an awakening test for the vehicle TBOX, and the vehicle TBOX is awakened by sequentially adopting power-on awakening, telephone awakening, short message awakening, CAN data awakening and ECALL awakening during the awakening test;
s11, whether to execute the sleep-only mode, if yes, executing step S12; otherwise, go to step S13;
s12, carrying out a dormancy test on the automobile TBOX;
s13, whether the only wake-up mode is executed or not, if yes, the step S14 is executed; otherwise, go to step S15;
s14, performing awakening test on the vehicle TBOX;
s15, whether to execute the single flow mode, if yes, execute step S16; otherwise, go to step S17;
s16, carrying out dormancy awakening test on the vehicle TBOX;
and S17, carrying out dormancy and multi-mode awakening test on the vehicle TBOX.
Specifically, step S12 includes the steps of:
and S120, controlling the voltage control module to turn off the power supply of the automobile TBOX by the computer terminal. At this time, port 3 of the programmable dc power supply outputs 12V. The computer terminal sends a control signal to the programmable IO control card through the No. 6 port, so that the No. 1 port and the No. 13 port of the card are communicated, the No. 5 port of the first relay is closed, and the voltage of B + of the automobile TBOX5 port is 12V; meanwhile, port 1 and port 14 of the card are disconnected, port 5 of the second relay is disconnected, and ACC of port 6 of vehicle TBOX5 is 0V. The TBOX of the automobile is in a dormant state, and then a dormancy test is carried out on the TBOX;
s121, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX. Specifically, the CAN bus data is acquired through a CAN data analysis module 4, namely, an automobile CAN bus analyzer acquires CAN bus data of automobile TBOX through No. 6 and No. 7 ports and transmits the CAN bus data to a computer terminal through the No. 6 port and the No. 7 port. The working current value is acquired through the current acquisition module 3, namely the program-controlled multimeter acquires the working current value of the automobile TBOX in real time through the No. 3 port and transmits the working current value to the computer terminal through the No. 2 port. The CAN bus data comprises management frames, data frames, charging frames, collision signals and the like;
s122, judging whether the CAN bus data is empty and whether the working current value is less than 3 mA; if yes, go to step S123; otherwise, step S124 is executed. The CAN bus data is null, and the working current value is less than 3mA, which indicates that the automobile TBOX is in a dormant state; otherwise, the mobile terminal is in an awakening state;
s123, successful testing, generation of a test report and execution of the step S125. The test report is output by a computer terminal through a crystal report or an Excel report, and the contents of the test report comprise: the method comprises the following steps of (1) counting sleep current (average or stable current value), sleep time, time for waking up a terminal to connect a platform, sleep wake-up times and abnormal sleep wake-up conditions;
and S124, failing the test, and generating an abnormal report. The abnormal report is consistent with the test report and mainly records the time of the abnormal test, the abnormal generation point, the possible reasons of the abnormal test, the abnormal condition statistics and the like;
s125, whether the test is finished or not is judged, if yes, the step S126 is executed; otherwise, step S127 is performed. The step is a circulation test, and the circulation times and the circulation time are independently set through a computer terminal;
and S126, outputting the test report or the abnormal report, and executing the step S13. And the test result is displayed or inquired through the computer terminal.
S127, returning to the step S121 until all tests are finished, outputting a test report or an exception report, and executing the step S13.
Further, step S14 includes the following steps:
s140, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX;
s141, judging whether CAN bus data are not null and whether the working current value is greater than or equal to 3 mA; if yes, go to step S142; otherwise, step S146 is executed. It should be noted that, when the vehicle TBOX is in a sleep state, the vehicle TBOX is awakened, and if the vehicle TBOX is in an awakened state, the vehicle TBOX can directly consider that the vehicle TBOX is awakened to fail, and output a failure result;
and S142, selecting a wake-up mode. The awakening mode comprises short message awakening, telephone awakening, power-on awakening, CAN awakening and ECALL awakening, and the step selects one of the modes;
and S143, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with the network. Under the general condition, after the automobile TBOX is started, the automobile TBOX can be automatically connected with a network, and if the networking is successful, the automobile TBOX is in an awakening state;
s144, whether the WIFI is successfully connected or not is judged, and if yes, the step S145 is executed; otherwise, go to step S146;
s145, successfully testing, generating a test report and executing the step S147;
s146, failing the test, generating an abnormal report;
s147, whether the test is finished or not is judged, and if yes, the step S148 is executed; otherwise, go to step S149;
s148, outputting a test report or an abnormal report, and executing the step S15;
s149, returning to the step S140 until all tests are completed, outputting a test report or the exception report, and executing the step S15.
Further, step S16 includes the following steps:
s160, the computer terminal controls the voltage control module to turn off the power supply of the automobile TBOX;
s161, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX;
s162, judging whether the CAN bus data is empty or not, wherein the working current value is less than 3 mA; if yes, go to step S163; otherwise, go to step S167;
s163, selecting a wake-up mode;
s164, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s165, judging whether the WIFI is successfully connected, if so, executing a step S166; otherwise, go to step S167;
s166, successfully awakening, generating a test report and executing the step S168;
s167, waking up the report in failure, and generating an abnormal report;
s168, whether the test is finished or not is judged, and if yes, the step S169 is executed; otherwise, go to step S1610;
s169, outputting the test report or the abnormal report, and executing the step S17;
s1610, returning to the step S160 until all tests are completed, outputting a test report or an exception report, and executing the step S17.
Further, step S17 includes the steps of:
s170, controlling a voltage control module to turn off a power supply of the automobile TBOX by a computer terminal;
s171, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX;
s172, judging whether the CAN bus data is empty and whether the working current value is less than 3 mA; if yes, go to step S173; otherwise, go to step S1718;
s173, starting the automobile TBOX by adopting a power-on awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s174, whether the WIFI is successfully connected or not is judged, and if yes, the step S175 is executed; otherwise, go to step S1718;
s175, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a dormant state;
s176, starting the automobile TBOX by adopting a CAN awakening mode, and enabling the automobile TBOX to automatically start to be connected with the network;
s177, judging whether the WIFI is successfully connected, if so, executing a step S178; otherwise, go to step S1718;
s178, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a dormant state;
s179, starting the automobile TBO by adopting a short message awakening mode to enable the automobile TBOX to start to be connected with a network;
s1710, whether the WIFI is successfully connected or not is judged, and if yes, the step S1711 is executed; otherwise, go to step S1718;
s1711, the computer terminal controls the voltage control module to turn off a power supply of the automobile TBOX, so that the automobile TBOX enters a dormant state;
s1712, starting the automobile TBO by adopting a telephone awakening mode to enable the automobile TBOX to start to be connected with a network;
s1713, whether the WIFI is successfully connected or not is judged, and if yes, the step S1714 is executed; otherwise, go to step S1718;
s1714, the computer terminal controls the voltage control module to turn off a power supply of the automobile TBOX, so that the automobile TBOX enters a dormant state;
s1715, starting the automobile TBO by adopting an ECALL awakening mode to enable the automobile TBOX to start to be connected with the network;
s1716, if the WIFI is successfully connected, executing a step S1717; otherwise, go to step S1718;
s1717, generating a test report after the test is successful, and executing the step S1719;
s1718, generating an abnormal report when the test fails;
s1719, whether the test is finished or not is judged, if yes, the step S1720 is executed; otherwise, go to step S1721;
s1720, outputting the test report or the abnormal report, and returning to the step S10;
s1721, returning to the step S170 until all tests are completed, outputting a test report or an exception report, and returning to the step S10.
In summary, in this embodiment, the computer terminal controls the program-controlled power supply and the digital IO card to control the power supply of the B + and the ACC of the vehicle TBOX, so that the vehicle TBOX enters a sleep or wake-up state, and the program-controlled multimeter is connected to the computer to read the current value in real time to determine whether the product successfully enters the sleep or wake-up state. The device can automatically operate without manual participation, operates for 24 hours, automatically records and generates an abnormal report when abnormal occurs, can repeatedly and automatically verify, and greatly improves the testing efficiency and the testing reliability.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (10)

1. An automatic test device for testing whether the sleeping and awakening states of an automobile TBOX are abnormal or not is characterized by comprising a computer terminal, and a voltage control module, a current acquisition module and a CAN data analysis module which are connected with the computer terminal;
the voltage control module, the current acquisition module and the CAN data analysis module are all connected with the automobile TBOX;
the computer terminal supplies power to or cuts off power from the automobile TBOX through the voltage control module; acquiring a current value of the automobile TBOX through the current acquisition module, and judging the dormancy state of the automobile TBOX according to the current value; and acquiring CAN data of the automobile TBOX through the CAN data analysis module, and performing awakening operation on the automobile TBOX.
2. The automatic test device for vehicle TBOX dormancy wakeup according to claim 1, wherein the voltage control module comprises a programmable direct current power supply, a programmable IO control card, a first relay and a second relay;
the port 1 and the port 2 of the programmable direct current power supply are respectively connected with the port 7 and the port 3 of the computer terminal, the port 3 of the programmable direct current power supply is connected with the port 2 of the first relay, and the port 4 of the programmable direct current power supply is grounded;
the port 1 of the programmable IO control card is connected with the port 1 of the first relay, the port 1 of the second relay and the port 2 of the second relay, the port 13 and the port 14 of the programmable IO control card are respectively connected with the port 3 of the first relay and the port 3 of the second relay, and the port 26 of the programmable IO control card is connected with the port 6 of the computer terminal;
and the No. 5 port of the first relay and the No. 5 port of the second relay are respectively connected with the No. 5 port and the No. 6 port of the automobile TBOX.
3. The automatic testing device for the sleep and wake-up of the TBOX of the automobile according to claim 1, wherein the current collecting module is a program-controlled multimeter;
and the No. 1 port and the No. 2 port of the program-controlled multimeter are respectively connected with the No. 7 port and the No. 2 port of the computer terminal, and the No. 3 port of the program-controlled multimeter is connected with the No. 4 port of the automobile TBOX.
4. The automatic testing device for vehicle TBOX dormancy wakeup according to claim 1, wherein the CAN data analysis module is a vehicle CAN bus analyzer;
and the No. 2 port of the automobile CAN bus analyzer is connected with the No. 1 port of the computer terminal, and the No. 6 port and the No. 7 port of the automobile CAN bus analyzer are respectively connected with the No. 2 port and the No. 3 port of the automobile TBOX.
5. The automatic test device for dormancy and awakening of the automobile TBOX as claimed in claim 1, wherein the port No. 5 of the computer terminal is connected with the port No. 1 of the automobile TBOX.
6. An automatic test method for sleep and wake-up of an automobile TBOX (tunnel boring machine), which is characterized by comprising the automatic test device for sleep and wake-up of the automobile TBOX as claimed in any one of claims 1 to 5, and the following steps:
s10, setting a test mode; the test modes comprise a sleep-only mode, an awake-only mode, a single flow mode and a full flow mode;
s11, whether to execute the sleep-only mode, if yes, executing step S12; otherwise, go to step S13;
s12, carrying out a dormancy test on the automobile TBOX;
s13, whether the only wake-up mode is executed or not, if yes, executing a step S14; otherwise, go to step S15;
s14, performing a wake-up test on the automobile TBOX;
s15, whether the single flow mode is executed or not, if yes, the step S16 is executed; otherwise, go to step S17;
s16, carrying out sleep awakening test on the automobile TBOX;
and S17, carrying out dormancy and multi-mode awakening test on the automobile TBOX.
7. The automatic test method for vehicle TBOX dormancy wakeup according to claim 6, wherein the step S12 includes the following steps:
s120, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s121, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX; the CAN bus data is collected through the CAN data analysis module; the working current value is acquired through the current acquisition module;
s122, judging whether the CAN bus data is empty or not and whether the working current value is less than 3mA or not; if yes, go to step S123; otherwise, go to step S124;
s123, successfully testing, generating a test report and executing the step S125;
s124, failing the test, and generating an abnormal report;
s125, whether the test is finished or not is judged, if yes, the step S126 is executed; otherwise, go to step S127;
s126, outputting the test report or the abnormal report, and executing the step S13;
s127, returning to the step S121 until all tests are completed, outputting the test report or the exception report, and executing the step S13.
8. The automatic test method for vehicle TBOX dormancy wakeup according to claim 7, wherein the step S14 includes the following steps:
s140, the computer terminal obtains CAN bus data of the automobile TBOX and the working current value of the automobile TBOX;
s141, judging whether the CAN bus data is not empty and whether the working current value is greater than or equal to 3 mA; if yes, go to step S142; otherwise, go to step S146;
s142, selecting a wake-up mode; the awakening mode comprises short message awakening, telephone awakening, power-on awakening, CAN awakening and ECALL awakening;
s143, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s144, whether the WIFI is successfully connected or not is judged, and if yes, the step S145 is executed; otherwise, go to step S146;
s145, successfully testing, generating the test report and executing the step S147;
s146, generating the abnormal report when the test fails;
s147, whether the test is finished or not is judged, and if yes, the step S148 is executed; otherwise, go to step S149;
s148, outputting the test report or the abnormal report, and executing the step S15;
s149, returning to the step S140 until all tests are completed, outputting the test report or the exception report, and executing the step S15.
9. The automatic test method for vehicle TBOX dormancy wakeup according to claim 7, wherein the step S16 includes the following steps:
s160, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s161, the computer terminal obtains CAN bus data of the automobile TBOX and working current values of the automobile TBOX;
s162, judging whether the CAN bus data is empty or not, wherein the working current value is less than 3 mA; if yes, go to step S163; otherwise, go to step S167;
s163, selecting the awakening mode;
s164, starting the automobile TBOX by adopting the selected awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s165, judging whether the WIFI is successfully connected, if so, executing a step S166; otherwise, go to step S167;
s166, successfully waking up, generating the test report and executing the step S168;
s167, waking up the abnormal report in failure, and generating the abnormal report;
s168, whether the test is finished or not is judged, and if yes, the step S169 is executed; otherwise, go to step S1610;
s169, outputting the test report or the abnormal report, and executing the step S17;
and S1610, returning to the step S160 until all tests are completed, outputting the test report or the exception report, and executing the step S17.
10. The automatic test method for vehicle TBOX dormancy wakeup according to claim 7, wherein the step S17 includes the following steps:
s170, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX;
s171, the computer terminal obtains CAN bus data of the automobile TBOX and working current values of the automobile TBOX;
s172, judging whether the CAN bus data is empty or not and whether the working current value is less than 3mA or not; if yes, go to step S173; otherwise, go to step S1718;
s173, starting the automobile TBOX by adopting a power-on awakening mode, and enabling the automobile TBOX to start to be connected with a network;
s174, whether the WIFI is successfully connected or not is judged, and if yes, the step S175 is executed; otherwise, go to step S1718;
s175, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s176, starting the automobile TBOX by adopting a CAN (controller area network) awakening mode, so that the automobile TBOX automatically starts to be connected with a network;
s177, judging whether the WIFI is successfully connected, if so, executing a step S178; otherwise, go to step S1718;
s178, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s179, starting the automobile TBO by adopting a short message awakening mode to enable the automobile TBOX to start to be connected with a network;
s1710, whether the WIFI is successfully connected or not is judged, and if yes, the step S1711 is executed; otherwise, go to step S1718;
s1711, the computer terminal controls the voltage control module to turn off a power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s1712, starting the automobile TBO by adopting a telephone awakening mode to enable the automobile TBOX to start to be connected with a network;
s1713, whether the WIFI is successfully connected or not is judged, and if yes, the step S1714 is executed; otherwise, go to step S1718;
s1714, the computer terminal controls the voltage control module to close the power supply of the automobile TBOX, so that the automobile TBOX enters a sleep state;
s1715, starting the automobile TBO by adopting an ECALL awakening mode to enable the automobile TBOX to start to be connected with a network;
s1716, if the WIFI is successfully connected, executing a step S1717; otherwise, go to step S1718;
s1717, if the test is successful, generating the test report, and executing the step S1719;
s1718, generating the abnormal report when the test fails;
s1719, whether the test is finished or not is judged, if yes, the step S1720 is executed; otherwise, go to step S1721;
s1720, outputting the test report or the abnormal report, and returning to the step S10;
s1721, returning to the step S170 until all tests are completed, outputting the test report or the exception report, and returning to the step S10.
CN202111634505.XA 2021-12-29 2021-12-29 Automatic testing device and method for TBOX dormancy awakening of automobile Pending CN114338251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111634505.XA CN114338251A (en) 2021-12-29 2021-12-29 Automatic testing device and method for TBOX dormancy awakening of automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111634505.XA CN114338251A (en) 2021-12-29 2021-12-29 Automatic testing device and method for TBOX dormancy awakening of automobile

Publications (1)

Publication Number Publication Date
CN114338251A true CN114338251A (en) 2022-04-12

Family

ID=81017892

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111634505.XA Pending CN114338251A (en) 2021-12-29 2021-12-29 Automatic testing device and method for TBOX dormancy awakening of automobile

Country Status (1)

Country Link
CN (1) CN114338251A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389419A (en) * 2012-05-10 2013-11-13 上海博泰悦臻电子设备制造有限公司 Sleep wake-up test device of vehicle-mounted system
JP2015176388A (en) * 2014-03-15 2015-10-05 レノボ・シンガポール・プライベート・リミテッド Method for controlling power state, computer program, and computer
CN107656126A (en) * 2017-08-18 2018-02-02 惠州市德赛西威汽车电子股份有限公司 Vehicle audio quiescent current automated testing method and system based on CAN
CN207096801U (en) * 2017-05-31 2018-03-13 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system
CN110912764A (en) * 2019-08-01 2020-03-24 中国第一汽车股份有限公司 Test method, system, equipment and storage medium
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN111806297A (en) * 2020-06-19 2020-10-23 深圳拓邦股份有限公司 Sleeping and awakening system and method of vehicle-mounted battery management system
CN112650188A (en) * 2019-10-10 2021-04-13 广州汽车集团股份有限公司 Automatic test system and method for automobile bus network management
CN113291201A (en) * 2021-05-07 2021-08-24 四川大学锦城学院 Battery management system based on wireless communication

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389419A (en) * 2012-05-10 2013-11-13 上海博泰悦臻电子设备制造有限公司 Sleep wake-up test device of vehicle-mounted system
JP2015176388A (en) * 2014-03-15 2015-10-05 レノボ・シンガポール・プライベート・リミテッド Method for controlling power state, computer program, and computer
CN207096801U (en) * 2017-05-31 2018-03-13 河南思维轨道交通技术研究院有限公司 Simulation test platform, automatic simulation test system
CN107656126A (en) * 2017-08-18 2018-02-02 惠州市德赛西威汽车电子股份有限公司 Vehicle audio quiescent current automated testing method and system based on CAN
CN110912764A (en) * 2019-08-01 2020-03-24 中国第一汽车股份有限公司 Test method, system, equipment and storage medium
CN112650188A (en) * 2019-10-10 2021-04-13 广州汽车集团股份有限公司 Automatic test system and method for automobile bus network management
CN111474865A (en) * 2020-03-31 2020-07-31 北京经纬恒润科技有限公司 Dormancy awakening test system for intelligent vehicle-mounted terminal controller
CN111806297A (en) * 2020-06-19 2020-10-23 深圳拓邦股份有限公司 Sleeping and awakening system and method of vehicle-mounted battery management system
CN113291201A (en) * 2021-05-07 2021-08-24 四川大学锦城学院 Battery management system based on wireless communication

Similar Documents

Publication Publication Date Title
CN102073319B (en) Multifunctional comprehensive type electric control automobile fault diagnosis system
CN108859761A (en) A kind of electric car benefit method for electrically
CN109992464B (en) VCU automatic test method for integrated application layer software refreshing
CN112297848A (en) Battery pack thermal runaway control method, controller, equipment and automobile
CN105511448A (en) Integrated automotive diagnostic instrument and diagnosing method thereof
CN108773270B (en) Power-off method and device of battery management system
CN106652367A (en) IoT-based gas intelligent monitoring system
CN107415741A (en) Control method, device and the electric automobile of vehicle-mounted charge machine controller working condition
CN107323433B (en) Fault detection and maintenance method and device for vehicle and storage medium
CN208588938U (en) Pure electric vehicle diagnoses debugging system
CN109839549A (en) The method of real-time and device of vehicle activation system working condition
CN112763229A (en) Bluetooth-based vehicle data monitoring method and device and vehicle
CN112333007B (en) Control method and test method for CAN network diagnosis
CN114338251A (en) Automatic testing device and method for TBOX dormancy awakening of automobile
CN111703335B (en) Single-bus communication system of low-speed lithium electric vehicle and control method
CN204166588U (en) Electric automobile travelling data record and remote control system
CN106646266A (en) Detecting device of integrated battery management system
CN113965484B (en) Automobile bus dormancy awakening bench test method and system
CN109455094A (en) A kind of method and system of electric car automatic identification battery information
CN209426610U (en) A kind of motor-driven loading vehicle battery pack parameter display system
CN113253701A (en) Vehicle remote diagnosis system and method
CN113589171B (en) Hard wire fault injection test method for battery management system
CN113858981A (en) Wireless charging control method, vehicle-mounted remote information processing system and intelligent terminal
CN101788650B (en) Weakly mixing automobile storage battery capacity testing system
CN220171441U (en) Whole vehicle acquisition diagnosis device based on OBD port

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