CN114035558A - Signal injection method and system for hardware-in-loop test of knob type gear shifter - Google Patents

Signal injection method and system for hardware-in-loop test of knob type gear shifter Download PDF

Info

Publication number
CN114035558A
CN114035558A CN202111410152.5A CN202111410152A CN114035558A CN 114035558 A CN114035558 A CN 114035558A CN 202111410152 A CN202111410152 A CN 202111410152A CN 114035558 A CN114035558 A CN 114035558A
Authority
CN
China
Prior art keywords
signal
loop test
hardware
simulation
control unit
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
CN202111410152.5A
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.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
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 Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN202111410152.5A priority Critical patent/CN114035558A/en
Publication of CN114035558A publication Critical patent/CN114035558A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a signal injection method and a signal injection system for a hardware-in-loop test of a knob type gear shifter, wherein the method comprises the following steps: simulating signals of the Hall sensor through external signal simulation equipment; providing the simulated signal to a main chip of a shifter control unit; establishing communication connection between a main chip and a hardware-in-loop test platform; running in-loop test software corresponding to the hardware-in-loop test platform by using an upper computer, and simultaneously running signal simulation software corresponding to external signal simulation equipment; based on the in-loop test software and the signal simulation software, the knob operation of the driver is recognized. According to the signal injection method and system for the hardware-in-the-loop test of the knob type gear shifter, the external signal simulation equipment is adopted to simulate the signal of the Hall sensor and inject the signal, so that the automatic test of the gear shifter and the electronic gear shifting system is realized, the test content range of the HIL test is widened, and the HIL test is more comprehensive and effective.

Description

Signal injection method and system for hardware-in-loop test of knob type gear shifter
Technical Field
The invention relates to the technical field of automobile automatic testing, in particular to a signal injection method and a signal injection system for in-loop testing of hardware of a knob type gear shifter.
Background
With the rapid development of automobile electrification intellectualization and the research and application of intelligent driving assistance technology becoming more and more extensive, electronic gear shifting systems are beginning to be applied more and more. Although the gear shifting system has the advantages of attractive appearance and uniform gear shifting force, the number of risk points of the system is increased and the failure rate is greatly increased due to the increase of electronic and electric parts compared with a mechanical gear shifting system. Therefore, necessary and complete testing is very important in the development of electronic shift systems.
The hardware-in-loop test is a semi-physical simulation test technology widely adopted in the automobile industry at present, the technology takes functions as a center, the controller is accessed into a test system through an IO (input/output) interface of test equipment, the controller is placed in a simulated whole automobile environment to operate, and the technology has unique advantages in the aspects of limit test, failure test and development period shortening. In the signal injection process of the hardware-in-loop test of the conventional knob type gear shifter and the conventional electronic gear shifting system, the function of the gear shifter needs to be tested by manually rotating a knob, and the consistency and the robustness of the knob operation of a driver and the output of a controller cannot be deeply and comprehensively tested.
Therefore, a signal injection method and system for a knob shifter hardware-in-the-loop test is needed.
Disclosure of Invention
The invention aims to provide a signal injection method and a signal injection system for a hardware-in-loop test of a knob type gear shifter, which are used for solving the problems in the prior art, can simulate signals of a Hall sensor by external signal simulation equipment, and improve the accuracy and the coverage of the hardware-in-loop test.
The invention provides a signal injection method for a hardware-in-loop test of a knob type gear shifter, which comprises the following steps:
simulating signals of the Hall sensor through external signal simulation equipment;
providing the signal simulated by the external signal simulation equipment to a main chip of a control unit of the gear shifter so as to inject an operation simulation signal of a driver;
establishing communication connection between a main chip of the shifter control unit and a hardware-in-loop test platform;
running in-loop test software corresponding to the hardware-in-loop test platform by using an upper computer, and simultaneously running signal simulation software corresponding to the external signal simulation equipment;
and identifying the knob operation of the driver based on the in-loop test software and the signal simulation software.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter is preferably that the simulating of the signal of the hall sensor by the external signal simulation equipment specifically comprises:
the signal of the Hall sensor is simulated through the single chip microcomputer, wherein the single chip microcomputer adopts the same communication protocol as a chip of the Hall sensor integrated in the gear shifter control unit.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter is preferably that the simulating of the signal of the hall sensor by the external signal simulation equipment specifically comprises:
the single chip microcomputer waits for a simulation signal to send a request;
responding to a simulation signal sending request, and determining whether to send a virtual signal or not by the single chip microcomputer;
if not, determining whether to quit the simulation;
if not, returning to the step of waiting for the simulation signal sending request;
if yes, the signal injection process is ended.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter is preferably configured to provide the signal simulated by the external signal simulation device to a main chip of a control unit of the gear shifter to inject the operation simulation signal of the driver, and specifically includes:
the single chip microcomputer transmits the simulated signal to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of the integrated Hall sensor in the gear shifter control unit.
The signal injection method for the hardware-in-the-loop test of the knob type shifter is preferably configured to establish a communication link between a main chip of the shifter control unit and a hardware-in-the-loop test platform, and specifically includes:
and a main chip of the gear shifter control unit is in communication connection with the hardware-in-the-loop test platform through a hard wire and a CAN bus.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter as described above, wherein preferably, the running of the in-loop test software corresponding to the hardware-in-the-loop test platform by using the upper computer and the running of the signal simulation software corresponding to the external signal simulation device include:
if the single chip microcomputer determines to send the virtual signal, the single chip microcomputer reads a set knob operation parameter value through an API (application program interface);
and the single chip microcomputer sends the set knob operation parameter value to a main chip of the gear shifter control unit.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter as described above, wherein preferably, when the single chip determines to send the virtual signal, the reading, by the single chip via the API interface, of the set knob operation parameter value includes:
in the host computer, the in-loop test software corresponding to the hardware in-loop test platform carries out interface calling through an API interface and the signal simulation software corresponding to the single chip microcomputer so as to read set knob operation parameter values, and the method specifically comprises the following steps:
configuring an API interface calling path in the in-loop test software in advance during testing;
when the operation of a driver needs to be simulated, setting relevant parameters of knob operation in the in-loop test software;
and the in-loop test software transmits a signal simulation request and simulation target parameters related to knob operation to the single chip microcomputer through an API (application programming interface).
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter is preferably configured such that the single chip sends the set knob operation parameter value to a main chip of the gear shifter control unit, and specifically includes:
and the single chip microcomputer transmits the simulation target parameters to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of an integrated Hall sensor in the gear shifter control unit.
The signal injection method for the hardware-in-the-loop test of the knob type gear shifter is preferably configured to identify the knob operation of the driver based on the in-the-loop test software and the signal simulation software, and specifically includes:
and the main chip of the gear shifter control unit analyzes the simulation target parameters to identify and obtain the knob operation of the driver.
The invention also provides a signal injection system for the hardware-in-the-loop test of the knob type gear shifter by adopting the method, which comprises the following steps:
the external signal simulation equipment is used for simulating signals of the Hall sensor;
the gear shifter control unit comprises a main chip and an integrated Hall sensor chip, wherein the main chip is in communication connection with the external signal simulation equipment and is used for receiving a signal simulated by the external signal simulation equipment, and a Hall sensor is integrated in the integrated Hall sensor chip;
the hardware-in-the-loop test platform is in communication connection with the main chip of the gear shifter control unit;
the upper computer is in communication connection with the hardware-in-loop test platform and the external signal simulation equipment, and is used for running in-loop test software corresponding to the hardware-in-loop test platform and running signal simulation software corresponding to the external signal simulation equipment at the same time;
the main chip of the shifter control unit is further configured to recognize a knob operation of a driver based on the in-loop test software and the signal simulation software.
The invention provides a signal injection method and a system for hardware-in-the-loop testing of a knob type gear shifter, which adopts external signal simulation equipment to simulate signals of a Hall sensor and carry out signal injection, realizes the automatic testing of the gear shifter and an electronic gear shifting system, widens the testing content range of HIL testing, makes the HIL testing more comprehensive and effective, and can solve the problem that the automatic testing cannot be carried out due to the use of a real gear shifter in the HIL testing process of the electronic gear shifting system; the external signal simulation equipment simulates a communication protocol between GSM internal chips and provides a simulated signal to a main chip of the shifter control unit by adopting the same communication protocol as the original chip, so that the problem of testing the shifter control unit and an electronic shift system from the aspect of simulating a manual knob of a driver is solved, and the testing accuracy and the testing coverage are improved; meanwhile, communication can be established with a hardware-in-loop test platform through an API (application programming interface), automatic test is realized, the problem of hardware-in-loop test of a controller adopting an integrated Hall sensor chip is solved, and automatic test of input and output characteristics of the controller can be realized.
Drawings
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the accompanying drawings, in which:
FIG. 1 is a flow chart of an embodiment of a signal injection method for a knob shifter hardware in-loop test provided by the present invention;
FIG. 2 is a schematic diagram of an embodiment of a signal injection system for a knob shifter hardware in-loop test provided in the present invention;
fig. 3 is a block diagram of a signal injection system for a knob shifter hardware-in-the-loop test according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials, numerical expressions and numerical values set forth in these embodiments are to be construed as merely illustrative, and not as limitative, unless specifically stated otherwise.
As used in this disclosure, "first", "second": and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element preceding the word covers the element listed after the word, and does not exclude the possibility that other elements are also covered. "upper", "lower", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In the present disclosure, when a specific component is described as being located between a first component and a second component, there may or may not be intervening components between the specific component and the first component or the second component. When it is described that a specific component is connected to other components, the specific component may be directly connected to the other components without having an intervening component, or may be directly connected to the other components without having an intervening component.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
Electronic gear shifting system shifters currently on the market include pocket-type, rocker-type, knob-type and push-button type. For a knob type gear shifter, a controller of the knob type gear shifter generally senses the rotation displacement or angle of a knob through a Hall sensor so as to recognize operation information of a driver. When the controller is tested for functions, the sensor voltage can be provided to the GSM main chip by simulating the voltage of the Hall sensor by using HIL test equipment, so that the purpose of testing the input and output characteristics and functions of the controller is realized.
Some selector's signal acquisition mode on the existing market is more complicated, and its inside adopts integrated form hall sensor, and the sensor is integrated with signal acquisition chip promptly, and signal acquisition chip adopts specific communication protocol to carry out the signal interaction with selector control unit's main chip, and the driver operating information is discerned according to the information that the chip provided to the main chip. For the controller, when hardware-in-loop test is performed, the function of the shifter can be tested only by manually rotating the knob, and the consistency and robustness of the knob operation of a driver and the output of the controller cannot be deeply and comprehensively tested. When the hardware of the electronic gear shifting system is tested in a ring mode, the problem that a test case needs to be executed by manually rotating a knob is also solved, and the test efficiency is low.
As shown in fig. 1 and fig. 2, in the actual implementation process of the signal injection method for the hardware-in-the-loop test of the knob type shifter provided in this embodiment, the method specifically includes the following steps:
and step S1, simulating the signal of the Hall sensor through the external signal simulation equipment.
In the invention, a signal of the Hall sensor is simulated through the single chip microcomputer, wherein the single chip microcomputer adopts the same communication protocol as a chip of the Hall sensor integrated in the control unit of the gear shifter.
In an embodiment of the signal injection method for the knob type shifter hardware in the loop test of the present invention, as shown in fig. 2, the step S1 may specifically include:
and step S11, the single chip microcomputer waits for a simulation signal sending request.
And step S12, responding to the simulation signal sending request, and the single chip microcomputer determines whether to send a virtual signal.
And step S13, if not, determining whether to quit the simulation.
Step S14, if not, returns to the step of waiting for the request for sending the simulation signal.
And step S15, if yes, ending the signal injection process.
And step S2, providing the signal simulated by the external signal simulation device to a main chip of a shifter control unit (GSM) so as to inject an operation simulation signal of a driver.
Specifically, the single chip microcomputer transmits the simulated signal to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of a Hall sensor integrated in the gear shifter control unit.
And step S3, establishing communication connection between a main chip of the control unit of the gear shifter and a Hardware In Loop (HIL) test platform.
The HIL test platform comprises a real-time processor, a board card and the like. Specifically, a main chip of the gear shifter control unit is in communication connection with the hardware-in-the-loop test platform through a hard wire and a CAN bus.
And step S4, running in-loop test software corresponding to the hardware-in-loop test platform by using an upper computer, and simultaneously running signal simulation software corresponding to the external signal simulation equipment.
In an embodiment of the signal injection method for the knob type shifter hardware in-loop test of the present invention, the step S4 may specifically include:
and step S41, if the single chip microcomputer determines to send the virtual signal, the single chip microcomputer reads the set knob operation parameter value through the API interface.
In an embodiment of the signal injection method for the knob type shifter hardware in-loop test of the present invention, the step S41 may specifically include:
and S411, in the upper computer, carrying out interface calling on in-loop test software corresponding to the hardware in-loop test platform through an API (application programming interface) interface and signal simulation software corresponding to the single chip microcomputer so as to read set knob operation parameter values.
In an embodiment of the signal injection method for the knob type shifter hardware in-loop test of the present invention, the step S411 may specifically include:
step S4111, configuring an API interface calling path in the ring test software in advance during testing.
And step S4112, setting relevant parameters of knob operation in the ring test software when the operation of a driver needs to be simulated.
Step S4113, the in-loop test software transmits the signal simulation request and the simulation target parameters related to the knob operation to the single chip microcomputer through an API (application program interface).
And step S42, the single chip microcomputer sends the set knob operation parameter value to a main chip of the gear shifter control unit.
The external signal simulation equipment transmits the parameters to the GSM main chip through a specific communication protocol. Specifically, the single chip microcomputer transmits the simulation target parameters to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of a Hall sensor integrated in the gear shifter control unit.
And step S5, recognizing the knob operation of the driver based on the in-loop test software and the signal simulation software.
Specifically, the main chip of the shifter control unit analyzes the simulation target parameter to identify and obtain the knob operation of the driver.
So that the main chip analyzes the knob operation variable, and further identifies the knob operation of the driver.
According to the signal injection method for the hardware-in-the-loop test of the knob type gear shifter, provided by the embodiment of the invention, the external signal simulation equipment is adopted to simulate the signal of the Hall sensor and perform signal injection, so that the automatic test of the gear shifter and the electronic gear shifting system is realized, the test content range of the HIL test is widened, the HIL test is more comprehensive and effective, and the problem that the automatic test cannot be performed due to the use of a real gear shifter in the HIL test process of the electronic gear shifting system can be solved; the external signal simulation equipment simulates a communication protocol between GSM internal chips and provides a simulated signal to a main chip of the shifter control unit by adopting the same communication protocol as the original chip, so that the problem of testing the shifter control unit and an electronic shift system from the aspect of simulating a manual knob of a driver is solved, and the testing accuracy and the testing coverage are improved; meanwhile, communication can be established with a hardware-in-loop test platform through an API (application programming interface), automatic test is realized, the problem of hardware-in-loop test of a controller adopting an integrated Hall sensor chip is solved, and automatic test of input and output characteristics of the controller can be realized.
Accordingly, as shown in fig. 3, the present invention further provides a signal injection system for a knob shifter hardware-in-the-loop test, comprising:
the external signal simulation device 1 is used for simulating signals of the Hall sensor;
the shifter control unit 4 comprises a main chip 41 and an integrated hall sensor chip 42, wherein the main chip 41 is in communication connection with the external signal simulation device 1 and is used for receiving signals simulated by the external signal simulation device 1, and a hall sensor is integrated in the integrated hall sensor chip 42;
the hardware-in-the-loop test platform 3 is in communication connection with the main chip 41 of the gear shifter control unit 4;
the upper computer 2 is in communication connection with the hardware-in-loop test platform 3 and the external signal simulation equipment, and is used for running in-loop test software corresponding to the hardware-in-loop test platform 3 and running signal simulation software corresponding to the external signal simulation equipment 1;
the main chip 41 of the shifter control unit 4 is also used to recognize the knob operation of the driver based on the in-loop test software and the signal simulation software.
According to the signal injection system for the hardware-in-the-loop test of the knob type gear shifter, provided by the embodiment of the invention, the external signal simulation equipment is adopted to simulate the signal of the Hall sensor and inject the signal, so that the automatic test of the gear shifter and the electronic gear shifting system is realized, the test content range of the HIL test is widened, the HIL test is more comprehensive and effective, and the problem that the automatic test cannot be executed due to the use of a real gear shifter in the HIL test process of the electronic gear shifting system can be solved; the external signal simulation equipment simulates a communication protocol between GSM internal chips and provides a simulated signal to a main chip of the shifter control unit by adopting the same communication protocol as the original chip, so that the problem of testing the shifter control unit and an electronic shift system from the aspect of simulating a manual knob of a driver is solved, and the testing accuracy and the testing coverage are improved; meanwhile, communication can be established with a hardware-in-loop test platform through an API (application programming interface), automatic test is realized, the problem of hardware-in-loop test of a controller adopting an integrated Hall sensor chip is solved, and automatic test of input and output characteristics of the controller can be realized.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made in the above embodiments or equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (10)

1. A signal injection method for a knob shifter hardware-in-the-loop test, comprising:
simulating signals of the Hall sensor through external signal simulation equipment;
providing the signal simulated by the external signal simulation equipment to a main chip of a control unit of the gear shifter so as to inject an operation simulation signal of a driver;
establishing communication connection between a main chip of the shifter control unit and a hardware-in-loop test platform;
running in-loop test software corresponding to the hardware-in-loop test platform by using an upper computer, and simultaneously running signal simulation software corresponding to the external signal simulation equipment;
and identifying the knob operation of the driver based on the in-loop test software and the signal simulation software.
2. The signal injection method for the knob type shifter hardware-in-the-loop test according to claim 1, wherein the simulating the signal of the hall sensor by the external signal simulation device specifically comprises:
the signal of the Hall sensor is simulated through the single chip microcomputer, wherein the single chip microcomputer adopts the same communication protocol as a chip of the Hall sensor integrated in the gear shifter control unit.
3. The signal injection method for the knob type shifter hardware-in-the-loop test as set forth in claim 2, wherein the simulating the signal of the hall sensor by the external signal simulation device specifically comprises:
the single chip microcomputer waits for a simulation signal to send a request;
responding to a simulation signal sending request, and determining whether to send a virtual signal or not by the single chip microcomputer;
if not, determining whether to quit the simulation;
if not, returning to the step of waiting for the simulation signal sending request;
if yes, the signal injection process is ended.
4. The signal injection method for the knob type shifter hardware-in-the-loop test as claimed in claim 2, wherein the signal simulated by the external signal simulation device is provided to a main chip of a shifter control unit to inject the operation simulation signal of the driver, specifically comprising:
the single chip microcomputer transmits the simulated signal to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of the integrated Hall sensor in the gear shifter control unit.
5. The signal injection method for the hardware-in-the-loop test of the knob type shifter as claimed in claim 1, wherein the establishing of the communication connection between the main chip of the shifter control unit and the hardware-in-the-loop test platform specifically comprises:
and a main chip of the gear shifter control unit is in communication connection with the hardware-in-the-loop test platform through a hard wire and a CAN bus.
6. The signal injection method for the hardware-in-the-loop test of the knob type shifter according to claim 3, wherein the running of the in-the-loop test software corresponding to the hardware-in-the-loop test platform by using the upper computer and the running of the signal simulation software corresponding to the external signal simulation device comprises:
if the single chip microcomputer determines to send the virtual signal, the single chip microcomputer reads a set knob operation parameter value through an API (application program interface);
and the single chip microcomputer sends the set knob operation parameter value to a main chip of the gear shifter control unit.
7. The signal injection method for knob shifter hardware-in-the-loop test as set forth in claim 6, wherein reading the set knob operation parameter values by the single chip microcomputer through an API interface when the single chip microcomputer determines to send the virtual signal comprises:
in the host computer, the in-loop test software corresponding to the hardware in-loop test platform carries out interface calling through an API interface and the signal simulation software corresponding to the single chip microcomputer so as to read set knob operation parameter values, and the method specifically comprises the following steps:
configuring an API interface calling path in the in-loop test software in advance during testing;
when the operation of a driver needs to be simulated, setting relevant parameters of knob operation in the in-loop test software;
and the in-loop test software transmits a signal simulation request and simulation target parameters related to knob operation to the single chip microcomputer through an API (application programming interface).
8. The signal injection method for the knob type shifter hardware-in-the-loop test as claimed in claim 6, wherein the sending of the set knob operation parameter value to the main chip of the shifter control unit by the single chip microcomputer specifically comprises:
and the single chip microcomputer transmits the simulation target parameters to a main chip of the gear shifter control unit through a communication protocol which is the same as that of a chip of an integrated Hall sensor in the gear shifter control unit.
9. The signal injection method for the knob type shifter hardware-in-the-loop test according to claim 8, wherein the identifying the knob operation of the driver based on the in-the-loop test software and the signal simulation software specifically comprises:
and the main chip of the gear shifter control unit analyzes the simulation target parameters to identify and obtain the knob operation of the driver.
10. A signal injection system for knob shifter hardware in-the-loop testing, comprising:
the external signal simulation equipment is used for simulating signals of the Hall sensor;
the gear shifter control unit comprises a main chip and an integrated Hall sensor chip, wherein the main chip is in communication connection with the external signal simulation equipment and is used for receiving a signal simulated by the external signal simulation equipment, and a Hall sensor is integrated in the integrated Hall sensor chip;
the hardware-in-the-loop test platform is in communication connection with the main chip of the gear shifter control unit;
the upper computer is in communication connection with the hardware-in-loop test platform and the external signal simulation equipment, and is used for running in-loop test software corresponding to the hardware-in-loop test platform and running signal simulation software corresponding to the external signal simulation equipment at the same time;
the main chip of the shifter control unit is further configured to recognize a knob operation of a driver based on the in-loop test software and the signal simulation software.
CN202111410152.5A 2021-11-19 2021-11-19 Signal injection method and system for hardware-in-loop test of knob type gear shifter Pending CN114035558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111410152.5A CN114035558A (en) 2021-11-19 2021-11-19 Signal injection method and system for hardware-in-loop test of knob type gear shifter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111410152.5A CN114035558A (en) 2021-11-19 2021-11-19 Signal injection method and system for hardware-in-loop test of knob type gear shifter

Publications (1)

Publication Number Publication Date
CN114035558A true CN114035558A (en) 2022-02-11

Family

ID=80138708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111410152.5A Pending CN114035558A (en) 2021-11-19 2021-11-19 Signal injection method and system for hardware-in-loop test of knob type gear shifter

Country Status (1)

Country Link
CN (1) CN114035558A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967657A (en) * 2022-06-15 2022-08-30 一汽奔腾轿车有限公司 Position sensor simulation method and EGSM hardware-in-loop test system
CN115729218A (en) * 2022-11-28 2023-03-03 重庆长安汽车股份有限公司 Model testing method, device, equipment and medium for multiple gear shifting modes

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017211433A1 (en) * 2017-07-05 2019-01-10 Audi Ag Method for performing a functional test of a control unit in a hardware-in-the-loop test, HIL test, and HIL test bench and control unit
CN110261128A (en) * 2019-04-28 2019-09-20 广汽零部件有限公司 A kind of offline self study of automobile automatic gear knob selector and shift detection method
CN111781910A (en) * 2020-06-16 2020-10-16 中国第一汽车股份有限公司 Automatic testing arrangement based on automotive electronics shift system
CN112857829A (en) * 2021-01-18 2021-05-28 广汽零部件有限公司 Environmental durability test system and method of gear shifter actuator and storage medium
CN113341937A (en) * 2021-06-29 2021-09-03 安徽江淮汽车集团股份有限公司 Signal injection method for hardware-in-loop test of electronic gear shifting system
CN114967657A (en) * 2022-06-15 2022-08-30 一汽奔腾轿车有限公司 Position sensor simulation method and EGSM hardware-in-loop test system
WO2022198550A1 (en) * 2021-03-25 2022-09-29 华为技术有限公司 Testing system, vehicle simulation apparatus, testing apparatus and testing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102017211433A1 (en) * 2017-07-05 2019-01-10 Audi Ag Method for performing a functional test of a control unit in a hardware-in-the-loop test, HIL test, and HIL test bench and control unit
CN110261128A (en) * 2019-04-28 2019-09-20 广汽零部件有限公司 A kind of offline self study of automobile automatic gear knob selector and shift detection method
CN111781910A (en) * 2020-06-16 2020-10-16 中国第一汽车股份有限公司 Automatic testing arrangement based on automotive electronics shift system
CN112857829A (en) * 2021-01-18 2021-05-28 广汽零部件有限公司 Environmental durability test system and method of gear shifter actuator and storage medium
WO2022198550A1 (en) * 2021-03-25 2022-09-29 华为技术有限公司 Testing system, vehicle simulation apparatus, testing apparatus and testing method
CN113341937A (en) * 2021-06-29 2021-09-03 安徽江淮汽车集团股份有限公司 Signal injection method for hardware-in-loop test of electronic gear shifting system
CN114967657A (en) * 2022-06-15 2022-08-30 一汽奔腾轿车有限公司 Position sensor simulation method and EGSM hardware-in-loop test system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114967657A (en) * 2022-06-15 2022-08-30 一汽奔腾轿车有限公司 Position sensor simulation method and EGSM hardware-in-loop test system
WO2023240870A1 (en) * 2022-06-15 2023-12-21 一汽奔腾轿车有限公司 Simulation method for position sensor, and hardware-in-loop egsm test system
CN115729218A (en) * 2022-11-28 2023-03-03 重庆长安汽车股份有限公司 Model testing method, device, equipment and medium for multiple gear shifting modes

Similar Documents

Publication Publication Date Title
CN105866575B (en) Vehicle-mounted display comprehensive testing device and testing method
CN114035558A (en) Signal injection method and system for hardware-in-loop test of knob type gear shifter
CN108959068B (en) Software interface testing method, device and storage medium
CN111064628B (en) CAN bus automatic test system
CN100511171C (en) Test approach for debugging serial port function with single board and system thereof
CN104483959A (en) Fault simulation and test system
CN103412817B (en) Automatic test script Off Line Debugging Method and system
CN111444103B (en) Web page automatic testing method and related equipment
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
US9940297B2 (en) Method for manipulating the bus communication of a control device
CN112860559B (en) Upgrade test system and method
CN207541496U (en) A kind of automated diagnostic tester device based on vehicle body domain controller
CN100440162C (en) Embedded apparatus debugging method
CN116996429A (en) Automatic test method, system, device, equipment and medium for communication instrument
CN108490911A (en) The test method of BCU nodes in a kind of PTCAN based on ECU-TEST
CN109902001B (en) Method for detecting uninitialized variable and terminal equipment
CN116841874A (en) Test method and device for unified diagnosis service function, storage medium and electronic equipment
US20040177344A1 (en) Debugging method for the keyboard controller code
CN106019021A (en) Universal test tool of electronic device test device and test method of universal test tool
CN113472611A (en) Method and device for acquiring WiFi signal strength and readable storage medium
CN106446400B (en) Method and device for testing performance of electromechanical system
CN111352780A (en) Method and device for determining state of path and readable storage medium
CN113805559A (en) Control parameter processing method, device and equipment
US10268625B2 (en) Signal path verification device
CN217467060U (en) GPIO interface test circuit and MCU automatic system

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