CN111077470B - Power supply gear function testing system and method - Google Patents

Power supply gear function testing system and method Download PDF

Info

Publication number
CN111077470B
CN111077470B CN201911370179.9A CN201911370179A CN111077470B CN 111077470 B CN111077470 B CN 111077470B CN 201911370179 A CN201911370179 A CN 201911370179A CN 111077470 B CN111077470 B CN 111077470B
Authority
CN
China
Prior art keywords
gear
relay
power supply
body controller
test
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.)
Active
Application number
CN201911370179.9A
Other languages
Chinese (zh)
Other versions
CN111077470A (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.)
Beiqi Foton Motor Co Ltd
Original Assignee
Beiqi Foton Motor 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 Beiqi Foton Motor Co Ltd filed Critical Beiqi Foton Motor Co Ltd
Priority to CN201911370179.9A priority Critical patent/CN111077470B/en
Publication of CN111077470A publication Critical patent/CN111077470A/en
Application granted granted Critical
Publication of CN111077470B publication Critical patent/CN111077470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/005Testing of electric installations on transport means
    • G01R31/006Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks
    • G01R31/007Testing of electric installations on transport means on road vehicles, e.g. automobiles or trucks using microprocessors or computers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • G01R31/3277Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches
    • G01R31/3278Testing of circuit interrupters, switches or circuit-breakers of low voltage devices, e.g. domestic or industrial devices, such as motor protections, relays, rotation switches of relays, solenoids or reed switches

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Control Of Transmission Device (AREA)

Abstract

The disclosure relates to a power supply gear function testing system and method. The system comprises: the system comprises a first board card and a second board card, wherein the first board card and the second board card are used for being connected with a vehicle body controller, and a plurality of power supply gear relays and a plurality of measuring modules are arranged on the second board card; the first board card is used for sending a power supply gear test signal to the automobile body controller when receiving a power supply gear test instruction from the upper computer, so that the automobile body controller controls at least one power supply gear relay to work according to the power supply gear test signal; the measuring module is used for measuring the voltage of at least one power supply gear relay and sending a measuring result to the upper computer, so that the upper computer can determine whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result. Therefore, the power supply gear function testing system is built, the power supply gear function can be automatically tested, and a tester is not required to test on a real vehicle, so that the error of manual testing is avoided, and the testing efficiency is improved.

Description

Power supply gear function testing system and method
Technical Field
The disclosure relates to the field of vehicle testing, in particular to a power supply gear function testing system and method.
Background
With the development of electronic technology, the functions of vehicles are more and more abundant. Accordingly, there are also more and more consumers of electrical energy on vehicles, such as window lifters, headlights for vehicles, air conditioners, etc. Generally, a power supply system of a vehicle is provided with a plurality of power supply gears, and each power supply gear corresponds to a different vehicle-mounted electric device. The vehicle body controller can determine the power supply gear of the power supply system according to the state information of the vehicle and the one-key starting switch signal, and supplies power to the vehicle-mounted electric equipment corresponding to the power supply gear.
As vehicle power supply systems become increasingly complex, in the development process of new vehicle models, the power supply gear function needs to be tested to ensure that the vehicle-mounted electric equipment corresponding to the power supply gear works normally. In the prior art, tests and verifications are usually carried out on a real vehicle, the dependency on testers is high, the test efficiency is low, and certain dangers exist.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a power supply gear function testing system and method.
In order to achieve the above object, a first aspect of the embodiments of the present disclosure provides a power supply gear function testing system, where the system includes:
the system comprises a first board card and a second board card, wherein the first board card is used for being connected with a vehicle body controller, the second board card is used for being connected with the vehicle body controller, and a plurality of power supply gear relays and measuring modules are arranged on the second board card;
the first board card is used for sending a power supply gear test signal to the automobile body controller when receiving a power supply gear test instruction from an upper computer, so that the automobile body controller controls at least one power supply gear relay to work according to the power supply gear test signal;
the measuring module is used for measuring the voltage of the at least one power supply gear relay and sending a measuring result to the upper computer, so that the upper computer determines whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result.
Optionally, the plurality of power range relays include a first type relay, a second type relay, and a third type relay, where, for different power ranges, the working state combinations formed by the respective working states of the first type relay, the second type relay, and the third type relay are different.
Optionally, when the power supply gear test instruction indicates to test an ACC gear function, the first board card is configured to send an ACC gear function test signal to a one-key start switch pin of the vehicle body controller, so that the vehicle body controller controls the first type of relay to be attracted according to the ACC gear function test signal, and the second type of relay and the third type of relay are kept off; or, when the power keeps off position test instruction and instructs the test ON to keep off the position function, first integrated circuit board be used for to the key starting switch pin of automobile body controller sends ON and keeps off position function test signal, so that automobile body controller basis the ON keeps off position function test signal, control first type relay second type relay with the actuation of third type relay.
Optionally, the system further comprises: the bus communication equipment is connected with the vehicle body controller;
when the power supply gear test instruction indicates that the OFF gear function is tested, the bus communication equipment is used for sending a vehicle speed signal to the vehicle body controller; the first board card is used for sending an OFF gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type of relay, the second type of relay and the third type of relay to be switched OFF according to the OFF gear function test signal under the condition that the automobile speed is smaller than a preset automobile speed threshold; or when the power supply gear test instruction indicates to test a START gear function, the bus communication device is used for sending a vehicle gear state message to the vehicle body controller to indicate that a vehicle gear is in a parking gear or a neutral gear, and sending an engine anti-theft authentication instruction to the vehicle body controller; the first board card is used for sending START gear function test signals to a key starting switch pin of the automobile body controller, and sending starting signals to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller, so that the automobile body controller can control the actuation of the second type of relay according to the START gear function test signals and the starting signals under the condition that the engine anti-theft authentication passes, and the first type of relay and the third type of relay are disconnected.
Optionally, the first board card is further used for receiving a power supply gear function normal instruction from the upper computer, and sending the power supply gear function normal instruction to the vehicle body controller so as to inform that the power supply gear function of the vehicle body controller is normal.
Optionally, the system further comprises the upper computer.
A second aspect of the embodiment of the present disclosure provides a power supply gear function testing method, where the method is applied to a power supply gear testing system, the system includes a first board card and a second board card, where the second board card is provided with a plurality of power supply gear relays, and the method includes:
when the first board card receives a power supply gear test instruction from an upper computer, a power supply gear test signal is sent to the vehicle body controller, so that the vehicle body controller controls at least one power supply gear relay to work according to the power supply gear test signal;
and measuring the voltage of the at least one power supply gear relay, and sending a measurement result to the upper computer so that the upper computer determines whether the power supply gear function corresponding to the power supply gear test signal is normal or not according to the measurement result.
Optionally, when the power shift test instruction indicates to test the ACC shift function, the sending a power shift test signal to the vehicle body controller includes: sending an ACC gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls a first type of relay to be attracted and a second type of relay to be kept disconnected according to the ACC gear function test signal; or, when the power gear test instruction indicates to test the ON gear function, sending the power gear test signal to the vehicle body controller includes: and sending an ON gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be attracted according to the ON gear function test signal.
Optionally, when the power supply gear test instruction indicates to test the OFF gear function, the method further includes:
sending a vehicle speed signal to the vehicle body controller through bus communication equipment;
sending power supply gear test signals to the automobile body controller comprises: and sending an OFF gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be switched OFF according to the OFF gear function test signal under the condition that the automobile speed is less than a preset automobile speed threshold value.
Optionally, when the power range test instruction indicates to test the START range function, the method further includes:
sending a vehicle gear state message to the vehicle body controller through bus communication equipment to indicate that a vehicle gear is in a parking gear or a neutral gear, and sending an engine anti-theft authentication instruction to the vehicle body controller;
sending a starting signal to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller through the first board card;
sending power supply gear test signals to the automobile body controller comprises: and sending a START gear function test signal to a key starting switch pin of the automobile body controller, so that the automobile body controller controls the second type of relay to be attracted and the first type of relay and the third type of relay to be disconnected according to the START gear function test signal and the starting signal under the condition that the engine anti-theft authentication passes.
By adopting the technical scheme, the first board card can send a power supply gear test signal to the automobile body controller when receiving a power supply gear test instruction from the upper computer; the measuring module can measure the voltage of at least one power supply gear relay and send a measuring result to the upper computer, so that the upper computer determines whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result. Like this, keep off position function test system through setting up this power, can keep off the position function to the power and carry out automated test, need not tester and test on the real car to reduce the cost of labor, avoided the error of manual test, improved the security of efficiency of software testing, degree of accuracy and test.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
fig. 1 is a block diagram illustrating a power supply gear function testing system according to an exemplary embodiment.
FIG. 2 is a flow chart illustrating an ACC notch functionality testing method according to an exemplary embodiment.
FIG. 3 is a flow chart illustrating a method of ON gear functional testing in accordance with an exemplary embodiment.
FIG. 4 is a block diagram of a power supply gear functionality test system according to another exemplary embodiment.
FIG. 5 is a flow chart illustrating a START gear functionality testing method according to an exemplary embodiment.
FIG. 6 illustrates a flow chart of a power supply gear functionality testing method in accordance with an exemplary embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a block diagram illustrating a power supply gear function testing system according to an exemplary embodiment. As shown in fig. 1, the power supply gear function testing system includes: a first board card 1 and a second board card 2. The first board card 1 is used for being connected with a vehicle body controller 3, the second board card 2 is used for being connected with the vehicle body controller 3, and a plurality of power supply gear relays and measuring modules are arranged on the second board card 2;
the first board card 1 is used for sending a power supply gear test signal to the automobile body controller 3 when receiving a power supply gear test instruction from the upper computer 4, so that the automobile body controller 3 controls at least one power supply gear relay to work according to the power supply gear test signal;
the measuring module is used for measuring the voltage of at least one power supply gear relay and sending a measuring result to the upper computer 4, so that the upper computer 4 determines whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result.
In the embodiment of the disclosure, a hardware test platform for power supply gear function test needs to be established. Specifically, the input end of the first board card 1 is connected with the upper computer 4 and used for receiving a power supply gear test instruction from the upper computer 4, and the output end of the first board card is connected with the automobile body controller 3 and used for sending a power supply gear test signal to the automobile body controller 3. For example, the first board 1 may be an input/output board VT2516, VT2848, or the like, which is not limited herein. The first board card 1 has multiple input/output channels, and can be connected to signal input pins of the vehicle body controller 3. Illustratively, the first channel of the first board card 1 is connected with a pin of a one-key start switch of the vehicle body controller 3, the second channel is connected with a pin of a brake pedal switch of the vehicle body controller 3, and the third channel is connected with a pin of a clutch pedal switch of the vehicle body controller 3. It should be noted that, the tester may select, as needed, a channel of the first board card 1 connected to the vehicle body controller 3, and select, as needed, a signal input pin of the vehicle body controller 3 connected to the channel of the first board card 1, which is not specifically limited in this disclosure.
Next, the second board 2 is connected to the vehicle body controller 3. For example, the second board 2 may be a load and measurement board VT 1004. Wherein, be provided with a plurality of power on the second integrated circuit board 2 and keep off position relay and measuring module, and support 3 output channels of multichannel automobile body controller, can be connected with the signal output pin of automobile body controller 3. Specifically, a plurality of power supply gear relay output pins of the vehicle body controller 3 can be respectively connected with corresponding channels of the second board card 2, so that the vehicle body controller 3 can control at least one power supply gear relay on the second board card 2 to work according to the power supply gear test signal.
In addition, the system may further include a third board card, which is respectively connected to the body controller 3 and the upper computer 4 and is configured to supply power to the body controller 3, for example, the third board card may be VT 7001A.
After a hardware test platform for testing the power supply gear function is built, a software test platform corresponding to the hardware test platform needs to be built so as to realize automatic testing of the power supply gear function.
The upper computer 4 is a computer that can directly issue a control command, for example, the upper computer 4 may be a PC, a notebook computer, or the like. The upper computer 4 is provided with test software, and the test software can be used for board configuration, test case compiling, test script generation, test script execution, test report generation and the like.
By way of example, the test software may be canoe (can open environment) software, vtestudio software, or the like. The CANoe software is an automobile network development software platform integrating integrated line simulation, recording and testing. The vtestudio software is test case writing software. Specifically, the first board card 1, the second board card 2, and the third board card 3 may be configured through CANoe software to establish a mapping relationship between the software test platform and the hardware test platform. Illustratively, corresponding to the hardware test platform, the first channel of the first board 1 is configured to be connected with a one-key start switch pin of the vehicle body controller 3, the second channel of the first board 1 is configured to be connected with a brake pedal switch pin of the vehicle body controller 3, and the third channel of the first board 1 is configured to be connected with a clutch pedal switch pin of the vehicle body controller 3. The second board card 2 is configured as a plurality of power supply gear relays and is configured to be connected to power supply gear relay output pins corresponding to the vehicle body controller 3. The vtestudio software is used for generating a test script based on the configuration information and the test case, and executing the generated test script in the CANoe software, so that a power supply gear test instruction is sent to the first board card 1, and then a power supply gear test signal is sent to the vehicle body controller 3 by the first board card 1, so that the vehicle body controller 3 controls at least one power supply gear relay to work according to the power supply gear test signal. And the CANoe software can also be used for receiving a measurement result of at least one power supply gear relay voltage sent by the measurement module and determining whether the power supply gear function corresponding to the power supply gear test signal is normal or not according to the measurement result.
By adopting the technical scheme, the first board card 1 can send a power supply gear test signal to the automobile body controller 3 when receiving a power supply gear test instruction from the upper computer 4; the measuring module can measure the voltage of at least one power supply gear relay and send a measuring result to the upper computer 4, so that the upper computer 4 determines whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result. Like this, keep off position function test system through setting up this power, can keep off the position function to the power and carry out automated test, need not the tester and test on the real car to reduce the cost of labor, avoided the error of manual test, improved the security of efficiency of software testing, degree of accuracy and test.
Optionally, the system further comprises an upper computer 4.
Optionally, the plurality of power range relays include a first type relay, a second type relay, and a third type relay, where, for different power ranges, the working state combinations formed by the respective working states of the first type relay, the second type relay, and the third type relay are different.
In the disclosed embodiment, the first type of relay may include one or more ACC relays, the second type of relay may include one or more IG1 relays, and the third type of relay may include one or more IG2 relays. Specifically, if the first type of relay includes an ACC relay, the second type of relay includes an IG1 relay, and the third type of relay includes an IG2 relay, the second board card 2 and the body controller 3 may be connected when the hardware test platform is built. For example, the first channel of the second board 2 is connected to an ACC relay pin of the vehicle body controller 3, the second channel of the second board 2 is connected to an IG1 relay pin of the vehicle body controller 3, and the third channel of the second board 2 is connected to an IG2 relay pin of the vehicle body controller 3.
And aiming at different power supply gears, the working state combinations formed by the respective working states of the first type relay, the second type relay and the third type relay are different. Specifically, there are 4 power gears in this disclosure, OFF gear, ACC gear, ON gear, STRAT gear, respectively. The vehicle body controller 3 can control the working states of the first type relay, the second type relay and the third type relay to enable the vehicle to be in different power supply gears. For example, in the OFF range, the first type relay, the second type relay, and the third type relay are all in the OFF state, that is, the ACC relay, the IG1 relay, and the IG2 relay are all in the OFF state. When the relay is in the ACC gear, the first type relay is in an attraction state, the second type relay and the third type relay are in an off state, namely, the ACC relay is in the attraction state, and the IG1 relay and the IG2 relay are in the off state. When the gear is ON, the first type relay, the second type relay and the third type relay are all in the attraction state, namely, the ACC relay, the IG1 relay and the IG2 relay are all in the attraction state. When the STRAT gear is in the gear, the second type relay is in an attraction state, and the first type relay and the third type relay are in a disconnection state. That is, the IG1 relay is in the pull-in state, and the ACC relay and the IG2 relay are in the off state.
Optionally, the first board card 1 is further configured to receive a power supply gear function normal instruction from the upper computer 4, and send the power supply gear function normal instruction to the vehicle body controller 3, so as to notify the vehicle body controller 3 that the power supply gear function is normal.
In practical application, after the vehicle body controller 3 normally opens the control power supply gear, if an instruction indicating that the power supply gear function is normal is not received, the control power supply gear relay is disconnected, and therefore, in the disclosure, the first board card 1 is further used for receiving a power supply gear function normal instruction from the upper computer 4 and sending the power supply gear function normal instruction to the vehicle body controller 3 to inform the vehicle body controller 3 that the power supply gear function is normal, so that normal operation of power supply gear function testing is ensured.
In the practical application process, the vehicle can be in different power supply gears by pressing one key to start the switch. Specifically, assuming that the initial state of the power range is the OFF range, the one-touch START switch is pressed once to perform the switching of the power range in the order of the OFF range, the ACC range, the ON range, and the OFF range, and in the ACC range, the ON range, or the OFF range, the power range is switched to the START range by pressing the one-touch START switch and depressing the brake pedal (automatic transmission) or the clutch pedal (manual transmission), and the pressing of the one-touch START switch is equivalent to sending a valid signal, such as a high level signal, to the one-touch START switch pin of the body controller 3. Based on this, the tester can compile corresponding test case through test software to realize the test to power position function.
Optionally, when the power supply gear test instruction indicates to test the ACC gear function, the first board card 1 is configured to send an ACC gear function test signal to a one-key start switch pin of the vehicle body controller 3, so that the vehicle body controller controls the first type of relay to be attracted, and the second type of relay and the third type of relay to be kept off according to the ACC gear function test signal; or when the power supply gear test instruction indicates to test the ON gear function, the first board card 1 is used for sending an ON gear function test signal to a one-key starting switch pin of the vehicle body controller, so that the vehicle body controller controls the first type relay, the second type relay and the third type relay to be attracted according to the ON gear function test signal.
Referring to fig. 2, fig. 2 is a flowchart illustrating an ACC shift function testing method according to an exemplary embodiment. As shown in fig. 2, the method may include the following steps.
In S201, the power supply module is loaded.
Wherein the purpose of loading the power supply module is to supply power to the body controller 3. For example, power may be supplied to the body controller 3 through the third board.
In S202, the board initialization module is loaded.
The purpose of loading the board initialization module is to perform initialization configuration on the board so that the power supply gear is the OFF gear. Illustratively, following the above example, the one-touch start switch pin is active at a high level and inactive at a low level. The brake pedal switch pin and the clutch pedal pin are in an invalid state at a high level and in an valid state at a low level. Based on this, the first channel, the second channel, and the third channel of the first board 1, which are connected to the one-key start switch pin, the brake pedal switch pin, and the clutch pedal switch pin, respectively, can be configured to be in the inactive state. The second board card 2 is configured as a power supply gear relay, and specifically, the ACC relay in the second board card 2 may be connected to an ACC relay pin of the vehicle body controller 3 through the first channel of the second board card 2. The IG1 relay in the second board 2 is connected to the IG1 relay pin of the body controller 3 through the second channel of the second board 2. And the IG2 relay in the second board card 2 is connected with an IG2 relay pin of the automobile body controller 3 through a third channel. It should be noted that, reference may be made to the scheme in the prior art for configuring the second board card 2 as the power shift relay, and details are not described here.
In S203, an ACC shift function test signal is sent to a one-key start switch pin of the vehicle body controller 3 through the first board card 1.
The ACC shift function test signal is an input signal required by the vehicle body controller 3 to control the ACC shift to be turned on. That is, a high level signal is sent to the one-touch start switch pin through the first channel of the first board 1, so that the vehicle body controller 3 can control the first type relay (ACC relay) to pull in and the second type relay (IG1 relay) and the third type relay (IG2 relay) to keep off according to the high level signal.
In S204, it is determined whether the ACC range function is normal, and if so, step S205 is executed, and if not, step S206 is executed.
In S205, an ACC range function normal command is sent to the first board 1.
In S206, it is determined that the ACC range function is not implemented.
In this disclosure, the measurement module on the second board card 2 can be used to measure the voltage of the ACC relay, and send the measurement result to the upper computer, so that the upper computer determines whether the ACC gear function is normal according to the measurement result. Specifically, the upper computer stores preset conditions for determining whether the ACC gear functions are normal or not in advance. Illustratively, the preset condition is whether the voltage of the ACC relay is greater than or equal to a preset voltage threshold, e.g., 18V, and whether the voltages of the IG1 relay and the IG2 relay are 0V. If so, determining that the ACC gear function is normal, and if not, determining that the ACC gear function is not realized, namely, the power gear is not switched to the ACC gear.
By adopting the scheme, the real vehicle test is not required for testers, the automatic test of the ACC gear function is realized, the test time is shortened, and the test efficiency is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating an ON-shift function testing method according to an exemplary embodiment. As shown in fig. 3, the method may further include steps S301 to S304 in addition to the above steps 201 and 202.
In S301, an ON-position function test signal is sent to a one-key start switch pin of the vehicle body controller 3 through the first board card 1.
In S302, it is determined whether the ON range function is normal, and if so, step S303 is performed, and if not, step 304 is performed.
In S303, an ON range function normal command is sent to the first board 1.
In S304, it is determined that the ON range function is not implemented.
Wherein, the ON shift function test signal is an input signal required when the vehicle body controller 3 controls the ON shift to be opened. After the board initialization module is loaded, the power shift position is in the OFF shift position, and in order to switch the power shift position to the ON shift position, a high level signal needs to be sent to the one-key start switch pin through the first channel of the first board 1 first, so that the power shift position is switched from the OFF shift position to the ACC shift position, and then a high level signal needs to be sent to the one-key start switch pin again, so that the power shift position is switched from the OFF shift position to the ON shift position. In this way, the vehicle body controller 3 can control the first type relay (ACC relay), the second type relay (IG1 relay), and the third type relay (IG2 relay) to pull in, according to the high level signals transmitted twice.
Then, the measurement module ON the second board card 2 may be configured to measure a voltage of the ACC relay, a voltage of the IG1 relay, and a voltage of the IG2 relay, and send a measurement result to the upper computer, so that the upper computer determines whether the ON shift function is normal according to the measurement result. Specifically, the upper computer stores preset conditions for determining whether the ON gear function is normal or not in advance. Illustratively, the preset condition is whether the voltage of the ACC relay, the voltage of the IG1 relay, and the voltage of the IG2 relay are all greater than or equal to a preset voltage threshold, wherein the preset voltage threshold is, for example, 18V. If yes, determining that the function of the ON gear is normal, and if not, determining that the function of the ON gear is not realized, namely the power gear is not switched to the ON gear.
By adopting the scheme, the real vehicle test is not required for testers, the automatic test of the ON gear function is realized, the test time is shortened, and the test efficiency is improved.
FIG. 4 is a block diagram of a power supply gear functionality test system according to another exemplary embodiment. As shown in fig. 4, the system may further include: the bus communication equipment 5 is respectively connected with the upper computer 4 and the automobile body controller 3;
when the power supply gear test instruction indicates to test the OFF gear function, the bus communication device 5 is used for sending a vehicle speed signal to the vehicle body controller 3; the first board card 1 is used for sending an OFF gear function test signal to a one-key starting switch pin of the vehicle body controller 3, so that the vehicle body controller controls the first type relay, the second type relay and the third type relay to be switched OFF according to the OFF gear function test signal under the condition that the vehicle speed is smaller than a preset vehicle speed threshold; or when the power supply gear test instruction indicates to test the START gear function, the bus communication device 5 is configured to send a vehicle gear state message to the vehicle body controller 3 to indicate that the vehicle gear is in the parking gear or the neutral gear, and send an engine anti-theft authentication instruction to the vehicle body controller; the first board card 1 is used for sending a START gear function test signal to a key starting switch pin of the automobile body controller 3 and sending a starting signal to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller 3, so that the automobile body controller controls the second type of relay to be attracted and the first type of relay and the third type of relay to be disconnected according to the START gear function test signal and the starting signal under the condition that the engine anti-theft authentication passes.
In consideration of the fact that in the practical application process, when the power supply gear is switched from the ON gear to the OFF gear, whether the current vehicle speed is smaller than a preset vehicle speed threshold value needs to be judged, therefore, when the OFF gear function test is carried out, a vehicle speed signal needs to be sent to a vehicle body controller through bus communication equipment so as to simulate the real state of a vehicle. The bus communication device may be a CANoe hardware device.
The OFF-shift function test signal is an input signal required when the vehicle body controller 3 controls the OFF-shift to be turned on. Specifically, when the power supply gear is in the ON gear, a vehicle speed signal is sent through the bus communication device, and an OFF gear function test signal is sent to a key start switch pin of the vehicle body controller 3 through the first board 1, that is, a high level signal is sent to the key start switch pin through a first channel of the first board 1, so that the vehicle body controller 3 controls the first type relay (ACC relay), the second type relay (IG1 relay) and the third type relay (IG2 relay) to be turned OFF according to the high level signal under the condition that the vehicle speed is less than a preset vehicle speed threshold value. Wherein a preset vehicle speed threshold value may be stored in the vehicle body controller 3 in advance, for example, the preset vehicle speed threshold value is 5 km/h.
Then, the measurement module on the second board card 2 may be configured to measure a voltage of the ACC relay, a voltage of the IG1 relay, and a voltage of the IG2 relay, and send measurement results to the upper computer, so that the upper computer determines whether the OFF gear function is normal according to the measurement results. Specifically, the upper computer stores preset conditions for determining whether the OFF gear function is normal or not in advance. Illustratively, the preset condition is whether the voltage of the ACC relay, the voltage of the IG1 relay, and the voltage of the IG2 relay are all equal to 0V, if so, it is determined that the OFF range function is normal, and if not, it is determined that the OFF range function is abnormal.
By adopting the scheme, a tester is not required to carry out real vehicle test, the automatic test of the OFF gear function is realized, the test time is shortened, and the test efficiency is improved.
Considering that the gear of the vehicle needs to be in the parking gear or the neutral gear when the vehicle is started, when the START gear function test is performed, a vehicle gear state message needs to be sent to the vehicle body controller 3 through the bus communication device so that the vehicle is in the parking gear or the neutral gear. Before the vehicle is started, safety certification is required between the vehicle body controller 3 and the engine controller, and when the safety certification is passed, the power supply range can be switched to the START range. It should be noted that, the process of performing the security authentication between the vehicle body controller 3 and the engine controller may refer to the scheme in the prior art, and is not described herein again.
Referring to fig. 5, fig. 5 is a flowchart illustrating a START gear function testing method according to an exemplary embodiment. As shown in fig. 5, the method may further include steps S501-S506 in addition to the above steps 201 and 202.
In S501, the START gear function test signal is sent to a one-key START switch pin of the vehicle body controller 3 through the first board 1, and a START signal is sent to a brake pedal switch pin or a clutch pedal switch pin of the vehicle body controller.
In S502, a vehicle gear state message is sent to the vehicle body controller through the bus communication device to indicate that the vehicle gear is in the parking gear or the neutral gear, and an engine anti-theft authentication instruction is sent to the vehicle body controller.
In S503, it is determined whether the engine theft authentication is passed, if yes, step 504 is executed, and if no, the process returns to S503.
In S504, it is determined whether the START range function is normal, and if so, step S505 is executed, and if not, step S506 is executed.
In S505, a START range function normal command is sent to the first board 1.
In S506, it is determined that the START range function is not implemented.
The START gear function test signal is an input signal required when the vehicle body controller 3 controls START gear opening. Specifically, a START gear function test signal is sent to a key starting switch pin through a first channel of a first board card 1, that is, a high level signal is sent to the key starting switch pin, and when a vehicle is an automatic gear vehicle, a starting signal is sent to a brake pedal switch pin through a second channel of the first board card 1, that is, a low level signal is sent to the brake pedal switch pin, or when the vehicle is a manual gear vehicle, a starting signal is sent to a clutch pedal switch pin through a third channel of the first board card 1, that is, a low level signal is sent to the clutch pedal switch pin. Therefore, when the engine anti-theft authentication is passed, the vehicle body controller 3 controls the second type relay (IG1 relay) to be closed and the first type relay (ACC relay) and the third type relay (IG2 relay) to be opened according to the high level signal and the low level signal.
Then, the measurement module on the second board card 2 may be configured to measure a voltage of the ACC relay, a voltage of the IG1 relay, and a voltage of the IG2 relay, and send a measurement result to the upper computer, so that the upper computer determines whether the START gear function is normal according to the measurement result. Specifically, the upper computer stores preset conditions for determining whether the START gear function is normal or not in advance. For example, the preset condition is whether the voltage of the IG1 relay is greater than or equal to a preset voltage threshold, such as 18V, and the voltage of the ACC relay and the voltage of the IG2 relay are equal to 0V. If so, it is determined that the START range function is normal, and if not, it is determined that the START range function is not implemented, i.e., the power range is not switched to the START range.
By adopting the scheme, the real vehicle test is not required for testers, the automatic test of the START gear function is realized, the test time is shortened, and the test efficiency is improved.
It is worth to be noted that when a tester compiles a test case, a corresponding test case can be compiled for each power supply gear, a corresponding test script is generated, and the test of the power supply gear function is realized by executing each test script. The test of all power supply gear functions can be written in one test case, and the test of all power supply gear functions can be realized by executing the test case. And is not particularly limited herein.
Based on the same inventive concept, the embodiment of the disclosure also provides a power supply gear function test method. Referring to fig. 6, fig. 6 is a flowchart illustrating a power supply gear function testing method according to an exemplary embodiment. The method is applied to a power supply gear testing system, and the system comprises a first board card and a second board card, wherein a plurality of power supply gear relays are arranged on the second board card. As shown in fig. 6, the power supply gear function testing method includes the following steps.
In S601, when the first board card receives a power supply gear test instruction from an upper computer, a power supply gear test signal is sent to the vehicle body controller, so that the vehicle body controller controls at least one power supply gear relay to work according to the power supply gear test signal;
in S602, the voltage of at least one power supply gear relay is measured, and a measurement result is sent to the upper computer, so that the upper computer can determine whether the power supply gear function corresponding to the power supply gear test signal is normal or not according to the measurement result.
By adopting the technical scheme, the first board card 1 can send a power supply gear test signal to the automobile body controller 3 when receiving a power supply gear test instruction from the upper computer 4; the measuring module can measure the voltage of at least one power supply gear relay and send a measuring result to the upper computer, so that the upper computer 4 determines whether the power supply gear function corresponding to the power supply gear testing signal is normal or not according to the measuring result. Like this, keep off position function test system through setting up this power, can keep off the position function to the power and carry out automated test, need not the tester and test on the real car to reduce the cost of labor, avoided the error of manual test, improved the security of efficiency of software testing, degree of accuracy and test.
Optionally, when the power shift test instruction indicates to test the ACC shift function, the sending a power shift test signal to the vehicle body controller includes: sending an ACC gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls a first type of relay to be attracted and a second type of relay to be kept disconnected according to the ACC gear function test signal; or, when the power gear test instruction indicates to test the ON gear function, sending the power gear test signal to the vehicle body controller includes: and sending the ON gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be attracted according to the ON gear function test signal.
Optionally, when the power supply gear test instruction indicates to test the OFF gear function, the method further includes:
sending a vehicle speed signal to the vehicle body controller through bus communication equipment;
sending power supply gear test signals to the automobile body controller comprises: and sending an OFF gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be switched OFF according to the OFF gear function test signal under the condition that the automobile speed is less than a preset automobile speed threshold value.
Optionally, when the power range test instruction indicates to test the START range function, the method further includes:
sending a vehicle gear state message to the vehicle body controller through bus communication equipment to indicate that a vehicle gear is in a parking gear or a neutral gear, and sending an engine anti-theft authentication instruction to the vehicle body controller;
sending a starting signal to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller through the first board card;
sending power supply gear test signals to the automobile body controller comprises: and sending a START gear function test signal to a key starting switch pin of the automobile body controller, so that the automobile body controller controls the second type of relay to be attracted and the first type of relay and the third type of relay to be disconnected according to the START gear function test signal and the starting signal under the condition that the engine anti-theft authentication passes.
With regard to the power supply gear function testing method in the above embodiment, the specific manner of each step has been described in detail in the power supply gear function testing system embodiment, and will not be elaborated herein.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (7)

1. A power supply gear function testing system, the system comprising:
the power supply system comprises a first board card and a second board card, wherein the first board card is used for being connected with a vehicle body controller, the second board card is used for being connected with the vehicle body controller, a plurality of power supply gear relays and measuring modules are arranged on the second board card, the plurality of power supply gear relays comprise a first relay, a second relay and a third relay, and working state combinations formed by respective working states of the first relay, the second relay and the third relay are different aiming at different power supply gears;
the first board card is used for sending a power supply gear test signal to the automobile body controller when receiving a power supply gear test instruction from an upper computer, so that the automobile body controller controls at least one power supply gear relay to work according to the power supply gear test signal;
the measurement module is used for measuring the voltage of the at least one power supply gear relay and sending a measurement result to the upper computer, so that the upper computer determines whether the power supply gear function corresponding to the power supply gear test signal is normal or not according to the measurement result;
when the power supply gear test instruction indicates to test an ACC gear function, the first board card is used for sending an ACC gear function test signal to a one-key starting switch pin of the vehicle body controller, so that the vehicle body controller controls the first type of relay to be attracted according to the ACC gear function test signal, and the second type of relay and the third type of relay are kept disconnected; or, when the power keeps off position test instruction and instructs the test ON to keep off the position function, first integrated circuit board be used for to the key starting switch pin of automobile body controller sends ON and keeps off position function test signal, so that automobile body controller basis the ON keeps off position function test signal, control first type relay second type relay with the actuation of third type relay.
2. The system of claim 1, further comprising: the bus communication equipment is connected with the vehicle body controller;
when the power supply gear test instruction indicates that the OFF gear function is tested, the bus communication equipment is used for sending a vehicle speed signal to the vehicle body controller; the first board card is used for sending an OFF gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type of relay, the second type of relay and the third type of relay to be switched OFF according to the OFF gear function test signal under the condition that the automobile speed is smaller than a preset automobile speed threshold; or
When the power supply gear test instruction indicates to test a START gear function, the bus communication equipment is used for sending a vehicle gear state message to the vehicle body controller so as to indicate that a vehicle gear is in a parking gear or a neutral gear, and sending an engine anti-theft authentication instruction to the vehicle body controller; the first board card is used for sending START gear function test signals to a key starting switch pin of the automobile body controller, and sending starting signals to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller, so that the automobile body controller can control the actuation of the second type of relay according to the START gear function test signals and the starting signals under the condition that the engine anti-theft authentication passes, and the first type of relay and the third type of relay are disconnected.
3. The system of claim 1, wherein the first board card is further configured to receive a power gear function normal command from the upper computer and send the power gear function normal command to the body controller to notify the body controller that the power gear function is normal.
4. The system of claim 1, further comprising the host computer.
5. The power supply gear function testing method is applied to a power supply gear testing system, the system comprises a first board card and a second board card, wherein a plurality of power supply gear relays are arranged on the second board card, and the method comprises the following steps:
when the first board card receives a power supply gear test instruction from an upper computer, a power supply gear test signal is sent to the vehicle body controller, so that the vehicle body controller controls at least one power supply gear relay to work according to the power supply gear test signal;
measuring the voltage of the at least one power supply gear relay, and sending a measurement result to the upper computer so that the upper computer determines whether the power supply gear function corresponding to the power supply gear test signal is normal or not according to the measurement result;
wherein, when power keeps off position test instruction and tests ACC fender position function, send power to automobile body controller and keep off position test signal and include: sending an ACC gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls a first type of relay to be attracted and a second type of relay to be kept disconnected according to the ACC gear function test signal; or, when the power gear test instruction indicates to test the ON gear function, sending the power gear test signal to the vehicle body controller includes: and sending an ON gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be attracted according to the ON gear function test signal.
6. The method of claim 5, wherein when the power range test command indicates to test OFF range functionality, the method further comprises:
sending a vehicle speed signal to the vehicle body controller through bus communication equipment;
sending power supply gear test signals to the automobile body controller comprises: and sending an OFF gear function test signal to a one-key starting switch pin of the automobile body controller, so that the automobile body controller controls the first type relay, the second type relay and the third type relay to be switched OFF according to the OFF gear function test signal under the condition that the automobile speed is less than a preset automobile speed threshold value.
7. The method of claim 5, wherein when the power range test command indicates to test START range functionality, the method further comprises:
sending a vehicle gear state message to the vehicle body controller through bus communication equipment to indicate that a vehicle gear is in a parking gear or a neutral gear, and sending an engine anti-theft authentication instruction to the vehicle body controller;
sending a starting signal to a brake pedal switch pin or a clutch pedal switch pin of the automobile body controller through the first board card;
sending power supply gear test signals to the automobile body controller comprises: and sending a START gear function test signal to a key starting switch pin of the automobile body controller, so that the automobile body controller controls the second type of relay to be attracted and the first type of relay and the third type of relay to be disconnected according to the START gear function test signal and the starting signal under the condition that the engine anti-theft authentication passes.
CN201911370179.9A 2019-12-26 2019-12-26 Power supply gear function testing system and method Active CN111077470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911370179.9A CN111077470B (en) 2019-12-26 2019-12-26 Power supply gear function testing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911370179.9A CN111077470B (en) 2019-12-26 2019-12-26 Power supply gear function testing system and method

Publications (2)

Publication Number Publication Date
CN111077470A CN111077470A (en) 2020-04-28
CN111077470B true CN111077470B (en) 2021-06-18

Family

ID=70318276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911370179.9A Active CN111077470B (en) 2019-12-26 2019-12-26 Power supply gear function testing system and method

Country Status (1)

Country Link
CN (1) CN111077470B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047454B (en) * 2021-11-03 2024-07-09 一汽解放汽车有限公司 Vehicle power supply system fault diagnosis method, system, equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101973236A (en) * 2010-10-29 2011-02-16 奇瑞汽车股份有限公司 Method and equipment for controlling shifting of power supply gears
CN102582431A (en) * 2012-02-24 2012-07-18 奇瑞汽车股份有限公司 Button start based engine start control method and system
JP2015065715A (en) * 2013-09-24 2015-04-09 株式会社東芝 Inspection device of metal enclosed switch gear
CN106501714A (en) * 2016-12-09 2017-03-15 上海航空电器有限公司 A kind of digitizing switch detection circuit and method with fault diagnosis functions
CN108983078A (en) * 2017-05-31 2018-12-11 许继集团有限公司 A kind of relay build-out resistor selection device and method
CN109307838A (en) * 2017-07-28 2019-02-05 中航光电科技股份有限公司 A kind of new-energy automobile high-voltaghe compartment factory testing system
CN208766287U (en) * 2018-09-11 2019-04-19 金鑫宇电源(深圳)有限责任公司 A kind of power detecting system
CN110470983A (en) * 2019-08-29 2019-11-19 恒大新能源科技集团有限公司 The fault detection system and its detection method of relay
CN209689897U (en) * 2019-03-27 2019-11-26 山东高速轨道交通集团有限公司益羊铁路管理处 Locomotive electric apparatus combined test stand

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7053624B2 (en) * 2004-06-23 2006-05-30 Avo Multi-Amp Corporation Protective relay test device having a hand-held controller
CN101726710B (en) * 2008-10-14 2011-12-14 和硕联合科技股份有限公司 Power supply testing control device, testing system and testing method thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101973236A (en) * 2010-10-29 2011-02-16 奇瑞汽车股份有限公司 Method and equipment for controlling shifting of power supply gears
CN102582431A (en) * 2012-02-24 2012-07-18 奇瑞汽车股份有限公司 Button start based engine start control method and system
JP2015065715A (en) * 2013-09-24 2015-04-09 株式会社東芝 Inspection device of metal enclosed switch gear
CN106501714A (en) * 2016-12-09 2017-03-15 上海航空电器有限公司 A kind of digitizing switch detection circuit and method with fault diagnosis functions
CN108983078A (en) * 2017-05-31 2018-12-11 许继集团有限公司 A kind of relay build-out resistor selection device and method
CN109307838A (en) * 2017-07-28 2019-02-05 中航光电科技股份有限公司 A kind of new-energy automobile high-voltaghe compartment factory testing system
CN208766287U (en) * 2018-09-11 2019-04-19 金鑫宇电源(深圳)有限责任公司 A kind of power detecting system
CN209689897U (en) * 2019-03-27 2019-11-26 山东高速轨道交通集团有限公司益羊铁路管理处 Locomotive electric apparatus combined test stand
CN110470983A (en) * 2019-08-29 2019-11-19 恒大新能源科技集团有限公司 The fault detection system and its detection method of relay

Also Published As

Publication number Publication date
CN111077470A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN109507981B (en) Vehicle testing method and device and machine-readable storage medium
JP2002182737A (en) On-vehicle control unit incorporating inspection program and its inspecting device, and inspecting method
CN109726061B (en) SoC chip verification method
CN111077470B (en) Power supply gear function testing system and method
US9781527B2 (en) Smart plug and play automatic OBD-II system tester
CN115599076B (en) Test system and test method for vehicle body domain controller
KR20210046390A (en) AUTOSAR BSW testing automation system and testing method thereof
US9046557B2 (en) Isolation adapter for a vehicle component test and test method for a vehicle component
CN104640735A (en) Method for measuring the presence of a high-voltage current and for determining the absence of current
CN112398703B (en) Communication function testing apparatus, method, system, and computer-readable medium
CN109491372B (en) Test system for automatic wiper function logic
CN109490662B (en) Test method and device for automobile electronic equipment, computer equipment and storage medium
CN114253246A (en) Device and method for testing automatic train driving system
JP3460951B2 (en) Automatic vehicle test equipment
KR20110061199A (en) Dark current measuring apparatus
KR102275506B1 (en) Vehicle Controller Simulator
KR101673612B1 (en) Automation system for vehicle test and test method using the same
CN114326651B (en) TCU test system and method
CN217060827U (en) Remote control testing device and testing system
CN215729425U (en) Detection device for whole vehicle controller of electric vehicle
CN220104500U (en) Vehicle seat test system
KR100336009B1 (en) door testing system of the railway carrige
US20240094294A1 (en) Failure insertion unit
CN216848542U (en) Pin signal monitoring device and pin signal monitoring circuit
KR101479081B1 (en) Startmotor control apparatus 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
GR01 Patent grant
GR01 Patent grant