Vehicle-mounted lamp electromagnetic anti-interference test method, device and system
By conducting electromagnetic anti-interference tests for on-board lamps from three dimensions: voltage, phase and duration, the problem of inaccurate test results in the prior art is solved, and higher detection accuracy and flexibility are achieved.
Patent Information
- Application Number
- CN202411776878.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-03-14
AI Technical Summary
In the prior art, the electromagnetic anti-interference test of vehicle-mounted lamps is mainly carried out from the dimension of the change range of voltage signals, ignoring the impact of spike pulses on the test results, resulting in inaccurate test results.
By obtaining the initial voltage signal of the lamp to be tested under electromagnetic interference conditions, extracting a period of voltage signal as the target voltage signal, detecting whether it belongs to the preset interval, and obtaining the duration of the target voltage signal exceeding the preset interval without passing, and determining whether it is less than the duration threshold to determine the test result.
The detection is carried out from three dimensions: the duration of the voltage, phase and target voltage signals exceeding the preset interval, which improves the flexibility and accuracy of the test, avoids interference from spike pulses on the detection results, and achieves better detection accuracy.
Smart Images

Figure CN119619672A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electromagnetic interference resistance testing, and in particular to a method, device, and system for testing electromagnetic interference resistance of vehicle-mounted lamps. Background Art
[0002] All vehicle-mounted lamps installed in cars need to pass the electromagnetic interference test before they can be put into use. In the existing technology, the electromagnetic interference test is usually only carried out from the dimension of the voltage signal variation range (i.e. the amplitude of the voltage signal), which ignores the impact of spike pulses on the electromagnetic interference test, so it is difficult to obtain accurate results for the electromagnetic interference test. Summary of the invention
[0003] The present application provides a method, device and system for testing electromagnetic interference immunity of vehicle-mounted lamps to solve the technical problem that it is impossible to accurately perform interference immunity testing on lamps.
[0004] In a first aspect, the present application provides a method for testing electromagnetic interference immunity of a vehicle lamp, the method comprising:
[0005] Acquire an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extract a periodic voltage signal from the initial voltage signal as a target voltage signal;
[0006] Detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result;
[0007] When the first detection result is a failure, obtaining a duration during which the target voltage signal exceeds a preset interval as a target duration;
[0008] Detecting whether the target duration is less than a duration threshold;
[0009] When the target duration is less than the duration threshold, it is determined that the target detection result of the lamp to be tested is passed.
[0010] In some embodiments, after detecting whether the target duration is less than a duration threshold, the method further includes: if the target duration is greater than or equal to the duration threshold, determining that the target detection result of the lamp to be tested is a failure.
[0011] In some embodiments, after detecting whether the target voltage signal belongs to a preset interval and obtaining a first detection result, the method further includes: if the first detection result is a pass, determining that the target detection result of the lamp to be tested is a pass.
[0012] In some embodiments, the preset interval is composed of a first voltage phase curve and a second voltage phase curve; the voltage in the first voltage phase curve is obtained by amplifying the voltage of a standard voltage signal using a voltage deviation ratio; the standard voltage signal is a voltage signal generated by the lamp to be tested under electromagnetic interference-free conditions; the phase in the first voltage phase curve is obtained by amplifying the phase of the standard voltage signal using a phase deviation ratio.
[0013] In some embodiments, the voltage in the second voltage phase curve is obtained by reducing the voltage of the standard voltage signal using the voltage deviation ratio; the phase in the second voltage phase curve is obtained by reducing the phase of the standard voltage signal using the phase deviation ratio.
[0014] In some embodiments, the duration threshold is determined by multiplying the phase deviation ratio by a period of a standard voltage signal.
[0015] In some embodiments, detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result includes:
[0016] detecting whether the target voltage signal is lower than the first voltage phase curve, and detecting whether the target voltage signal is higher than the second voltage phase curve;
[0017] In a case where it is determined that the target voltage signal is lower than the first voltage phase curve and the target voltage signal is higher than the second voltage phase curve, determining that the first detection result is passed;
[0018] When it is determined that the target voltage signal is higher than or equal to the first voltage phase curve, and / or the target voltage signal is lower than or equal to the second voltage phase curve, the first detection result is determined to be a failure.
[0019] In a second aspect, the present application proposes an electromagnetic interference immunity test device for a vehicle lamp, comprising:
[0020] The first acquisition module is used to acquire an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extract a voltage signal of one cycle from the initial voltage signal as a target voltage signal;
[0021] A first detection module, used to detect whether the target voltage signal belongs to a preset interval, and obtain a first detection result;
[0022] A second acquisition module is used to acquire, when the first detection result is a failure, a duration during which the target voltage signal exceeds a preset interval as a target duration;
[0023] A second detection module is used to detect whether the target duration is less than a duration threshold;
[0024] The determination module is used to determine that the target detection result of the lamp to be tested is passed when the target duration is less than the duration threshold.
[0025] In a third aspect, the present application proposes an electromagnetic interference immunity test system for vehicle-mounted lamps, comprising:
[0026] An electromagnetic interference module, used for generating electromagnetic interference;
[0027] The lamp to be tested is used to emit light under electromagnetic interference conditions;
[0028] A preprocessing module, used for collecting optical signals generated by the lamp to be tested under electromagnetic interference conditions, converting the optical signals into initial voltage signals, and sending the initial voltage signals to a data processing module;
[0029] The data processing module includes a processor and a memory for storing instructions executable by the processor. When the processor executes the instructions, the steps of any embodiment of the electromagnetic interference resistance test method for vehicle-mounted lamps are implemented.
[0030] In a fourth aspect, the present application further proposes a storage medium on which computer instructions are stored, and when the instructions are executed by a processor, the steps of any of the above-mentioned embodiments of the electromagnetic interference immunity test method for vehicle-mounted lamps are implemented.
[0031] The present application can achieve the following beneficial effects: anti-electromagnetic interference detection can be performed from three dimensions: voltage, phase, and duration of the target voltage signal exceeding the preset interval, thereby improving the flexibility and accuracy of the test. By using the duration of the target voltage signal exceeding the preset interval, it is possible to avoid the interference of short-duration spike pulses on the target detection results, thereby achieving better detection accuracy. From the dimension of phase, it reflects the speed of dynamic changes in light. From the dimension of voltage, it reflects the amplitude of changes in light intensity. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0033] Figure 1 A schematic diagram of a flow chart of a vehicle-mounted lamp electromagnetic interference immunity test method provided in an embodiment of the present application;
[0034] Figure 2A schematic diagram of a standard voltage signal and a preset interval in a flashing mode provided in an embodiment of the present application;
[0035] Figure 3 A schematic diagram of a flow chart of a vehicle-mounted lamp electromagnetic interference immunity test method provided in an embodiment of the present application;
[0036] Figure 4 A schematic diagram of the structure of an electromagnetic interference immunity test device for a vehicle lamp provided in an embodiment of the present application;
[0037] Figure 5 A schematic diagram of the structure of an electromagnetic interference immunity test system for a vehicle lamp provided in an embodiment of the present application;
[0038] Figure 6 A schematic diagram of the structure of an electromagnetic interference immunity test system for a vehicle lamp provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.
[0040] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally indicates that the associated objects before and after are in an "or" relationship.
[0041] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0042] All vehicle-mounted lamps installed in cars need to pass the electromagnetic interference test before they can be put into use. In the existing technology, the electromagnetic interference test is usually only carried out from the dimension of the voltage signal variation range (i.e. the amplitude of the voltage signal), which ignores the impact of spike pulses on the electromagnetic interference test, so it is difficult to obtain accurate results for the electromagnetic interference test.
[0043] The present application proposes a method, device, and system for testing electromagnetic interference resistance of vehicle-mounted lamps, which can improve the accuracy of electromagnetic interference resistance test results.
[0044] The following is an introduction to an electromagnetic interference immunity test method, device, and system for vehicle-mounted lamps provided in the present application in conjunction with the accompanying drawings.
[0045] In some embodiments, please refer to Figure 1 The present application proposes a method for testing electromagnetic interference immunity of vehicle-mounted lamps. In specific implementation, the method may include the following contents.
[0046] S101: Acquire an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extract a periodic voltage signal from the initial voltage signal as a target voltage signal.
[0047] In some embodiments, the lamp to be tested is a lamp installed on a car, such as a headlight or a cabin lighting lamp.
[0048] In some embodiments, the initial voltage signal is a digital signal that changes periodically over time. A voltage signal with a complete cycle is extracted from the initial voltage signal as the target voltage signal.
[0049] In some embodiments, the lamp to be tested has different working modes, such as a flashing mode and a breathing mode. In the flashing mode, the target voltage signal generated by the lamp to be tested is similar to a square wave. In the breathing mode, the target voltage signal generated by the lamp to be tested is similar to a triangle wave.
[0050] In some embodiments, the target voltage signal may carry an operating mode tag, such as a flashing mode tag or a breathing mode tag, to indicate the operating mode when the target voltage signal is generated.
[0051] S102: Detect whether the target voltage signal belongs to a preset interval, and obtain a first detection result.
[0052] In some embodiments, a preset interval matching the working mode tag may be determined based on the working mode tag carried by the target voltage signal.
[0053] In some embodiments, the preset interval is composed of a first voltage phase curve and a second voltage phase curve. The first voltage phase curve represents the corresponding relationship between phase (phase is time) and voltage. The second voltage phase curve represents the corresponding relationship between phase (phase is time) and voltage.
[0054] In some embodiments, the voltage in the first voltage phase curve is obtained by amplifying the voltage of a standard voltage signal using a voltage deviation ratio; the standard voltage signal is a voltage signal generated by the lamp to be tested under conditions without electromagnetic interference. The phase in the first voltage phase curve is obtained by amplifying the phase of the standard voltage signal using a phase deviation ratio.
[0055] In some embodiments, in the flashing mode, the standard voltage signal generated by the lamp to be tested is a standard square wave. In the breathing mode, the standard voltage signal generated by the lamp to be tested is a standard triangle wave.
[0056] In some embodiments, the standard voltage signal is required to be greater than 1 cycle and last for 5 minutes. Harmonic analysis of the standard voltage signal can be performed to obtain parameters such as the amplitude, cycle, and phase of the standard voltage signal. On the host computer, VC++ software can be used to display and store a single cycle of the standard voltage signal.
[0057] In some embodiments, the voltage in the second voltage phase curve is obtained by reducing the voltage of the standard voltage signal using the voltage deviation ratio. The phase in the second voltage phase curve is obtained by reducing the phase of the standard voltage signal using the phase deviation ratio.
[0058] In some embodiments, see Figure 2 As shown, taking the standard voltage signal in the flashing mode as an example, the horizontal direction represents the phase (i.e., time) and the vertical direction represents the voltage. The voltage of the standard voltage signal is amplified vertically using the voltage deviation ratio, and the phase of the standard voltage signal is amplified horizontally using the phase deviation ratio to obtain a first voltage phase curve. The voltage of the standard voltage signal is reduced vertically using the voltage deviation ratio, and the phase of the standard voltage signal is reduced horizontally using the phase deviation ratio to obtain a second voltage phase curve. The area between the first voltage phase curve and the second voltage phase curve is the preset interval.
[0059] In some embodiments, the voltage deviation ratio is determined by the following formula:
[0060]
[0061] Among them, D 电压 Indicates the voltage deviation ratio, A1 indicates the maximum acceptable voltage amplitude, and A0 indicates the voltage of the standard voltage signal.
[0062] In some embodiments, the maximum acceptable voltage amplitude is determined by the following formula:
[0063] A1=k1×k2×I1
[0064] Among them, k1 represents the photoelectric conversion coefficient of the light intensity meter, which is a performance parameter of the light intensity meter; k2 represents the relationship coefficient between the light intensity and current of the lamp bead of the lamp to be tested, which is usually specified in the lamp bead characteristic parameters; I1 represents the maximum current allowed to pass through the lamp to be tested.
[0065] In some embodiments, the voltage in the first voltage phase curve is determined by the following formula:
[0066] U1=A0·(1+D 电压 )
[0067] Wherein, U1 represents the voltage in the first voltage phase curve.
[0068] In some embodiments, the phase deviation ratio is determined by the following formula:
[0069]
[0070] Among them, D 相位 Indicates the phase deviation ratio, represents the maximum acceptable phase value, Indicates the phase of the standard voltage signal.
[0071] In some embodiments, the acceptable maximum phase value is determined by the following formula:
[0072]
[0073] Wherein, T1 represents the maximum period allowed by the lamp to be detected, and T0 represents the period of the standard voltage signal.
[0074] In some embodiments, the phase in the first voltage phase curve is determined by the following formula:
[0075]
[0076] Wherein, F1 represents the phase in the first voltage phase curve.
[0077] In some embodiments, the voltage in the second voltage phase curve is determined by the following formula:
[0078] U2=A0·(1-D 电压 )
[0079] Wherein, U2 represents the voltage in the second voltage phase curve.
[0080] In some embodiments, the phase in the second voltage phase curve is determined by the following formula:
[0081]
[0082] Wherein, F2 represents the phase in the second voltage phase curve.
[0083] In some embodiments, the area between the first voltage phase curve and the second voltage phase curve constitutes a preset interval.
[0084] In some embodiments, D can also be set directly 相位 =15%, D 电压 Equal to 15%.
[0085] Based on the above embodiments, the preset interval can be customized and generated according to the parameter characteristics of the lamp to be tested, so as to more accurately achieve the qualitative judgment of the functional abnormality of the lamp to be tested.
[0086] In some embodiments, it is necessary to first perform a phase alignment operation on the target voltage signal and the standard voltage data to ensure that the target voltage signal and the standard voltage data have the same starting phase, and then detect whether the target voltage signal belongs to a preset interval.
[0087] In some embodiments, detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result specifically includes:
[0088] S1: Detecting whether the target voltage signal is lower than the first voltage phase curve, and detecting whether the target voltage signal is higher than the second voltage phase curve;
[0089] S2: when it is determined that the target voltage signal is lower than the first voltage phase curve and the target voltage signal is higher than the second voltage phase curve, determining that the first detection result is passed;
[0090] S3: When it is determined that the target voltage signal is higher than or equal to the first voltage phase curve, and / or the target voltage signal is lower than or equal to the second voltage phase curve, determine that the first detection result is a failure.
[0091] In some embodiments, when it is determined that the target voltage signal is lower than the first voltage phase curve and the target voltage signal is higher than the second voltage phase curve, it indicates that the lamp to be tested can also generate a relatively stable voltage under electromagnetic interference conditions, so the first test result is passed.
[0092] S103: When the first detection result is a failure, obtaining a duration during which the target voltage signal exceeds a preset interval as a target duration.
[0093] In some embodiments, due to electromagnetic interference injection, the target voltage signal may generate a spike pulse, which is manifested as an overshoot single signal, and its voltage amplitude may exceed the first voltage phase curve but the duration is short. The spike pulse is an acceptable normal phenomenon, so the spike pulse will interfere with the target detection result of the lamp to be tested. Further, the interference of the spike pulse is eliminated by detecting the target duration.
[0094] S104: Detect whether the target duration is less than a duration threshold.
[0095] In some embodiments, the duration threshold t is determined by multiplying the phase deviation ratio by the period of the standard voltage signal. That is, t=D 相位 ×T0.
[0096] S105: When the target duration is less than the duration threshold, determine that the target detection result of the lamp to be tested is passed.
[0097] In some embodiments, see Figure 3 As shown, after detecting whether the target duration is less than the duration threshold, the method further includes: if the target duration is greater than or equal to the duration threshold, determining that the target detection result of the lamp to be tested is failed.
[0098] In some embodiments, see Figure 3 As shown, after detecting whether the target voltage signal belongs to a preset interval and obtaining a first detection result, the method further includes: when the first detection result is a pass, determining that the target detection result of the lamp to be tested is a pass.
[0099] Based on the above embodiments, anti-electromagnetic interference detection can be performed from three dimensions: voltage, phase, and duration of the target voltage signal exceeding the preset interval to improve the flexibility and accuracy of the test. By using the duration of the target voltage signal exceeding the preset interval, it is possible to avoid the interference of short-duration spike pulses on the target detection results, thereby achieving better detection accuracy. From the dimension of phase, it reflects the speed of dynamic changes in light. From the dimension of voltage, it reflects the amplitude of changes in light intensity (the target voltage signal is converted from the light signal, so the target voltage signal is related to the light intensity).
[0100] Based on the above-mentioned vehicle-mounted lamp electromagnetic immunity testing method, one or more embodiments of the present application also provide a vehicle-mounted lamp electromagnetic immunity testing device. Figure 4It is a structural schematic diagram of an embodiment of a vehicle-mounted lamp electromagnetic immunity test device provided by the present application. The vehicle-mounted lamp electromagnetic immunity test device provided by the present application may include: a first acquisition module 501, a first detection module 502, a second acquisition module 503, a second detection module 504, and a determination module 505.
[0101] The first acquisition module 501 is used to acquire an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extract a voltage signal of one cycle from the initial voltage signal as a target voltage signal;
[0102] A first detection module 502, used to detect whether the target voltage signal belongs to a preset interval, and obtain a first detection result;
[0103] A second acquisition module 503 is used to acquire, when the first detection result is a failure, a duration of the target voltage signal exceeding a preset interval as a target duration;
[0104] A second detection module 504 is used to detect whether the target duration is less than a duration threshold;
[0105] The determination module 505 is used to determine that the target detection result of the lamp to be tested is passed when the target duration is less than the duration threshold.
[0106] In some embodiments, the first detection module 502 is specifically used to: detect whether the target voltage signal is lower than the first voltage phase curve, and detect whether the target voltage signal is higher than the second voltage phase curve; when it is determined that the target voltage signal is lower than the first voltage phase curve, and the target voltage signal is higher than the second voltage phase curve, determine that the first detection result is passed; when it is determined that the target voltage signal is higher than or equal to the first voltage phase curve, and / or the target voltage signal is lower than or equal to the second voltage phase curve, determine that the first detection result is failed.
[0107] It should be noted that the above-mentioned device may also include other implementation modes according to the description of the method embodiment. The specific implementation mode may refer to the description of the relevant method embodiment, which will not be described one by one here.
[0108] This application proposes a vehicle-mounted lamp electromagnetic interference resistance test system, see Figure 5 As shown, including:
[0109] An electromagnetic interference module 10, used to generate electromagnetic interference;
[0110] The lamp 20 to be tested is used to emit light under electromagnetic interference conditions;
[0111] The preprocessing module 30 is used to collect the optical signal generated by the lamp 20 to be tested under electromagnetic interference conditions, convert the optical signal into an initial voltage signal, and send the initial voltage signal to the data processing module 40;
[0112] The data processing module 40 includes a processor and a memory for storing instructions executable by the processor. When the processor executes the instructions, the steps of any one of the above-mentioned vehicle lamp electromagnetic interference resistance testing methods are implemented.
[0113] In some embodiments, the data processing module 40 may be a DSP (Digital Signal Processing) chip, or a field programmable gate array FPGA, a microcontroller unit MCU, etc.
[0114] In some embodiments, see Figure 5 As shown, the preprocessing module 40 includes a light intensity meter 301 and an analog-to-digital converter 302; the light intensity meter 301 is used to collect the light signal generated by the lamp 20 to be tested under electromagnetic interference conditions, and convert the light signal into an analog voltage signal; the analog-to-digital converter 302 is used to convert the analog voltage signal into an initial voltage signal, and send the initial voltage signal to the data processing module 40; the initial voltage signal is a digital signal.
[0115] In some embodiments, see Figure 5 As shown, the system also includes a shielding shell 50; the electromagnetic interference module 10, the lamp to be tested 20, and the light intensity meter 301 are arranged inside the shielding shell 50; the analog-to-digital converter 302 and the data processing module 40 are arranged outside the shielding shell 50.
[0116] In some embodiments, see Figure 6 As shown, the electromagnetic interference module 10 specifically includes an EMC (Electromagnetic Compatibility) antenna 101 and a stirrer 102 .
[0117] In some embodiments, Figure 6Another embodiment of the electromagnetic interference resistance test system for vehicle-mounted lamps is shown. The controller 60, the transmitting analog optical barrier 701, the receiving analog optical barrier 702, and the lamp to be tested 20 are connected in sequence. The light intensity meter 301, the analog-to-digital converter 302, and the data processing module 40 are connected in sequence. The data processing module 40 is connected to the speaker 90 and the host computer 80 respectively. The stirrer 102 and the EMC antenna 101 jointly implement electromagnetic interference noise injection. After the electromagnetic interference noise injection starts, the controller 60 sends a control signal to the transmitting analog optical barrier 701, and the control signal is used to instruct the lamp to be tested 20 to light up according to a certain working mode. The transmitting analog optical barrier 701 converts the control signal in the form of an electrical signal into a control signal in the form of an optical signal, and transmits it to the receiving analog optical barrier 702. The receiving analog optical barrier 702 converts the control signal in the form of an optical signal into a control signal in the form of an electrical signal, and transmits it to the lamp to be tested 20. The lamp to be tested 20 receives the control signal and lights up according to the working mode indicated by the control signal. The light intensity meter 301 collects the light signal generated by the lamp 20 to be tested under electromagnetic interference conditions, and converts the light signal into an analog voltage signal; the greater the light intensity, the higher the corresponding voltage signal, and the light intensity meter 301 has a good anti-electromagnetic interference ability and can accurately realize the conversion of photoelectric signals. The analog-to-digital converter 302 converts the analog voltage signal into an initial voltage signal (digital signal) and sends the initial voltage signal to the data processing module 40. The data processing module 40 is used to implement the steps of any of the above-mentioned vehicle-mounted lamp electromagnetic interference test methods. The host computer 80 is used to display the initial voltage signal, the target voltage signal, the first detection result, the target detection result, the preset interval, and the phase alignment result in real time. If the target detection result is not passed, the speaker 90 sounds an alarm to remind the tester.
[0118] Specifically, the host computer 80 is used to display the comparison result between the target voltage signal and the preset interval in real time, and store the first detection result and the target detection result for subsequent tracing. The preset interval displayed by the host computer 80 also includes an error scale for quantitative analysis.
[0119] Specifically, the host computer 80 can also receive data input by the tester, such as the photoelectric conversion coefficient k1 of the light intensity meter, the relationship coefficient k2 between the light intensity and the current of the lamp bead of the lamp to be tested, the maximum current I1 allowed to pass through the lamp to be tested, and the maximum period T1 allowed by the lamp to be tested, and transmit them to the data processing module 40. The data processing module 40 generates a preset interval based on the above data.
[0120] Based on the above system, automated testing and monitoring can be achieved without the need for long-term observation by the human eye, thus ensuring the accuracy and consistency of the test results.
[0121] The logic instructions in the memory of the data processing module in the present application can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0122] It should be noted that the above data processing module may also include other implementations according to the description of the method or device embodiment. The specific implementation methods can refer to the description of the relevant method embodiment, which will not be described one by one here.
[0123] The present application also provides a storage medium, which is a computer-readable storage medium, and the storage medium stores computer program instructions, which, when executed, implement the following: obtaining an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extracting a period of voltage signal from the initial voltage signal as a target voltage signal; detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result; if the first detection result is a failure, obtaining a duration for which the target voltage signal exceeds the preset interval as a target duration; detecting whether the target duration is less than a duration threshold; and if the target duration is less than the duration threshold, determining that the target detection result of the lamp to be tested is a pass.
[0124] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0125] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0126] In summary, although the present application has been disclosed as above with preferred embodiments, the above preferred embodiments are not intended to limit the present application. Ordinary technicians in this field can make various changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined in the claims.
Claims
1. A vehicle-mounted lamp electromagnetic interference resistance test method, characterized in that: include: Obtaining an initial voltage signal generated by the lamp under test under electromagnetic interference conditions; and extracting a periodic voltage signal from the initial voltage signal as a target voltage signal; Detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result; When the first detection result is a failure, obtaining a duration during which the target voltage signal exceeds a preset interval as a target duration; Detecting whether the target duration is less than a duration threshold; When the target duration is less than the duration threshold, it is determined that the target detection result of the lamp to be tested is passed.
2. The method according to claim 1, characterized in that After detecting whether the target duration is less than a duration threshold, the method further includes: When the target duration is greater than or equal to the duration threshold, it is determined that the target detection result of the lamp to be tested is failed.
3. The method according to claim 1, characterized in that: After detecting whether the target voltage signal belongs to a preset interval and obtaining a first detection result, the method further includes: When the first detection result is passed, it is determined that the target detection result of the lamp to be tested is passed.
4. The method according to claim 1, characterized in that The preset interval is composed of a first voltage phase curve and a second voltage phase curve; The voltage in the first voltage phase curve is obtained by amplifying the voltage of the standard voltage signal using the voltage deviation ratio; the standard voltage signal is a voltage signal generated by the lamp to be tested under the condition of no electromagnetic interference; The phase in the first voltage phase curve is obtained by amplifying the phase of the standard voltage signal by using the phase deviation ratio.
5. The method according to claim 4, characterized in that The voltage in the second voltage phase curve is obtained by reducing the voltage of the standard voltage signal using the voltage deviation ratio; The phase in the second voltage phase curve is obtained by reducing the phase of the standard voltage signal by using the phase deviation ratio.
6. The method according to claim 4, characterized in that The duration threshold is determined by multiplying the phase deviation ratio by a period of a standard voltage signal.
7. The method according to claim 4, characterized in that Detecting whether the target voltage signal belongs to a preset interval to obtain a first detection result includes: detecting whether the target voltage signal is lower than the first voltage phase curve, and detecting whether the target voltage signal is higher than the second voltage phase curve; In a case where it is determined that the target voltage signal is lower than the first voltage phase curve and the target voltage signal is higher than the second voltage phase curve, determining that the first detection result is passed; When it is determined that the target voltage signal is higher than or equal to the first voltage phase curve, and / or the target voltage signal is lower than or equal to the second voltage phase curve, the first detection result is determined to be a failure.
8. A vehicle-mounted lamp electromagnetic interference resistance test device, characterized in that: include: A first acquisition module is used to acquire an initial voltage signal generated by the lamp to be tested under electromagnetic interference conditions; and extracting a periodic voltage signal from the initial voltage signal as a target voltage signal; A first detection module, used to detect whether the target voltage signal belongs to a preset interval, and obtain a first detection result; A second acquisition module is used to acquire, when the first detection result is a failure, a duration during which the target voltage signal exceeds a preset interval as a target duration; A second detection module is used to detect whether the target duration is less than a duration threshold; The determination module is used to determine that the target detection result of the lamp to be tested is passed when the target duration is less than the duration threshold.
9. A vehicle-mounted lamp electromagnetic interference immunity test system, characterized in that: include: An electromagnetic interference module, used for generating electromagnetic interference; The lamp to be tested is used to emit light under electromagnetic interference conditions; A preprocessing module, used for collecting optical signals generated by the lamp to be tested under electromagnetic interference conditions, converting the optical signals into initial voltage signals, and sending the initial voltage signals to a data processing module; A data processing module comprises a processor and a memory for storing processor executable instructions, wherein the processor implements the steps of the method according to any one of claims 1 to 7 when executing the instructions.
10. The system according to claim 9, characterized in that The pre-processing module includes a light intensity meter and an analog-to-digital converter; The light intensity meter is used to collect the light signal generated by the lamp to be tested under electromagnetic interference conditions and convert the light signal into an analog voltage signal; The analog-to-digital converter is used to convert the analog voltage signal into an initial voltage signal, and send the initial voltage signal to a data processing module; the initial voltage signal is a digital signal.
11. The system according to claim 10, characterized in that The system also includes a shielding housing; The electromagnetic interference module, the lamp to be tested, and the light intensity meter are arranged inside the shielding shell; The analog-to-digital converter and the data processing module are arranged outside the shielding shell.
12. A storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.