Tunnel intelligent controller for detecting working state of peripheral equipment
By designing a tunnel intelligent controller, the port control switch and port state detection unit collect the voltage and current of the peripheral device, combined with CPU unit calculation, the accurate positioning of the working status of the peripheral device is achieved, and the problem of inaccurate detection in the prior art is solved.
Patent Information
- Application Number
- CN202422479949.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2034-10-14
AI Technical Summary
The prior art solutions cannot accurately detect the working status of the peripheral device, especially when the feedback signal is abnormal, it is impossible to distinguish whether the peripheral has not received the control signal or the feedback signal is abnormal.
A tunnel intelligent controller is designed, including a port control switch, a port state detection unit and a CPU unit. The power switch is controlled through the port control switch, and the voltage and current of the peripheral device are collected through the port state detection unit, and the working state of the peripheral device is calculated by using the CPU unit.
It realizes accurate positioning of the working status of peripheral equipment, solves the problem of inaccurate detection in the prior art, and can obtain the working status information of peripheral equipment in a timely manner.
Smart Images

Figure CN223217801U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of tunnel equipment access control and detection, in particular to a tunnel intelligent controller for detecting the working status of peripheral equipment. Background Art
[0002] Generally, when performing control operations, electromechanical equipment needs to obtain the results of the operation in a timely and accurate manner to understand whether the control operation has been executed.
[0003] Existing solutions generally use a separate feedback signal or a communication protocol feedback peripheral to transmit the operation instruction to the device after receiving it.
[0004] The disadvantage of existing solutions is that when the device is operating normally, it can detect the normal working status of the peripheral device. However, if the feedback signal is abnormal, the user cannot accurately determine whether the peripheral device is not receiving the control signal or the feedback signal is abnormal. Therefore, existing technical solutions have the problem of being unable to accurately detect the working status of the peripheral device. Utility Model Content
[0005] In view of this, it is necessary to provide a tunnel intelligent controller for detecting the working status of peripheral devices to solve the technical problem that the working status of peripheral devices cannot be accurately detected in the existing technical solutions.
[0006] In order to solve the above problems, the present invention provides a tunnel intelligent controller for detecting the working status of peripheral devices, comprising:
[0007] The port control switch is set on the wire between the peripheral device and the power supply;
[0008] A port status detection unit is connected in parallel with the port control switch and is connected to the peripheral device, and is used to collect the voltage and current of the peripheral device; the peripheral device is connected to the power neutral line and the power live line;
[0009] The CPU unit is connected to the port control switch and to the output end of the port status detection unit.
[0010] In a possible implementation, the port status detection unit includes:
[0011] Main chip;
[0012] A first resistor, a second resistor, a third resistor and a fourth resistor, wherein the first resistor, the second resistor and the fourth resistor are connected in series with two input pins of the main chip for collecting electric power to form a loop, one end of the third resistor is connected to the input pin of the main chip for collecting voltage, and the other end is connected to the peripheral device, and the fourth resistor is also connected to the peripheral device.
[0013] In a possible implementation, the port status detection unit further includes:
[0014] a fifth resistor, through which an input pin of the main chip for collecting voltage is connected to ground;
[0015] An electric power detection circuit is connected in series between the first input pin of the CPU unit and the first output pin of the main chip;
[0016] The voltage detection circuit is connected in series between the second input pin of the CPU unit and the second output pin of the main chip.
[0017] In one possible implementation, the electric power detection circuit includes:
[0018] a sixth resistor;
[0019] A first optocoupler, wherein the output end of the first optocoupler is connected to the first input pin of the CPU unit, and the input end of the first optocoupler is connected to the first output pin of the main chip through the sixth resistor.
[0020] In a possible implementation, the voltage detection circuit includes:
[0021] Seventh resistor;
[0022] A second optocoupler, wherein the output end of the second optocoupler is connected to the second input pin of the CPU unit, and the input end of the second optocoupler is connected to the second output pin of the main chip through the seventh resistor.
[0023] In a possible implementation, the voltage detection circuit further includes:
[0024] an eighth resistor;
[0025] Ninth resistor;
[0026] The output end of the second optocoupler is further connected to the output end of the first optocoupler through the eighth resistor, and the output end of the second optocoupler is further grounded through the ninth resistor.
[0027] In a possible implementation, the port status detection unit further includes: a first capacitor;
[0028] The first capacitor is connected in parallel with the fifth resistor.
[0029] In a possible implementation, the port status detection unit further includes: a second capacitor and a third capacitor;
[0030] The second capacitor and the third capacitor are connected in series between two input pins of the main chip for collecting electric power, and a midpoint between the second capacitor and the third capacitor is grounded.
[0031] In a possible implementation, the port control switch includes: a transistor and a relay;
[0032] The base of the transistor is connected to the output pin of the CPU unit, the emitter of the transistor is grounded, and the collector of the transistor is connected to the control end of the relay;
[0033] The first contact and the second contact of the relay are connected in series to the live wire of the power supply.
[0034] In a possible implementation, the port control switch further includes: a tenth resistor;
[0035] The base of the transistor is connected to the output pin of the CPU unit through the tenth resistor.
[0036] The beneficial effects of adopting the above-mentioned implementation method are as follows: the tunnel intelligent controller for detecting the working status of peripheral devices provided by the present invention includes: a port control switch, which is arranged on the wire between the peripheral device and the power supply; a port status detection unit, which is connected in parallel with the port control switch and is connected to the peripheral device, and is used to collect the voltage and current of the peripheral device; the peripheral device is connected to the neutral line and the live line of the power supply; and a CPU unit, which is connected to the port control switch and is connected to the output end of the port status detection unit. The present invention controls the port control switch to be closed by the CPU unit, and then collects the voltage and current of the peripheral device by the port status detection unit, and transmits the collected voltage and current back to the CPU unit, thereby achieving accurate positioning of the peripheral device, and solving the technical problem of the existing technical solution that the working status of the peripheral device cannot be accurately detected. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 A schematic structural diagram of an embodiment of a tunnel intelligent controller for detecting the working status of peripheral devices provided by the present invention;
[0039] Figure 2This is a circuit diagram of another embodiment of the tunnel intelligent controller for detecting the working status of peripheral devices provided by the utility model. DETAILED DESCRIPTION
[0040] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0041] In the description of the embodiments of the present application, unless otherwise specified, “a plurality of” means two or more.
[0042] The terms "including" and "having" and any variations thereof in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product or device comprising a series of steps or modules is not necessarily limited to those steps or modules explicitly listed, but may include other steps or modules that are not explicitly listed or are inherent to these processes, methods, products or devices.
[0043] The naming or numbering of the steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical sequence indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effects can be achieved.
[0044] References to "embodiments" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0045] The utility model provides a tunnel intelligent controller for detecting the working status of peripheral equipment, which is described below.
[0046] like Figure 1 As shown, the present invention provides a tunnel intelligent controller 104 for detecting the working status of a peripheral device 106, comprising:
[0047] The port control switch 101 is provided on the wire between the peripheral device 106 and the power supply;
[0048] The port status detection unit 102 is connected in parallel with the port control switch 101 and is connected to the peripheral device 106, and is used to collect the voltage and current of the peripheral device 106; the peripheral device 106 is connected to the neutral line and the live line of the power supply;
[0049] The CPU (Central Processing Unit) unit 103 is connected to the port control switch 101 and to the output end of the port status detection unit 102 .
[0050] It can be understood that the utility model belongs to the field of tunnel equipment access control and detection, and specifically involves the control and management of external devices that need to be accessed. At the same time, it can monitor the working status of external devices based on the monitoring of status information on the control line, and can obtain the working status information of external devices in a timely manner; among them, peripheral devices refer to tunnel equipment.
[0051] The tunnel intelligent controller provided by the present invention includes a port control switch 101, a port status detection unit 102, and a CPU unit 103, wherein the CPU unit 103 is connected to a central management platform 105. The port control switch 101, the port status detection unit 102, and the CPU unit 103 are all components of the tunnel intelligent controller.
[0052] The port control switch 101 is used to control the operating status of external devices, primarily by controlling the power switch. A port status detection unit 102, connected in parallel to the control circuit, detects the voltage and current status of the control port, thereby obtaining the response of the external device after receiving the control signal. The CPU unit 103 calculates the operating status of the external device and analyzes its actual status. The central management platform 105 centrally collects the operating status reports from multiple tunnel intelligent controllers and displays them to the user.
[0053] The utility model realizes the status detection of the control output port, combines the port status detection unit 102 of the device, calculates the working status of the port peripheral device 106 through sampling and comparison by the CPU unit 103, and reports the peripheral status to the central management platform 105 accurately and timely.
[0054] See attached Figure 1, this utility model is mainly implemented with the following chips: the port control switch 101 main device model is the relay SW1 of HF46F / 5, which enables the CPU to control the external circuit switch state through the general input and output interface (GPIO). Through this device, the maximum power output control function of 5A 220VC can be achieved. A single tunnel intelligent controller has 16 of the above ports. The main chip U2 of the port status detection unit 102 adopts BL0937, which can monitor the output voltage and output power of the control port. Each control output port is configured with 1 detection unit. The CPU unit 103 adopts the jetson nano module manufactured by NVIDIA to complete the control output of the port control switch 101 and the data collection of the port status detection unit 102, and at the same time completes the communication with the central management platform 105. The central management platform 105 is a computer with dedicated software installed, which is used for configuration management of the entire system. The detailed circuit relationship between the port control switch 101 and the port status detection unit 102 is as follows. Figure 2 shown.
[0055] In some embodiments, the port status detection unit 102 includes:
[0056] Main chip U2;
[0057] A first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4, the first resistor R1, the second resistor R2 and the fourth resistor R4 are connected in series with the two input pins of the main chip U2 for collecting electric power to form a loop, one end of the third resistor R3 is connected to the input pin of the main chip U2 for collecting voltage, and the other end is connected to the peripheral device 106, and the fourth resistor R4 is also connected to the peripheral device 106.
[0058] In some embodiments, the port status detection unit 102 further includes:
[0059] A fifth resistor R5, an input pin of the main chip U2 for collecting voltage is grounded through the fifth resistor R5;
[0060] An electric power detection circuit is connected in series between the first input pin of the CPU unit 103 and the first output pin of the main chip U2;
[0061] The voltage detection circuit is connected in series between the second input pin of the CPU unit 103 and the second output pin of the main chip U2.
[0062] In some embodiments, the electric power detection circuit includes:
[0063] a sixth resistor R6;
[0064] The first optocoupler U1 has an output end connected to a first input pin of the CPU unit 103 , and an input end connected to a first output pin of the main chip U2 via the sixth resistor R6 .
[0065] In some embodiments, the voltage detection circuit includes:
[0066] a seventh resistor R7;
[0067] The second optocoupler U3 has an output end connected to the second input pin of the CPU unit 103 , and an input end connected to the second output pin of the main chip U2 via the seventh resistor R7 .
[0068] In some embodiments, the voltage detection circuit further includes:
[0069] an eighth resistor R8;
[0070] a ninth resistor R9;
[0071] The output end of the second optocoupler U3 is further connected to the output end of the first optocoupler U1 through the eighth resistor R8 , and the output end of the second optocoupler U3 is further grounded through the ninth resistor R9 .
[0072] In some embodiments, the port status detection unit 102 further includes: a first capacitor C1;
[0073] The first capacitor C1 is connected in parallel with the fifth resistor R5.
[0074] In some embodiments, the port status detection unit 102 further includes: a second capacitor C2 and a third capacitor C3;
[0075] The second capacitor C2 and the third capacitor C3 are connected in series between two input pins of the main chip U2 for collecting electric power, and a midpoint between the second capacitor C2 and the third capacitor C3 is grounded.
[0076] In some embodiments, the port control switch 101 includes: a transistor Q1 and a relay SW1;
[0077] The base of the transistor Q1 is connected to the output pin of the CPU unit 103, the emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is connected to the control end of the relay SW1;
[0078] The first contact and the second contact of the relay SW1 are connected in series to the live wire of the power supply.
[0079] In some embodiments, the port control switch 101 further includes: a tenth resistor R10;
[0080] The base of the transistor Q1 is connected to the output pin of the CPU unit 103 through the tenth resistor R10.
[0081] The above is a detailed introduction to the tunnel intelligent controller for detecting the working status of the peripheral device 106 provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, based on the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A tunnel intelligent controller for detecting the working status of peripheral equipment, characterized in that: include: The port control switch is set on the wire between the peripheral device and the power supply; A port status detection unit is connected in parallel with the port control switch and is connected to a peripheral device, and is used to collect the voltage and current of the peripheral device; the peripheral device is connected to the neutral line and the live line of the power supply; The CPU unit is connected to the port control switch and to the output end of the port status detection unit.
2. The tunnel intelligent controller for detecting the working status of peripheral devices according to claim 1, characterized in that: The port status detection unit includes: Main chip; A first resistor, a second resistor, a third resistor and a fourth resistor, wherein the first resistor, the second resistor and the fourth resistor are connected in series with two input pins of the main chip for collecting electric power to form a loop, one end of the third resistor is connected to the input pin of the main chip for collecting voltage, and the other end is connected to the peripheral device, and the fourth resistor is also connected to the peripheral device.
3. The tunnel intelligent controller for detecting the working status of peripheral devices according to claim 2, characterized in that: The port status detection unit further includes: a fifth resistor, through which an input pin of the main chip for collecting voltage is connected to ground; An electric power detection circuit is connected in series between the first input pin of the CPU unit and the first output pin of the main chip; The voltage detection circuit is connected in series between the second input pin of the CPU unit and the second output pin of the main chip.
4. The tunnel intelligent controller for detecting the working status of peripheral devices according to claim 3, characterized in that: The electric power detection circuit comprises: a sixth resistor; A first optocoupler, wherein the output end of the first optocoupler is connected to the first input pin of the CPU unit, and the input end of the first optocoupler is connected to the first output pin of the main chip through the sixth resistor.
5. The tunnel intelligent controller for detecting the working status of peripheral equipment according to claim 4, characterized in that: The voltage detection circuit comprises: Seventh resistor; A second optocoupler, wherein the output end of the second optocoupler is connected to the second input pin of the CPU unit, and the input end of the second optocoupler is connected to the second output pin of the main chip through the seventh resistor.
6. The tunnel intelligent controller for detecting the working status of peripheral equipment according to claim 5, characterized in that: The voltage detection circuit further includes: an eighth resistor; Ninth resistor; The output end of the second optocoupler is further connected to the output end of the first optocoupler through the eighth resistor, and the output end of the second optocoupler is further grounded through the ninth resistor.
7. The tunnel intelligent controller for detecting the working status of peripheral devices according to claim 3, characterized in that: The port status detection unit further includes: a first capacitor; The first capacitor is connected in parallel with the fifth resistor.
8. The tunnel intelligent controller for detecting the working status of peripheral devices according to claim 7, characterized in that: The port status detection unit further includes: a second capacitor and a third capacitor; The second capacitor and the third capacitor are connected in series between two input pins of the main chip for collecting electric power, and a midpoint between the second capacitor and the third capacitor is grounded.
9. The tunnel intelligent controller for detecting the working status of peripheral devices according to any one of claims 1 to 8, characterized in that: The port control switch includes: a transistor and a relay; The base of the transistor is connected to the output pin of the CPU unit, the emitter of the transistor is grounded, and the collector of the transistor is connected to the control end of the relay; The first contact and the second contact of the relay are connected in series to the live wire of the power supply.
10. The tunnel intelligent controller for detecting the working status of peripheral equipment according to claim 9, characterized in that: The port control switch further includes: a tenth resistor; The base of the transistor is connected to the output pin of the CPU unit through the tenth resistor.