Optocoupler detection circuit and device
By designing an optical coupling detection circuit including a driving pulse unit, an optical coupling detection unit and an output detection unit, the problems of high cost and complex operation of the traditional optical coupling detection method are solved, and fast, simple and low-cost optical coupling detection are achieved.
Patent Information
- Application Number
- CN202421701756.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2034-07-17
AI Technical Summary
The traditional optocoupler detection method requires the use of expensive power analyzers, which leads to high cost and complex operation, which cannot meet the needs of quickly judging the optocoupler function.
An optical coupling detection circuit is designed, including a driving pulse unit, an optical coupling detection unit and an output detection unit. By generating a driving pulse signal and driving the optical coupling to be measured based on the signal, the optical coupling detection result is displayed, and the power analyzer is avoided.
It realizes the fast, simplicity and low cost of optocoupler detection, reduces the overall cost of optocoupler detection, and simplifies the operation process.
Smart Images

Figure CN222850271U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of optocoupler detection technology, and in particular to an optocoupler detection circuit and device. Background Art
[0002] With the development of optocouplers, users have also put forward higher requirements for optocoupler detection.
[0003] The traditional optocoupler detection method can only detect the optocoupler through a power analyzer during incoming material inspection. This optocoupler detection method requires the use of a power analyzer, which results in high cost for optocoupler detection.
[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Utility Model Content
[0005] The main purpose of the present application is to provide an optocoupler detection circuit and device, aiming to solve the technical problem of high cost of optocoupler detection.
[0006] To achieve the above object, the present application provides an optical coupler detection circuit, the optical coupler detection circuit comprising:
[0007] A driving pulse unit, wherein the driving pulse unit is used to generate a driving pulse signal;
[0008] An optocoupler detection unit, the optocoupler detection unit comprising an optocoupler input port, an optocoupler output port and a pulse input port, the pulse input port being connected to the output end of the drive pulse unit, the optocoupler input port being connected to the input end of the optocoupler to be measured, the optocoupler output port being connected to the output end of the optocoupler to be measured, and the optocoupler detection unit being used to drive the optocoupler to be measured to output a detection output voltage based on the drive pulse signal;
[0009] An output detection unit, the output detection unit is connected to the optical coupler output port, the output detection unit is used to access the positive electrode of the first power supply, and display the optical coupler detection result based on the first voltage of the first power supply and the detection output voltage.
[0010] In one embodiment, the driving pulse unit comprises:
[0011] A driving pulse chip, wherein a VCC terminal of the driving pulse chip is connected to a second power supply;
[0012] A chip resistor, a second end of which is connected to the TC end of the drive pulse chip;
[0013] a first diode, wherein an anode of the first diode is connected to a second end of the chip resistor;
[0014] a second diode, wherein an anode of the second diode is connected to the TK terminal and the TR terminal of the driving pulse chip, and a cathode of the second diode is connected to the first end of the chip resistor;
[0015] A first capacitor, wherein a first end of the first capacitor is connected to the CL end of the driving pulse chip, and a second end of the first capacitor is connected to the anode of the second diode and the TK end and the TR end of the driving pulse chip;
[0016] A second capacitor, wherein a first end of the second capacitor is connected to a GND end of the drive pulse chip and then grounded, and a second end of the second capacitor is connected to an anode of the second diode and a TK end and a REST end of the drive pulse chip;
[0017] a first resistor, wherein a first end of the first resistor is connected to a REST end of the driving pulse chip, and a second end of the first resistor is connected to an OUT end of the driving pulse chip;
[0018] A second resistor, wherein a first end of the second resistor is connected to a second end of the first resistor, and the second end of the second resistor serves as an output end of the driving pulse unit.
[0019] In one embodiment, the chip resistor includes an adjustable resistor.
[0020] In one embodiment, the optical coupling detection unit includes:
[0021] A control switch circuit, wherein a switch input terminal of the control switch circuit serves as the pulse input port;
[0022] At least two detection branches, a first end of each detection branch is connected to a switch output end of the control switch circuit, and a second end of each detection branch is connected to the output detection unit.
[0023] In one embodiment, the first end of the detection branch also serves as the optocoupler input port and is connected to the electrical signal input port of the optocoupler to be tested, and the second end of the detection branch also serves as the optocoupler output port and is connected to the electrical signal output port of the optocoupler to be tested.
[0024] In one embodiment, the control switch circuit includes a control switch, and the control switch includes:
[0025] A main connection terminal, the main connection terminal serving as the switch input terminal;
[0026] A plurality of secondary connection ends, each of the secondary connection ends being connected to a first end of the detection branch;
[0027] A key switch, wherein a first end of the key switch is connected to a positive electrode of a third power supply;
[0028] A coil winding, wherein a first end of the coil winding is connected to a second end of the key switch, and a second end of the coil winding is grounded;
[0029] A magnetic core is close to the secondary connection end and is wound around the coil winding.
[0030] In one embodiment, the control switch circuit includes a selection switch, and the selection switch includes:
[0031] A main selection terminal, the main selection terminal serving as the switch input terminal;
[0032] A plurality of sub-selection terminals, each of which is connected to a first terminal of the detection branch.
[0033] In one embodiment, the output detection unit includes:
[0034] A speaker, a first end of the speaker is connected to the positive electrode of the first power supply;
[0035] A light emitting diode, wherein an anode of the light emitting diode is connected to the second end of the speaker, and a cathode of the light emitting diode is connected to the second end of the detection branch.
[0036] In one embodiment, the output detection unit includes:
[0037] A speaker, wherein a first end of the speaker is connected to the positive electrode of the first power supply, and a second end of the speaker is connected to the second end of the detection branch;
[0038] or,
[0039] A light emitting diode, wherein the anode of the light emitting diode is connected to the positive electrode of the first power supply, and the cathode of the light emitting diode is connected to the second end of the detection branch.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides an optocoupler detection device, which includes the above-mentioned optocoupler detection circuit.
[0041] The embodiment of the present application provides an optocoupler detection circuit, including a driving pulse unit, the driving pulse unit is used to generate a driving pulse signal; an optocoupler detection unit, the optocoupler detection unit includes an optocoupler input port, an optocoupler output port and a pulse input port, the pulse input port is connected to the output end of the driving pulse unit, the optocoupler input port is connected to the input end of the optocoupler to be tested, the optocoupler output port is connected to the output end of the optocoupler to be tested, the optocoupler detection unit is used to drive the output of the optocoupler to be tested to detect an output voltage based on the driving pulse signal; an output detection unit, the output detection unit is connected to the optocoupler output port, the output detection unit is used to connect to the positive electrode of a first power supply, and The optocoupler detection result is displayed based on the first voltage of the first power supply and the detection output voltage, and a driving pulse signal is generated by a driving pulse unit, and then the driving pulse signal is input into the optocoupler detection unit. At the same time, the optocoupler to be tested is connected in the optocoupler detection unit to drive the optocoupler to be tested to output the detection output voltage based on the driving pulse signal. The optocoupler detection result can be displayed in the output detection unit based on the detection output voltage and the first voltage of the first power supply, thereby eliminating the need to use a power analyzer (a highly integrated instrument with a higher cost than the component circuit of the present application), and then the optocoupler detection of the optocoupler to be tested connected to the optocoupler detection unit is achieved through the driving pulse unit, the optocoupler detection unit and the output detection unit, thereby reducing the cost of optocoupler detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a schematic diagram of the framework of the first embodiment of the optocoupler detection circuit of the present application;
[0043] Figure 2 A circuit diagram of an embodiment of a driving pulse unit in the optocoupler detection circuit of the present application;
[0044] Figure 3 A circuit diagram of an embodiment of an optocoupler detection unit in the optocoupler detection circuit of the present application;
[0045] Figure 4 A circuit diagram of two embodiments of an optocoupler detection unit in an optocoupler detection circuit of the present application;
[0046] Figure 5 This is a schematic diagram of the framework of the second embodiment of the optocoupler detection circuit of the present application;
[0047] Figure 6 This is a schematic diagram of the framework of the third embodiment of the optocoupler detection circuit of the present application;
[0048] Figure 7 A circuit diagram of the optocoupler detection circuit of the present application.
[0049] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
[0050] Description of Figure Numbers:
[0051] 10. drive pulse unit; 20. optocoupler detection unit; 30. output detection unit; 21. pulse input port; 22. optocoupler input port; 23. optocoupler output port; 100. optocoupler to be tested; VCC1. first power supply; VCC2. second power supply; VCC3. third power supply; RX. chip resistor; D1-D2. first diode-second diode; R1-R2. first resistor-second resistor; C1-C2. first capacitor-second capacitor; X1. drive pulse chip; U1-Un. optocoupler to be tested; U11. electrical signal input port; U12. ground terminal; U13. electrical signal output port; U14. ground terminal; 41. control switch; 42. selection switch; D3. light emitting diode; Y. speaker; SW. push switch; CX. magnetic core; Q. coil winding; 4a. main connection terminal; 4b. secondary connection terminal. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0054] An optocoupler is a device with isolated input and output ends. Its input end can be equivalent to a light-emitting diode, which converts the input electrical signal into an optical signal for transmission; its output end can be equivalent to a triode, which receives the optical signal transmitted by the light-emitting diode and converts it into an electrical signal for output. Since the control in the middle is transmitted by light, there is no fixed voltage difference between the input and output ends, that is, the input and output ends are isolated from each other. In the production process, the test of optocoupler performance usually requires the use of expensive semiconductor static parameter testers, such as power analyzers, or the construction of complex test fixtures. During incoming material inspection, if the performance of the optocoupler needs to be tested, the optocoupler can only be tested with a power analyzer. This test method not only makes the incoming material inspection test costly, but also complicated to operate, and cannot meet the actual needs of quickly judging the function of the optocoupler.
[0055] Therefore, based on the above-mentioned deficiencies of the optocoupler detection circuit, the optocoupler detection circuit of the present application is proposed in order to design how to quickly and easily determine whether the optocoupler is working normally during incoming material inspection while reducing the testing cost. The main solution of the embodiment of the present application is: generating a driving pulse signal through a driving pulse unit, and then inputting the driving pulse signal into the optocoupler detection unit, so that the optocoupler detection unit outputs a detection output voltage based on the driving pulse signal, and then the output detection unit displays the optocoupler detection result based on the detection output voltage and the power supply voltage, thereby eliminating the need to use a power analyzer (a highly integrated instrument with a higher generation and use cost than a relatively simple circuit), and then implementing optocoupler detection through a driving pulse unit, an optocoupler detection unit and an output detection unit, thereby reducing the cost of optocoupler detection.
[0056] Based on this, the embodiment of the present application provides an optical coupler detection circuit, referring to Figure 1 , Figure 1 This is a schematic diagram of the framework of the first embodiment of the optocoupler detection circuit of the present application.
[0057] Reference Figure 1 , the present application provides an optocoupler detection circuit, the optocoupler detection circuit comprising:
[0058] A driving pulse unit 10, wherein the driving pulse unit 10 is used to generate a driving pulse signal;
[0059] An optical coupler detection unit 20, the optical coupler detection unit 20 comprises an optical coupler input port 22, an optical coupler output port 23 and a pulse input port 21, the pulse input port 21 is connected to the output end of the driving pulse unit 10, the optical coupler input port 22 is connected to the input end of the optical coupler 100 to be tested, the optical coupler output port 23 is connected to the output end of the optical coupler 100 to be tested, and the optical coupler detection unit 20 is used to drive the optical coupler 100 to be tested to output a detection output voltage based on the driving pulse signal;
[0060] The output detection unit 30 is connected to the optical coupler output port 23, and is used to access the positive electrode of the first power supply VCC1, and display the optical coupler detection result based on the first voltage of the first power supply VCC1 and the detection output voltage.
[0061] In the present disclosure, a driving pulse signal is generated by a driving pulse unit 10 to detect the optocoupler to be tested in the optocoupler detection unit 20 based on the driving pulse signal. At this time, the optocoupler detection unit 20 connects the optocoupler to be tested 100 through the optocoupler input port 22 and the optocoupler output port 23. If the connected optocoupler to be tested 100 is a normal optocoupler, the driving pulse signal will be input into the optocoupler to be tested 100 based on the pulse input port 21, and the optocoupler to be tested 100 (the optocoupler to be tested 100 performs photoelectric conversion and outputs electrical signals internally) will also output voltage normally, that is, the detection output voltage. On the contrary, if the connected optocoupler to be tested 100 is an abnormal optocoupler (it cannot work due to a fault or other problems), at this time, even if the driving pulse signal is input into the optocoupler to be tested 100, the optocoupler to be tested 100 will not output voltage, that is, the optocoupler to be tested 100 has no output. Finally, the relevant display device can be driven to display based on the detection output voltage to intuitively understand the detection result. By connecting the output detection unit 30 to the output end of the optical coupler detection unit 20, and then connecting to the positive electrode of the first power supply VCC1 through the output detection unit 30, the output detection unit 30 can display the optical coupler detection result through the first voltage of the first power supply and the detection output voltage, such as driving the corresponding display to display the result through the relationship between the two levels. Among them, the driving pulse signal refers to the pulse signal generated by the driving pulse unit 10, and the detection output voltage refers to the voltage output after the driving pulse signal passes through the optical coupler 100 to be tested in the optical coupler detection unit 20, and then the detection result of the optical coupler to be tested can be quickly determined based on the optical coupler detection result, without using instruments such as power analyzers, thereby reducing the cost of optical coupler detection.
[0062] In one embodiment, a combination circuit is designed, and then the output detection unit 30 displays the detection result. Among them, the output detection unit 30 can directly compare the output voltage and the power supply voltage, or directly use light-emitting diodes and speakers for intuitive display output. Taking light-emitting diodes and speakers as examples, the sound and light effects of light-emitting diodes and speakers are controlled by the power supply voltage and the detection output voltage to determine whether the optocoupler is working normally. Its working principle is that the input drive pulse signal should be a high-low alternating voltage through the detection output voltage of the optocoupler to be tested in the optocoupler detection unit 20, which can drive the light-emitting diode and the speaker to light up and sound intermittently, and then based on the lighting and sounding of the light-emitting diode and the speaker, the detection result of the optocoupler to be tested can be clearly known, and then the optocoupler for incoming material inspection can be detected quickly and at low cost.
[0063] In the present disclosure, an optocoupler detection circuit is provided, including a driving pulse unit, the driving pulse unit is used to generate a driving pulse signal; an optocoupler detection unit, the optocoupler detection unit includes an optocoupler input port, an optocoupler output port and a pulse input port, the pulse input port is connected to the output end of the driving pulse unit, the optocoupler input port is connected to the input end of the optocoupler to be tested, the optocoupler output port is connected to the output end of the optocoupler to be tested, the optocoupler detection unit is used to drive the output of the optocoupler to be tested to detect an output voltage based on the driving pulse signal; an output detection unit, the output detection unit is connected to the optocoupler output port, the output detection unit is used to connect to the positive electrode of a first power supply, and The optocoupler detection result is displayed based on the first voltage of the first power supply and the detection output voltage, and a driving pulse signal is generated by a driving pulse unit, and then the driving pulse signal is input into the optocoupler detection unit. At the same time, the optocoupler to be tested is connected in the optocoupler detection unit to drive the optocoupler to be tested to output the detection output voltage based on the driving pulse signal. The optocoupler detection result can be displayed in the output detection unit based on the detection output voltage and the first voltage of the first power supply, thereby eliminating the need to use a power analyzer (a highly integrated instrument with a higher cost than the component circuit of the present application), and then the optocoupler detection of the optocoupler to be tested connected to the optocoupler detection unit is achieved through the driving pulse unit, the optocoupler detection unit and the output detection unit, thereby reducing the cost of optocoupler detection.
[0064] Further, based on the above-mentioned first embodiment of the present application, a second embodiment of the optical coupler detection circuit of the present application is proposed, referring to Figure 2 , Figure 2 This is a circuit diagram of an embodiment of a driving pulse unit in the optocoupler detection circuit of the present application. The driving pulse unit 10 includes:
[0065] A driving pulse chip X1, wherein a VCC terminal of the driving pulse chip X1 is connected to a second power supply VCC2;
[0066] A chip resistor RX, a second end of the chip resistor RX is connected to the TC end of the driving pulse chip X1;
[0067] a first diode D1, wherein an anode of the first diode D1 is connected to a second end of the chip resistor RX;
[0068] a second diode D2, wherein an anode of the second diode D2 is connected to the TK terminal and the TR terminal of the driving pulse chip X1, and a cathode of the second diode D2 is connected to the first end of the chip resistor RX;
[0069] A first capacitor C1, wherein a first end of the first capacitor C1 is connected to the CL end of the driving pulse chip X1, and a second end of the first capacitor C1 is connected to the anode of the second diode D2 and the TK end and the TR end of the driving pulse chip X1;
[0070] A second capacitor C2, wherein a first end of the second capacitor C2 is connected to a GND end of the drive pulse chip X1 and then connected to a ground GND, and a second end of the second capacitor C2 is connected to an anode of the second diode D2 and a TK end and a REST end of the drive pulse chip X1;
[0071] a first resistor R1, wherein a first end of the first resistor R1 is connected to a REST end of the driving pulse chip X1, and a second end of the first resistor R1 is connected to an OUT end of the driving pulse chip X1;
[0072] A second resistor R2 , wherein a first end of the second resistor R2 is connected to a second end of the first resistor R1 , and a second end of the second resistor R2 serves as an output end of the driving pulse unit 10 .
[0073] In one embodiment, the chip resistor RX includes an adjustable resistor.
[0074] In the present disclosure, the driving pulse unit 10 is used to generate a driving pulse signal to input the optical coupler to be detected. It can be a general pulse generating instrument, but because it is suitable for incoming material inspection, the overall cost will be greatly increased. Therefore, the driving pulse unit 10 can adopt a 555 circuit, wherein the driving pulse chip X1 can be a NE555 series chip, and then generate a driving pulse through the 555 circuit to drive the optical coupler to be detected to work, and control the subsequent output detection unit 30 to display the optical coupler detection result through the output voltage of the optical coupler to be detected. The above is only an embodiment of the driving pulse unit 10, and other chips or circuit connection methods can also be used to generate driving pulse signals, which are not limited here. It is worth noting that the chip resistor RX includes an adjustable resistor, so that the resistance value can be adjusted by the adjustable resistor to control the driving pulse chip X1 to output pulses of different widths. For example, the pulse width is proportional to the chip resistor RX, which can avoid the phenomenon that the actual result cannot be accurately observed when the pulse width is narrow. Taking NE555 as an example, the NE555 timer is configured as an oscillator, which generates a pulse signal of a certain frequency through an internal comparator and trigger. The width of this pulse signal (i.e., the duration of the high level or low level) can be changed by adjusting the resistance value in the external circuit (i.e., the resistance value of the chip resistor RX). Specifically, the change in the resistance value affects the rate at which the capacitor charges and discharges, thereby changing the width of the pulse.
[0075] In one embodiment, referring to Figure 3 , Figure 3 This is a circuit diagram of an embodiment of an optocoupler detection unit in the optocoupler detection circuit of the present application. The optocoupler detection unit 20 includes:
[0076] A control switch circuit, wherein the switch input end of the control switch circuit serves as the pulse input port 21;
[0077] At least two detection branches, a first end of each detection branch is connected to a switch output end of the control switch circuit, and a second end of each detection branch is connected to the output detection unit 30.
[0078] In one embodiment, the first end of the detection branch also serves as the optocoupler input port 22 and is connected to the electrical signal input port U11 of the optocoupler 100 to be tested, and the second end of the detection branch also serves as the optocoupler output port 23 and is connected to the electrical signal output port U13 of the optocoupler 100 to be tested.
[0079] In the present disclosure, the optocoupler detection unit 20 includes a control switch circuit and at least two detection branches, each of which can be connected to an optocoupler U to be tested (including U1, Un, etc.), and the optocoupler U to be tested can include an electrical signal input port U11 and a ground terminal U12 connected to an internal light-emitting diode, and an electrical signal output port U13 and a ground terminal U14 connected to an internal transistor. At this time, the optocoupler detection unit 20 has a multi-channel testing function, which can effectively respond to the needs of rapid batch inspection, making the test of optocoupler performance simpler and faster. That is, Figure 3 The optical coupler detection unit 20 composed of two optical couplers U to be tested can quickly detect the two optical couplers U to be tested. At this time, the two optical couplers U to be tested can be connected to the output end of the driving pulse unit 10 at the same time, or connected to the output end of the driving pulse unit 10 through a switch, which is not limited here. Figure 4 , Figure 4 This is a circuit diagram of the second embodiment of the optocoupler detection unit in the optocoupler detection circuit of the present application. n optocouplers U to be tested can be connected at the same time for batch detection. At this time, the optocoupler U to be tested on which branch is to be detected can be controlled based on the control switch circuit. At this time, each detection branch is equivalent to having an interface with four pins. When it is necessary to test the optocoupler U to be tested, the optocoupler U to be tested is directly inserted into the four-pin interface based on the pin correspondence of the optocoupler U to be tested, thereby completing low-cost testing of the optocoupler U to be tested.
[0080] In one embodiment, the output end of the driving pulse unit 10 can be connected to an amplifier circuit, such as a forward amplifier, an amplifier operational amplifier, etc., the input end of the amplifier is connected to the second end of the second resistor R2, and the output end of the amplifier is connected to the electrical signal input port U11 of multiple optical couplers U to be tested, thereby ensuring that multiple optical couplers U to be tested can be driven simultaneously.
[0081] Further, based on the first embodiment and / or the second embodiment of the present application, a third embodiment of the optical coupler detection circuit of the present application is proposed, referring to Figure 5 , Figure 5This is a schematic diagram of the framework of the second embodiment of the optocoupler detection circuit of the present application. The control switch circuit includes a selection switch 42. The selection switch 42 includes:
[0082] A main selection terminal, the main selection terminal serving as the switch input terminal;
[0083] A plurality of sub-selection terminals, each of which is connected to a first terminal of the detection branch.
[0084] In the present disclosure, the optocoupler detection circuit can use a selection switch 42 (the required selection switch can be selected based on the number of detection instructions, such as two-choice, three-choice, etc.), and its working principle is to select a common end as the switch input end, and multiple selection ends are connected to the first end of a detection branch to realize the detection of the optical couplers U to be tested connected to multiple detection branches. At this time, the main selection end can be controlled to select the secondary selection end to be connected, such as inputting a binary control instruction through the selection switch 42 to control which secondary selection end the main selection end is specifically connected to. Other switches can also be used here, such as a manual switch of the user, which is not limited here.
[0085] In the present disclosure, the optical coupler U to be tested can be connected to a certain detection branch, and during detection, the main selection end of the selection switch 42 can be connected to the secondary selection end on the detection branch. At this time, a detection branch can be randomly selected to detect the optical coupler U to be tested; if there are multiple optical couplers U to be tested, the optical coupler U to be tested is first connected to each detection branch, and the main selection end can be controlled to be connected to the secondary selection end on each detection branch in turn. At this time, multiple detection branches can be used to detect the optical coupler U to be tested.
[0086] In one embodiment, referring to Figure 6 , Figure 6 This is a schematic diagram of the framework of the third embodiment of the optocoupler detection circuit of the present application. The control switch circuit includes a control switch 41. The control switch 41 includes:
[0087] A main connection terminal 4a, the main connection terminal 4a serving as the switch input terminal;
[0088] A plurality of secondary connection terminals 4b, each of the secondary connection terminals 4b is connected to a first terminal of the detection branch.
[0089] A key switch SW, wherein a first end of the key switch SW is connected to a positive electrode of a third power supply VCC3;
[0090] A coil winding Q, wherein a first end of the coil winding Q is connected to a second end of the key switch SW, and a second end of the coil winding Q is grounded;
[0091] A magnetic core CX, wherein the magnetic core CX is close to the secondary connection terminal 4b and is wound around the coil winding Q.
[0092] In the present disclosure, the optocoupler detection circuit also includes a control switch 41, and the control switch 41 is used to select which optocoupler U to be tested is connected to for detection. The principle of the control switch 41 is that when the key switch SW is not pressed, the main connection terminal 4a is fixedly connected to a secondary connection terminal 4b (there is no magnetic core CX close to the secondary connection terminal 4b), and when the key switch SW connected to the coil winding Q on the magnetic core CX close to a certain secondary connection terminal 4b is pressed, the coil winding Q and the magnetic core CX generate a magnetic field, and then the main connection terminal 4a is attracted to the secondary connection terminal 4b, thereby realizing detection of different optocouplers U to be tested. It is worth noting that the first power supply VCC1, the second power supply VCC2 and the third power supply VCC3 can use the same power supply or different power supplies.
[0093] In the present disclosure, because the main connection terminal 4a is fixed to a secondary connection terminal 4b, when there is only one optocoupler U to be tested, the optocoupler U to be tested can be directly connected to the secondary connection terminal 4b fixedly connected to the main connection terminal 4a, and the detection of the optocoupler U to be tested can be quickly completed on the corresponding detection branch (first detection branch); if there are two optocouplers U to be tested, the detection of the two optocouplers U to be tested can be completed in the first detection branch in sequence based on the above method, or the two optocouplers U to be tested can be directly connected to the two detection branches. After completing the detection of the optocoupler U to be tested on the first detection branch, press the key switch SW to control the main connection terminal 4a to be connected to another normally open secondary connection terminal 4b. At this time, the optocoupler U to be tested on the second detection branch connected to the secondary connection terminal 4b is detected. If there are multiple optocouplers U to be tested, multiple key switches SW and their corresponding secondary connection terminals 4b can be set to perform in sequence to realize batch detection of optocouplers U to be tested.
[0094] Further, in one embodiment, referring to Figure 7 , Figure 7 This is a circuit diagram of the optocoupler detection circuit of the present application. The output detection unit 30 includes:
[0095] A speaker Y, a first end of the speaker Y is connected to the positive electrode of the first power supply VCC1;
[0096] A light emitting diode D3, wherein an anode of the light emitting diode D3 is connected to the second end of the speaker Y, and a cathode of the light emitting diode D3 is connected to the second end of the detection branch.
[0097] In one embodiment, the output detection unit includes:
[0098] A speaker Y, wherein a first end of the speaker Y is connected to the positive electrode of the first power supply VCC1, and a second end of the speaker Y is connected to the second end of the detection branch;
[0099] or,
[0100] A light emitting diode D3, wherein the anode of the light emitting diode D3 is connected to the positive electrode of the first power supply VCC1, and the cathode of the light emitting diode D3 is connected to the second end of the detection branch.
[0101] In one embodiment, by generating an acoustic and optical effect based on the drive output detection unit 30 and then observing the acoustic and optical effect, it is possible to quickly determine whether the optocoupler is working normally. For example, if the speaker Y and / or the light-emitting diode D3 are always on and continuously make a sound (at this time, the drive pulse signal is a long pulse, which can be controlled based on the resistance value of the chip resistor RX), the optocoupler detection result is determined to be abnormal. If the speaker Y and / or the light-emitting diode D3 are not on and do not make a sound, the optocoupler detection result is determined to be abnormal. If the speaker Y and / or the light-emitting diode D3 are intermittently lit and make a sound (at this time, the drive pulse signal is a short pulse, which can be controlled based on the resistance value of the chip resistor RX), the optocoupler detection result is determined to be normal. At this time, the speaker Y and the light-emitting diode D3 can be used at the same time, or the speaker Y or the light-emitting diode D3 can be used alone, so as to achieve the acoustic and optical effect of the optocoupler, thereby reducing the cost of optocoupler detection.
[0102] In one embodiment, the process of testing the optical coupler performance can be simplified by using the sound and light effect, making the test more convenient and quick. Figure 7 The circuit is used to determine whether the optocoupler is working normally, so there is no need to use expensive testing equipment, which reduces the testing cost. At the same time, for the incoming material inspection process of this application, the optocoupler detection circuit can be carried with you, so it has better mobility and can test the optocoupler performance anytime and anywhere.
[0103] The present application also provides an optocoupler detection device, comprising the above-mentioned optocoupler detection circuit.
[0104] The optical coupler detection device provided in this application can solve the technical problem of high cost of optical coupler detection. Compared with the prior art, the beneficial effects of the optical coupler detection device provided in this application are the same as the beneficial effects of the optical coupler detection device circuit provided in the above embodiment, which will not be repeated here.
[0105] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. An optocoupler detection circuit, characterized in that: The optocoupler detection circuit comprises: A driving pulse unit, wherein the driving pulse unit is used to generate a driving pulse signal; An optocoupler detection unit, the optocoupler detection unit comprising an optocoupler input port, an optocoupler output port and a pulse input port, the pulse input port being connected to the output end of the drive pulse unit, the optocoupler input port being connected to the input end of the optocoupler to be measured, the optocoupler output port being connected to the output end of the optocoupler to be measured, and the optocoupler detection unit being used to drive the optocoupler to be measured to output a detection output voltage based on the drive pulse signal; An output detection unit, the output detection unit is connected to the optical coupler output port, the output detection unit is used to access the positive electrode of the first power supply, and display the optical coupler detection result based on the first voltage of the first power supply and the detection output voltage.
2. The optocoupler detection circuit according to claim 1, characterized in that: The driving pulse unit comprises: A driving pulse chip, wherein a VCC terminal of the driving pulse chip is connected to a second power supply; A chip resistor, a second end of which is connected to the TC end of the drive pulse chip; a first diode, wherein an anode of the first diode is connected to a second end of the chip resistor; a second diode, wherein an anode of the second diode is connected to the TK terminal and the TR terminal of the driving pulse chip, and a cathode of the second diode is connected to the first end of the chip resistor; A first capacitor, wherein a first end of the first capacitor is connected to the CL end of the driving pulse chip, and a second end of the first capacitor is connected to the anode of the second diode and the TK end and the TR end of the driving pulse chip; A second capacitor, wherein a first end of the second capacitor is connected to a GND end of the drive pulse chip and then grounded, and a second end of the second capacitor is connected to an anode of the second diode and a TK end and a REST end of the drive pulse chip; a first resistor, wherein a first end of the first resistor is connected to a REST end of the driving pulse chip, and a second end of the first resistor is connected to an OUT end of the driving pulse chip; A second resistor, wherein a first end of the second resistor is connected to a second end of the first resistor, and the second end of the second resistor serves as an output end of the driving pulse unit.
3. The optocoupler detection circuit according to claim 2, characterized in that: The chip resistor includes an adjustable resistor.
4. The optocoupler detection circuit according to claim 1, characterized in that: The optical coupler detection unit comprises: A control switch circuit, wherein a switch input terminal of the control switch circuit serves as the pulse input port; At least two detection branches, a first end of each detection branch is connected to a switch output end of the control switch circuit, and a second end of each detection branch is connected to the output detection unit.
5. The optocoupler detection circuit as claimed in claim 4, characterized in that: The first end of the detection branch also serves as the optocoupler input port and is connected to the electrical signal input port of the optocoupler to be tested. The second end of the detection branch also serves as the optocoupler output port and is connected to the electrical signal output port of the optocoupler to be tested.
6. The optocoupler detection circuit as claimed in claim 4, characterized in that: The control switch circuit includes a control switch, and the control switch includes: A main connection terminal, the main connection terminal serving as the switch input terminal; A plurality of secondary connection ends, each of the secondary connection ends being connected to a first end of the detection branch; A key switch, wherein a first end of the key switch is connected to a positive electrode of a third power supply; A coil winding, wherein a first end of the coil winding is connected to a second end of the key switch, and a second end of the coil winding is grounded; A magnetic core is close to the secondary connection end and is wound around the coil winding.
7. The optocoupler detection circuit as claimed in claim 4, characterized in that: The control switch circuit includes a selection switch, and the selection switch includes: A main selection terminal, the main selection terminal serving as the switch input terminal; A plurality of sub-selection terminals, each of which is connected to a first terminal of the detection branch.
8. The optocoupler detection circuit as claimed in claim 4, characterized in that: The output detection unit comprises: A speaker, a first end of the speaker is connected to the positive electrode of the first power supply; A light emitting diode, wherein an anode of the light emitting diode is connected to the second end of the speaker, and a cathode of the light emitting diode is connected to the second end of the detection branch.
9. The optocoupler detection circuit as claimed in claim 4, characterized in that: The output detection unit comprises: A speaker, wherein a first end of the speaker is connected to the positive electrode of the first power supply, and a second end of the speaker is connected to the second end of the detection branch; or, A light emitting diode, wherein the anode of the light emitting diode is connected to the positive electrode of the first power supply, and the cathode of the light emitting diode is connected to the second end of the detection branch.
10. An optical coupler detection device, characterized in that: The optical coupler detection device comprises an optical coupler detection circuit as claimed in any one of claims 1 to 9.