Vehicle and body input signal detection circuit
A hardware-based vehicle body input signal detection circuit addresses the high cost and software dependency of existing systems by using discrete components to process and control vehicle lighting functions efficiently.
Patent Information
- Application Number
- CN202011330167.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-24
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-11-24
AI Technical Summary
Existing vehicle body input signal detection systems for controlling daytime running and position lighting functions are costly due to high chip prices and require significant software investment.
A vehicle body input signal detection circuit utilizing discrete hardware components, including a signal integration circuit, comparison circuits, a switch circuit, and a controller, to process and control lighting functions without the need for software development.
Reduces costs by eliminating the need for software development and achieving effective lighting control through hardware-based signal processing.
Smart Images

Figure CN114545095B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicles, and in particular to a vehicle body input signal detection circuit and a vehicle. Background Art
[0002] The existing technology for controlling the daytime running and position lighting functions of lamps based on the PWM signal input from the vehicle body is to detect the input PWM (Pulse Width Modulation) signal through an MCU (Microcontroller Unit) chip, and perform subsequent lighting control based on the result of the detection signal. This method has a high chip price and requires investment in software technology, which is very costly. Summary of the invention
[0003] In order to solve the above technical problems, the present invention provides a vehicle body input signal detection circuit, which is based on discrete devices and equipped with hardware circuits, can realize the judgment and processing of vehicle body input signals, and then realize lighting control, reducing costs and eliminating the need to invest in software development costs.
[0004] The technical solution adopted by the present invention is as follows:
[0005] A vehicle body input signal detection circuit comprises: a signal integration circuit, a power supply circuit, a first comparison circuit, a switch circuit, a second comparison circuit, a signal selection circuit and a controller, wherein the input end of the signal integration circuit is connected to the vehicle body signal input end; the power supply circuit is respectively connected to the voltage input ends of the first comparison circuit and the second comparison circuit; the input end of the first comparison circuit is connected to the output end of the signal integration circuit, the output end of the first comparison circuit is connected to the first end of the switch circuit, the second end of the switch circuit is connected to the controller, and the third end of the switch circuit is grounded; the input end of the second comparison circuit is connected to the output end of the signal integration circuit, the output end of the second comparison circuit is connected to the input end of the signal selection circuit, and the output end of the signal selection circuit is connected to the controller; the controller is used to control the operation of a lighting module according to the switch circuit and the signal selection circuit.
[0006] According to one embodiment of the present invention, the signal selection circuit includes: a signal generator for generating a PWM signal with a preset duty cycle; a first diode, wherein the anode of the first diode is connected to the output end of the signal generator; a second diode, wherein the anode of the second diode is connected to the output end of the second comparison circuit, and the cathode of the second diode is respectively connected to the cathode of the first diode and the controller.
[0007] According to one embodiment of the present invention, the second comparison circuit includes: a first resistor, one end of the first resistor is connected to the voltage output end of the power supply circuit; a second comparator, a first input end of the second comparator is connected to the output end of the signal integration circuit, the other end of the first resistor is connected, the third end of the second comparator is connected to the other end of the second resistor, the fourth end of the second comparator is grounded, and the output end of the second comparator is connected to the positive electrode of the second diode; a second resistor, one end of the second resistor is connected to the second end of the second comparator, and the other end of the second resistor is connected to the power supply; a third resistor, one end of the third resistor is connected to one end of the second resistor, and the other end of the third resistor is grounded; a first capacitor, one end of the first capacitor is connected to one end of the second resistor, and the other end of the first capacitor is grounded.
[0008] According to one embodiment of the present invention, the switching circuit includes: a power switch tube, the gate of the power switch tube is connected to the output end of the first comparison circuit, the drain of the power switch tube is connected to the controller, and the source of the power switch tube is grounded.
[0009] According to one embodiment of the present invention, the first comparison circuit includes: a fourth resistor, one end of the fourth resistor is connected to the voltage output end of the power supply circuit; a fifth resistor, one end of the fifth resistor is connected to the other end of the fourth resistor, and the other end of the fifth resistor is grounded; a second capacitor, one end of the second capacitor is connected to the other end of the fourth resistor, and the other end of the second capacitor is connected to the other end of the fifth resistor; a first comparator, a first input end of the first comparator is connected to the other end of the fourth resistor, a second input end of the first comparator is connected to the output end of the signal integration circuit, and the output end of the first comparator is connected to the gate of the power switch tube.
[0010] According to one embodiment of the present invention, the power supply circuit includes: a first switching tube, the emitter of which is respectively connected to the first comparison circuit and the second comparison circuit; a sixth resistor, one end of which is connected to the collector of the first switching tube, and the other end of which is connected to a power supply; a seventh resistor, one end of which is connected to the power supply; and a first voltage regulator tube, the positive electrode of which is grounded, and the negative electrode of which is respectively connected to the other end of the seventh resistor and the base of the first switching tube.
[0011] According to one embodiment of the present invention, the signal integration circuit includes: an eighth resistor and a ninth resistor connected in parallel, one end of the eighth resistor is connected to the positive electrode of the vehicle body signal input, and the other end of the eighth resistor is respectively connected to the first comparison circuit and the second comparison circuit; a third capacitor, one end of the third capacitor is connected to the other end of the eighth resistor, and the other end of the third capacitor is grounded.
[0012] According to an embodiment of the present invention, the above-mentioned vehicle body input signal detection circuit further includes: a frequency jittering circuit, and the frequency jittering circuit is connected to the controller.
[0013] The present invention also provides a vehicle, which comprises the above-mentioned vehicle body input signal detection circuit.
[0014] Beneficial effects of the present invention:
[0015] The vehicle body input signal detection circuit of the present invention is based on a discrete device equipped with a hardware circuit, which can realize the judgment and processing of the vehicle body input signal, and then realize the lighting control, thereby reducing the cost and eliminating the need to invest in software development costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 is a schematic diagram of a vehicle body input signal detection circuit according to an embodiment of the present invention;
[0017] Figure 2 is a circuit diagram of a second comparison circuit according to an embodiment of the present invention;
[0018] Figure 3 FIG. 4 is a circuit diagram of a first comparison circuit according to an embodiment of the present invention.
[0019] Figure 4 A circuit diagram of a power supply circuit according to an embodiment of the present invention;
[0020] Figure 5 A circuit diagram of a signal integration circuit according to an embodiment of the present invention;
[0021] Figure 6 It is a block diagram of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The following will be combined with the 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 described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] Figure 1Schematic diagram of a vehicle body input signal detection circuit according to an embodiment of the present invention.
[0024] like Figure 1 As shown, the vehicle body input signal detection circuit of the embodiment of the present invention may include: a signal integration circuit 10, a power supply circuit 20, a first comparison circuit 30, a switch circuit 40, a second comparison circuit 50, a signal selection circuit 60 and a controller 70.
[0025] The input end of the signal integration circuit 10 is connected to the vehicle body signal input end. The power supply circuit 20 is connected to the voltage input ends of the first comparison circuit 30 and the second comparison circuit 50 respectively. The input end of the first comparison circuit 30 is connected to the output end of the signal integration circuit 10, the output end of the first comparison circuit 30 is connected to the first end of the switch circuit 40, the second end of the switch circuit 40 is connected to the controller 70, and the third end of the switch circuit 40 is grounded. The input end of the second comparison circuit 50 is connected to the output end of the signal integration circuit 10, the output end of the second comparison circuit 50 is connected to the input end of the signal selection circuit 60, and the output end of the signal selection circuit 60 is connected to the controller 70. The controller 70 is used to control the lighting module to work according to the switch circuit 40 and the signal selection circuit 60.
[0026] Specifically, the vehicle body input signal (such as a PWM signal) is integrated by the signal integration circuit 10 to obtain an integration result V1, which is input into the first comparison circuit 30 and the second comparison circuit 50 for comparison, wherein the comparison result obtained by the first comparison circuit 30 is K1, which is then input into the switch circuit 40, and the output result obtained by the comparison circuit 40 is sent to the controller 70; the comparison result K3 obtained by the second comparison circuit 50 is then input into the signal selection circuit 60, so as to select the corresponding output result according to the comparison result K3 and send it to the controller 70. The controller 70 controls the lighting of the lighting module (for example, LED module) according to the output result.
[0027] Continue to refer to Figure 1 According to an embodiment of the present invention, the signal selection circuit 60 includes: a signal generator 61, which is used to generate a PWM signal with a preset duty cycle; a first diode D1, the anode of the first diode D2 is connected to the output end of the signal generator 61; a second diode D2, the anode of the second diode D2 is connected to the output end of the second comparison circuit 50, and the cathode of the second diode D2 is respectively connected to the cathode of the first diode D2 and the controller 70. The preset duty cycle can be calibrated according to actual conditions, for example, the preset duty cycle is 10%.
[0028] That is to say, after the comparison is performed by the second comparison circuit 50, a comparison result K3 is obtained, and the output result is determined by K3 or the signal generator according to the comparison result. Specifically, when K3 is a low-level signal, the positive electrode voltage of the second diode D2 is lower than the negative electrode voltage, and D2 is not conducting, while the positive electrode voltage of the first diode D1 is higher than the negative electrode voltage, and D1 is conducting, indicating that V1 is a position lamp lighting signal, and the output result is determined by the duty cycle output by the signal generator, that is, the controller controls the lighting module to light up according to a 10% duty cycle; when K3 is a high-level signal, at this time, the positive electrode voltage of the second diode D2 is higher than the negative electrode voltage, and D2 is conducting, while the negative electrode voltage of the first diode D1 is higher than the positive electrode voltage, and D1 is not conducting, indicating that V1 is a daytime running lamp lighting signal, and the output result is determined by K3, that is, the controller controls the lighting module to light up according to a 100% duty cycle.
[0029] Reference Figure 2 According to an embodiment of the present invention, the second comparison circuit 50 includes: a first resistor R1, one end of the first resistor R1 is connected to the voltage output terminal Vout of the power supply circuit 20; a second comparator U2, a first input end of the second comparator U2 is connected to the output end of the signal integration circuit 10, the other end of the first resistor R1 is connected, the third end of the second comparator U2 is connected to the other end of the second resistor R2, the fourth end of the second comparator U2 is grounded GND, and the output end of the second comparator U2 is connected to the positive electrode of the second diode D2; a second resistor R2, one end of the second resistor R2 is connected to the second end of the second comparator U2, and the other end of the second resistor R2 is connected to the power supply VBAT; a third resistor R3, one end of the third resistor R3 is connected to one end of the second resistor R2, and the other end of the third resistor R3 is grounded; a first capacitor C1, one end of the first capacitor C1 is connected to one end of the second resistor R2, and the other end of the first capacitor C1 is grounded GND.
[0030] That is, when V1 is greater than the divided voltage of the second resistor R2 and the third resistor R3, the second comparator U2 outputs K3 as a high level signal; when V1 is less than the divided voltage of the second resistor R2 and the third resistor R3, the second comparator U2 outputs K3 as a low level signal.
[0031] Reference Figure 1 According to an embodiment of the present invention, the switch circuit 40 includes: a power switch tube Q1, the gate of the power switch tube Q1 is connected to the output end of the first comparison circuit 30, the drain of the power switch tube Q1 is connected to the controller 70, and the source of the power switch tube Q1 is grounded GND. In an embodiment of the present invention, the power switch tube Q1 can be an N-MOS type, and of course it can also be a P-MOS type. The connection relationship is slightly changed, and it is required that the output result of the first comparison circuit is connected to the gate of the power switch tube, the source is grounded, and the drain is connected to the controller.
[0032] That is to say, when the integration result V1 of the signal integration circuit 10 is a high level signal after the comparison result K1 of the first comparison circuit, the N-MOS power switch tube Q1 is turned on, and the drain of the power switch tube Q1 outputs a low level signal. At this time, the controller 70 will not control the lighting module to light up.
[0033] Reference Figure 3 According to an embodiment of the present invention, the first comparison circuit 30 includes: a fourth resistor R4, one end of the fourth resistor R4 is connected to the voltage output end of the power supply circuit 20; a fifth resistor R5, one end of the fifth resistor R5 is connected to the other end of the fourth resistor R4, and the other end of the fifth resistor R5 is grounded GND; a second capacitor C2, one end of the second capacitor C3 is connected to the other end of the fourth resistor R4, and the other end of the second capacitor C2 is connected to the other end of the fifth resistor R5; a first comparator U1, a first input end of the first comparator U1 is connected to the other end of the fourth resistor R4, a second input end of the first comparator U1 is connected to the output end of the signal integration circuit 10, and an output end of the first comparator U1 is connected to the gate of the power switch tube Q1.
[0034] That is, when V1 is greater than the divided voltage of the fourth resistor R4 and the fifth resistor R5, the first comparator U1 outputs K1 as a high level signal, and when V1 is less than the divided voltage of the fourth resistor R4 and the fifth resistor R5, the first comparator U1 outputs K1 as a low level signal.
[0035] Reference Figure 4 According to an embodiment of the present invention, the power supply circuit 20 may include: a first switch tube Q2, the emitter of which is respectively connected to the first comparison circuit 30 and the second comparison circuit 50; a sixth resistor R6, one end of which is connected to the collector of the first switch tube Q2, and the other end of which is connected to the power supply VBAT; a seventh resistor R7, one end of which is connected to the power supply VBAT; a first voltage regulator tube Z1, the positive electrode of which is grounded GND, and the negative electrode of which is respectively connected to the other end of the seventh resistor R7 and the base of the first switch tube Q2. In one embodiment of the present invention, the first switch tube Q2 is an NPN transistor.
[0036] Reference Figure 5According to an embodiment of the present invention, the signal integration circuit 10 may include: an eighth resistor R8 and a ninth resistor R9 connected in parallel, one end of the eighth resistor R8 is connected to the positive electrode of the vehicle body signal input, and the other end of the eighth resistor R8 is respectively connected to the first comparison circuit 30 and the second comparison circuit 50; a third capacitor C3, one end of the third capacitor C3 is connected to the other end of the eighth resistor R8, and the other end of the third capacitor C3 is grounded GND. In one embodiment of the present invention, the time constant of the signal integration circuit is much larger than the width of the vehicle body input signal to obtain the value required for subsequent judgment.
[0037] Reference Figure 1 According to an embodiment of the present invention, the vehicle body input signal detection circuit further includes: a frequency jitter circuit 80, which is connected to the controller 70. The frequency jitter circuit 80 is used to reduce the electromagnetic interference generated by the PWM drive signal of the controller 70.
[0038] It should be noted that in an embodiment of the present invention, a signal priority is defined in the controller, that is, when the K1 output signal is a low-level signal and the K3 output signal is a 10% duty cycle signal or a 100% duty cycle signal, the controller preferentially controls the lighting module according to the K1 output signal.
[0039] In summary, the vehicle body input signal detection circuit of the present invention is based on discrete devices and hardware circuits, which can realize the judgment and processing of the vehicle body input signal, and then realize lighting control, reducing costs and eliminating the need to invest in software development costs.
[0040] Figure 6 It is a block diagram of a vehicle according to an embodiment of the present invention.
[0041] like Figure 6 As shown, the vehicle 100 according to the embodiment of the present invention includes: the vehicle body input signal detection circuit 110 mentioned above.
[0042] The vehicle of the present invention can judge and process the vehicle body input signal through the above-mentioned vehicle body input signal detection circuit, thereby realizing lighting control, reducing costs and eliminating the need to invest in software development costs.
[0043] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.
[0044] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0045] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0046] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0047] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A vehicle body input signal detection circuit, characterized in that: include: A signal integration circuit, a power supply circuit, a first comparison circuit, a switch circuit, a second comparison circuit, a signal selection circuit and a controller, wherein: The input end of the signal integration circuit is connected to the vehicle body signal input end; The power supply circuit is connected to the voltage input terminals of the first comparison circuit and the second comparison circuit respectively; The input end of the first comparison circuit is connected to the output end of the signal integration circuit, the output end of the first comparison circuit is connected to the first end of the switch circuit, the second end of the switch circuit is connected to the controller, and the third end of the switch circuit is grounded; The input end of the second comparison circuit is connected to the output end of the signal integration circuit, the output end of the second comparison circuit is connected to the input end of the signal selection circuit, and the output end of the signal selection circuit is connected to the controller; The controller is used to control the operation of the lighting module according to the switch circuit and the signal selection circuit; The signal selection circuit comprises: A signal generator, used for generating a PWM signal with a preset duty cycle; a first diode, wherein an anode of the first diode is connected to an output end of the signal generator; a second diode, wherein an anode of the second diode is connected to an output end of the second comparison circuit, and a cathode of the second diode is connected to a cathode of the first diode and the controller respectively; The second comparison circuit comprises: a first resistor, one end of which is connected to a voltage output end of the power supply circuit; a second comparator, wherein a first input terminal of the second comparator is connected to the output terminal of the signal integration circuit, a second terminal of the second comparator is connected to the other terminal of the first resistor, a third terminal of the second comparator is connected to one terminal of the second resistor, a fourth terminal of the second comparator is grounded, and an output terminal of the second comparator is connected to the anode of the second diode; a second resistor, one end of the second resistor being connected to the third end of the second comparator, and the other end of the second resistor being connected to a power supply; a third resistor, one end of the third resistor being connected to one end of the second resistor, and the other end of the third resistor being grounded; A first capacitor, one end of the first capacitor is connected to one end of the second resistor, and the other end of the first capacitor is grounded; The switch circuit comprises: A power switch tube, wherein the gate of the power switch tube is connected to the output end of the first comparison circuit, the drain of the power switch tube is connected to the controller, and the source of the power switch tube is grounded; The first comparison circuit comprises: a fourth resistor, one end of which is connected to the voltage output end of the power supply circuit; a fifth resistor, one end of the fifth resistor being connected to the other end of the fourth resistor, and the other end of the fifth resistor being grounded; a second capacitor, one end of the second capacitor being connected to the other end of the fourth resistor, and the other end of the second capacitor being connected to the other end of the fifth resistor; A first comparator, wherein a first input end of the first comparator is connected to the other end of the fourth resistor, a second input end of the first comparator is connected to the output end of the signal integration circuit, and an output end of the first comparator is connected to the gate of the power switch tube.
2. The vehicle body input signal detection circuit according to claim 1, characterized in that: The power supply circuit comprises: A first switch tube, wherein the emitter of the first switch tube is respectively connected to the first comparison circuit and the second comparison circuit; a sixth resistor, one end of which is connected to the collector of the first switch tube, and the other end of which is connected to the power supply; a seventh resistor, one end of which is connected to the power supply; A first voltage-stabilizing tube, wherein the positive electrode of the first voltage-stabilizing tube is grounded, and the negative electrode of the first voltage-stabilizing tube is respectively connected to the other end of the seventh resistor and the base of the first switch tube.
3. The vehicle body input signal detection circuit according to claim 1, characterized in that: The signal integration circuit comprises: an eighth resistor and a ninth resistor connected in parallel, wherein one end of the eighth resistor is connected to the positive electrode of the vehicle body signal input, and the other end of the eighth resistor is connected to the first comparison circuit and the second comparison circuit respectively; A third capacitor, one end of the third capacitor is connected to the other end of the eighth resistor, and the other end of the third capacitor is grounded.
4. The vehicle body input signal detection circuit according to claim 1, characterized in that: Also includes: A frequency jittering circuit is connected to the controller.
5. A vehicle, characterized in that: It comprises a vehicle body input signal detection circuit according to any one of claims 1-4.
Citation Information
Patent Citations
Vehicle and vehicle body input signal detection circuit
CN214067271U
