Infrared test system based on electronic components
By designing an infrared testing system including processing unit, storage unit, infrared emitting unit and receiving unit, batch testing of electronic components is realized, the problem of long testing time in the prior art is solved, and the testing efficiency is improved.
Patent Information
- Application Number
- CN202110476156.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-29
- Publication Date
- 2024-11-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing test methods for infrared communication functions of electronic components need to be tested one by one, resulting in long test time and low efficiency, especially when there are many quantities.
Design an infrared test system including a processing unit, a storage unit, an infrared transmitting unit, an infrared receiving unit and a power supply unit. By transmitting and receiving infrared test signals, the return signal is analyzed to judge the test results of electronic components, and the buzzer and The LED display unit performs abnormal alarm and results display.
The batch infrared communication function test of electronic components is realized, which shortens the test time, improves the test efficiency, and overcomes the disadvantages of testing one by one.
Smart Images

Figure CN113311259B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of electronic circuits, and in particular relates to an infrared testing system based on electronic components. Background Art
[0002] In order to expand the functions of some existing electronic components, infrared communication functions are integrated. The infrared communication functions of such electronic components need to be tested during the production process to confirm whether the infrared communication functions of the electronic components are normal. The existing testing method is to perform infrared tests on each electronic component in turn, but if a large number of electronic components need to be tested, the test time will be long and the test efficiency will be low. Summary of the invention
[0003] In view of the defects in the prior art, the present invention provides an infrared testing system based on electronic components, which shortens the testing time and improves the testing efficiency.
[0004] An infrared testing system for electronic components comprises a processing unit, a storage unit, an infrared transmitting unit, an infrared receiving unit and a power supply unit;
[0005] The storage unit, the infrared transmitting unit and the infrared receiving unit are respectively connected to the processing unit, and the power supply unit supplies power to the infrared testing system;
[0006] The infrared transmitting unit is used to transmit a preset infrared test signal, and the infrared receiving unit is used to receive a return signal from the electronic component and transmit the return signal to the processing unit; the return signal includes a response pulse and an electronic component ID;
[0007] The processing unit is used to generate the infrared test signal, analyze the return signal, and obtain the test result of the electronic component.
[0008] Preferably, the processing unit is specifically used to: separate the response pulse and electronic component ID from the return information; determine whether the response pulse is consistent with a preset response signal, if so, set the test result corresponding to the electronic component ID to normal, otherwise, set the test result corresponding to the electronic component ID to abnormal.
[0009] Preferably, the response signal corresponds to the infrared test signal.
[0010] Preferably, the storage unit includes a memory U1, and the model of the memory U1 is 24C02;
[0011] The first pin, the second pin, the third pin and the fourth pin of the memory U1 are connected to each other and connected to a high level through the capacitor CX8; the eighth pin of the memory U1 is connected to a high level;
[0012] The fifth pin, the sixth pin, and the seventh pin of the memory U1 are connected to the processing unit.
[0013] Preferably, the infrared emitting unit includes an infrared emitting head L4 and a transistor Q2; the drain of the transistor Q2 is grounded, the source of the transistor Q2 is reversely connected to the infrared emitting head L4 to a high level, and the gate of the transistor Q2 is connected to the processing unit through a resistor R14.
[0014] Preferably, the infrared receiving unit comprises an infrared receiving head U8, a first pin of the infrared receiving head U8 is electrically connected to the processing unit, a second pin of the infrared receiving head U8 is grounded, and a third pin of the infrared receiving head U8 is connected to a high level.
[0015] Preferably, the system further comprises a buzzer unit and an LED display unit electrically connected to the processing unit respectively;
[0016] The processing unit is also used to control the buzzer unit to start when an abnormal test result is detected; the processing unit is also used to control the corresponding light-emitting diode in the LED display unit to start or shut down according to the test result of each electronic component ID;
[0017] The electronic component is installed on a test frame, and a plurality of bases are provided on the test frame, and each base is installed with an electronic component; the electronic component ID is the base ID; and each base corresponds to a light emitting diode.
[0018] Preferably, the display unit comprises a plurality of the light emitting diodes; the anode of each light emitting diode is connected to a high level, and the cathode is connected to the processing unit via a resistor.
[0019] Preferably, the buzzer unit comprises a transistor Q2 and a buzzer;
[0020] The source of the transistor Q2 is connected to a high level, the gate of the transistor Q2 is connected to the processing unit through the resistor R39, the drain of the transistor Q2 is connected to one terminal of the buzzer, and the other terminal of the buzzer is grounded through the resistor R19.
[0021] Preferably, the LED display unit further comprises a display screen electrically connected to the processing unit.
[0022] It can be seen from the above technical solutions that the infrared testing system based on electronic components provided by the present invention can perform batch testing of infrared communication functions of electronic components, shorten the testing time, improve the testing efficiency, and overcome the drawbacks of testing electronic components one by one in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0024] Figure 1 A module block diagram of an infrared testing system provided in an embodiment of the present invention.
[0025] Figure 2 A circuit diagram of a storage unit provided in an embodiment of the present invention.
[0026] Figure 3 A circuit diagram of an infrared emitting unit provided in an embodiment of the present invention.
[0027] Figure 4 A circuit diagram of an infrared receiving unit provided in an embodiment of the present invention.
[0028] Figure 5 A circuit diagram of a display unit provided by an embodiment of the present invention.
[0029] Figure 6 A circuit diagram of a buzzer unit provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0030] The embodiments of the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and the protection scope of the present invention cannot be limited thereto. It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should be the common meanings understood by those skilled in the art to which the present invention belongs.
[0031] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0032] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0033] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.
[0034] Example:
[0035] An infrared test system for electronic components, see Figure 1 , including a processing unit, a storage unit, an infrared transmitting unit, an infrared receiving unit and a power supply unit;
[0036] The storage unit, the infrared transmitting unit and the infrared receiving unit are respectively connected to the processing unit, and the power supply unit supplies power to the infrared testing system;
[0037] The infrared transmitting unit is used to transmit a preset infrared test signal, and the infrared receiving unit is used to receive a return signal from the electronic component and transmit the return signal to the processing unit; the return signal includes a response pulse and an electronic component ID;
[0038] The processing unit is used to generate the infrared test signal, analyze the return signal, and obtain the test result of the electronic component.
[0039] When the infrared test system based on electronic components is used, the infrared test system sends infrared test signals to all electronic components that need to be tested. If the electronic component receives the infrared test signal, it will return a corresponding return signal to the infrared test system. If the electronic component is normal, it will return a corresponding signal based on the infrared test signal. If the electronic component is abnormal, the infrared test system will not receive the signal returned by the electronic component, or will receive an erroneous return signal.
[0040] The storage unit is used to store various data, including infrared test signals, electronic component IDs and other associated data. The infrared test system can perform batch tests on infrared communication functions of electronic components, shorten test time, improve test efficiency, and overcome the drawbacks of testing electronic components one by one in the prior art.
[0041] Preferably, the processing unit is specifically used to: separate the response pulse and the electronic component ID from the returned information; determine whether the response pulse is consistent with a preset response signal, if so, set the test result corresponding to the electronic component ID to be normal, otherwise, set the test result corresponding to the electronic component ID to be abnormal. The response signal corresponds to the infrared test signal.
[0042] Specifically, the system compares the pulse signal returned by each electronic component ID with the preset response signal. If they are consistent, it means that the electronic component has returned the correct signal and the electronic component is normal. If they are inconsistent, it means that the data returned by the electronic component is incorrect and the electronic component is abnormal. The system implements batch testing of the infrared communication function of electronic components through this method.
[0043] See also Figure 2 , the storage unit includes a memory U1, the model of the memory U1 is 24C02;
[0044] The first pin, the second pin, the third pin and the fourth pin of the memory U1 are connected to each other and connected to a high level through the capacitor CX8; the eighth pin of the memory U1 is connected to a high level;
[0045] The fifth pin, the sixth pin, and the seventh pin of the memory U1 are connected to the processing unit.
[0046] Specifically, the method uses EEPROM to store data, thereby achieving the function of preventing data from being lost when power is off.
[0047] See also Figure 3 The infrared emitting unit includes an infrared emitting head L4 and a transistor Q2; the drain of the transistor Q2 is grounded, the source of the transistor Q2 is reversely connected to the infrared emitting head L4 to a high level, and the gate of the transistor Q2 is connected to the processing unit through a resistor R14.
[0048] Specifically, when the processing unit transmits a low level to the transistor Q2, the transistor Q2 is turned on, and the infrared emitting unit is powered on and emits light. When the processing unit transmits a high level to the transistor Q2, the transistor Q2 is turned off, and the infrared emitting unit does not work. The system realizes the infrared emitting function through the above circuit.
[0049] See also Figure 4 The infrared receiving unit includes an infrared receiving head U8, a first pin of the infrared receiving head U8 is electrically connected to the processing unit, a second pin of the infrared receiving head U8 is grounded, and a third pin of the infrared receiving head U8 is connected to a high level.
[0050] Specifically, the system receives infrared signals through an infrared receiving head and transmits them to a processing module for processing.
[0051] Preferably, the system further comprises a buzzer unit and an LED display unit electrically connected to the processing unit respectively;
[0052] The processing unit is also used to control the buzzer unit to start when an abnormal test result is detected; the processing unit is also used to control the corresponding light-emitting diode in the LED display unit to start or shut down according to the test result of each electronic component ID;
[0053] The electronic component is installed on a test frame, and a plurality of bases are provided on the test frame, and each base is installed with an electronic component; the electronic component ID is the base ID; and each base corresponds to a light emitting diode.
[0054] Specifically, the system is also provided with an LED display unit for displaying the test results of each electronic component. For example, when the test result of the electronic component is normal or abnormal, the corresponding light-emitting diode can be set to light up. When the test result of an electronic component is abnormal, the buzzer is controlled to start an alarm to remind the relevant staff that there is an abnormal electronic component in this batch of electronic components. Then the staff can determine which electronic component is abnormal by checking the light-emitting diode.
[0055] The test rack mainly supplies power to the electronic components to facilitate the testing of the electronic components. The system can install multiple electronic components on the test rack in the same batch of tests to achieve batch testing of electronic components.
[0056] See also Figure 5 The display unit includes a plurality of light emitting diodes; the anode of each light emitting diode is connected to a high level, and the cathode is connected to the processing unit through a resistor.
[0057] Specifically, when the processing unit outputs a low level to the light emitting diode, the light emitting diode is turned on and emits light. When the processing unit outputs a high level to the light emitting diode, the light emitting diode is turned off and does not work.
[0058] See also Figure 6 , the buzzer unit includes a transistor Q2 and a buzzer;
[0059] The source of the transistor Q2 is connected to a high level, the gate of the transistor Q2 is connected to the processing unit through the resistor R39, the drain of the transistor Q2 is connected to one terminal of the buzzer, and the other terminal of the buzzer is grounded through the resistor R19.
[0060] Specifically, when the processing unit outputs a low level to the transistor Q2, the transistor Q2 is turned on, the buzzer works, and an alarm is sounded. When the processing unit outputs a high level to the transistor Q2, the transistor Q2 is turned off, and the buzzer does not work.
[0061] Preferably, the LED display unit further comprises a display screen electrically connected to the processing unit.
[0062] Specifically, the display screen is used for displaying data.
[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. An infrared testing system for electronic components, characterized in that: It includes a processing unit, a storage unit, an infrared transmitting unit, an infrared receiving unit and a power supply unit; The storage unit, the infrared transmitting unit and the infrared receiving unit are respectively connected to the processing unit, and the power supply unit supplies power to the infrared testing system; The infrared transmitting unit is used to transmit a preset infrared test signal, and the infrared receiving unit is used to receive a return signal from the electronic component and transmit the return signal to the processing unit; the return signal includes a response pulse and an electronic component ID; The processing unit is used to generate the infrared test signal, analyze the return signal, and obtain the test result of the electronic component; The storage unit includes a memory U1, and the model of the memory U1 is 24C02; The first pin, the second pin, the third pin and the fourth pin of the memory U1 are connected to each other and connected to a high level through the capacitor CX8; the eighth pin of the memory U1 is connected to a high level; The fifth pin, the sixth pin and the seventh pin of the memory U1 are connected to the processing unit; The system also includes a buzzer unit and an LED display unit electrically connected to the processing unit respectively; The processing unit is also used to control the buzzer unit to start when an abnormal test result is detected; the processing unit is also used to control the corresponding light-emitting diode in the LED display unit to start or shut down according to the test result of each electronic component ID; The electronic component is installed on a test frame, and a plurality of bases are provided on the test frame, and each base is installed with an electronic component; the electronic component ID is the base ID; and each base corresponds to a light emitting diode.
2. The infrared testing system for electronic components according to claim 1, characterized in that: The processing unit is specifically used to: separate the response pulse and the electronic component ID from the returned information; determine whether the response pulse is consistent with a preset response signal, if so, set the test result corresponding to the electronic component ID to normal, otherwise, set the test result corresponding to the electronic component ID to abnormal.
3. The infrared testing system for electronic components according to claim 2, characterized in that: The response signal corresponds to the infrared test signal.
4. The infrared testing system for electronic components according to claim 1, characterized in that: The infrared emitting unit includes an infrared emitting head L4 and a transistor Q2; the drain of the transistor Q2 is grounded, the source of the transistor Q2 is reversely connected to the infrared emitting head L4 to a high level, and the gate of the transistor Q2 is connected to the processing unit through a resistor R14.
5. The infrared testing system for electronic components according to claim 4, characterized in that: The infrared receiving unit comprises an infrared receiving head U8, a first pin of the infrared receiving head U8 is electrically connected to the processing unit, a second pin of the infrared receiving head U8 is grounded, and a third pin of the infrared receiving head U8 is connected to a high level.
6. The infrared testing system for electronic components according to claim 1, characterized in that: The display unit includes a plurality of light emitting diodes; the anode of each light emitting diode is connected to a high level, and the cathode is connected to the processing unit through a resistor.
7. The infrared testing system for electronic components according to claim 1, characterized in that: The buzzer unit includes a transistor Q2 and a buzzer; The source of the transistor Q2 is connected to a high level, the gate of the transistor Q2 is connected to the processing unit through the resistor R39, the drain of the transistor Q2 is connected to one terminal of the buzzer, and the other terminal of the buzzer is grounded through the resistor R19.
8. The infrared testing system for electronic components according to claim 1, characterized in that: The LED display unit also includes a display screen electrically connected to the processing unit.
