Tunnel traffic flow detection device circuit
By designing the tunnel traffic detection device circuit, real-time adjustment of tunnel lighting is achieved based on the traffic flow, the visual interference and power waste of traditional tunnel lighting devices are solved, and the intelligence and energy saving of tunnel lighting are improved.
Patent Information
- Application Number
- CN202420824776.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-20
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2034-04-20
AI Technical Summary
Traditional tunnel lighting dimming devices cannot be adjusted in real time according to vehicle flow, resulting in visual interference from drivers and waste of electricity, and the control mode is not fixed and energy-saving enough.
A tunnel traffic flow detection device circuit is designed, including the main control board circuit, output circuit, sensor control circuit and sensor circuit. Data is collected through the sensor circuit, transmitted to the sensor control circuit for preliminary processing, and then transmitted to the main control board circuit, and finally real-time closed-loop control is performed through the output circuit.
Real-time adjustment of tunnel lighting based on traffic flow is achieved, reducing driver visual interference and power waste, and improving the intelligence and energy saving of tunnel lighting.
Smart Images

Figure CN223125045U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of detection circuits, and specifically to a tunnel traffic flow detection device circuit. Background Art
[0002] In traditional tunnel lighting dimming devices, the lighting switch is often controlled manually or by time control. Its control mode is fixed and cannot be changed according to different situations. Moreover, it is easy to produce zebra effects on the road surface, affecting the driver's vision and leading to potential traffic safety hazards. The manual and time control methods are not intelligent and energy-saving enough. The tunnel cannot adjust the light in real time according to whether there is a vehicle, which easily causes a large amount of waste of electric energy and human resources. Utility Model Content
[0003] The purpose of this application is to provide a tunnel traffic flow detection device circuit to solve the technical problems raised in the above background art.
[0004] To achieve the above purpose, this application discloses the following technical solutions: A tunnel traffic flow detection device circuit includes a main control board circuit, an output circuit, a sensor control circuit, and a sensor circuit.
[0005] Preferably, the main control board circuit includes a main board U3, a plug-in CN2, and a first buzzer circuit;
[0006] Pin 1 of the main board U3 is connected to VDD5V, and pin 1 of capacitor C5, pin 1 of capacitor C6, and the negative electrode of voltage stabilizing diode D3 are all connected to pin 1 of the main board U3; pin 2 of capacitor C5, pin 2 of capacitor C6, and the positive electrode of voltage stabilizing diode D3 are connected and then grounded; pin 2 of the main board U3 is grounded, and pins 7, 52, 54, 56, 58, 60, 64, 69, 70, 80 of the main board U3, and pins 10 - 16 of the main board U3 are all connected to the output circuit. Pin 1 of capacitor C8 and pin 1 of capacitor C9 are both connected to pin 40 of the main board U3, and pin 40 of the main board U3 is connected to VDD3.3V; pin 2 of capacitor C8 and pin 2 of capacitor C9 are connected and then grounded; pin 59 of the main board U3 is connected to the first buzzer circuit;
[0007] Pin 1 of the plug-in CN2 is connected to 48VIN, pin 2 of the plug-in CN2 is connected to 48VGND, pin 3 of the plug-in CN2 is connected to the high-speed signal line of the CAN bus, and pin 4 of the plug-in CN2 is connected to the low-speed signal line of the CAN bus;
[0008] The first buzzer circuit includes a buzzer BUZZER1, a triode Q1, a resistor R5, and a resistor R6; the positive electrode of the buzzer BUZZER1 is connected to VDD5V, and the negative electrode is connected to the collector of the triode Q1; the first pin of the resistor R5 and the first pin of the resistor R6 are both connected to the base of the triode, and the emitter of the triode Q1 is connected to the second pin of the resistor R6 and then grounded; the second pin of the resistor R5 is connected to the 59th pin of the main board U3.
[0009] Preferably, the sensor control circuit includes a control circuit, a communication circuit, and a power supply circuit;
[0010] The control circuit includes a main board U10, a plug-in U6, a plug-in U7, a plug-in U8, a plug-in U9, a resistor R16, a resistor R21, a resistor R22, a crystal oscillator X1, capacitors C19, C20, C21, C22, C23, a switch SW5, a light-emitting diode LED3, a second buzzer circuit, and a programming port circuit; Pin 1 of the plug-in U6 is connected to +5V, pin 2 of the plug-in U6 is grounded, and pins 3-8 of the plug-in U6 are all connected to the main board U10; Pins 1-8 of the plug-in U7 are all connected to the main board U10; Pin 1 of the plug-in U8 is connected to +5V, pin 2 of the plug-in U8 is grounded, and pins 3-8 of the plug-in U8 are all connected to the main board U10; Pin 1 of the plug-in U9 is connected to +5V, pin 2 of the plug-in U9 is grounded, and pins 3-8 of the plug-in U9 are all connected to the main board U10; Pin 1 of the main board U10 is connected to pin 6 of the plug-in U8, pin 2 of the main board U10 is connected to pin 5 of the plug-in U8, pin 3 of the main board U10 is connected to pin 4 of the plug-in U8, pins 4-6 of the main board U10 are connected to the communication circuit, and pin 7 of the main board U10 is connected to the negative electrode of the light-emitting diode LED3; The positive electrode of the light-emitting diode LED3 is connected to pin 1 of the resistor R16, and pin 2 of the resistor R16 is connected to +5V; Pin 8 of the main board U10 is connected to the second buzzer circuit, pin 9 of the main board U10 is connected to the positive electrode of the crystal oscillator X1, and pin 10 of the main board U10 is connected to the negative electrode of the crystal oscillator X1; Pin 1 of the capacitor C19 is connected to the positive electrode of the crystal oscillator X1; Pin 1 of the capacitor C20 is connected to the negative electrode of the crystal oscillator X1; After pins 2 of the capacitor C19 and 2 of the capacitor C20 are connected, they are grounded; Pin 11 of the main board U10 is grounded, pins 12 and 13 of the main board U10 and pin 1 of the capacitor C22 are all connected to pin 1 of the capacitor C21, and pin 1 of the capacitor C21 is connected to +5V; After pin 2 of the capacitor C21 and 2 of the capacitor C22 are connected, they are grounded; Pin 2 of the resistor R21, pin 1 of the resistor R22, and pin 1 of the capacitor C23 are all connected to pin 14 of the main board U10; Pin 1 of the resistor R21 is connected to +5V; Pin 2 of the resistor R22 is connected to pin 1 of the switch SW5; After pin 2 of the capacitor C23 and pin 2 of the switch SW5 are connected, they are grounded;Pin 15 of the main board U10 is connected to +5V, pin 16 of the main board U10 is connected to pin 3 of the plug-in U8, pin 18 of the main board U10 is connected to pin 8 of the plug-in U9, and pins 16 - 18 of the main board U10 are connected and then grounded. Pin 19 and pin 20 of the main board U10 are both connected to the programming port circuit. Pin 21 of the main board U10 is connected to pin 7 of the plug-in U9, pin 22 of the main board U10 is connected to pin 6 of the plug-in U9, pin 23 of the main board U10 is connected to pin 5 of the plug-in U9, pin 24 of the main board U10 is connected to pin 4 of the plug-in U9, pin 25 of the main board U10 is connected to pin 3 of the plug-in U9, pin 27 of the main board U10 is connected to pin 8 of the plug-in U6, pin 26 of the main board U10 is connected to pin 7 of the plug-in U6, pin 28 of the main board U10 is connected to pin 6 of the plug-in U6, pin 29 of the main board U10 is connected to pin 5 of the plug-in U6, pin 30 of the main board U10 is connected to pin 4 of the plug-in U6, pin 31 of the main board U10 is connected to pin 3 of the plug-in U6, pin 32 of the main board U10 is connected to the sensor circuit, pin 33 of the main board U10 is connected to the sensor circuit, pin 34 of the main board U10 is connected to the sensor circuit, pin 35 of the main board U10 is connected to pin 8 of the plug-in U7, pin 36 of the main board U10 is connected to pin 7 of the plug-in U7, pin 37 of the main board U10 is connected to pin 6 of the plug-in U7, pin 38 of the main board U10 is connected to pin 5 of the plug-in U7, pin 39 of the main board U10 is connected to pin 4 of the plug-in U7, pin 40 of the main board U10 is connected to pin 3 of the plug-in U7, pin 41 of the main board U10 is connected to pin 2 of the plug-in U7, pin 42 of the main board U10 is connected to pin 1 of the plug-in U7, pin 43 of the main board U10 is connected to the sensor circuit, pin 44 of the main board U10 is connected to the sensor circuit, pin 45 of the main board U10 is connected to the sensor circuit, pin 46 of the main board U10 is connected to the sensor circuit, pin 47 of the main board U10 is connected to pin 8 of the plug-in U8, pin 48 of the main board U10 is connected to pin 7 of the plug-in U8; The second buzzer circuit includes a buzzer BUZZER2, a triode Q6, a resistor R17, and a resistor R18; The positive pole of the buzzer BUZZER2 is connected to +5V, the negative pole of the buzzer BUZZER2 is connected to the collector of the triode Q6. Pin 1 of the resistor R17 and pin 2 of the resistor R18 are both connected to the base of the triode Q6. Pin 1 of the resistor R18 is connected to pin 8 of the main board U10. Pin 2 of the resistor R17 is connected to the emitter of the triode Q6 and then grounded; The programming port circuit includes a plug-in H1, a resistor R14, a resistor R15, a light-emitting diode LED1, and a light-emitting diode LED2;Pin 1 of the resistor R14 and pin 1 of the resistor R15 are both connected to pin 1 of the plug H1, and pin 1 of the plug H1 is connected to +5V; pin 2 of the resistor R14 is connected to the positive electrode of the light-emitting diode LED2, and pin 2 of the resistor R15 is connected to the positive electrode of the light-emitting diode LED1; the negative electrode of the light-emitting diode LED1 is connected to pin 2 of the plug H1, and pin 2 of the plug H1 is connected to pin 20 of the main board U10; the negative electrode of the light-emitting diode LED2 is connected to pin 3 of the plug H1, and pin 3 of the plug H1 is connected to pin 19 of the main board U10; pin 4 of the plug H1 is grounded;
[0011] The power supply circuit includes a capacitor C12, a capacitor C13, a capacitor C14, a capacitor C15, a polarized capacitor C16, a capacitor C17, a resistor R19, a light-emitting diode LED4, a voltage regulator chip U5, and a low-dropout linear regulator LDO1; pin 1 of the capacitor C12, pin 1 of the capacitor C17, and pin 5 of the voltage regulator chip U5 are all connected to 12V; pin 2 of the capacitor C12 and pin 2 of the capacitor C17 are connected and then grounded; pin 2 and pin 4 of the voltage regulator chip U5 are connected, pin 2 and pin 4 of the voltage regulator chip U5, pin 1 of the capacitor C14, pin 1 of the capacitor C15, the positive electrode of the polarized capacitor C16, and pin 1 of the resistor R19 are all connected to pin 3 of the low-dropout linear regulator LDO1, and pin 3 of the low-dropout linear regulator LDO1 is connected to +5V; pin 2 of the resistor R19 is connected to the positive electrode of the light-emitting diode LED4; pin 2 of the capacitor C14, pin 2 of the capacitor C15, the negative electrode of the polarized capacitor C16, the negative electrode of the light-emitting diode LED4, and pin 2 of the capacitor C17 are all connected to pin 1 of the low-dropout linear regulator LDO1 and then grounded; pin 2 of the low-dropout linear regulator LDO1 and pin 1 of the capacitor C17 are both connected to 3.3V;
[0012] The communication circuit includes a plug CN5, a zener diode D5, a capacitor C18, a main board U6, a resistor R9, and a DIP switch SW4; pin 1 of the main board U6 and pin 1 of the capacitor C18 are both connected to the negative electrode of the zener diode D5, and the negative electrode of the zener diode D5 is connected to +5V; pin 2 of the main board U6 and pin 2 of the capacitor C18 are both connected to the positive electrode of the zener diode D5, and the positive electrode of the zener diode D5 is grounded.
[0013] Preferably, the output circuit includes a 485 output circuit, a CAN 485 interface circuit, a TTL interface circuit, a DIP switch circuit, a key circuit, and a two-layer interface circuit;
[0014] The 485 output circuit includes main board U4, plug-in CN1, resistor R2, resistor R3, resistor R4, capacitor C7 and zener diode D4; Pin 1 of the main board U4 is connected to VDD3.3V, and pin 1 of the capacitor C7 and the negative electrode of the zener diode D4 are both connected to pin 1 of the main board U4; Pin 2 of the capacitor C7 and the positive electrode of the zener diode D4 are both connected to pin 2 of the main board U4 and then grounded; Pin 1 of the resistor R3 and pin 69 of the main board U3 are both connected to pin 3 of the main board U4; The plug-in CN1, pin 1 of the resistor R2 and pin 9 of the main board U4 are connected to pin 2 of the resistor R3; Pin 1 of the resistor R4 and pin 70 of the main board U3 are both connected to pin 4 of the main board U4; The plug-in CN1, pin 2 of the resistor R2 and pin 8 of the main board U4 are all connected to pin 2 of the resistor R4; Pin 5 of the main board U4 is connected to pin 64 of the main board U3; Pin 1 of the plug-in CN1 on the main board is connected to VDD12V, pins 2 and 3 of the plug-in CN1 are connected to pin 8 of the main board U4, pins 4 and 4 of the plug-in CN1 are connected to pin 9 of the main board U4, and pin 6 of the plug-in CN1 is grounded;
[0015] The CAN 485 interface circuit includes main board U1, main board U2, capacitor C1, capacitor C2, capacitor C3, capacitor C4, resistor R1, DIP switch SW1, zener diode D1 and zener diode D2; the negative electrode of the zener diode D1 and the pin 1 of the capacitor C1 are both connected to the pin 1 of the main board U1, and the pin 1 of the main board U1 is connected to VDD3.3V; the positive electrode of the zener diode D1 is connected to the pin 2 of the capacitor C1 and then grounded; the pin 2 of the main board U1 is grounded, the pin 3 of the main board U1 is connected to the pin 14 of the main board U3, the pin 4 of the main board U1 is connected to the pin 13 of the main board U3, the pin 1 of the capacitor C2 and the pin 1 of the DIP switch SW1 are both connected to the pin 6 of the main board U1, and the pin 6 of the main board U1 is connected to the high-speed signal line of the CAN bus; the pin 2 of the capacitor C2 is grounded; the pin 1 of the resistor R1 and the pin 1 of the capacitor C3 are both connected to the pin 7 of the main board U1, and the pin 7 of the main board U1 is connected to the low-speed signal line of the CAN bus; the pin 2 of the capacitor C3 is grounded; the pin 2 of the resistor R1 is connected to the pin 2 of the DIP switch SW1; the pin 1 of the capacitor C4 and the negative electrode of the zener diode D2 are both connected to the pin 1 of the main board U2, and the pin 1 of the main board U2 is connected to VDD3.3V; the pin 2 of the main board U2, the pin 2 of the capacitor C4 and the positive electrode of the zener diode D2 are connected and then grounded; the pin 3 of the main board U2 is connected to the pin 12 of the main board U3, the pin 4 of the main board U2 is connected to the pin 15 of the main board U3, the pin 5 of the main board U2 is connected to the pin 16 of the main board U3, the pin 8 of the main board U2 is connected to the low-speed signal line of the CAN bus, and the pin 9 of the U2 is connected to the high-speed line of the CAN bus;
[0016] The TTL interface circuit includes plug-in CN3 and plug-in CN4; the pin 1 and pin 2 of the plug-in CN3 are both connected to VDD12V, the pin 3 of the plug-in CN3 is connected to VDD5V, the plug-in CN4 is connected to the pin 10 of the main board U3 and the pin 4 of the plug-in CN3, the plug-in CN4 and the pin 11 of the main board U3 are both connected to the pin 5 of the plug-in CN3, the pin 6 and pin 7 of the plug-in CN3 are both grounded; the pin 1 of the plug-in CN4 is connected to VDD5V, the pin 4 of the plug-in CN3 and the pin 10 of the main board U3 are both connected to the pin 2 of the plug-in CN4, the pin 5 of the plug-in CN3 and the pin 11 of the main board U3 are both connected to the pin 3 of the plug-in CN4, and the pin 4 of the plug-in CN4 is grounded;
[0017] The DIP switch circuit includes a DIP switch SW2; pin 1 of the DIP switch SW2 is connected to pin 60 of the main board U3, pin 2 of the DIP switch SW2 is connected to pin 58 of the main board U3, pin 3 of the DIP switch SW2 is connected to pin 56 of the main board U3, pin 4 of the DIP switch SW2 is connected to pin 54 of the main board U3, pin 5 of the DIP switch SW2 is connected to pin 52 of the main board U3, and pins 6 - 10 of the DIP switch SW2 are connected together and grounded.
[0018] The key circuit includes a resistor R7, a resistor R8, a reset switch RESET1, a switch K1, a capacitor C10, and a capacitor C11; pin 1 of the resistor R7 and pin 1 of the resistor R8 are connected together and then connected to VDD3.3V; pin 1 of the switch K1, pin 2 of the resistor R7, and pin 1 of the capacitor C11 are all connected to pin 80 of the main board U3; pin 2 of the resistor R8, pin 1 of the reset switch RESET1, and pin 1 of the capacitor C10 are all connected to pin 7 of the main board U3; pin 2 of the reset switch RESET1 and pin 2 of the switch K1 are connected together and grounded; pin 2 of the capacitor C10 and pin 2 of the capacitor C11 are connected together and grounded.
[0019] The two - layer interface circuit includes a pin header P1; pin 1 and pin 2 of the pin header P1 are both connected to 4VIN, pin 5 and pin 6 of the pin header P1 are both connected to VDD12V, pin 9 and pin 10 of the pin header P1 are both connected to VDD5V, pins 13 - 16 of the pin header P1 are all grounded, and pin 19 and pin 20 of the pin header P1 are both connected to 48V_GND.
[0020] Preferably, the sensor circuit includes a lidar circuit, an ultrasonic circuit, a microwave radar circuit, a motor control circuit, and a motor auxiliary control circuit;
[0021] The lidar circuit includes resistor R10, resistor R11, resistor R12, resistor R13, resistor R14, resistor R15, triode Q2, triode Q3, triode Q4, triode Q5, and plug CN6; pin 1 of the plug CN6 is grounded, pin 2 of the plug CN6 is connected to the motor control circuit, pin 3 of the plug CN6 is connected to the motor control circuit, and pin 4 of the plug CN6 is connected to +5V; pin 1 of the resistor R10 is connected to pin 2 of the plug CN6, pin 2 of the resistor R10 is connected to the base of the triode Q2, pin 1 of the resistor R11 and the base of the triode Q3 are both connected to the collector of the triode Q2, the emitter of the triode Q2 is connected to the emitter of the triode Q3 and then grounded, pin 2 of the resistor R11 and pin 2 of the resistor R12 are both connected to +5V, pin 1 of the resistor R12 and the collector of the triode Q3 are both connected to pin 43 of the main board U10; pin 1 of the resistor R15 is connected to pin 44 of the main board U10, pin 2 of the resistor R15 is connected to the base of the triode Q5, pin 1 of the resistor R14 and the base of the triode Q4 are both connected to the collector of the triode Q5, the emitter of the triode Q5 is connected to the emitter of the triode Q4 and then grounded, pin 2 of the resistor R14 and pin 2 of the resistor R13 are both connected to 3.3V, and pin 1 of the resistor R13 and the collector of the triode Q4 are both connected to pin 3 of the plug CN6;
[0022] The ultrasonic circuit includes plug CN7; pin 1 of the plug CN7 is connected to +5V, the microwave radar circuit and pin 46 of the main board U10 are both connected to pin 2 of the plug CN7, the microwave radar circuit and pin 45 of the main board U10 are both connected to pin 3 of the plug CN7, and pin 4 of the plug CN7 is grounded;
[0023] The microwave radar circuit includes a resistor R23, a main board U11, and a flexible printed circuit board FPC1. Pin 1 of the flexible printed circuit board FPC1 is connected to pin 1 of the main board U11, and pin 2 of the plug-in CN7 and pin 46 of the main board U10 are both connected to pin 1 of the main board U11. Pin 2 of the flexible printed circuit board FPC1 is connected to pin 2 of the main board U11, and pin 3 of the plug-in CN7 and pin 45 of the main board U10 are both connected to pin 2 of the main board U11. Pin 3 of the flexible printed circuit board FPC1 is connected to pin 3 of the main board U11, and pin 1 of the resistor R23 and pin 32 of the main board U10 are both connected to pin 3 of the main board U11. Pin 2 of the resistor R23 is grounded. Pin 4 of the flexible printed circuit board FPC1 is connected to pin 4 of the main board U11 and then grounded. Pin 5 of the flexible printed circuit board FPC1 and pin 5 of the main board U11 are connected and then connected to +5V. Pins 7 and 8 of the flexible printed circuit board are both grounded.
[0024] The motor control circuit includes a resistor R20, a resistor R17, a resistor R18, a resistor R19, a triode Q7, an optocoupler sensor U12, and a MOS transistor Q8. Pin 1 of the resistor R19 is connected to pin 33 of the main board U10. Pin 2 of the resistor R19 is connected to the base of the triode Q7. The collector of the triode Q7 is connected to pin 2 of the optocoupler sensor U12. The emitter of the triode Q7 is connected to pin 2 of the resistor R17 and then grounded. Pin 1 of the resistor R18 is connected to +5V. Pin 2 of the resistor R18 is connected to pin 1 of the optocoupler sensor U12. Pin 1 of the resistor R16 is connected to +5V. Pin 2 of the resistor R16 is connected to pin 4 of the optocoupler sensor. Pin 3 of the optocoupler sensor U12 and the G pole of the MOS transistor Q8 are both connected to pin 1 of the R17. The S pole of the MOS transistor is connected to +12V. The D pole of the MOS transistor is connected to the motor auxiliary control circuit.
[0025] The motor auxiliary control circuit includes a plug-in CN8 and a plug-in H2. Pin 1 of the plug-in CN8 is connected to the D pole of the MOS transistor. Pin 2 of the plug-in CN8 is grounded. Pin 3 of the plug-in CN8 and pin 2 of the plug-in H2 are connected and then connected to +5V. Pin 4 of the plug-in CN8 and pin 3 of the plug-in H2 are connected and then connected to pin 34 of the main board U10. Pin 5 of the plug-in CN8 is grounded. Pin 1 of the plug-in H2 is grounded.
[0026] Beneficial effects: The circuit of the tunnel traffic flow detection device of the present application transmits the real-time tunnel traffic flow data to the sensor control circuit through the sensor circuit. The sensor control circuit transmits the data to the main control board circuit. The main control board circuit completes the processing and transmits the processed data to the next-level device through the output circuit to control the switch or brightness of the lamp, realizing real-time closed-loop control, and effectively solving the problems of visual interference to drivers, electric energy waste and human resource waste caused by the fixed mode. Description of the Drawings
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0028] Figure 1 Schematic diagram of the main board U3 circuit provided by the embodiment of the present application;
[0029] Figure 2 Schematic diagram of the plug-in CN2 circuit provided by the embodiment of the present application;
[0030] Figure 3 Schematic diagram of the first buzzer circuit provided by the embodiment of the present application;
[0031] Figure 4 Schematic diagram of the control circuit provided by the embodiment of the present application;
[0032] Figure 5 Schematic diagram of the programming port circuit provided by the embodiment of the present application;
[0033] Figure 6 Schematic diagram of the second buzzer circuit provided by the embodiment of the present application;
[0034] Figure 7 Schematic diagram of the power supply circuit provided by the embodiment of the present application;
[0035] Figure 8 Schematic diagram of the communication circuit provided by the embodiment of the present application;
[0036] Figure 9 Schematic diagram of the lidar circuit provided by the embodiment of the present application;
[0037] Figure 10 Schematic diagram of the ultrasonic circuit provided by the embodiment of the present application;
[0038] Figure 11 Schematic diagram of the microwave radar circuit provided by the embodiment of the present application;
[0039] Figure 12 Schematic diagram of the motor control circuit provided by the embodiment of the present application;
[0040] Figure 13 Schematic diagram of the auxiliary control circuit of the motor provided by the embodiment of the present application;
[0041] Figure 14 Schematic diagram of the 485 output circuit provided by the embodiment of the present application;
[0042] Figure 15 Schematic diagram of the CAN 485 interface circuit provided by the embodiment of the present application;
[0043] Figure 16 Schematic diagram of the TTL interface circuit provided by the embodiment of the present application;
[0044] Figure 17 Schematic diagram of the DIP switch circuit provided by the embodiment of the present application;
[0045] Figure 18 Schematic diagram of the key circuit provided by the embodiment of the present application;
[0046] Figure 19 Schematic diagram of the two-layer interface circuit provided by the embodiment of the present application; Detailed implementation manners
[0047] The technical solutions in the embodiments of the present application will be clearly and completely described below. Apparently, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0048] In this article, the term "including" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, the elements defined by the statement "including..." do not exclude the existence of additional identical elements in the process, method, article or device including the elements.
[0049] This embodiment discloses a tunnel traffic flow detection device circuit, including a main control board circuit, an output circuit, a sensor control circuit, and a sensor circuit.
[0050] As Figures 1-3 shown, the main control board circuit of this embodiment includes a main board U3, a plug-in CN2, and a first buzzer circuit.
[0051] Specifically, pin 1 of the main board U3 is connected to VDD5V, and pin 1 of capacitor C5, pin 1 of capacitor C6, and the negative electrode of the voltage stabilizing diode D3 are all connected to pin 1 of the main board U3; pin 2 of capacitor C5, pin 2 of capacitor C6, and the positive electrode of the voltage stabilizing diode D3 are connected and then grounded; pin 2 of the main board U3 is grounded, and pin 7, pin 52, pin 54, pin 56, pin 58, pin 60, pin 64, pin 69, pin 70, pin 80, and pins 10 - 16 of the main board U3 are all connected to the output circuit. Pin 1 of capacitor C8 and pin 1 of capacitor C9 are both connected to pin 40 of the main board U3, and pin 40 of the main board U3 is connected to VDD3.3V; pin 2 of capacitor C8 and pin 2 of capacitor C9 are connected and then grounded; pin 59 of the main board U3 is connected to the first buzzer circuit; pin 1 of the plug-in CN2 is connected to 48VIN, pin 2 of the plug-in CN2 is connected to 48V GND, pin 3 of the plug-in CN2 is connected to the high-speed signal line of the CAN bus, and pin 4 of the plug-in CN2 is connected to the low-speed signal line of the CAN bus; the first buzzer circuit includes a buzzer BUZZER1, a triode Q1, a resistor R5 with a resistance value of 1kΩ, and a resistor R6 with a resistance value of 10kΩ; the positive electrode of the buzzer BUZZER1 is connected to VDD5V, and the negative electrode is connected to the collector of the triode Q1; pin 1 of the resistor R5 and pin 1 of the resistor R6 are both connected to the base of the triode, and the emitter of the triode Q1 is connected to pin 2 of the resistor R6 and then grounded; pin 2 of the resistor R5 is connected to pin 59 of the main board U3. Among them, the model of the main board U3 can be but is not limited to EMB8610I, the model of the plug-in CN2 can be but is not limited to DB2EVM - 5.08 - 4P, the model of the voltage stabilizing diode D3 can be but is not limited to SMBJ5.0A, the model of the buzzer BUZZER1 can be but is not limited to TMB12A05, and the model of the triode Q1 can be but is not limited to S8050. The main control board circuit judges the real-time state of the traffic flow in the tunnel based on the collected data and transmits the data to the output circuit.
[0052] As Figures 4-8 shown, the sensor control circuit of this embodiment includes a control circuit, a communication circuit, and a power supply circuit.
[0053] Specifically: The control circuit includes main board U10, plug-in U6, plug-in U7, plug-in U8, plug-in U9, resistor R16 with a resistance value of 4.7 kΩ, resistor R21 with a resistance value of 10 kΩ, resistor R22 with a resistance value of 330 Ω, crystal oscillator X1 with a model of 11.0592 MHz, capacitor C19 with a capacitance value of 22 pF, capacitor C20 with a capacitance value of 22 pF, capacitor C21 with a capacitance value of 47 uF, capacitor C22 with a capacitance value of 10 nF, capacitor C23 with a capacitance value of 10 uF, switch SW5, light-emitting diode LED3, second buzzer circuit and programming port circuit; Pin 1 of plug-in U6 is connected to +5V, pin 2 of plug-in U6 is grounded, and pins 3 - 8 of plug-in U6 are all connected to main board U10; Pins 1 - 8 of plug-in U7 are all connected to main board U10; Pin 1 of plug-in U8 is connected to +5V, pin 2 of plug-in U8 is grounded, and pins 3 - 8 of plug-in U8 are all connected to main board U10; Pin 1 of plug-in U9 is connected to +5V, pin 2 of plug-in U9 is grounded, and pins 3 - 8 of plug-in U9 are all connected to main board U10; Pin 1 of main board U10 is connected to pin 6 of plug-in U8, pin 2 of main board U10 is connected to pin 5 of plug-in U8, pin 3 of main board U10 is connected to pin 4 of plug-in U8, pins 4 - 6 of main board U10 are connected to the communication circuit, and pin 7 of main board U10 is connected to the negative electrode of light-emitting diode LED3; The positive electrode of light-emitting diode LED3 is connected to pin 1 of resistor R16, and pin 2 of resistor R16 is connected to +5V; Pin 8 of main board U10 is connected to the second buzzer circuit, pin 9 of main board U10 is connected to the positive electrode of crystal oscillator X1, and pin 10 of main board U10 is connected to the negative electrode of crystal oscillator X1; Pin 1 of capacitor C19 is connected to the positive electrode of crystal oscillator X1; Pin 1 of capacitor C20 is connected to the negative electrode of crystal oscillator X1; After pin 2 of capacitor C19 and pin 2 of capacitor C20 are connected, they are grounded; Pin 11 of main board U10 is grounded, pins 12 and 13 of main board U10 and pin 1 of capacitor C22 are all connected to pin 1 of capacitor C21, and pin 1 of capacitor C21 is connected to +5V; Pin 2 of capacitor C21 is connected to pin 2 of capacitor C22 and then grounded; Pin 2 of resistor R21, pin 1 of resistor R22 and pin 1 of capacitor C23 are all connected to pin 14 of main board U10; Pin 1 of resistor R21 is connected to +5V; Pin 2 of resistor R22 is connected to pin 1 of switch SW5; Pin 2 of capacitor C23 is connected to pin 2 of switch SW5 and then grounded;Pin 15 of the main board U10 is connected to +5V. Pin 16 of the main board U10 is connected to pin 3 of the plug-in U8. Pin 18 of the main board U10 is connected to pin 8 of the plug-in U9. And pins 16 - 18 of the main board U10 are connected and then grounded. Pin 19 and pin 20 of the main board U10 are both connected to the programming port circuit. Pin 21 of the main board U10 is connected to pin 7 of the plug-in U9. Pin 22 of the main board U10 is connected to pin 6 of the plug-in U9. Pin 23 of the main board U10 is connected to pin 5 of the plug-in U9. Pin 24 of the main board U10 is connected to pin 4 of the plug-in U9. Pin 25 of the main board U10 is connected to pin 3 of the plug-in U9. Pin 27 of the main board U10 is connected to pin 8 of the plug-in U6. Pin 26 of the main board U10 is connected to pin 7 of the plug-in U6. Pin 28 of the main board U10 is connected to pin 6 of the plug-in U6. Pin 29 of the main board U10 is connected to pin 5 of the plug-in U6. Pin 30 of the main board U10 is connected to pin 4 of the plug-in U6. Pin 31 of the main board U10 is connected to pin 3 of the plug-in U6. Pin 32 of the main board U10 is connected to the sensor circuit. Pin 33 of the main board U10 is connected to the sensor circuit. Pin 34 of the main board U10 is connected to the sensor circuit. Pin 35 of the main board U10 is connected to pin 8 of the plug-in U7. Pin 36 of the main board U10 is connected to pin 7 of the plug-in U7. Pin 37 of the main board U10 is connected to pin 6 of the plug-in U7. Pin 38 of the main board U10 is connected to pin 5 of the plug-in U7. Pin 39 of the main board U10 is connected to pin 4 of the plug-in U7. Pin 40 of the main board U10 is connected to pin 3 of the plug-in U7. Pin 41 of the main board U10 is connected to pin 2 of the plug-in U7. Pin 42 of the main board U10 is connected to pin 1 of the plug-in U7. Pin 43 of the main board U10 is connected to the sensor circuit. Pin 44 of the main board U10 is connected to the sensor circuit. Pin 45 of the main board U10 is connected to the sensor circuit. Pin 46 of the main board U10 is connected to the sensor circuit. Pin 47 of the main board U10 is connected to pin 8 of the plug-in U8. Pin 48 of the main board U10 is connected to pin 7 of the plug-in U8; The second buzzer circuit includes buzzer BUZZER2, triode Q6, resistor R17 with a resistance value of 4.7 kΩ and resistor R18 with a resistance value of 10 kΩ; The positive pole of the buzzer BUZZER2 is connected to +5V. The negative pole of the buzzer BUZZER2 is connected to the collector of the triode Q6. Pin 1 of the resistor R17 and pin 2 of the resistor R18 are both connected to the base of the triode Q6. Pin 1 of the resistor R18 is connected to pin 8 of the main board U10. Pin 2 of the resistor R17 is connected to the emitter of the triode Q6 and then grounded; The programming port circuit includes plug-in H1, resistor R14 with a resistance value of 4.7 kΩ, resistor R15 with a resistance value of 4.7 kΩ, light-emitting diode LED1, light-emitting diode LED2; Pin 1 of the resistor R14 and pin 1 of the resistor R15 are both connected to pin 1 of the plug-in H1. And pin 1 of the plug-in H1 is connected to +5V; Pin 2 of the resistor R14 is connected to the positive pole of the light-emitting diode LED2. Pin 2 of the resistor R15 is connected to the positive pole of the light-emitting diode LED1;The negative electrode of the light-emitting diode LED1 is connected to pin 2 of the plug-in H1, and pin 2 of the plug-in H1 is connected to pin 20 of the main board U10; the negative electrode of the light-emitting diode LED2 is connected to pin 3 of the plug-in H1, and pin 3 of the plug-in H1 is connected to pin 19 of the main board U10; pin 4 of the plug-in H1 is grounded. The model of the main board U10 can be but is not limited to STC8H3K64S4-45I-LQFP48, the model of the switch SW5 can be but is not limited to K2-1107ST-A4SW-06, the model of the buzzer BUZZER2 can be but is not limited to HNB09A03, and the model of the triode Q6 can be but is not limited to S8050_C908252. Both the main control board circuit and the sensor circuit are connected to the sensor control circuit. The sensor circuit transmits the acquired real-time data to the sensor control circuit, and the corresponding data is transmitted to the main control board circuit through the communication circuit of the sensor control circuit.;
[0054] Specifically, the power supply circuit includes a capacitor C12 with a capacitance value of 10uF, a capacitor C13 with a capacitance value of 100nF, a capacitor C14 with a capacitance value of 100nF, a capacitor C15 with a capacitance value of 10uF, a polarized capacitor C16 with a capacitance value of 22uF, a capacitor C17 with a capacitance value of 100nF, a resistor R19 with a resistance value of 4.7kΩ, a light-emitting diode LED4, a voltage regulator chip U5, and a low-dropout linear regulator LDO1; pin 1 of the capacitor C12, pin 1 of the capacitor C17, and pin 5 of the voltage regulator chip U5 are all connected to 12V; pin 2 of the capacitor C12 and pin 2 of the capacitor C17 are connected and then grounded; pin 2 and pin 4 of the voltage regulator chip U5 are connected, and pin 2 and pin 4 of the voltage regulator chip U5, pin 1 of the capacitor C14, pin 1 of the capacitor C15, the positive electrode of the polarized capacitor C16, and pin 1 of the resistor R19 are all connected to pin 3 of the low-dropout linear regulator LDO1, and pin 3 of the low-dropout linear regulator LDO1 is connected to +5V; pin 2 of the resistor R19 is connected to the positive electrode of the light-emitting diode LED4; pin 2 of the capacitor C14, pin 2 of the capacitor C15, the negative electrode of the polarized capacitor C16, the negative electrode of the light-emitting diode LED4, and pin 2 of the capacitor C17 are all connected to pin 1 of the low-dropout linear regulator LDO1 and then grounded; pin 2 of the low-dropout linear regulator LDO1 and pin 1 of the capacitor C17 are both connected to 3.3V. Among them, the model of the voltage regulator chip U5 can be but is not limited to AMS1117-5.0_C347223, and the model of the low-dropout linear regulator LDO1 can be but is not limited to SC662K-3.3V. The power supply circuit supplies power to each part of the device.
[0055] Specifically, the communication circuit includes a plug-in CN5, a voltage-regulating diode D5, a capacitor C18 with a capacitance value of 10 uF, a main board U6, a resistor R9 with a resistance value of 120 Ω, and a DIP switch SW4. The 1st pin of the main board U6 and the 1st pin of the capacitor C18 are both connected to the negative electrode of the voltage-regulating diode D5, and the negative electrode of the voltage-regulating diode D5 is connected to +5V. The 2nd pin of the main board U6 and the 2nd pin of the capacitor C18 are both connected to the positive electrode of the voltage-regulating diode D5, and the positive electrode of the voltage-regulating diode D5 is grounded. Among them, the model of the plug-in CN5 can be but is not limited to KF2EDGRM-3.81-4P, the model of the voltage-regulating diode D5 can be but is not limited to SMBJ5.0A, and the model of the main board U6 can be but is not limited to RSM485CHT_C404241. The communication circuit transmits the real-time data obtained by the sensor control circuit to the main control board circuit.
[0056] As Figures 9-13 shown, the sensor circuit of this embodiment includes a lidar circuit, an ultrasonic circuit, a microwave radar circuit, a motor control circuit, and a motor auxiliary control circuit.
[0057] Specifically, the lidar circuit includes a resistor R10 with a resistance value of 10 kΩ, a resistor R11 with a resistance value of 10 kΩ, a resistor R12 with a resistance value of 10 kΩ, a resistor R13 with a resistance value of 10 kΩ, a resistor R14 with a resistance value of 10 kΩ, a resistor R15 with a resistance value of 10 kΩ, transistors Q2, Q3, Q4, Q5, and a plug-in CN6. The 1st pin of the plug-in CN6 is grounded, the 2nd pin of the plug-in CN6 is connected to the motor control circuit, the 3rd pin of the plug-in CN6 is connected to the motor control circuit, and the 4th pin of the plug-in CN6 is connected to +5V. The 1st pin of the resistor R10 is connected to the 2nd pin of the plug-in CN6, the 2nd pin of the resistor R10 is connected to the base of the transistor Q2, the 1st pin of the resistor R11 and the base of the transistor Q3 are both connected to the collector of the transistor Q2, the emitter of the transistor Q2 is connected to the emitter of the transistor Q3 and then grounded, the 2nd pin of the resistor R11 and the 2nd pin of the resistor R12 are both connected to +5V, the 1st pin of the resistor R12 and the collector of the transistor Q3 are both connected to the 43rd pin of the main board U10. The 1st pin of the resistor R15 is connected to the 44th pin of the main board U10, the 2nd pin of the resistor R15 is connected to the base of the transistor Q5, the 1st pin of the resistor R14 and the base of the transistor Q4 are both connected to the collector of the transistor Q5, the emitter of the transistor Q5 is connected to the emitter of the transistor Q4 and then grounded, the 2nd pin of the resistor R14 and the 2nd pin of the resistor R13 are both connected to 3.3V, the 1st pin of the resistor R13 and the collector of the transistor Q4 are both connected to the 3rd pin of the plug-in CN6. Among them, the models of the transistors Q2, Q3, Q4, and Q5 can be but are not limited to SS8050_C2150, and the model of the plug-in CN6 can be but is not limited to 530470410. The lidar circuit detects the real-time traffic flow.
[0058] Specifically, the ultrasonic circuit includes the plug-in CN7. Pin 1 of the plug-in CN7 is connected to +5V. Both the microwave radar circuit and pin 46 of the main board U10 are connected to pin 2 of the plug-in CN7. Both the microwave radar circuit and pin 45 of the main board U10 are connected to pin 3 of the plug-in CN7. Pin 4 of the plug-in CN7 is grounded. Among them, the model of the plug-in CN7 can be but is not limited to KF2EDGRM-3.81-4P. The ultrasonic circuit detects the real-time traffic flow.
[0059] Specifically, the microwave radar circuit includes the resistor R23 with a resistance value of 4.7 kΩ, the main board U11, and the flexible printed circuit board FPC1. Pin 1 of the flexible printed circuit board FPC1 is connected to pin 1 of the main board U11. Both pin 2 of the plug-in CN7 and pin 46 of the main board U10 are connected to pin 1 of the main board U11. Pin 2 of the flexible printed circuit board FPC1 is connected to pin 2 of the main board U11. Both pin 3 of the plug-in CN7 and pin 45 of the main board U10 are connected to pin 2 of the main board U11. Pin 3 of the flexible printed circuit board FPC1 is connected to pin 3 of the main board U11. Both pin 1 of the resistor R23 and pin 32 of the main board U10 are connected to pin 3 of the main board U11. Pin 2 of the resistor R23 is grounded. After pin 4 of the flexible printed circuit board FPC1 is connected to pin 4 of the main board U11, it is grounded. After pin 5 of the flexible printed circuit board FPC1 and pin 5 of the main board U11 are connected, they are connected to +5V. Pins 7 and 8 of the flexible printed circuit board are both grounded. Among them, the model of the main board U11 can be but is not limited to DM-19E, and the model of the flexible printed circuit board FPC1 can be but is not limited to AFC01-S06FCC-00. The microwave radar circuit detects the real-time traffic flow.
[0060] Specifically, the motor control circuit includes a resistor R20 with a resistance value of 4.7 kΩ, a resistor R17 with a resistance value of 330 Ω, a resistor R18 with a resistance value of 330 Ω, a resistor R19 with a resistance value of 4.7 kΩ, a triode Q7, an optocoupler sensor U12, and a MOS transistor Q8. The 1st pin of resistor R19 is connected to the 33rd pin of motherboard U10. The 2nd pin of resistor R19 is connected to the base of triode Q7. The collector of triode Q7 is connected to the 2nd pin of optocoupler sensor U12. The emitter of triode Q7 is connected to the 2nd pin of resistor R17 and then grounded. The 1st pin of resistor R18 is connected to +5V. The 2nd pin of resistor R18 is connected to the 1st pin of optocoupler sensor U12. The 1st pin of resistor R16 is connected to +5V. The 2nd pin of resistor R16 is connected to the 4th pin of optocoupler sensor U12. The 3rd pin of optocoupler sensor U12 and the G pole of MOS transistor Q8 are both connected to the 1st pin of R17. The S pole of the MOS transistor is connected to +12V. The D pole of the MOS transistor is connected to the motor auxiliary control circuit. Among them, the model of triode Q7 can be but is not limited to SS8050_C2150. The model of optocoupler sensor U12 can be but is not limited to EL817S1(C)(TU)-F. The model of MOS transistor Q8 can be but is not limited to AO3400A_C344010. The motor control circuit realizes the control of the motor in the device.
[0061] Specifically, the motor auxiliary control circuit includes a plug-in CN8 and a plug-in H2. The 1st pin of plug-in CN8 is connected to the D pole of the MOS transistor. The 2nd pin of plug-in CN8 is grounded. The 3rd pin of plug-in CN8 and the 2nd pin of plug-in H2 are connected and then connected to +5V. The 4th pin of plug-in CN8 and the 3rd pin of plug-in H2 are connected and then connected to the 34th pin of motherboard U10. The 5th pin of plug-in CN8 is grounded. The 1st pin of plug-in H2 is grounded. Among them, the model of plug-in CN8 can be but is not limited to WJ15EDGRM-3.81-5P-14-00A. The motor auxiliary control circuit realizes the auxiliary control of the motor.
[0062] As Figures 14-19 shown, the output circuit of this embodiment includes a 485 output circuit, a CAN 485 interface circuit, a TTL interface circuit, a DIP switch circuit, a key circuit, and a two-layer interface circuit.
[0063] Specifically, the 485 output circuit includes main board U4, plug-in CN1, resistor R2 with a resistance value of 120 Ω, resistor R3 with a resistance value of 0 Ω, resistor R4 with a resistance value of 0 Ω, capacitor C7 with a capacitance value of 10 uF, and zener diode D2; pin 1 of main board U4 is connected to VDD3.3V, and pin 1 of capacitor C7 and the negative electrode of zener diode D2 are both connected to pin 1 of main board U4; pin 2 of capacitor C7 and the positive electrode of zener diode D2 are both connected to pin 2 of main board U4 and then grounded; pin 1 of resistor R3 and pin 69 of main board U3 are both connected to pin 3 of main board U4; plug-in CN1, pin 1 of resistor R2, and pin 9 of main board U4 are connected to pin 2 of resistor R3; pin 1 of resistor R4 and pin 70 of main board U3 are both connected to pin 4 of main board U4; plug-in CN1, pin 2 of resistor R2, and pin 8 of main board U4 are all connected to pin 2 of resistor R4; pin 5 of main board U4 is connected to pin 64 of main board U3; pin 1 of main board plug-in CN1 is connected to VDD12V, pins 2 and 3 of plug-in CN1 are connected to pin 8 of main board U4, pins 4 and 4 of plug-in CN1 are connected to pin 9 of main board U4, and pin 6 of plug-in CN1 is grounded. Among them, the model of main board U4 can be but is not limited to RSM3485ECHT, the model of plug-in CN1 can be but is not limited to WJ15EDGVC-6P, and the model of zener diode D2 can be but is not limited to SMBJ5.0A. The 485 output circuit transmits the sorted data to the next-level device. Among them, the next-level device can be any one in the prior art, such as a background management terminal, etc.
[0064] Specifically, the CAN 485 interface circuit includes main board U1, main board U2, capacitor C1 with a capacitance value of 10 uF, capacitor C2 with a capacitance value of 30 pF, capacitor C3 with a capacitance value of 30 pF, capacitor C4 with a capacitance value of 10 uF, resistor R1 with a resistance value of 120 Ω, DIP switch SW1, zener diode D1 and zener diode D2; the negative electrode of zener diode D1 and pin 1 of capacitor C1 are both connected to pin 1 of main board U1, and pin 1 of main board U1 is connected to VDD3.3V; the positive electrode of zener diode D1 is connected to pin 2 of capacitor C1 and then grounded; pin 2 of main board U1 is grounded, pin 3 of main board U1 is connected to pin 14 of main board U3, pin 4 of main board U1 is connected to pin 13 of main board U3, pin 1 of capacitor C2 and pin 1 of DIP switch SW1 are both connected to pin 6 of main board U1, and pin 6 of main board U1 is connected to the high-speed signal line of the CAN bus; pin 2 of capacitor C2 is grounded; pin 1 of resistor R1 and pin 1 of capacitor C3 are both connected to pin 7 of main board U1, and pin 7 of main board U1 is connected to the low-speed signal line of the CAN bus; pin 2 of capacitor C3 is grounded; pin 2 of resistor R1 is connected to pin 2 of DIP switch SW1; pin 1 of capacitor C4 and the negative electrode of zener diode D2 are both connected to pin 1 of main board U2, and pin 1 of main board U2 is connected to VDD3.3V; pin 2 of main board U2, pin 2 of capacitor C4 and the positive electrode of zener diode D2 are connected and then grounded; pin 3 of main board U2 is connected to pin 12 of main board U3, pin 4 of main board U2 is connected to pin 15 of main board U3, pin 5 of main board U2 is connected to pin 16 of main board U3, pin 8 of main board U2 is connected to the low-speed signal line of the CAN bus, and pin 9 of U2 is connected to the high-speed line of the CAN bus. Among them, the model of main board U1 can be but is not limited to CTM8251KAT, the model of main board U2 can be but is not limited to RSM3485ECHT, and the models of zener diodes D1 and D2 can be but are not limited to SMBJ5.0A. The CAN 485 interface circuit transmits the sorted data to the next-level device. Among them, the next-level device can be any one in the prior art, such as a background management terminal, etc.
[0065] Specifically, the TTL interface circuit includes plug-in CN3 and plug-in CN4. Pin 1 and Pin 2 of plug-in CN3 are both connected to VDD12V, Pin 3 of plug-in CN3 is connected to VDD5V, plug-in CN4 is connected to Pin 10 of main board U3 and Pin 4 of plug-in CN3, Pin 11 of plug-in CN4 and main board U3 are both connected to Pin 5 of plug-in CN3, and Pin 6 and Pin 7 of plug-in CN3 are both grounded. Pin 1 of plug-in CN4 is connected to VDD5V, Pin 4 of plug-in CN3 and Pin 10 of main board U3 are both connected to Pin 2 of plug-in CN4, Pin 5 of plug-in CN3 and Pin 11 of main board U3 are both connected to Pin 3 of plug-in CN4, and Pin 4 of plug-in CN4 is grounded. Among them, the model of plug-in CN3 can be but is not limited to WJ15EDGVC-3.81-7P, and the model of plug-in CN4 can be but is not limited to HDGC1251WV-S-4P. The TTL interface circuit is used to assist the 485 output circuit or the CAN 485 interface circuit to transmit the real-time traffic flow data obtained by the main control board circuit to the next-level device. Among them, the next-level device can be any one in the prior art, such as the background management terminal, etc.
[0066] Specifically, the DIP switch circuit includes DIP switch SW2. Pin 1 of DIP switch SW2 is connected to Pin 60 of main board U3, Pin 2 of DIP switch SW2 is connected to Pin 58 of main board U3, Pin 3 of DIP switch SW2 is connected to Pin 56 of main board U3, Pin 4 of DIP switch SW2 is connected to Pin 54 of main board U3, Pin 5 of DIP switch SW2 is connected to Pin 52 of main board U3, and Pins 6-10 of DIP switch SW2 are connected and then grounded. The DIP switch circuit is connected to the main control board circuit, and when the output circuit outputs data, 485 output or CAN output can be selected.
[0067] Specifically, the key circuit includes resistor R7 with a resistance value of 10 kΩ, resistor R8 with a resistance value of 10 kΩ, reset switch RESET1, switch K1, capacitor C10 with a capacitance value of 10 nF, and capacitor C11 with a capacitance value of 10 nF. Pin 1 of resistor R7 and Pin 1 of resistor R8 are connected and then connected to VDD3.3V. Pin 1 of switch K1, Pin 2 of resistor R7, and Pin 1 of capacitor C11 are all connected to Pin 80 of main board U3. Pin 2 of resistor R8, Pin 1 of reset switch RESET1, and Pin 1 of capacitor C10 are all connected to Pin 7 of main board U3. Pin 2 of reset switch RESET1 and Pin 2 of switch K1 are connected and then grounded. Pin 2 of capacitor C10 and Pin 2 of capacitor C11 are connected and then grounded. The key circuit is connected to main board U3 and is used to control the reset of main board U3.
[0068] Specifically, the two-layer interface circuit includes a pin P1. Pin 1 and pin 2 of the pin P1 are both connected to 4VIN. Pin 5 and pin 6 of the pin P1 are both connected to VDD12V. Pin 9 and pin 10 of the pin P1 are both connected to VDD5V. Pins 13 - 16 of the pin P1 are all grounded. Pin 19 and pin 20 of the pin P1 are both connected to 48V_GND. Among them, the model of the pin P1 can be but is not limited to Header10X2.
[0069] In summary, the tunnel traffic flow detection device circuit of this embodiment collects real-time data through the sensor circuit, transmits it to the sensor control circuit. After preliminary processing by the sensor control circuit, the data is transmitted to the main control board circuit. The main control board circuit transmits the processed data to the next-level device through the output circuit to complete real-time closed-loop control, thereby detecting the traffic flow in the tunnel and effectively solving the problems of visual interference to drivers, electric energy waste, and human resource waste caused by the fixed mode in the traditional technology.
[0070] Finally, it should be noted that the above are only the preferred embodiments of the present application and are not used to limit the present application. Although the present application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A circuit of a tunnel traffic flow detection device, characterized in that, It includes a main control board circuit, an output circuit, a sensor control circuit and a sensor circuit; The main control board circuit includes a main board U3, a plug-in CN2 and a first buzzer circuit; Pin 1 of the main board U3 is connected to VDD5V, and pin 1 of capacitor C5, pin 1 of capacitor C6 and the negative pole of voltage stabilizing diode D3 are all connected to pin 1 of the main board U3; pin 2 of capacitor C5, pin 2 of capacitor C6 and the positive pole of voltage stabilizing diode D3 are connected and then grounded; pin 2 of the main board U3 is grounded, and pin 7, pin 52, pin 54, pin 56, pin 58, pin 60, pin 64, pin 69, pin 70, pin 80 of the main board U3 and pins 10-16 of the main board U3 are all connected to the output circuit. Pin 1 of capacitor C8 and pin 1 of capacitor C9 are both connected to pin 40 of the main board U3, and pin 40 of the main board U3 is connected to VDD3.3V; pin 2 of capacitor C8 and pin 2 of capacitor C9 are connected and then grounded; pin 59 of the main board U3 is connected to the first buzzer circuit; Pin 1 of the plug-in CN2 is connected to 48VIN, pin 2 of the plug-in CN2 is connected to 48VGND, pin 3 of the plug-in CN2 is connected to the high-speed signal line of the CAN bus, and pin 4 of the plug-in CN2 is connected to the low-speed signal line of the CAN bus; The first buzzer circuit includes a buzzer BUZZER1, a triode Q1, a resistor R5 and a resistor R6; the positive pole of the buzzer BUZZER1 is connected to VDD5V, and the negative pole of the buzzer BUZZER1 is connected to the collector of the triode Q1; pin 1 of the resistor R5 and pin 1 of the resistor R6 are both connected to the base of the triode, and the emitter of the triode Q1 is connected to pin 2 of the resistor R6 and then grounded; pin 2 of the resistor R5 is connected to pin 59 of the main board U3; The sensor control circuit includes a control circuit, a communication circuit and a power supply circuit; The control circuit includes a main board U10, a plug-in U6, a plug-in U7, a plug-in U8, a plug-in U9, a resistor R16, a resistor R21, a resistor R22, a crystal oscillator X1, a capacitor C19, a capacitor C20, a capacitor C21, a capacitor C22, a capacitor C23, a switch SW5, a light-emitting diode LED3, a second buzzer circuit, and a programming port circuit; Pin 1 of the plug-in U6 is connected to +5V, pin 2 of the plug-in U6 is grounded, and pins 3-8 of the plug-in U6 are all connected to the main board U10; Pins 1-8 of the plug-in U7 are all connected to the main board U10; Pin 1 of the plug-in U8 is connected to +5V, pin 2 of the plug-in U8 is grounded, and pins 3-8 of the plug-in U8 are all connected to the main board U10; Pin 1 of the plug-in U9 is connected to +5V, pin 2 of the plug-in U9 is grounded, and pins 3-8 of the plug-in U9 are all connected to the main board U10; Pin 1 of the main board U10 is connected to pin 6 of the plug-in U8, pin 2 of the main board U10 is connected to pin 5 of the plug-in U8, pin 3 of the main board U10 is connected to pin 4 of the plug-in U8, pins 4-6 of the main board U10 are connected to the communication circuit, and pin 7 of the main board U10 is connected to the negative electrode of the light-emitting diode LED3; The positive electrode of the light-emitting diode LED3 is connected to pin 1 of the resistor R16, and pin 2 of the resistor R16 is connected to +5V; Pin 8 of the main board U10 is connected to the second buzzer circuit, pin 9 of the main board U10 is connected to the positive electrode of the crystal oscillator X1, and pin 10 of the main board U10 is connected to the negative electrode of the crystal oscillator X1; Pin 1 of the capacitor C19 is connected to the positive electrode of the crystal oscillator X1; Pin 1 of the capacitor C20 is connected to the negative electrode of the crystal oscillator X1; After pin 2 of the capacitor C19 and pin 2 of the capacitor C20 are connected, they are grounded; Pin 11 of the main board U10 is grounded, and pin 12, pin 13 of the main board U10 and pin 1 of the capacitor C22 are all connected to pin 1 of the capacitor C21, and pin 1 of the capacitor C21 is connected to +5V; After pin 2 of the capacitor C21 and pin 2 of the capacitor C22 are connected, they are grounded; Pin 2 of the resistor R21, pin 1 of the resistor R22, and pin 1 of the capacitor C23 are all connected to pin 14 of the main board U10; Pin 1 of the resistor R21 is connected to +5V; Pin 2 of the resistor R22 is connected to pin 1 of the switch SW5; After pin 2 of the capacitor C23 and pin 2 of the switch SW5 are connected, they are grounded;Pin 15 of the main board U10 is connected to +5V, pin 16 of the main board U10 is connected to pin 3 of the plug-in U8, pin 18 of the main board U10 is connected to pin 8 of the plug-in U9, and pins 16 - 18 of the main board U10 are connected and then grounded. Pin 19 and pin 20 of the main board U10 are both connected to the programming port circuit. Pin 21 of the main board U10 is connected to pin 7 of the plug-in U9, pin 22 of the main board U10 is connected to pin 6 of the plug-in U9, pin 23 of the main board U10 is connected to pin 5 of the plug-in U9, pin 24 of the main board U10 is connected to pin 4 of the plug-in U9, pin 25 of the main board U10 is connected to pin 3 of the plug-in U9, pin 27 of the main board U10 is connected to pin 8 of the plug-in U6, pin 26 of the main board U10 is connected to pin 7 of the plug-in U6, pin 28 of the main board U10 is connected to pin 6 of the plug-in U6, pin 29 of the main board U10 is connected to pin 5 of the plug-in U6, pin 30 of the main board U10 is connected to pin 4 of the plug-in U6, pin 31 of the main board U10 is connected to pin 3 of the plug-in U6, pin 32 of the main board U10 is connected to the sensor circuit, pin 33 of the main board U10 is connected to the sensor circuit, pin 34 of the main board U10 is connected to the sensor circuit, pin 35 of the main board U10 is connected to pin 8 of the plug-in U7, pin 36 of the main board U10 is connected to pin 7 of the plug-in U7, pin 37 of the main board U10 is connected to pin 6 of the plug-in U7, pin 38 of the main board U10 is connected to pin 5 of the plug-in U7, pin 39 of the main board U10 is connected to pin 4 of the plug-in U7, pin 40 of the main board U10 is connected to pin 3 of the plug-in U7, pin 41 of the main board U10 is connected to pin 2 of the plug-in U7, pin 42 of the main board U10 is connected to pin 1 of the plug-in U7, pin 43 of the main board U10 is connected to the sensor circuit, pin 44 of the main board U10 is connected to the sensor circuit, pin 45 of the main board U10 is connected to the sensor circuit, pin 46 of the main board U10 is connected to the sensor circuit, pin 47 of the main board U10 is connected to pin 8 of the plug-in U8, pin 48 of the main board U10 is connected to pin 7 of the plug-in U8; The second buzzer circuit includes a buzzer BUZZER2, a triode Q6, a resistor R17, and a resistor R18; The positive pole of the buzzer BUZZER2 is connected to +5V, the negative pole of the buzzer BUZZER2 is connected to the collector of the triode Q6. Pin 1 of the resistor R17 and pin 2 of the resistor R18 are both connected to the base of the triode Q6. Pin 1 of the resistor R18 is connected to pin 8 of the main board U10. Pin 2 of the resistor R17 is connected to the emitter of the triode Q6 and then grounded; The programming port circuit includes a plug-in H1, a resistor R14, a resistor R15, a light-emitting diode LED1 and a light-emitting diode LED2; pin 1 of the resistor R14 and pin 1 of the resistor R15 are both connected to pin 1 of the plug-in H1, and pin 1 of the plug-in H1 is connected to +5V; pin 2 of the resistor R14 is connected to the positive pole of the light-emitting diode LED2, and pin 2 of the resistor R15 is connected to the positive pole of the light-emitting diode LED1; the negative pole of the light-emitting diode LED1 is connected to pin 2 of the plug-in H1, and pin 2 of the plug-in H1 is connected to pin 20 of the main board U10; the negative pole of the light-emitting diode LED2 is connected to pin 3 of the plug-in H1, and pin 3 of the plug-in H1 is connected to pin 19 of the main board U10; pin 4 of the plug-in H1 is grounded; The power supply circuit includes capacitor C12, capacitor C13, capacitor C14, capacitor C15, polarized capacitor C16, capacitor C17, resistor R19, light-emitting diode LED4, voltage regulator chip U5, and low-dropout linear regulator LDO1; Pin 1 of capacitor C12, pin 1 of capacitor C17, and pin 5 of voltage regulator chip U5 are all connected to 12V; Pin 2 of capacitor C12 and pin 2 of capacitor C17 are connected and then grounded; Pin 2 and pin 4 of voltage regulator chip U5 are connected. Pin 2 of voltage regulator chip U5, pin 4 of voltage regulator chip U5, pin 1 of capacitor C14, pin 1 of capacitor C15, the positive electrode of polarized capacitor C16, and pin 1 of resistor R19 are all connected to pin 3 of low-dropout linear regulator LDO1, and pin 3 of low-dropout linear regulator LDO1 is connected to +5V; Pin 2 of resistor R19 is connected to the positive electrode of light-emitting diode LED4; Pin 2 of capacitor C14, pin 2 of capacitor C15, the negative electrode of polarized capacitor C16, the negative electrode of light-emitting diode LED4, and pin 2 of capacitor C17 are all connected to pin 1 of low-dropout linear regulator LDO1 and then grounded; Pin 2 of low-dropout linear regulator LDO1 and pin 1 of capacitor C17 are both connected to 3.3V; The communication circuit includes plug-in CN5, zener diode D5, capacitor C18, main board U6, resistor R9, and DIP switch SW4; Pin 1 of main board U6 and pin 1 of capacitor C18 are both connected to the negative electrode of zener diode D5, and the negative electrode of zener diode D5 is connected to +5V; Pin 2 of main board U6 and pin 2 of capacitor C18 are both connected to the positive electrode of zener diode D5, and the positive electrode of zener diode D5 is grounded.
2. The circuit of the tunnel traffic flow detection device according to claim 1, wherein The output circuit includes a 485 output circuit, a CAN 485 interface circuit, a TTL interface circuit, a DIP switch circuit, a key circuit, and a two-layer interface circuit; The 485 output circuit includes main board U4, plug-in CN1, resistor R2, resistor R3, resistor R4, capacitor C7, and zener diode D4. Pin 1 of the main board U4 is connected to VDD3.3V, and pin 1 of the capacitor C7 and the negative electrode of the zener diode D4 are both connected to pin 1 of the main board U4. Pin 2 of the capacitor C7 and the positive electrode of the zener diode D4 are both connected to pin 2 of the main board U4 and then grounded. Pin 1 of the resistor R3 and pin 69 of the main board U3 are both connected to pin 3 of the main board U4. The plug-in CN1, pin 1 of the resistor R2, and pin 9 of the main board U4 are connected to pin 2 of the resistor R3. Pin 1 of the resistor R4 and pin 70 of the main board U3 are both connected to pin 4 of the main board U4. The plug-in CN1, pin 2 of the resistor R2, and pin 8 of the main board U4 are all connected to pin 2 of the resistor R4. Pin 5 of the main board U4 is connected to pin 64 of the main board U3. Pin 1 of the plug-in CN1 on the main board is connected to VDD12V, pins 2 and 3 of the plug-in CN1 are connected to pin 8 of the main board U4, pins 4 and 4 of the plug-in CN1 are connected to pin 9 of the main board U4, and pin 6 of the plug-in CN1 is grounded. The CAN 485 interface circuit includes main boards U1, U2, capacitors C1, C2, C3, C4, resistor R1, dip switch SW1, zener diodes D1 and D2. The negative electrode of the zener diode D1 and pin 1 of the capacitor C1 are both connected to pin 1 of the main board U1, and pin 1 of the main board U1 is connected to VDD3.3V. The positive electrode of the zener diode D1 is connected to pin 2 of the capacitor C1 and then grounded. Pin 2 of the main board U1 is grounded, pin 3 of the main board U1 is connected to pin 14 of the main board U3, pin 4 of the main board U1 is connected to pin 13 of the main board U3, pin 1 of the capacitor C2 and pin 1 of the dip switch SW1 are both connected to pin 6 of the main board U1, and pin 6 of the main board U1 is connected to the high-speed signal line of the CAN bus. Pin 2 of the capacitor C2 is grounded. Pin 1 of the resistor R1 and pin 1 of the capacitor C3 are both connected to pin 7 of the main board U1, and pin 7 of the main board U1 is connected to the low-speed signal line of the CAN bus. Pin 2 of the capacitor C3 is grounded. Pin 2 of the resistor R1 is connected to pin 2 of the dip switch SW1. Pin 1 of the capacitor C4 and the negative electrode of the zener diode D2 are both connected to pin 1 of the main board U2, and pin 1 of the main board U2 is connected to VDD3.3V. Pin 2 of the main board U2, pin 2 of the capacitor C4, and the positive electrode of the zener diode D2 are connected and then grounded. Pin 3 of the main board U2 is connected to pin 12 of the main board U3, pin 4 of the main board U2 is connected to pin 15 of the main board U3, pin 5 of the main board U2 is connected to pin 16 of the main board U3, pin 8 of the main board U2 is connected to the low-speed signal line of the CAN bus, and pin 9 of the U2 is connected to the high-speed line of the CAN bus. The TTL interface circuit includes plug-in CN3 and plug-in CN4; Pin 1 and Pin 2 of plug-in CN3 are both connected to VDD12V, Pin 3 of plug-in CN3 is connected to VDD5V, plug-in CN4 is connected to Pin 10 of main board U3 and Pin 4 of plug-in CN3, both Pin 11 of plug-in CN4 and main board U3 are connected to Pin 5 of plug-in CN3, Pin 6 and Pin 7 of plug-in CN3 are both grounded; Pin 1 of plug-in CN4 is connected to VDD5V, both Pin 4 of plug-in CN3 and Pin 10 of main board U3 are connected to Pin 2 of plug-in CN4, both Pin 5 of plug-in CN3 and Pin 11 of main board U3 are connected to Pin 3 of plug-in CN4, and Pin 4 of plug-in CN4 is grounded; The DIP switch circuit includes DIP switch SW2; Pin 1 of DIP switch SW2 is connected to Pin 60 of main board U3, Pin 2 of DIP switch SW2 is connected to Pin 58 of main board U3, Pin 3 of DIP switch SW2 is connected to Pin 56 of main board U3, Pin 4 of DIP switch SW2 is connected to Pin 54 of main board U3, Pin 5 of DIP switch SW2 is connected to Pin 52 of main board U3, and Pins 6 - 10 of DIP switch SW2 are connected and then grounded; The key circuit includes resistor R7, resistor R8, reset switch RESET1, switch K1, capacitor C10 and capacitor C11; Pin 1 of resistor R7 and Pin 1 of resistor R8 are connected and then connected to VDD3.3V; Pin 1 of switch K1, Pin 2 of resistor R7 and Pin 1 of capacitor C11 are all connected to Pin 80 of main board U3; Pin 2 of resistor R8, Pin 1 of reset switch RESET1 and Pin 1 of capacitor C10 are all connected to Pin 7 of main board U3; Pin 2 of reset switch RESET1 and Pin 2 of switch K1 are connected and then grounded; Pin 2 of capacitor C10 and Pin 2 of capacitor C11 are connected and then grounded; The two-layer interface circuit includes pin P1; Pin 1 and Pin 2 of pin P1 are both connected to 4VIN, Pin 5 and Pin 6 of pin P1 are both connected to VDD12V, Pin 9 and Pin 10 of pin P1 are both connected to VDD5V, Pins 13 - 16 of pin P1 are all grounded, and Pin 19 and Pin 20 of pin P1 are both connected to 48V_GND.
3. The circuit of the tunnel traffic flow detection device according to claim 1, characterized in that, The sensor circuit includes a lidar circuit, an ultrasonic circuit, a microwave radar circuit, a motor control circuit and a motor auxiliary control circuit; The lidar circuit includes resistor R10, resistor R11, resistor R12, resistor R13, resistor R14, resistor R15, triode Q2, triode Q3, triode Q4, triode Q5, and plug CN6; pin 1 of the plug CN6 is grounded, pin 2 of the plug CN6 is connected to the motor control circuit, pin 3 of the plug CN6 is connected to the motor control circuit, and pin 4 of the plug CN6 is connected to +5V; pin 1 of the resistor R10 is connected to pin 2 of the plug CN6, pin 2 of the resistor R10 is connected to the base of the triode Q2, pin 1 of the resistor R11 and the base of the triode Q3 are both connected to the collector of the triode Q2, the emitter of the triode Q2 and the emitter of the triode Q3 are connected and then grounded, pin 2 of the resistor R11 and pin 2 of the resistor R12 are both connected to +5V, pin 1 of the resistor R12 and the collector of the triode Q3 are both connected to pin 43 of the main board U10; pin 1 of the resistor R15 is connected to pin 44 of the main board U10, pin 2 of the resistor R15 is connected to the base of the triode Q5, pin 1 of the resistor R14 and the base of the triode Q4 are both connected to the collector of the triode Q5, the emitter of the triode Q5 and the emitter of the triode Q4 are connected and then grounded, pin 2 of the resistor R14 and pin 2 of the resistor R13 are both connected to 3.3V, pin 1 of the resistor R13 and the collector of the triode Q4 are both connected to pin 3 of the plug CN6; The ultrasonic circuit includes plug CN7; pin 1 of the plug CN7 is connected to +5V, the microwave radar circuit and pin 46 of the main board U10 are both connected to pin 2 of the plug CN7, the microwave radar circuit and pin 45 of the main board U10 are both connected to pin 3 of the plug CN7, and pin 4 of the plug CN7 is grounded; The microwave radar circuit includes resistor R23, main board U11, and flexible circuit board FPC1; Pin 1 of the flexible circuit board FPC1 is connected to pin 1 of the main board U11, and pin 2 of the plug CN7 and pin 46 of the main board U10 are both connected to pin 1 of the main board U11, pin 2 of the flexible circuit board FPC1 is connected to pin 2 of the main board U11, and pin 3 of the plug CN7 and pin 45 of the main board U10 are both connected to pin 2 of the main board U11, pin 3 of the flexible circuit board FPC1 is connected to pin 3 of the main board U11, and pin 1 of the resistor R23 and pin 32 of the main board U10 are both connected to pin 3 of the main board U11; pin 2 of the resistor R23 is grounded; pin 4 of the flexible circuit board FPC1 is connected to pin 4 of the main board U11 and then grounded, pin 5 of the flexible circuit board FPC1 and pin 5 of the main board U11 are connected and then connected to +5V, and pins 7 and 8 of the flexible circuit board are both grounded; The motor control circuit includes resistor R20, resistor R17, resistor R18, resistor R19, triode Q7, optocoupler sensor U12, and MOS transistor Q8; pin 1 of resistor R19 is connected to pin 33 of main board U10, pin 2 of resistor R19 is connected to the base of triode Q7, the collector of triode Q7 is connected to pin 2 of optocoupler sensor U12, the emitter of triode Q7 is connected to pin 2 of resistor R17 and then grounded, pin 1 of resistor R18 is connected to +5V, pin 2 of resistor R18 is connected to pin 1 of optocoupler sensor U12, pin 1 of resistor R16 is connected to +5V, pin 2 of resistor R16 is connected to pin 4 of the optocoupler, pin 3 of optocoupler sensor U12 and the G pole of MOS transistor Q8 are both connected to pin 1 of R17, the S pole of the MOS transistor is connected to +12V, and the D pole of the MOS transistor is connected to the motor auxiliary control circuit; The motor auxiliary control circuit includes plug-in CN8 and plug-in H2; pin 1 of plug-in CN8 is connected to the D pole of the MOS transistor, pin 2 of plug-in CN8 is grounded, pin 3 of plug-in CN8 and pin 2 of plug-in H2 are connected and then connected to +5V, pin 4 of plug-in CN8 and pin 3 of plug-in H2 are connected and then connected to pin 34 of main board U10, pin 5 of plug-in CN8 is grounded, and pin 1 of plug-in H2 is grounded.