CN113341240B - Function test equipment and method for vehicle-mounted electronic product - Google Patents

Function test equipment and method for vehicle-mounted electronic product Download PDF

Info

Publication number
CN113341240B
CN113341240B CN202110430407.8A CN202110430407A CN113341240B CN 113341240 B CN113341240 B CN 113341240B CN 202110430407 A CN202110430407 A CN 202110430407A CN 113341240 B CN113341240 B CN 113341240B
Authority
CN
China
Prior art keywords
vehicle
electronic product
excitation
output
mounted electronic
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
CN202110430407.8A
Other languages
Chinese (zh)
Other versions
CN113341240A (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.)
Guangzhou Yame Information Technology Co ltd
Original Assignee
Guangzhou Yame Information Technology 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 Guangzhou Yame Information Technology Co ltd filed Critical Guangzhou Yame Information Technology Co ltd
Priority to CN202110430407.8A priority Critical patent/CN113341240B/en
Publication of CN113341240A publication Critical patent/CN113341240A/en
Application granted granted Critical
Publication of CN113341240B publication Critical patent/CN113341240B/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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The application relates to a function test device and a method of a vehicle-mounted electronic product. The function test equipment of the vehicle-mounted electronic product comprises a controller and excitation output equipment used for connecting the vehicle-mounted electronic product to be tested; the excitation output equipment comprises voltage simulation equipment, vibration simulation equipment, rotating speed simulation equipment and audio simulation equipment; the controller is respectively connected with the voltage simulation equipment, the vibration simulation equipment, the rotating speed simulation equipment and the audio simulation equipment; the controller instructs the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: starting voltage excitation output by the voltage simulation equipment, vibration excitation output by the vibration simulation equipment, rotating speed excitation output by the rotating speed simulation equipment and sound excitation output by the audio simulation equipment; the controller obtains the feedback signal and outputs a function test result according to the feedback signal.

Description

Function test equipment and method for vehicle-mounted electronic product
Technical Field
The present disclosure relates to the field of functional testing technologies for vehicle-mounted electronic products, and in particular, to a functional testing apparatus and method for a vehicle-mounted electronic product.
Background
With the development of the automobile industry, many electronic products applied to automobiles have the function of intelligently identifying the ignition and starting of the automobiles. Through this function, the electronic product can operate in the case of the ignition start of the automobile.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the traditional function test equipment has the problems of single test excitation and low test efficiency.
Disclosure of Invention
In view of the above, it is necessary to provide a function testing apparatus and method for an in-vehicle electronic product, which can improve testing efficiency.
In order to achieve the above object, in one aspect, an embodiment of the present invention provides a function testing device for a vehicle-mounted electronic product, including a controller, and an excitation output device for connecting to the vehicle-mounted electronic product to be tested;
the stimulus output device comprises any one or any combination of the following devices: the device comprises a voltage simulation device, a vibration simulation device, a rotating speed simulation device and an audio simulation device; the controller is respectively connected with the voltage simulation equipment, the vibration simulation equipment, the rotating speed simulation equipment and the audio simulation equipment;
the controller instructs the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: starting voltage excitation output by the voltage simulation equipment, vibration excitation output by the vibration simulation equipment, rotating speed excitation output by the rotating speed simulation equipment and sound excitation output by the audio simulation equipment;
the controller acquires the feedback signal and outputs a function test result according to the feedback signal.
In one embodiment, the voltage simulation device comprises a digital adjustable resistance module and a power supply module;
the digital adjustable resistance module is respectively connected with the power supply module and the controller; the power module is respectively connected with the controller and the vehicle-mounted electronic product to be tested.
In one embodiment, the power module comprises a power chip, an inductor L1, an inductor L2, a feedback resistor R1, a feedback resistor R2 and a freewheeling diode D1;
the voltage input end of the power supply chip is used for accessing input voltage and is connected with the first end of the inductor L1, and the other end of the inductor L1 is respectively connected with the first output end of the power supply chip, the second output end of the power supply chip, one end of the inductor L2 and the anode of the fly-wheel diode D1; the other end of the inductor L2 is grounded; the negative electrode of the freewheeling diode D1 is respectively connected with one end of the feedback resistor R1 and is used for being connected with a vehicle-mounted electronic product to be tested; the other end of the feedback resistor R1 is respectively connected with the feedback end of the power supply chip and the first output end of the digital adjustable resistor module; one end of the feedback resistor R2 is grounded, and the other end of the feedback resistor R2 is connected with the second output end of the digital adjustable resistor module.
In one embodiment, a vibration simulation apparatus includes a motor driving circuit and a vibration motor;
the input end of the motor driving circuit is connected with the controller, and the output end of the motor driving circuit is connected with the vibration motor; the audio analog circuit comprises an audio amplifier and a sound playing device;
the controller is connected with the sound playing device through the audio amplifier.
In one embodiment, the rotational speed simulation device comprises a transceiver circuit;
one end of the transceiver circuit is connected with the controller, and the other end of the transceiver circuit is used for connecting the vehicle-mounted electronic product to be tested.
In one embodiment, the transceiver circuit comprises a CAN transceiver and/or a K-wire transceiver circuit;
the controller transmits an engine rotating speed signal to the vehicle-mounted electronic product to be tested through the CAN transceiver, and receives a feedback signal of the vehicle-mounted electronic product to be tested through the CAN transceiver; and/or the controller transmits an engine rotating speed signal to the vehicle-mounted electronic product to be tested through the K line transceiving circuit and receives a feedback signal of the vehicle-mounted electronic product to be tested through the K line transceiving circuit.
On the other hand, the embodiment of the invention also provides a function test method of a vehicle-mounted electronic product, which is applied to the function test equipment of the vehicle-mounted electronic product, and the method comprises the following steps:
indicating the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: starting voltage excitation output by the voltage simulation equipment, vibration excitation output by the vibration simulation equipment, rotating speed excitation output by the rotating speed simulation equipment and sound excitation output by the audio simulation equipment;
and acquiring a feedback signal, and outputting a function test result according to the feedback signal.
In one embodiment, the vehicle start stimulus comprises a negative test stimulus; the feedback signal comprises a first feedback signal corresponding to a negative test stimulus;
the step of indicating the excitation output equipment to output the automobile starting excitation to the vehicle-mounted electronic product to be tested comprises the following steps:
the excitation output equipment is indicated to output negative test excitation to the vehicle-mounted electronic product to be tested;
the steps of obtaining the feedback signal and outputting the function test result according to the feedback signal include:
according to the first feedback signal, whether the vehicle-mounted electronic product to be tested is started successfully is confirmed;
and if the vehicle-mounted electronic product to be tested is started successfully, outputting an ignition recognition function abnormity.
In one embodiment, the vehicle launch stimulus further comprises a positive test stimulus; the feedback signal further comprises a second feedback signal corresponding to the positive test stimulus; further comprising the steps of:
if the vehicle-mounted electronic product to be tested fails to start, indicating the excitation output equipment to output a front test excitation to the vehicle-mounted electronic product to be tested;
acquiring the current voltage of the vehicle-mounted electronic product to be tested, and determining whether the vehicle-mounted electronic product to be tested is started successfully or not according to the second feedback signal;
and if the current voltage is in the normal range and the vehicle-mounted electronic product to be tested is successfully started, the output ignition recognition function is normal.
In one embodiment, the method further comprises the following steps:
if the current voltage is in the abnormal range, outputting an ignition recognition function abnormal;
and if the vehicle-mounted electronic product to be tested fails to be started, outputting an ignition recognition function abnormity.
One of the above technical solutions has the following advantages and beneficial effects:
the functional test equipment of the vehicle-mounted electronic product has comprehensive output test excitation coverage and can be used for testing equipment related to different ignition detections. The controller can determine the automobile starting excitation required to be output according to actual needs, and the flexibility of the testing equipment is high. Meanwhile, the controller can simulate the excitation of successful ignition and the excitation of failed ignition (namely the front test excitation and the back test excitation) through the excitation output equipment, so that the accuracy of the function test is improved. In addition, the function test equipment of this application compares in the scheme that adopts artifical judgement oscilloscope's wave form of tradition, has improved efficiency of software testing and test accuracy.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular description of preferred embodiments of the application, as illustrated in the accompanying drawings. Like reference numerals refer to like parts throughout the drawings, and the drawings are not intended to be drawn to scale in actual dimensions, emphasis instead being placed upon illustrating the subject matter of the present application.
FIG. 1 is a first schematic block diagram of a function test apparatus of an in-vehicle electronic product according to an embodiment;
FIG. 2 is a first schematic block diagram of a function test apparatus of an in-vehicle electronic product according to an embodiment;
FIG. 3 is a voltage diagram during start-up of an automobile according to one embodiment;
FIG. 4 is a first schematic circuit diagram of a power supply module in one embodiment;
FIG. 5 is a second schematic circuit diagram of a power supply module in one embodiment;
FIG. 6 is a circuit diagram of a digitally tunable resistance module in one embodiment;
FIG. 7 is a third schematic block diagram of a function test apparatus of an in-vehicle electronic product according to an embodiment;
FIG. 8 is a circuit diagram of a motor drive circuit in one embodiment;
FIG. 9 is a circuit diagram of a CAN transceiver in one embodiment;
FIG. 10 is a circuit diagram of a K-wire transceiver circuit in one embodiment;
FIG. 11 is a first schematic flowchart illustrating a method for testing functions of an in-vehicle electronic device according to an embodiment;
FIG. 12 is a second schematic flowchart illustrating a method for testing functions of an in-vehicle electronic device according to an embodiment;
FIG. 13 is a third schematic flowchart illustrating a method for testing the functionality of an in-vehicle electronic device according to an embodiment;
fig. 14 is a block diagram showing a function testing apparatus for an in-vehicle electronic product according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It is to be understood that "connection" in the following embodiments is to be understood as "electrical connection", "communication connection", and the like if the connected circuits, modules, units, and the like have communication of electrical signals or data with each other.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," or "having," and the like, specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof. Also, as used in this specification, the term "and/or" includes any and all combinations of the associated listed items.
In one embodiment, as shown in fig. 1, a function testing device of an in-vehicle electronic product is provided, which includes a controller, and an excitation output device for connecting to the in-vehicle electronic product to be tested;
the stimulus output device comprises any one or any combination of the following devices: the device comprises a voltage simulation device, a vibration simulation device, a rotating speed simulation device and an audio simulation device; the controller is respectively connected with the voltage simulation equipment, the vibration simulation equipment, the rotating speed simulation equipment and the audio simulation equipment;
the controller instructs the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: the method comprises the following steps of starting voltage excitation output by voltage simulation equipment, vibration excitation output by vibration simulation equipment, rotating speed excitation output by rotating speed simulation equipment and sound excitation output by audio simulation equipment;
the controller acquires the feedback signal and outputs a function test result according to the feedback signal.
The type of the controller is not limited, and the controller may be set according to an actual application, for example, the controller may be a general Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc.
The vehicle start stimulus may include a front test stimulus and a back test stimulus; the front test excitation is the excitation output when the automobile is successfully started, and the back test excitation is the excitation output when the automobile is failed to start.
The excitation output device is used for outputting automobile starting excitation to the vehicle-mounted electronic product to be tested, can be any device capable of outputting corresponding excitation, and can include any one or any combination of the following devices: the device comprises a voltage simulation device, a vibration simulation device, a rotating speed simulation device and an audio simulation device. For example: the device can comprise a voltage simulation device and a vibration simulation device, and also can comprise a rotating speed simulation device, an audio simulation device and a voltage simulation device; vibration simulation equipment and the like may also be included. The stimulus may include a physical stimulus and a stimulus of an electrical signal. For example, the physical excitation may comprise mechanical excitation of vibration, and the excitation of the electrical signal may comprise signal excitation such as voltage. The voltage simulating device may be any device in the art capable of outputting a starting voltage stimulus. The starting voltage excitation is voltage excitation which is output when the automobile is started, can be voltage excitation which is output when the automobile is successfully started, and can also be voltage excitation which is output when the automobile is failed to be started. The vibration simulation device may be any device capable of outputting vibration excitation to the vehicle-mounted electronic product to be tested in the field. The vibration excitation is vibration excitation of an automobile body when the automobile is started, can be vibration excitation output when the automobile is successfully started, and can also be vibration excitation output when the automobile is failed to be started. The rotating speed simulation device is any device capable of simulating the engine rotating speed excitation when the automobile is started. The rotating speed excitation can be rotating speed excitation output when the automobile is successfully started or rotating speed excitation output when the automobile is failed to be started. The audio simulation device may be any device in the art capable of simulating the sound stimulus emitted when the vehicle is started. The voice stimulus can be a voice stimulus which is output successfully when the automobile starts, and can be a voice stimulus which is output when the automobile fails to start.
Specifically, the vehicle-mounted electronic product tested by the method has the function of intelligently identifying the ignition starting of the automobile, and meanwhile, the function of the function testing equipment tested by the method is also the function. The controller instructs the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested, and the vehicle-mounted electronic product to be tested receiving the automobile starting excitation can output a feedback signal corresponding to the starting excitation under normal conditions. For example, under the condition that the vehicle-mounted electronic product to be tested is normal, if the controller instructs the excitation output device to output the successful excitation of starting to the vehicle-mounted electronic product to be tested, the vehicle-mounted electronic product to be tested should be started and start success information is fed back; and if the controller indicates the excitation output equipment to output the failed start excitation to the vehicle-mounted electronic product to be tested, the vehicle-mounted electronic product to be tested should not be started and start failure information is fed back. It should be noted that the vehicle start-up stimulus may be any one or any combination of the following: the system comprises a starting voltage excitation output by a voltage simulation device, a vibration excitation output by a vibration simulation device, a rotating speed excitation output by a rotating speed simulation device and a sound excitation output by an audio simulation device.
The controller may output the function test result according to the acquired feedback signal. In a specific example, the controller instructs the excitation output device to output a successful start excitation (or called a front test excitation) to the vehicle-mounted electronic product to be tested, if the vehicle-mounted electronic product to be tested is started and feeds back the successful start information, the function of the vehicle-mounted electronic product to be tested is proved to be normal, and if the vehicle-mounted electronic product to be tested feeds back the failed start information, the function of the vehicle-mounted electronic product to be tested is proved to be abnormal.
In another example, the vehicle start stimulus comprises a negative test stimulus; the feedback signal comprises a first feedback signal corresponding to a negative test stimulus; the step that the controller instructs the excitation output equipment to output the automobile starting excitation to the vehicle-mounted electronic product to be tested comprises the following steps: the controller instructs the excitation output equipment to output negative test excitation to the vehicle-mounted electronic product to be tested; the step that the controller obtains the feedback signal and outputs the function test result according to the feedback signal comprises the following steps: the controller confirms whether the vehicle-mounted electronic product to be tested is started successfully or not according to the first feedback signal; and if the vehicle-mounted electronic product to be tested is successfully started, the controller outputs an ignition recognition function to be abnormal. Further, the automobile starting stimulus also comprises a front test stimulus; the feedback signal further comprises a second feedback signal corresponding to the positive test stimulus; if the vehicle-mounted electronic product to be tested fails to start, the controller instructs the excitation output equipment to output a front test excitation to the vehicle-mounted electronic product to be tested; the controller acquires the current voltage of the vehicle-mounted electronic product to be tested and confirms whether the vehicle-mounted electronic product to be tested is started successfully or not according to the first feedback signal; and if the current voltage is in the normal range and the vehicle-mounted electronic product to be tested is successfully started, the controller outputs an ignition recognition function to be normal.
The functional test equipment of the vehicle-mounted electronic product has comprehensive output test excitation coverage and can be used for testing equipment related to different ignition detections. The controller can determine the automobile starting excitation required to be output according to actual needs, and the flexibility of the testing equipment is high. Meanwhile, the controller can simulate the excitation of successful ignition and the excitation of failed ignition (namely the front test excitation and the back test excitation) through the excitation output equipment, so that the accuracy of the function test is improved. In addition, the function test equipment of this application compares in the scheme that adopts artifical judgement oscilloscope's wave form of tradition, has improved efficiency of software testing and test accuracy.
In one embodiment, as shown in fig. 2, the voltage analog device includes a digital adjustable resistance module and a power supply module;
the digital adjustable resistance module is respectively connected with the power supply module and the controller; the power module is respectively connected with the controller and the vehicle-mounted electronic product to be tested.
The digital adjustable resistance module can be any device in the field capable of adjusting the resistance value according to an external electric signal.
Specifically, the controller controls the resistance of the digital adjustable resistor module, so that the power module outputs a dynamically changing voltage, simulates a voltage change when the automobile is started, and outputs the voltage change to the vehicle-mounted electronic product to be tested, as shown in fig. 3, the voltage change may include a voltage change when the automobile is successfully started and a voltage change when the automobile is failed to be started. The controller is connected with the power supply module so as to control the switch of the power supply module.
In one embodiment, as shown in fig. 4, the power supply module includes a power supply chip U1, an inductor L2, a feedback resistor R1, a feedback resistor R2, and a freewheeling diode D1;
a voltage input end VIN of the power supply chip is used for being connected with an input voltage VCC-IN and is connected with a first end of an inductor L1, and the other end of the inductor L1 is respectively connected with a first output end SW1 of the power supply chip, a second output end SW2 of the power supply chip, one end of the inductor L2 and the anode of a fly-wheel diode D1; the other end of the inductor L2 is grounded; the negative electrode of the freewheeling diode D1 is respectively connected with one end of the feedback resistor R1 and is used for being connected with a vehicle-mounted electronic product to be tested; the other end of the feedback resistor R1 is respectively connected with a feedback end FB of the power supply chip and a first output end of the digital adjustable resistor module; one end of the feedback resistor R2 is grounded, and the other end of the feedback resistor R2 is connected with the second output end of the digital adjustable resistor module.
Specifically, the inductors L1 and L2 are energy storage inductors, and are used together with the freewheeling diode D1 to implement voltage boosting and voltage reduction. A digital adjustable resistance module is connected between the feedback resistors R1 and R2, and the voltage of the feedback end of the power chip is determined by the resistance value voltage division of the feedback resistors R1 and R2 and the digital adjustable resistance module. The voltage division of the power supply chip can be adjusted by adjusting the resistance of the digital adjustable resistance module, so that the output voltage of the power supply module can be controlled. Further, the power supply chip further comprises an EN interface connected with the controller.
Further, as shown in fig. 5, the power module may further include capacitors C1, C2, C3, and EN interfaces. The EN interface is used for controlling a switch of the power supply chip U1 and is controlled by the controller. Capacitors C1 and C3 are energy storage capacitors for outputting stable voltage, and C2 is a filter capacitor for EN signal for filtering noise.
In a specific example, the circuit diagram of the digital adjustable resistance module is shown in fig. 6, specifically:
ADJ1, ADJ2: is a control signal output by the controller for controlling the resistance between the two terminals of RA and RB.
RA, RB: the signal is output by the adjustable resistor, and a variable resistance value controlled by the MCU can be provided between two end points.
5V: the power supply voltage of the digital adjustable resistor U2;
r3 and R4: pull-up resistors for ADJ1, ADJ2 signals;
c4: a power supply filter capacitor of the digital adjustable resistor U2;
u3 is a digital adjustable resistor, the resistance values of the two ends of RA and RB of which are adjustable and are controlled by ADJ1 and ADJ2 signals;
c5: and the energy storage capacitor of the digital adjustable resistor U2 VH/RH pin.
In one embodiment, as shown in fig. 7, the vibration simulation apparatus includes a motor driving circuit and a vibration motor;
the input end of the motor driving circuit is connected with the controller, and the output end of the motor driving circuit is connected with the vibrating motor; the audio analog circuit comprises an audio amplifier and a sound playing device;
the controller is connected with the sound playing device through the audio amplifier.
Specifically, the controller controls the vibration frequency and the vibration intensity of the vibration motor through the electrode driving circuit, so that the vibration of the automobile body is simulated when the automobile is ignited. The controller drives the sound playing device to play specific audio through the audio amplifier so as to simulate the sound emitted by starting the automobile.
Further, a circuit diagram of the motor drive circuit is shown in fig. 8. Wherein, MOTOR _ A and MOTOR _ B: and the voltage signal is used for driving the vibration motor to work. PWM1, PWM2: and a control signal outputted from the controller for controlling whether the vibration motor rotates, the rotation speed and the rotation direction. VCC _ MOTOR: rated working voltage of the vibration motor; q3, Q7: and the triode is used for controlling the switching state of the MOS tube. Q1, Q2, Q4, Q5: and the MOS tube is controlled by the output signal of the triode and is used for controlling the level of the MOTOR _ A and the MOTOR _ B.
In one embodiment, the rotational speed simulation device comprises a transceiver circuit;
one end of the transceiver circuit is connected with the controller, and the other end of the transceiver circuit is used for connecting the vehicle-mounted electronic product to be tested.
Specifically, the transceiver circuit can convert test data (such as engine speed) of the controller into an automobile bus level, so as to output speed excitation to the vehicle-mounted electronic product to be tested. Meanwhile, the transceiver circuit can also receive a feedback signal of the equipment to be tested and transmit the feedback signal to the controller. In one embodiment, the transceiver circuit comprises a CAN transceiver and/or a K-wire transceiver circuit; the controller transmits an engine rotating speed signal to the vehicle-mounted electronic product to be tested through the CAN transceiver, and receives a feedback signal of the vehicle-mounted electronic product to be tested through the CAN transceiver; and/or the controller transmits the engine speed signal to the vehicle-mounted electronic product to be tested through the K line transceiving circuit, and receives the feedback signal of the vehicle-mounted electronic product to be tested through the K line transceiving circuit.
In one specific example, a circuit diagram of a CAN transceiver is shown in fig. 9. Wherein, CANH, CANL: the CAN bus communication signal is used for simulating CAN bus data of an automobile and transmitting simulated engine speed signals or other test information. CAN _ TXD, CAN _ RXD: and converting the CAN bus signal into a signal with a level compatible with the controller, and directly butting the signal with the MCU. CAN _ STB: and controlling an enabling signal of a CAN transceiver switch. U2: and the CAN transceiver main chip is used for converting the TTL level signal output by the MCU into a CAN bus signal which CAN be identified by an automobile ECU. 5V: the operating voltage of U2; 3V3: and a power supply for converting U2 internal TTL level signals. R5, R6, C7: CANH, CANL impedance matching circuits.
In one specific example, a circuit diagram of a K-wire transceiver circuit is shown in fig. 10. Wherein, K _ Line: the K bus signal, the signal of the equipment to be tested and the automobile communication, can transmit the simulated engine speed signal or other test information. K _ TXD, K _ RXD: and converting the single-wire bidirectional high-voltage signal of the K bus into a signal after the TTL level of 2 different signal directions, and directly butting the signal with the MCU. 3V3: is a level voltage of TTL; VCC +: is the level voltage of the K bus; q6, Q8, Q9, Q10: and the triode is used for converting the K bus single line into 2 independent unidirectional signals. R8, R10, R11, R12, R14: the pull-up and pull-down resistor is a triode and is used for realizing level conversion;
furthermore, the device also comprises a plurality of voltage detection circuits, such as ADC sampling circuits, which are used for collecting the internal voltage of the vehicle-mounted electronic product to be detected.
In one embodiment, as shown in fig. 11, there is provided a function testing method of a vehicle-mounted electronic product, applied to a function testing device of the vehicle-mounted electronic product as any one of the above, the method including the steps of:
s1110, indicating the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: starting voltage excitation output by the voltage simulation equipment, vibration excitation output by the vibration simulation equipment, rotating speed excitation output by the rotating speed simulation equipment and sound excitation output by the audio simulation equipment;
the starting voltage excitation is voltage excitation which is output when the automobile is started, can be voltage excitation which is output when the automobile is successfully started, and can also be voltage excitation which is output when the automobile is failed to be started. The vibration excitation is vibration excitation of an automobile body when the automobile is started, can be vibration excitation output when the automobile is successfully started, and can also be vibration excitation output when the automobile is failed to be started. The rotating speed excitation can be rotating speed excitation output when the automobile is successfully started or rotating speed excitation output when the automobile is failed to be started. The voice excitation can be the voice excitation output successfully when the automobile is started, and can be the voice excitation output when the automobile is not started.
Specifically, the automobile starting excitation comprises a front test excitation and a back test excitation; the positive test excitation is any excitation and any excitation combination when the automobile is successfully started, and comprises voltage excitation output when the automobile is successfully started, vibration excitation output when the automobile is successfully started, rotating speed excitation output when the automobile is successfully started, and sound excitation output when the automobile is successfully started. The reverse test excitation is any excitation and any excitation combination when the automobile fails to start, including voltage excitation output when the automobile fails to start, vibration excitation output when the automobile fails to start, rotating speed excitation output when the automobile fails to start, and sound excitation output when the automobile fails to start.
S1120, obtaining the feedback signal, and outputting a function test result according to the feedback signal.
Specifically, any technical means in the art can be adopted to obtain the feedback signal. The feedback signal may include a bus signal of the on-board electronic product under test. And judging the function test result of the vehicle-mounted electronic product to be tested according to the bus signal of the vehicle-mounted electronic product to be tested.
In one embodiment, as shown in FIG. 12, the vehicle start stimulus comprises a negative test stimulus; the feedback signal comprises a first feedback signal corresponding to a negative test stimulus;
the step of indicating the excitation output equipment to output the automobile starting excitation to the vehicle-mounted electronic product to be tested comprises the following steps:
s1111, indicating the excitation output equipment to output negative test excitation to the vehicle-mounted electronic product to be tested;
specifically, the excitation output device is instructed to output the negative test excitation so as to observe the state of the vehicle-mounted electronic product to be tested under the negative test excitation.
The steps of obtaining the feedback signal and outputting the function test result according to the feedback signal include:
s1121, confirming whether the vehicle-mounted electronic product to be tested is started successfully or not according to the first feedback signal;
specifically, the first feedback signal may include a bus signal of the vehicle-mounted electronic product to be tested. Whether the startup is successful or not can be confirmed by a bus signal.
And S1123, if the vehicle-mounted electronic product to be tested is started successfully, outputting that the ignition recognition function is abnormal.
Specifically, if the vehicle-mounted electronic product to be tested is started successfully, the vehicle-mounted electronic product to be tested is started under the condition that the automobile is not started, and the ignition recognition function is proved to be abnormal.
In one embodiment, as shown in FIG. 13, the vehicle launch stimulus further comprises a frontal test stimulus; the feedback signals further comprise second feedback signals corresponding to the positive test stimulus; further comprising the steps of:
s1125, if the to-be-tested vehicle-mounted electronic product fails to be started, indicating the excitation output equipment to output a front test excitation to the to-be-tested vehicle-mounted electronic product;
specifically, if the vehicle-mounted electronic product to be tested fails to start, it is proved that the vehicle-mounted electronic product to be tested cannot start under the negative test excitation, and the condition of the vehicle starting failure can be correctly distinguished. And outputting the front test excitation to the vehicle-mounted electronic product to be tested.
S1127, acquiring the current voltage of the vehicle-mounted electronic product to be tested, and confirming whether the vehicle-mounted electronic product to be tested is started successfully according to the second feedback signal;
and S1129, if the current voltage is in the normal range and the vehicle-mounted electronic product to be tested is successfully started, outputting that the ignition recognition function is normal.
Specifically, if the front test stimulus is received, the internal voltage of the vehicle-mounted electronic product to be tested with a normal function should be within a normal range, and the vehicle-mounted electronic product to be tested is started successfully.
In one embodiment, the method further comprises the following steps:
if the current voltage is in the abnormal range, outputting that the ignition identification function is abnormal;
and if the vehicle-mounted electronic product to be tested fails to start, outputting an ignition recognition function abnormality.
Specifically, if the current voltage is in an abnormal range and/or the vehicle-mounted electronic product to be tested fails to start, the ignition recognition function is output to be abnormal.
It should be understood that although the various steps in the flowcharts of fig. 11-13 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Also, at least some of the steps in fig. 11-13 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 14, there is provided a function testing apparatus of an in-vehicle electronic product, including:
the excitation output module is used for indicating the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: the method comprises the following steps of starting voltage excitation output by voltage simulation equipment, vibration excitation output by vibration simulation equipment, rotating speed excitation output by rotating speed simulation equipment and sound excitation output by audio simulation equipment;
and the result output module is used for acquiring the feedback signal and outputting a function test result according to the feedback signal.
For specific limitations of the function testing apparatus of the vehicle-mounted electronic product, reference may be made to the above limitations of the function testing method of the vehicle-mounted electronic product, and details are not repeated here. All or part of each module in the function testing device of the vehicle-mounted electronic product can be realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
indicating the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the vehicle start stimulus comprises any one or any combination of the following: the method comprises the following steps of starting voltage excitation output by voltage simulation equipment, vibration excitation output by vibration simulation equipment, rotating speed excitation output by rotating speed simulation equipment and sound excitation output by audio simulation equipment;
and acquiring a feedback signal, and outputting a function test result according to the feedback signal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus DRAM (RDRAM), and interface DRAM (DRDRAM).
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. The function test equipment of the vehicle-mounted electronic product is characterized by comprising a controller and excitation output equipment, wherein the excitation output equipment is used for connecting the vehicle-mounted electronic product to be tested;
the excitation output device comprises any one or any combination of the following devices: the device comprises a voltage simulation device, a vibration simulation device, a rotating speed simulation device and an audio simulation device; the controller is respectively connected with the voltage simulation equipment, the vibration simulation equipment, the rotating speed simulation equipment and the audio simulation equipment;
the controller instructs the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the automobile starting excitation comprises a front side test excitation and a back side test excitation, wherein the front side test excitation comprises any one or any combination of the following excitations when the automobile is started successfully: the starting voltage excitation output by the voltage simulation equipment when the automobile is successfully started, the vibration excitation output by the vibration simulation equipment when the automobile is successfully started, the rotating speed excitation output by the rotating speed simulation equipment when the automobile is successfully started and the sound excitation output by the audio simulation equipment when the automobile is successfully started; the reverse test stimulus comprises any one or any combination of the following stimuli when the automobile fails to start: the starting voltage excitation output by the voltage simulation equipment when the automobile fails to start, the vibration excitation output by the vibration simulation equipment when the automobile fails to start, the rotating speed excitation output by the rotating speed simulation equipment when the automobile fails to start and the sound excitation output by the audio simulation equipment when the automobile fails to start;
and the controller acquires the feedback signal and outputs a function test result according to the feedback signal.
2. The function test device of the in-vehicle electronic product according to claim 1, wherein the voltage simulation device includes a digital adjustable resistance module and a power supply module;
the digital adjustable resistance module is respectively connected with the power supply module and the controller; the power module is respectively connected with the controller and the vehicle-mounted electronic product to be tested.
3. The function test device of the in-vehicle electronic product according to claim 2, wherein the power supply module includes a power supply chip, an inductor L1, an inductor L2, a feedback resistor R1, a feedback resistor R2, and a freewheeling diode D1;
the voltage input end of the power supply chip is used for accessing input voltage and is connected with the first end of the inductor L1, and the other end of the inductor L1 is respectively connected with the first output end of the power supply chip, the second output end of the power supply chip, one end of the inductor L2 and the anode of the fly-wheel diode D1; the other end of the inductor L2 is grounded; the negative electrode of the freewheeling diode D1 is respectively connected with one end of the feedback resistor R1 and is used for being connected with a vehicle-mounted electronic product to be tested; the other end of the feedback resistor R1 is respectively connected with a feedback end of the power supply chip and a first output end of the digital adjustable resistor module; one end of the feedback resistor R2 is grounded, and the other end of the feedback resistor R2 is connected with the second output end of the digital adjustable resistor module.
4. The function test device of the in-vehicle electronic product according to claim 1, wherein the vibration simulation device includes a motor drive circuit and a vibration motor;
the input end of the motor driving circuit is connected with the controller, and the output end of the motor driving circuit is connected with the vibrating motor;
the audio simulation equipment comprises an audio amplifier and sound playing equipment;
the controller is connected with the sound playing equipment through the audio amplifier.
5. The function test device of the in-vehicle electronic product according to claim 1, wherein the rotation speed simulation device includes a transceiver circuit;
one end of the transceiver circuit is connected with the controller, and the other end of the transceiver circuit is used for connecting a vehicle-mounted electronic product to be tested.
6. The function test device of the in-vehicle electronic product according to claim 5, wherein the transceiver circuit includes a CAN transceiver and/or a K-line transceiver circuit;
the controller transmits an engine rotating speed signal to the vehicle-mounted electronic product to be tested through the CAN transceiver, and receives a feedback signal of the vehicle-mounted electronic product to be tested through the CAN transceiver; and/or the controller transmits the engine rotating speed signal to the vehicle-mounted electronic product to be detected through the K line transceiver circuit, and receives a feedback signal of the vehicle-mounted electronic product to be detected through the K line transceiver circuit.
7. A function test method of a vehicle-mounted electronic product, which is applied to the function test apparatus of the vehicle-mounted electronic product of any one of claims 1 to 6, the method comprising the steps of:
instructing the excitation output equipment to output automobile starting excitation to the vehicle-mounted electronic product to be tested; the automobile starting excitation is used for indicating the vehicle-mounted electronic product to be tested to output a feedback signal; the automobile starting excitation comprises a front side test excitation and a back side test excitation, wherein the front side test excitation comprises any one or any combination of the following excitations when the automobile is started successfully: the starting voltage excitation output by the voltage simulation equipment when the automobile is successfully started, the vibration excitation output by the vibration simulation equipment when the automobile is successfully started, the rotating speed excitation output by the rotating speed simulation equipment when the automobile is successfully started and the sound excitation output by the audio simulation equipment when the automobile is successfully started; the reverse side test excitation comprises any one or any combination of the following excitations when the automobile fails to start: the starting voltage excitation output by the voltage simulation equipment when the automobile fails to start, the vibration excitation output by the vibration simulation equipment when the automobile fails to start, the rotating speed excitation output by the rotating speed simulation equipment when the automobile fails to start and the sound excitation output by the audio simulation equipment when the automobile fails to start;
and acquiring the feedback signal and outputting a function test result according to the feedback signal.
8. The functional test method of the in-vehicle electronic product according to claim 7, wherein the vehicle start stimulus includes a negative test stimulus; the feedback signal comprises a first feedback signal corresponding to the negative test stimulus;
the step of instructing the excitation output device to output the automobile starting excitation to the vehicle-mounted electronic product to be tested comprises the following steps:
instructing the excitation output equipment to output the negative test excitation to the vehicle-mounted electronic product to be tested;
the steps of obtaining a feedback signal and outputting a function test result according to the feedback signal include:
according to the first feedback signal, whether the vehicle-mounted electronic product to be tested is started successfully is confirmed;
and if the vehicle-mounted electronic product to be tested is successfully started, outputting an ignition recognition function abnormality.
9. The functional test method of the in-vehicle electronic product according to claim 8, wherein the vehicle start stimulus further includes a front test stimulus; the feedback signal further comprises a second feedback signal corresponding to the front test stimulus; further comprising the steps of:
if the vehicle-mounted electronic product to be tested fails to be started, indicating the excitation output equipment to output the front test excitation to the vehicle-mounted electronic product to be tested;
acquiring the current voltage of the vehicle-mounted electronic product to be tested, and confirming whether the vehicle-mounted electronic product to be tested is started successfully according to the second feedback signal;
and if the current voltage is in a normal range and the vehicle-mounted electronic product to be tested is successfully started, outputting that the ignition recognition function is normal.
10. The method for testing the functions of the in-vehicle electronic product according to claim 9, further comprising the steps of:
if the current voltage is in an abnormal range, outputting an ignition recognition function abnormal;
and if the vehicle-mounted electronic product to be tested fails to be started, outputting an ignition recognition function abnormality.
CN202110430407.8A 2021-04-21 2021-04-21 Function test equipment and method for vehicle-mounted electronic product Active CN113341240B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110430407.8A CN113341240B (en) 2021-04-21 2021-04-21 Function test equipment and method for vehicle-mounted electronic product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110430407.8A CN113341240B (en) 2021-04-21 2021-04-21 Function test equipment and method for vehicle-mounted electronic product

Publications (2)

Publication Number Publication Date
CN113341240A CN113341240A (en) 2021-09-03
CN113341240B true CN113341240B (en) 2022-11-29

Family

ID=77468369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110430407.8A Active CN113341240B (en) 2021-04-21 2021-04-21 Function test equipment and method for vehicle-mounted electronic product

Country Status (1)

Country Link
CN (1) CN113341240B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4715875B2 (en) * 2008-06-25 2011-07-06 トヨタ自動車株式会社 Failure diagnosis method for voltage abnormality detection means, secondary battery system, and hybrid vehicle
WO2011031801A2 (en) * 2009-09-08 2011-03-17 Aerovironment, Inc. Electric vehicle simulator and analyzer (evsa) for electric vehicle supply equipment
CN102495624B (en) * 2011-12-02 2014-03-19 湖南大学 Automatic ABSECU detection device
CN203434863U (en) * 2013-07-03 2014-02-12 西安Tcl软件开发有限公司 Power supply circuit and power supply having same power supply circuit
CN104579510A (en) * 2013-10-22 2015-04-29 深圳市伊爱高新技术开发有限公司 Automatic GNSS (global navigation satellite system) vehicle-mounted terminal testing device
CN204089586U (en) * 2014-10-11 2015-01-07 湖南威铭能源科技有限公司 M-BUS bus power source circuit
CN204903145U (en) * 2015-07-14 2015-12-23 韶关比亚迪实业有限公司 Live performance simulation testing arrangement of car ignition switch
CN106597208A (en) * 2017-01-24 2017-04-26 国网河南省电力公司安阳供电公司 Breaker failure start loop detection device and method
CN106771789A (en) * 2017-03-14 2017-05-31 深圳市金证卡尔电子有限公司 The method for testing performance and system of a kind of automobile electronics
CN109212351A (en) * 2018-09-12 2019-01-15 国网重庆市电力公司电力科学研究院 A kind of electric car non-on-board charger automatic checkout system and method
CN109489988A (en) * 2018-09-27 2019-03-19 惠州市德赛西威汽车电子股份有限公司 A kind of simulation real vehicle key starting vision durability Meter Test system
CN210627874U (en) * 2019-11-28 2020-05-26 常州市优策电子科技有限公司 Liquid crystal backlight self-adaptive power supply
CN112114580B (en) * 2020-09-29 2022-05-13 广州小鹏自动驾驶科技有限公司 ACC simulation test system and method

Also Published As

Publication number Publication date
CN113341240A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN108255156B (en) Vehicle control unit EMC test load device with commonality
CN113341240B (en) Function test equipment and method for vehicle-mounted electronic product
JP2003329719A (en) Signal processor
US20100214119A1 (en) Method and device for assigning addresses in a system having a plurality of generator units positioned in parallel
JP4834573B2 (en) Voltage detection device and voltage detection system
CN112654525A (en) Device and method for generating wake-up signal and charging interface
CN111512613A (en) Method and control unit for facilitating diagnosis of a vehicle
CN113406944A (en) Vehicle diagnosis method, apparatus, device and computer readable storage medium
CN113242532A (en) Vehicle communication device, WiFi connection method and vehicle diagnosis system
US7242244B2 (en) Method and arrangement for testing a power output stage
US20110190949A1 (en) Method and Device For Assigning Addresses in a System Having a Plurality of Generator Units Positioned in Parallel
US8150671B2 (en) Portable USB power mode simulator tool
CN113162826A (en) Finished automobile network testing method and system
CN109490662B (en) Test method and device for automobile electronic equipment, computer equipment and storage medium
CN102116832B (en) Parameter tester for interference rejection circuit of vehicle power supply
WO2020122099A1 (en) Control device, and failure determining method
CN113886274A (en) Stability testing method, device, equipment and storage medium for Internet of vehicles terminal
CN216565601U (en) Working state detection circuit and vehicle-mounted equipment
CN110350473B (en) Control circuit, method and device
CN111694346A (en) OBD universal protocol converter
US20240103508A1 (en) Device for testing an electronic control unit, comprising a hardware-in-the-loop simulator
CN114257941A (en) Working state detection method and vehicle-mounted equipment
CN110658477A (en) Power supply test system of automobile
CN221175259U (en) Signal processing circuit board card, domain controller and vehicle
CN216486128U (en) Diagnostic device with DOIP transceiving function

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