Relay tester circuit
By introducing the main control MCU, fuse testing circuit and LED indicator circuit into the relay tester circuit, the problem of single functions and incompatibility of fuse measurement in the prior art is solved, and more comprehensive testing functions and higher compatibility and cost-effectiveness are achieved.
Patent Information
- Application Number
- CN202420828273.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-19
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2034-04-19
AI Technical Summary
The existing relay test circuit has a single function, cannot be compatible with fuse measurement, and lacks considerations for product compatibility and cost-effectiveness.
A relay tester circuit is designed, including a main control MCU, a fuse test circuit and an LED indicator circuit. The fuse test function is enhanced by utilizing the bidirectional port of the main control MCU and adding a resistor.
This design makes the relay tester circuit functions more comprehensive, adds fuse testing function, and improves product compatibility and cost-effectiveness.
Smart Images

Figure CN222784558U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to a relay tester circuit, belonging to the technical field of relay testing. Background Art
[0002] Relay is an important electrical device, widely used in automatic control, power system, transportation, communication, computer and other fields.
[0003] With the development of science and technology, relays also occupy an important position in the field of automotive electronics, and are widely used in the fields of automotive engine control systems, lighting, and airbag control systems.
[0004] Prior art, such as the utility model patent with patent number "CN218956745U", discloses a relay test circuit and device, wherein the circuit includes a control circuit, a display circuit, a drive circuit, and a voltage stabilizing circuit; the display circuit is connected to the control circuit, the drive circuit is connected to the control circuit, the drive circuit is also connected to a control output terminal, the control output terminal also includes a first power supply terminal S11, the control circuit is connected to a test terminal, the test terminal is also connected to a voltage stabilizing circuit, and the voltage stabilizing circuit is used for power supply, which effectively reduces the manpower input in relay reliability detection.
[0005] However, the relay test circuit proposed in the above technical solution has a single function, the test function is not comprehensive enough, and it is not compatible with fuse measurement. With the development of society, product compatibility and cost performance will be more valued and loved by customers, and products with single functions will gradually lose customers. Utility Model Content
[0006] In order to solve the above problems existing in the prior art, the utility model proposes a relay tester circuit.
[0007] The technical solution of the utility model is as follows:
[0008] A relay tester circuit, characterized in that it comprises a main control MCU, a fuse test circuit and an LED indication circuit;
[0009] The main control MCU is electrically connected to the fuse circuit and the LED indication circuit respectively;
[0010] The fuse circuit includes a fuse test terminal F1 and a resistor R5, one end of the fuse test terminal F1 is connected to the P5 port of the main control MCU, and the other end is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the VCC power supply;
[0011] The LED indication circuit includes a first LED indicator light, a second LED indicator light and a resistor R6. The anode of the first LED indicator light is connected to the P5 port of the main control MCU, the cathode is connected to one end of the resistor R6, and the other end of the resistor R6 is connected to the negative ground; the anode of the second LED indicator light is connected to the P6 port of the control MCU, and the cathode is connected to the common cathode of the first LED indicator light.
[0012] As a preferred implementation mode of the present utility model, the P5 port of the main control MCU is a bidirectional port.
[0013] As a preferred embodiment of the utility model, it also includes a relay test circuit;
[0014] The relay test circuit includes a relay, a resistor R2, a transistor Q1, a pull-up resistor R3, and a pull-up resistor R4;
[0015] One end of resistor R2 is connected to the P4 port of the main control MCU, and the other end is connected to the base of transistor Q1. The collector of transistor Q1 is connected to the relay coil, and the emitter is grounded. The NC pin of the relay is connected to the P1 port of the main control MCU, and the NO pin is connected to P2 of the main control MCU. The relay NO is connected to the pull-up resistor R3, the relay NC is connected to the pull-up resistor R4, and the other end of the pull-up resistor R3 and the pull-up resistor R4 are connected to the VCC power supply.
[0016] As a preferred embodiment of the present utility model, it also includes a power supply circuit.
[0017] The utility model has the following beneficial effects:
[0018] 1. Compared with the traditional relay tester, the utility model makes full use of the bidirectionality of the microcontroller port and adds a fuse test function while only adding one resistor, making the product more advantageous and more complete in function and performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic diagram of the main control MCU, fuse test circuit and LED indication circuit of the utility model.
[0020] Figure 2 This is a schematic diagram of the relay test circuit of the utility model;
[0021] Figure 3 This is a schematic diagram of the power supply circuit of the utility model;
[0022] Figure 4 This is a system workflow diagram of Embodiment 2 of the present utility model.
[0023] R1-R7 are resistors; F1 is the fuse test port; C1-C4 are capacitors; Q1 is a transistor; U1 is the main control MCU; U2 is the power regulator chip; D1 is a diode; BT is the power supply battery. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0025] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.
[0026] It should be understood that the terms used in the utility model specification are only for the purpose of describing specific embodiments and are not intended to limit the utility model. As used in the utility model specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0027] The terms “include” and “comprising” 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.
[0028] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.
[0029] Embodiment 1:
[0030] See also Figure 1 , a relay tester circuit, including a main control MCU, a fuse test circuit and an LED indication circuit;
[0031] The main control MCU is electrically connected to the fuse circuit and the LED indication circuit respectively;
[0032] The fuse circuit includes a fuse test terminal F1 and a resistor R5, one end of the fuse test terminal F1 is connected to the P5 port of the main control MCU, and the other end is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the VCC power supply;
[0033] The LED indication circuit includes a green LED indicator light, a red LED indicator light and a resistor R6, wherein the anode of the green LED indicator light is connected to the P5 port of the main control MCU, the cathode is connected to one end of the resistor R6, and the other end of the resistor R6 is connected to the negative ground; the anode of the red LED indicator light is connected to the P6 port of the control MCU, and the cathode is connected to the common cathode of the green LED indicator light.
[0034] When the fuse is inserted into the fuse test and is normal, the P5 port of the main control MCU U1 is pulled up to a high level. At this time, the judgment is completed, and the P5 port of the main control MCU U1 releases control. The green indicator light is on with VCC power supply. On the contrary, the P5 port of the main control MCU U1 is not pulled up. Keep the low level, the relay test circuit starts, and the judgment begins.
[0035] As a preferred implementation of this embodiment, the P5 port of the main control MCU is a bidirectional port, which can be used as both input and output. The port is set to input state during the idle time before the indicator light connected to it indicates whether the fuse is normally turned on.
[0036] As a preferred implementation of this embodiment, it also includes a relay test circuit;
[0037] See also Figure 2 , the relay test circuit includes a relay, a resistor R2, a transistor Q1, a pull-up resistor R3, and a pull-up resistor R4;
[0038] One end of the resistor R2 is connected to the P4 port of the main control MCU, and the other end is connected to the base of the transistor Q1. The collector of the transistor Q1 is connected to the relay coil, and the emitter is grounded. The relay coil is grounded and turned on through the P4 port of the main control MCU. The NC pin of the relay is connected to the P1 port of the main control MCU, and the NO pin is connected to the P2 of the main control MCU. The relay NO is connected to the pull-up resistor R3, and the relay NC is connected to the pull-up resistor R4. The other ends of the pull-up resistor R3 and the pull-up resistor R4 are connected to the VCC power supply;
[0039] When the P4 port of the main control MCU U1 is pulled high, Q1 is turned on, NO is closed, P2 of the main control MCU U1 changes from high to low, P1 of the main control MCU U1 is charged by the pull-up resistor R4 and changes from low to high. When the P4 port of the main control MCU U1 is pulled low, Q1 is turned off, NC is closed, and P1 of the main control MCU U1 changes from high to low. P2 of the main control MCU U1 is charged by the pull-up resistor R3 and changes from low to high. Repeat this 10 times. When both P1 and P2 ports are normal, the test result shows that the relay is normal and the green light is on. Otherwise, the red light is on, indicating that the test device is abnormal.
[0040] See also Figure 3 As a preferred implementation of this embodiment, it also includes a power supply circuit. The battery BT provides an input voltage to the power supply voltage regulator chip U2 through the diode D1. The input voltage is stabilized by the power supply voltage regulator chip U2 and then filtered by capacitors C1, C2, and C3 to power other circuits.
[0041] Embodiment 2:
[0042] See also Figure 4 , this embodiment proposes a relay tester circuit system, and its working process is as follows:
[0043] Step 1: Device startup and system data initialization, including I0 port initialization and register data initialization.
[0044] Step 2: Set the P5 port of the master MCU U1 to input status.
[0045] Step 3: Determine whether the P5 port of the main control MCU U1 is at a high level.
[0046] Step 4: If it is high level, the P6 of the main control MCU U1 pulls down the red light to turn off, the green light is powered by VCC, and returns to step 3. Otherwise, the P5 of the main control MCU U1 is set to output state and pulls down to turn off the green light, and starts the relay judgment at the same time.
[0047] Step 5: Determine whether the relay works normally 10 times.
[0048] Step 6: If yes, then P5 of the main control MCU U1 is high, the green light is on, and P6 of the MCU U1 is pulled low to turn off the red light. Otherwise, P5 of the main control MCU U1 is low, the green light is off, and P6 of the main control MCU U1 is pulled high to turn on the red light.
[0049] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0050] The above description is only an embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A relay tester circuit, characterized in that: Including main control MCU, fuse test circuit and LED indication circuit; The main control MCU is electrically connected to the fuse circuit and the LED indication circuit respectively; The fuse circuit includes a fuse test terminal F1 and a resistor R5, one end of the fuse test terminal F1 is connected to the P5 port of the main control MCU, and the other end is connected to one end of the resistor R5, and the other end of the resistor R5 is connected to the VCC power supply; The LED indication circuit includes a first LED indicator light, a second LED indicator light and a resistor R6. The anode of the first LED indicator light is connected to the P5 port of the main control MCU, the cathode is connected to one end of the resistor R6, and the other end of the resistor R6 is connected to the negative ground; the anode of the second LED indicator light is connected to the P6 port of the main control MCU, and the cathode is connected to the common cathode of the first LED indicator light.
2. A relay tester circuit according to claim 1, characterized in that: The P5 port of the master MCU is a bidirectional port.
3. A relay tester circuit according to claim 1, characterized in that: Also includes a relay test circuit; The relay test circuit includes a relay, a resistor R2, a transistor Q1, a pull-up resistor R3, and a pull-up resistor R4; One end of resistor R2 is connected to the P4 port of the main control MCU, and the other end is connected to the base of transistor Q1. The collector of transistor Q1 is connected to the relay coil, and the emitter is grounded. The NC pin of the relay is connected to the P1 port of the main control MCU, and the NO pin is connected to P2 of the main control MCU. The relay NO is connected to the pull-up resistor R3, the relay NC is connected to the pull-up resistor R4, and the other end of the pull-up resistor R3 and the pull-up resistor R4 are connected to the VCC power supply.
4. A relay tester circuit according to claim 1, characterized in that: A power supply circuit is also included.