Disclosure of Invention
The present invention aims to solve at least one of the technical problems existing in the prior art.
Therefore, the invention provides the car light switching device which is simple in structure, convenient to realize and low in cost.
The invention further provides a vehicle with the vehicle lamp switching device.
The vehicle lamp switching device comprises a detection circuit, a controller and a control circuit, wherein the detection circuit is used for detecting the working state of a first vehicle lamp and outputting a state signal representing the working state of the first vehicle lamp, the controller is used for outputting a control signal according to the state signal and is provided with a signal input end used for receiving the state signal and a signal output end used for outputting the control signal, and the control circuit is electrically connected with the controller and the second vehicle lamp and used for receiving the control signal and controlling the working state of the second vehicle lamp according to the control signal.
According to the car light switching device provided by the embodiment of the invention, the circuit switching of the first car light and the second car light can be realized by using simple components through the cooperation of the detection circuit, the controller and the control circuit, so that the working states of the first car light and the second car light can be switched.
According to one embodiment of the invention, the first lamp is a backup lamp and the second lamp is a turn lamp.
According to one embodiment of the invention, the car light switching device further comprises a voltage stabilizing circuit, wherein the voltage stabilizing circuit is provided with a voltage input end and a voltage output end, the voltage output end is electrically connected with the controller to provide working voltage for the controller, and the voltage input end is connected with a circuit of the second car light to receive input voltage when the circuit of the second car light is powered on.
According to one embodiment of the invention, the detection circuit comprises a first resistor, a second resistor, a voltage stabilizer and a voltage stabilizer, wherein the first resistor is provided with a first end connected with a driving circuit of the first car lamp and a second end opposite to the first end, the second resistor is provided with a grounding end, the signal end is used for being electrically connected with the second end of the first resistor and a signal input end of the controller, and the voltage stabilizer is connected with the second resistor in parallel.
According to one embodiment of the invention, the control circuit comprises a switch sub-circuit and a control sub-circuit, wherein the switch sub-circuit is electrically connected with the signal output end of the controller and controls the switching state of the control sub-circuit according to the control signal, and the control sub-circuit is electrically connected with the switch sub-circuit and conducts the working voltage of the second car lamp when the switch sub-circuit is in an on state so as to enable the second car lamp to work.
According to one embodiment of the invention, the switch sub-circuit comprises a high-level conduction triode and a current limiting resistor, wherein one end of the current limiting resistor is connected with the high-level conduction triode, and the other end of the current limiting resistor is connected with the signal output end of the controller.
According to one embodiment of the invention, the control sub-circuit comprises a first voltage dividing resistor, a second voltage dividing resistor and a PMOS tube, wherein one of two ends of the first voltage dividing resistor is connected with the high-level conduction triode, one of two ends of the second voltage dividing resistor is electrically connected with the other of the two ends of the first voltage dividing resistor, a grid electrode of the PMOS tube is connected with the other of the two ends of the first voltage dividing resistor, a drain electrode of the PMOS tube is connected with the other of the two ends of the second voltage dividing resistor, and a source electrode of the PMOS tube is connected with the positive electrode of the second car lamp.
A vehicle according to an embodiment of a second aspect of the present invention includes the lamp switching device according to the above-described embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention. Furthermore, features defining "first", "second" may include one or more such features, either explicitly or implicitly. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the description of the present invention, unless explicitly stated or limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, mechanically connected, electrically connected, directly connected, indirectly connected via an intervening medium, or in communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
A lamp switching device 100 according to an embodiment of the present invention will be described in detail with reference to the drawings.
As shown in fig. 1 and 2, a lamp switching device 100 according to an embodiment of the present invention includes a detection circuit 10, a controller 20, and a control circuit 30.
Specifically, the detection circuit 10 is configured to detect an operation state of the first lamp 200 and output a state signal indicating the operation state of the first lamp 200, the controller 20 is configured to output a control signal according to the state signal, the controller 20 has a signal input terminal configured to receive the state signal, and a signal output terminal configured to output the control signal, and the control circuit 30 is electrically connected to the controller 20 and the second lamp 300 and configured to receive the control signal and control the operation state of the second lamp 300 according to the control signal.
In other words, the vehicle lamp switching device 100 according to the embodiment of the invention is mainly composed of three parts of the detection circuit 10, the controller 20 and the control circuit 30, wherein the detection circuit 10 is electrically connected with the first vehicle lamp 200, and the detection circuit 10 is capable of detecting the operation state of the first vehicle lamp 200 and emitting the operation state of the first vehicle lamp 200 in the form of a state signal. The controller 20 has a signal input end 21 and a signal output end 22, the signal input end 21 may be the pin 9 of the U2 part in fig. 2, the signal output end 22 may be the pin 6 of the U2 part in fig. 2, the signal input end 21 may receive the status signal sent by the detection circuit 10, the controller 20 may output a control signal according to the received status signal, and the signal output end 22 may output the control signal sent by the controller 20, where the controller 20 may be a single-chip microcomputer. The control circuit 30 is electrically connected to the second lamp 300, and the control circuit 30 can receive a control signal sent by the controller 20 and control the operating state of the second lamp 300 according to the control signal.
Therefore, according to the vehicle lamp switching device 100 of the embodiment of the invention, the circuit switching of the first vehicle lamp 200 and the second vehicle lamp 300 can be realized by using simple components through the cooperation of the detection circuit 10, the controller 20 and the control circuit 30, so that the working states of the first vehicle lamp 200 and the second vehicle lamp 300 can be switched.
According to one embodiment of the present invention, the first lamp 200 is a backup lamp and the second lamp 300 is a turn lamp. That is, according to the lamp switching device 100 of the embodiment of the present invention, switching of the backup lamp and the dynamic turn lamp can be conveniently achieved.
In some embodiments of the present invention, the lamp switching device 100 further includes a voltage stabilizing circuit 40, the voltage stabilizing circuit 40 having a voltage input and a voltage output, the voltage output being electrically connected to the controller 20 to provide an operating voltage to the controller 20, the voltage input being connected to the circuit of the second lamp 300 to receive the input voltage when the circuit of the second lamp 300 is powered on. Thus, by providing the voltage stabilizing circuit 40, the voltage in the entire circuit of the lamp switching device 100 can be stabilized.
As shown in fig. 2, the detection circuit 10 according to an embodiment of the present invention may include a first resistor, a second resistor, and a voltage regulator.
Specifically, the first resistor may be R69 in fig. 2, and has a first end connected to the driving circuit of the first lamp 200 and a second end opposite to the first end. The second resistor may be R70 of fig. 2, having a ground terminal and a signal terminal for electrically connecting the second terminal of the first resistor and the signal input terminal of the controller 20. The voltage regulator may be TD2 in fig. 2, and the voltage regulator is connected in parallel with the second resistor.
According to one embodiment of the invention, the control circuit 30 includes a switching sub-circuit and a control sub-circuit. The switch sub-circuit is electrically connected to the signal output end of the controller 20, and controls the switch state thereof according to the control signal, and the control sub-circuit is electrically connected to the switch sub-circuit, and turns on the operating voltage of the second vehicle lamp 300 when the switch sub-circuit is in the on state, so that the second vehicle lamp 300 operates.
In some embodiments of the present invention, the switching sub-circuit includes a high-level turn-on transistor and a current limiting resistor having one end connected to the high-level turn-on transistor and the other end connected to the signal output of the controller 20.
In addition, the control sub-circuit comprises a first voltage dividing resistor, a second voltage dividing resistor and a PMOS tube. Specifically, one of the two ends of the first voltage dividing resistor is connected to a high-level conduction triode, one of the two ends of the second voltage dividing resistor is electrically connected to the other of the two ends of the first voltage dividing resistor, the grid electrode of the PMOS transistor is connected to the other of the two ends of the first voltage dividing resistor, the drain electrode is connected to the other of the two ends of the second voltage dividing resistor, and the source electrode is connected to the anode of the second vehicle lamp 300.
In other words, according to the vehicle lamp switching device 100 of the embodiment of the invention, the switching between the backup lamp and the dynamic turn lamp can be realized by combining software and hardware, and in practical application, the priority of the backup lamp is higher than that of the dynamic turn lamp, when the dynamic turn lamp works, the MCU outputs high and low levels after detecting the backup lamp signal, and controls the turn-off of the PMOS tube connected in series with the positive electrode of the turn lamp, thereby realizing the switching between the backup lamp and the dynamic turn lamp.
The dynamic steering lamp can be controlled by the voltage stabilizing chip and the MCU chip, the fault feedback signal of the dynamic steering lamp can be a low-level feedback signal, and the positive pole conduction of the dynamic steering lamp can be controlled by the PMOS tube. The positive electrode input of the steering lamp is stabilized by the U1 voltage stabilizing chip, working voltage is provided for U2, when the steering lamp works normally, the triode Q9 does not work, when N-1 is adopted, the Q9 is turned on, and the fault feedback outputs a low level. The drain electrode of the PMOS tube DQ1 is connected with the output of the anti-reflection diode, the source electrode is connected with the anode of the turn signal LED, and the grid electrode is controlled by the high-low level output by U2.
The operation principle of the lamp switching device 100 according to the present invention is specifically described below with reference to fig. 2.
As shown in fig. 2, fig. 2 is an overall circuit diagram of the lamp switching device 100, where it is to be noted that, in this embodiment, the first lamp is a backup lamp, the second lamp is a dynamic turn lamp, and in the circuit diagram shown in fig. 2, circuits and connection relationships of the remaining resistors, diodes, capacitors, etc. are understood and easily implemented by those skilled in the art, except for the structures of the resistor, PMOS tube, controller, etc. mentioned in the foregoing embodiments, and thus will not be described in detail.
When the car light switching device 100 according to the embodiment of the invention works, the backup light is powered on, and the voltage output by the zener diode TD2 is 3.3v, and the high level is detected by the pin 9 of u2 through the voltage division and current limitation of R69 and R70. The dynamic steering lamp is electrified, the power is stabilized by U1 and is output to a singlechip 5V, the singlechip U2 works normally, the voltage of 9 pins is detected after the initialization is finished, if the voltage is high, the 6 pins of U2 output low level, the 6 pins are connected with the base electrode of a triode Q10 through a current limiting resistor R4, when the base electrode of the triode is low level, Q10 does not work, the voltage of the drain electrode of a DQ1 grid is about 0V, DQ1 is not opened, T-VIN+ is not electrified, and the LED of the steering lamp is not lightened. If the reversing light is not electrified, the voltage of the 9 pins of the U1 is low, the 6 pins output high, at the moment, the Q10 works, the Q10 collector electrode is short-circuited to the ground, 13.5V is divided by R2 and R3, the voltage on the R2 is equal to the voltage of the DQ1 grid drain electrode, the DQ1 is opened, the T-VIN+ is electrified, and the LED of the steering light works, so that the switching between the reversing light and the dynamic steering light is realized.
In summary, according to the vehicle lamp switching device 100 of the embodiment of the invention, the circuit switching between the first vehicle lamp 200 and the second vehicle lamp 300 can be realized by using simple components through the cooperation of the detection circuit 10, the controller 20 and the control circuit 30, so that the working states of the first vehicle lamp 200 and the second vehicle lamp 300 can be switched.
The vehicle according to the embodiment of the invention, including the vehicle lamp switching device 100 according to the above embodiment of the invention, has the technical effects described above, and therefore, the vehicle according to the embodiment of the invention also has the corresponding technical effects, that is, the circuit switching structure of the steering lamp and the reversing lamp is simple, convenient to implement, flexible in control mode, and low in cost.
In the description of the present specification, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.