Disclosure of Invention
The invention provides an electric automobile charging seat, a detection method thereof and an electric automobile.
In a first aspect, an embodiment of the present invention provides an electric vehicle charging seat, including at least one functional lamp, a control unit, and at least one voltage dividing unit in one-to-one correspondence with the at least one functional lamp;
the input end of each voltage division unit is connected with the corresponding functional lamp so as to divide the voltage at the two ends of the functional lamp;
the control unit comprises a signal output module, an acquisition module and a judgment module, wherein:
the signal output module is configured to: outputting a state adjusting signal corresponding to each functional lamp according to the charging state of the automobile so as to adjust the working state of each functional lamp;
the acquisition module is configured to: acquiring a state adjusting signal corresponding to each functional lamp and the output voltage of the output end of each voltage division unit;
the determination module is configured to: and when the state adjusting signal is a signal for controlling the corresponding functional lamp to be turned on, determining whether the functional lamp has a fault according to the output voltage of the output end of the voltage dividing unit corresponding to the state adjusting signal.
The electric automobile charging seat comprises at least one function lamp, a control unit and at least one voltage division unit which corresponds to the function lamp one by one; the voltage dividing unit can divide the voltage at the two ends of the corresponding functional lamp, the control unit can comprise a signal output module, an acquisition module and a judgment module, wherein, the signal output module can output a state adjusting signal corresponding to each functional lamp according to the charging state of the automobile, the obtaining module can obtain the state adjusting signal corresponding to each functional lamp and the output voltage of the output end of each voltage dividing unit, and the judging module can control the lighting of the corresponding functional lamp when the state adjusting signal is a signal for controlling the lighting of the corresponding functional lamp, according to the output voltage of the output end of the corresponding voltage division unit, whether the functional lamp has a fault or not is determined, the management system of the automobile can be reported when the functional lamp has a fault, so that a user can be informed of the fault, the user is reminded of maintaining the faulty functional lamp, and inconvenience in charging the automobile is avoided.
Optionally, the determining module is specifically configured to:
judging whether the output voltage is equal to a first preset voltage or not, wherein the first preset voltage is equal to the value of the conduction voltage drop of the functional lamp after the voltage drop is divided by the voltage dividing unit;
if yes, judging that the functional lamp has no fault;
if not, judging that the functional lamp is in fault.
In the electric automobile charging seat, if the output voltage is not the value of the function lamp after the conduction voltage drop is divided by the voltage dividing unit, the judgment module judges the fault of the function lamp, the fault condition can be reported, the fault of the function lamp is reminded to a user, the maintenance is needed, and the inconvenience brought to the automobile charging is avoided.
Optionally, when it is determined that the functional lamp is faulty, the determining module is further specifically configured to:
if the output voltage is equal to zero, judging that the functional lamp is short-circuited;
and if the output voltage is equal to a second preset voltage, judging that the functional lamp is broken, wherein the second preset voltage is equal to the voltage value of the output end of the voltage division unit when the functional lamp is turned off.
Among the above-mentioned electric automobile charging seat, can detect the kind of trouble for the user knows the trouble kind, and convenient better maintains.
Optionally, the lamp further comprises at least one switch unit corresponding to at least one of the function lamps one to one;
the anode of each functional lamp is connected with the power supply, the cathode of each functional lamp is grounded through the corresponding switch unit, and the control end of each switch unit is connected with the signal output module to receive the corresponding state adjusting signal.
In the electric automobile charging seat, the state adjusting signal output by the signal output module can be switched on and off through the control switch unit, and the function lamp can be turned on and off.
Optionally, the at least one function lamp comprises at least one state lamp for indicating a charging state, and/or an illuminating lamp for providing illumination for plugging and unplugging the charging gun head during charging;
when the function lamp is the state lamp, the state adjusting signal is a pulse width modulation signal;
when the function lamp is the illuminating lamp, the state adjusting signal is a level signal.
In the above-mentioned electric automobile charging seat, the status light can instruct the car charged state that charges, and the light can throw light on when the rifle head is charged in the plug, convenience of customers' operation.
Optionally, at least one of the status lights comprises a red status light, a green status light and a blue status light for composing one charge status indicator light.
In the electric automobile charging seat, the state lamps with three primary colors can form a charging state indicating lamp, and different charging states of the electric automobile can be indicated by adjusting the color and the working state of the charging state indicating lamp.
Optionally, if the function lamp is at least one state lamp, when outputting the state adjustment signal corresponding to each function lamp, the signal output module is specifically configured to:
outputting a first pulse width modulation signal to a switch unit connected with the status light, and controlling the status light to be in an off state, wherein the duty ratio of the first pulse width modulation signal is zero; alternatively, the first and second electrodes may be,
outputting a second pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a normally-on state, wherein the duty ratio of the second pulse width modulation signal is not zero and is a fixed value; alternatively, the first and second electrodes may be,
outputting a third pulse width modulation signal to a switch unit connected with the status light to control the status light to be in a flashing state, wherein the third pulse width modulation signal is formed by alternately arranging the second pulse width modulation signal and the first pulse width modulation signal; alternatively, the first and second electrodes may be,
and outputting a fourth pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a breathing state, wherein the duty ratio of the fourth pulse width modulation signal repeats the process of sequentially increasing and then sequentially decreasing.
In the electric automobile charging seat, different pulse width modulation signals can be output through the signal output module, the working state of the state lamp is adjusted, and different working modes of the state lamp are realized.
Optionally, if the functional lamps are lighting lamps, when outputting the state adjustment signal corresponding to each of the functional lamps, the signal output module is specifically configured to:
outputting a high level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be normally on; alternatively, the first and second electrodes may be,
and outputting a low level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be turned off.
In the electric automobile charging seat, the high level signal and the low level signal can be output through the signal output module, and the illuminating lamp is controlled to be normally on or off.
Optionally, the switch unit comprises a switch tube, a first resistor and a second resistor;
the first end of the switch tube is connected with the negative electrode of the functional lamp, and the second end of the switch tube is grounded; the first end of the first resistor is connected with the signal output module, the second end of the first resistor is connected with the control end of the switch tube, the first end of the second resistor is connected with the control end of the switch tube, and the second end of the second resistor is grounded.
In above-mentioned electric automobile charging seat, the state control signal of signal output module output can realize lighting and turning off of function lamp through switching on and closing of control switch pipe, and first resistance and second resistance can be to the state control signal partial pressure of signal output module output to the switch pipe can bear the voltage within range, can prevent to burn out the switch pipe because of the voltage of state control signal is too high.
Optionally, the lamp further comprises at least one current limiting unit in one-to-one correspondence with at least one of the functional lamps, and the positive electrode of the functional lamp is connected with a power supply through the current limiting unit.
In above-mentioned electric automobile charging seat, the current-limiting unit can restrict the electric current in the function lamp circuit, prevents to burn out the function lamp because of the electric current is too big, perhaps avoids the function lamp to be in for a long time and works under exceeding the maximum current condition, causes the life-span of function lamp to shorten.
Optionally, each current limiting unit includes a third resistor, a first end of the third resistor is connected to the power supply, and a second end of the third resistor is connected to the positive electrode of the functional lamp.
In the electric vehicle charging seat, the third resistor can limit the current in the functional lamp circuit to protect the functional lamp.
Optionally, each voltage dividing unit includes a fourth resistor and a fifth resistor, a first end of the fourth resistor is connected to the anode of the functional lamp, a second end of the fourth resistor is connected to the obtaining module, a first end of the fifth resistor is connected to the second end of the fourth resistor, and a second end of the fifth resistor is grounded.
In the electric automobile charging seat, the voltage division circuit can divide the voltage at the two ends of the function lamp and protect the circuit.
Optionally, the voltage divider further comprises at least one signal filtering unit in one-to-one correspondence with the at least one voltage dividing unit, and is configured to filter an output voltage at an output end of the voltage dividing unit, an input end of each signal filtering unit is connected with an output end of the corresponding voltage dividing unit, and an output end of each signal filtering unit is connected with the obtaining module.
In the electric automobile charging seat, the signal filtering unit can filter the voltage output by the output end of the voltage dividing unit, and the signal quality acquired by the acquisition module is guaranteed.
Optionally, each signal filtering unit includes a sixth resistor and a filtering capacitor, a first end of the sixth resistor is connected to the output end of the voltage dividing unit, a second end of the sixth resistor is connected to the obtaining module, a first end of the filtering capacitor is connected to a second end of the sixth resistor, and a second end of the filtering capacitor is grounded.
In the charging seat of the electric automobile, the sixth resistor can prevent large current from flowing into the control unit after the functional lamp fails, so that the control unit is burnt out and plays a role in limiting current; the filter capacitor can carry out filtering, the sampling function of the acquisition module of the control unit is ensured, and the sampling fluctuation is reduced.
Optionally, the obtaining module includes sub obtaining modules corresponding to the function lamps one to one, and each sub obtaining module is configured to:
and acquiring the state adjusting signal corresponding to the functional lamp and the output voltage of the output end of the voltage dividing unit corresponding to the functional lamp.
In the above-mentioned electric automobile charging seat, the acquisition module may include a sub acquisition module corresponding to the function lamp one-to-one, and the sub acquisition module acquires the state adjustment signal and the output voltage of the voltage division unit output terminal respectively.
In a second aspect, the invention further provides an electric vehicle, which includes any one of the electric vehicle charging seats provided in the above technical solutions.
In a third aspect, the present invention further provides a method for detecting a charging seat of an electric vehicle, where the charging seat of the electric vehicle includes at least one functional lamp and at least one voltage dividing unit connected to the at least one functional lamp in a one-to-one correspondence manner, and the method includes:
outputting a state adjusting signal corresponding to each functional lamp according to the charging state of the automobile;
acquiring a state adjusting signal corresponding to each functional lamp and the output voltage of the output end of each voltage division unit;
and when the state adjusting signal is a lighting signal for controlling the lighting of the corresponding functional lamp, determining whether the functional lamp has a fault according to the output voltage of the output end of the voltage dividing unit corresponding to the state adjusting signal.
Optionally, the determining whether the functional lamp has a fault according to the output voltage output by the voltage dividing unit corresponding to the functional lamp includes:
judging whether the output voltage is equal to a first preset voltage or not, wherein the first preset voltage is equal to the value of the conduction voltage drop of the functional lamp after the voltage drop is divided by the voltage dividing unit;
if yes, judging that the functional lamp has no fault;
if not, judging that the functional lamp is in fault.
Optionally, the determining that the functional lamp is faulty includes:
if the output voltage is equal to zero, judging that the functional lamp is short-circuited;
and if the output voltage is equal to a second preset voltage, judging that the functional lamp is broken, wherein the second preset voltage is equal to the voltage value of the output end of the voltage division unit when the functional lamp is turned off.
Optionally, if the function lamp is at least one status lamp, the outputting a status adjustment signal corresponding to each function lamp includes:
outputting a first pulse width modulation signal to a switch unit connected with the status light, and controlling the status light to be in an off state, wherein the duty ratio of the first pulse width modulation signal is zero; alternatively, the first and second electrodes may be,
outputting a second pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a normally-on state, wherein the duty ratio of the second pulse width modulation signal is not zero and is a fixed value; alternatively, the first and second electrodes may be,
outputting a third pulse width modulation signal to a switch unit connected with the status light to control the status light to be in a flashing state, wherein the third pulse width modulation signal is formed by alternately arranging the second pulse width modulation signal and the first pulse width modulation signal; alternatively, the first and second electrodes may be,
and outputting a fourth pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a breathing state, wherein the duty ratio of the fourth pulse width modulation signal repeats the process of sequentially increasing and then sequentially decreasing.
Optionally, if the function lamp is an illumination lamp, the outputting a state adjustment signal corresponding to each function lamp includes:
outputting a high level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be normally on; alternatively, the first and second electrodes may be,
and outputting a low level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be turned off.
The invention has the following beneficial effects:
the embodiment of the invention provides an electric vehicle charging seat, a detection method thereof and an electric vehicle, which comprise at least one functional lamp, a control unit and at least one voltage division unit corresponding to the functional lamp one by one; the voltage dividing unit can divide the voltage at the two ends of the corresponding functional lamp, the control unit can comprise a signal output module, an acquisition module and a judgment module, wherein, the signal output module can output a state adjusting signal corresponding to each functional lamp according to the charging state of the automobile, the obtaining module can obtain the state adjusting signal corresponding to each functional lamp and the output voltage of the output end of each voltage dividing unit, and the judging module can control the lighting of the corresponding functional lamp when the state adjusting signal is a signal for controlling the lighting of the corresponding functional lamp, according to the output voltage of the output end of the corresponding voltage division unit, whether the functional lamp has a fault or not is determined, the management system of the automobile can be reported when the functional lamp has a fault, so that a user can be informed of the fault, the user is reminded of maintaining the faulty functional lamp, and inconvenience in charging the automobile is avoided.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides a charging stand for an electric vehicle, including at least one functional lamp 1, a control unit 2, and at least one voltage dividing unit 3 corresponding to the functional lamp 1 one to one;
the input end of each voltage division unit 3 is connected with the corresponding functional lamp 1 so as to divide the voltage at the two ends of the functional lamp 1;
the control unit 2 may include a signal output module 21, an obtaining module 22, and a judging module 23, wherein:
the signal output module 21 is configured to: outputting a state adjusting signal corresponding to each functional lamp 1 according to the charging state of the automobile so as to adjust the working state of each functional lamp 1;
the acquisition module 22 is configured to: acquiring a state adjusting signal corresponding to each functional lamp 1 and an output voltage of an output end of each voltage division unit 3;
the judging module 23 is configured to: and when the state adjusting signal is a signal for controlling the corresponding functional lamp 1 to be turned on, determining whether the functional lamp 1 has a fault according to the output voltage of the output end of the corresponding voltage division unit 3.
The electric vehicle charging seat provided by the embodiment of the invention comprises at least one functional lamp 1, a control unit 2 and at least one voltage division unit 3 which is in one-to-one correspondence with the functional lamp 1; the voltage dividing unit 3 may divide the voltage at two ends of the corresponding functional lamp 1, and the control unit 2 may include a signal output module 21, an obtaining module 22, and a determining module 23, where: the signal output module 21 can output a state adjusting signal corresponding to each functional lamp 1 according to the charging state of the vehicle, so as to adjust the working state of each functional lamp 1, the obtaining module 22 can obtain the state adjusting signal corresponding to each functional lamp 1 and the output voltage of the output end of each voltage dividing unit 3, the determining module 23 can determine whether the functional lamp 1 has a fault according to the output voltage of the output end of the voltage dividing unit 3 corresponding to the judging module when the state adjusting signal is a signal for controlling the lighting of the corresponding functional lamp 1, and can report to the management system of the vehicle when the functional lamp 1 has the fault, so as to inform the user that the fault occurs, remind the user to maintain the faulty functional lamp 1, and avoid inconvenience brought to the charging of the vehicle.
In a possible embodiment, the at least one function lamp 1 may comprise at least one status lamp for indicating the charging status, and/or an illumination lamp for illuminating the tip when the tip is plugged in or unplugged from the torch during charging. The status light can instruct the charging state of the charging automobile, and the illuminating lamp can illuminate when the charging gun head is plugged in and pulled out, so that the operation of a user is facilitated. The status light and the illuminating light may be LED lights, or may be other embodiments, and are not limited herein.
Above-mentioned car charged state can be for needs charge, charge in, charge finish, plug rifle head etc. that charges, and signal output module 21 can export the state control signal who is used for adjusting 1 operating condition of every function lamp according to car charged state for function lamp 1 has different operating condition, realizes different functions. The working state of the state lamp can comprise lighting, turning off, brightness and the like; the operation state of the illumination lamp may include on and off.
Specifically, the at least one function lamp 1 may include a plurality of status lamps of different colors, for example, as shown in fig. 9, a red status lamp LED _ R, a green status lamp LED _ G, and a blue status lamp LED _ B, which are matched with each other, may implement RGB three-primary color matching, and constitute a charging status indicator lamp. The signal output module 21 outputs different state adjustment signals according to the charging state of the automobile, and can adjust the color, the brightness, the working mode (such as normally on, off, flashing, breathing, etc.) and the like of the charging state indicating lamp by adjusting the on, off and the brightness of the three-primary-color state lamp.
Specifically, as shown in fig. 9, the at least one function lamp 1 may further include an illumination lamp LED _ W, the illumination lamp LED _ W may be a white light lamp, and when the charging gun head is plugged and pulled out, the state control unit 2 may output a state adjustment signal for controlling the illumination of the illumination lamp LED _ W, so that the illumination lamp LED _ W plays a role in illumination.
Specifically, the control unit 2 may be an integrated chip, such as a single chip. The control unit 2 comprises a signal output module 21, an acquisition module 22 and a judgment module 23.
In the embodiment of the invention, the voltage dividing unit 3 can divide the voltage at the two ends of the functional lamp 1 into a reasonable voltage range which can be received by the control unit 2, so that the control unit 2 is prevented from being burnt due to overhigh voltage, and the detection unit 4 is protected. For example, the output voltage of the output terminal of the voltage dividing unit 3 received by the control unit 2 may be half of the voltage across the functional lamp 1, and an integrated chip as the control unit 2 can be protected.
In the charging seat of the electric vehicle provided in the embodiment of the present invention, the determining module 22 in the control unit 2 may be specifically configured to:
judging whether the output voltage is equal to a first preset voltage, wherein the first preset voltage is equal to the value of the conduction voltage drop of the functional lamp 1 divided by the voltage dividing unit 3;
if yes, judging that the functional lamp 1 has no fault;
if not, the functional lamp 1 is judged to be in failure.
Specifically, when the state adjustment signal output by the signal output module 21 is a signal for controlling the lighting of the corresponding functional lamp 1, if the functional lamp 1 has no fault, the functional lamp 1 is lit, both ends of the functional lamp 1 have conduction voltage drops, and when the acquisition module 22 receives a value that the output voltage is divided by the voltage dividing unit 3 and the conduction voltage drop is, the judgment module 23 judges that the functional lamp 1 has no fault and works normally, and if the output voltage received by the acquisition module 22 is not the value that the conduction voltage drop of the functional lamp 1 is divided by the voltage dividing unit 3, the judgment module 23 judges that the functional lamp 1 has a fault, which can report the fault condition to remind the user that the functional lamp 1 has a fault, which needs to be maintained, and avoids inconvenience brought to the vehicle charging. As shown in fig. 9, the control unit can detect the red light status light LED _ R, the green light status light LED _ G, the blue light status light LED _ B, and the illumination light LED _ W on the charging seat of the electric vehicle, respectively.
In the charging seat for an electric vehicle according to the embodiment of the present invention, when it is determined that the functional lamp 1 is faulty, the determining module 23 in the control unit 2 may be specifically configured to:
if the output voltage is equal to zero, judging that the functional lamp 1 is short-circuited;
if the output voltage is equal to the second preset voltage, the functional lamp 1 is judged to be open circuit, and the second preset voltage is equal to the voltage value of the output end of the voltage division unit 3 when the functional lamp 1 is closed.
Specifically, when the state adjustment signal output by the signal output module 21 is a signal for controlling the functional lamp 1 to be turned on, if the functional lamp 1 has no fault, the functional lamp 1 is turned on, and if the functional lamp 1 has a fault, the functional lamp 1 cannot be turned on, which affects the charging of the vehicle, for example, if the state lamp has a fault, the charging state of the vehicle cannot be correctly indicated, and if the illuminating lamp LED _ W has a fault, the illumination cannot be realized when the charging gun head is plugged and unplugged. When the state adjustment signal is a signal for controlling the functional lamp to be turned on, if the output voltage received by the obtaining module 22 is zero, it indicates that there is no voltage difference between the two ends of the functional lamp 1, and the determining module 23 determines that the functional lamp 1 has a short-circuit fault; when the state adjustment signal is a signal for controlling the functional lamp to be turned on, if the output voltage received by the obtaining module 22 is equal to the voltage value at the output end of the voltage dividing unit 3 when the functional lamp 1 is turned off, it indicates that the functional lamp 1 is not turned on, and the determining module 23 determines that the functional lamp 1 has an open circuit fault. The control unit detects the type of the fault, so that a user can know the type of the fault, and the maintenance is convenient and better.
In the charging seat for an electric vehicle provided in the embodiment of the present invention, as shown in fig. 2, the charging seat further includes at least one switch unit 4 corresponding to at least one functional lamp 1 one to one;
the anode of each functional lamp 1 is connected with a power supply VCC, the cathode of each functional lamp 1 is grounded through a switch unit 4, the control end of the switch unit 4 is connected with a signal output module 21, and the control end of the switch unit 4 is used for receiving a state adjusting signal. The state adjusting signal output by the signal output module can be switched on and off by controlling the switch unit 4, so that the functional lamp 1 can be turned on and off.
For example, as shown in fig. 9, the anodes of the red light status light LED _ R, the green light status light LED _ G, and the blue light status light LED _ B that constitute one charge status indicator light are all connected to a power supply, and the voltage of the power supply may be 12V; the cathodes of the red light state lamp LED _ R, the green light state lamp LED _ G and the blue light state lamp LED _ B are grounded through the switch unit 41, the switch unit 42 and the switch unit 43, respectively, and the state adjustment signal output by the signal output module 21 realizes adjustment of the operating states of the red light state lamp LED _ R, the green light state lamp LED _ G and the blue light state lamp LED _ B through control of the control terminals of the switch unit 41, the switch unit 42 and the switch unit 43. The anode of the illuminating lamp LED _ W is connected with a power supply, and the voltage of the power supply can be 12V; the negative electrode of the illumination lamp LED _ W is grounded through the switch unit 44, and the signal output module 21 can adjust the operating state of the illumination lamp LED _ W by controlling the switch unit 44.
Specifically, when the signal output module 21 adjusts the state of the function lamp 1, if the function lamp is a state lamp, the state adjustment signal may be a pulse width modulation signal (PWM), and the off, on and brightness of the state lamp may be adjusted by adjusting a duty ratio of the PWM signal, for example, the signal output module 21 may be specifically configured to:
outputting a first pulse width modulation signal to a switch unit connected with the status light, controlling the status light to be in an off state, and enabling the duty ratio of the first pulse width modulation signal to be zero; alternatively, the first and second electrodes may be,
outputting a second pulse width modulation signal to a switch unit connected with the state lamp, controlling the state lamp to be in a normally-on state, wherein the duty ratio of the second pulse width modulation signal is not zero and is a fixed value; alternatively, the first and second electrodes may be,
outputting a third pulse width modulation signal to a switch unit connected with the state lamp, controlling the state lamp to be in a flashing state, wherein the third pulse width modulation signal is a second pulse width modulation signal and is alternately arranged with the first pulse width modulation signal; alternatively, the first and second electrodes may be,
and outputting a fourth pulse width modulation signal to a switch unit connected with the state lamp, controlling the state lamp to be in a breathing state, and repeating the process that the duty ratio of the fourth pulse width modulation signal is sequentially increased and then sequentially decreased.
When the signal output module 21 adjusts the operating state of the status light, the duty ratio of the pwm signal can be adjusted to adjust different operating states of the status light. The pulse width modulation signal has a high level output signal, and for example, the second pulse width modulation signal, the third pulse width modulation signal, and the fourth pulse width modulation signal have a state lamp lighting process, and the determination module 23 can determine whether the state lamp is faulty or not during the state lamp lighting process.
In practical application, the charging states of automobiles are different, and the light emitting states corresponding to the charging state indicator lamp consisting of the red light state lamp LED _ R, the green light state lamp LED _ G and the blue light state lamp LED _ B are different. Specifically, the charging state of the vehicle may include a sleep mode, a charging failure, a charging completion, a charging in progress, a guidance matching, and a waiting for charging.
When the charging state of the automobile is in the sleep mode, the signal output module 21 can control the red light state lamp LED _ R, the green light state lamp LED _ G and the blue light state lamp LED _ B to be turned off, so that the charging state indicator lamp is turned off to indicate the sleep mode;
when the charging state of the automobile is a charging fault, the signal output module 21 can control the red light state lamp LED _ R to flash, and the green light state lamp LED _ G and the blue light state lamp LED _ B to turn off, so that the charging state indicator lamp displays red light flash to indicate the charging fault;
when the charging state of the vehicle is in the charging state, the signal output module 21 can control the red light state lamp LED _ R and the green light state lamp LED _ G to turn off, and the blue light state lamp LED _ B to be normally on, so that the blue light of the charging state indicator lamp is normally on, and the charging state indicator lamp displays that the blue light is normally on, so as to indicate the charging completion state;
when the charging state of the automobile is charging completion, the signal output module 21 can control the red light state lamp LED _ R and the blue light state lamp LED _ B to turn off, and the green light state lamp LED _ G to be normally on, so that the charging state indicator lamp displays that the green light is normally on to indicate that charging is completed;
when the charging state of the automobile is waiting for charging, the signal output module 21 can control the red light state lamp LED _ R and the green light state lamp LED _ G to synchronously breathe, and the blue light state lamp LED _ B to be turned off, so that the charging state indicator lamp displays yellow light breathing to indicate the waiting charging state; for example, the signal output module 21 outputs the same fourth pulse modulation signal to the control end of the switch unit 41 connected to the red light state lamp LED _ R and the switch unit 42 connected to the green light state lamp LED _ G, the period of the fourth pulse modulation signal controlling the state lamp to breathe may be 1s, and in this period, the duty ratio of the fourth pulse modulation signal may be gradually reduced from 100% to 5%, so that the luminances of the red light state lamp LED _ R and the green light state lamp LED _ G gradually decrease from large to small, and the charging state indicator lamp displays the breathing state in which the luminance of the yellow light changes from large to small in this period.
When the charging state of the vehicle is the guidance matching, the signal output module 21 may control the blue light state lamp LED _ B to breathe, the red light state lamp LED _ R and the green light state lamp LED _ G to turn off, so that the charging state indicator lamp displays the blue light breathing to indicate the guidance matching. For example, the signal output module 21 outputs a fourth pulse modulation signal to the control end of the switch unit 43 connected to the blue light state lamp LED _ B, where the period of the fourth pulse modulation signal controlling the state lamp to breathe may be 1s, in this period, the duty ratio of the fourth pulse modulation signal in the first 300ms may be gradually increased from 5% to 100%, so that the brightness of the blue light state lamp LED _ B gradually increases from small to large, the duty ratio of the fourth pulse modulation signal in the middle 400ms may be kept constant at 100%, and the duty ratio of the fourth pulse modulation signal in the last 300ms may be gradually decreased from 100% to 5%, so that the brightness of the blue light state lamp LED _ B gradually decreases from large to small, and in this period, the charging state indicator lamp displays a breathing state in which the brightness of the blue light changes from small to large and then changes from large to small.
Of course, it can be understood that the present invention does not limit the variation rule of the duty ratio of the fourth pulse modulation signal, and can be set according to actual selection. For example, in some other embodiments, the fourth pulse modulation signal controls the period of the status light breathing, and may include a first phase in which the duty ratio of the fourth pulse modulation signal is gradually increased, a second phase in which the duty ratio of the fourth pulse modulation signal is kept constant, and a third phase in which the duty ratio of the fourth pulse modulation signal is gradually decreased, wherein the durations of the first phase, the second phase and the third phase may be reasonably distributed according to the period duration. In the first phase, the duty cycle of the fourth pulse modulation signal may be gradually increased from 10% or 20% or any other suitable percentage to 85% or 90% or any other suitable percentage; in the second phase, the duty ratio of the fourth pulse modulation signal can be kept unchanged by 80%, 85% or 90% of the percentage reached by the duty ratio of the fourth pulse modulation signal in the second phase; in the third phase, the duty cycle of the fourth pulse modulation signal may be gradually reduced from 80% or 85% or 90% or any other suitable percentage to 5% or 10% or any other suitable percentage.
Specifically, the charging status indicator light may have other states according to the charging status of the vehicle, and the operating status of the status light corresponding to the charging status is not limited herein and may be set according to actual selection.
Specifically, when the signal output module 21 adjusts the state of the functional lamp 1, if the functional lamp 1 is an illumination lamp, the state adjustment signal may be a high-low level signal, and the signal output module 21 may be specifically configured to:
outputting a high level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be normally on for illumination; alternatively, the first and second electrodes may be,
and outputting a low level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be turned off.
When the signal output module 21 adjusts the working state of the illuminating lamp, the functional lamp can be adjusted to illuminate or turn off through the change of high and low levels. When the state adjustment signal is at a high level, the illumination lamp is turned on, and the determination module 23 can determine whether the illumination lamp is in a failure state.
In the charging stand of the electric vehicle provided in the above embodiment of the invention, as shown in fig. 3, the switch unit 4 may include a switch tube Q, a first resistor R1, and a second resistor R2; the first end of the switching tube Q is connected with the negative electrode of the functional lamp 1, and the second end of the switching tube Q is grounded; the first end of the first resistor R1 is connected to the signal output module 21, the second end of the first resistor R1 is connected to the control end of the switch tube Q, the first end of the second resistor R2 is connected to the control end of the switch tube Q, and the second end of the second resistor R2 is grounded. The state adjustment signal that signal output module 21 output can be through the switch-on and the switch-off of control switch tube Q, can realize lighting and turning off of function lamp 1, first resistance R1 and second resistance R2 can be to the state adjustment signal partial pressure that signal output module 21 output to switch tube Q bearable voltage within range, can prevent to burn switch tube Q because of state adjustment signal's voltage is too high, and can not divide the pressure too low, prevent that switch tube Q from not opening completely and influencing conduction current.
In a specific embodiment, as shown in fig. 9, the switch unit 41 includes a switch tube Q1, a resistor R11 and a resistor R21, and the signal output module 21 controls the on and off of the red status light LED _ R by controlling the on and off of the switch tube Q1; the switch unit 42 comprises a switch tube Q2, a resistor R12 and a resistor R22, and the signal output module 21 controls the on and off of the green state light LED _ G by controlling the on and off of the switch tube Q2; the switch unit 43 includes a switch tube Q3, a resistor R13 and a resistor R23, and the signal output module 21 controls the on and off of the green status light LED _ G by controlling the on and off of the switch tube Q.
Specifically, the integrated chip 100 as the control unit 2 may control the switching tube Q1, the switching tube Q2 and the switching tube Q3 by outputting a PWM _ R signal, a PWM _ G signal and a PWM _ B signal, respectively, the PWM _ R signal, the PWM _ G signal and the PWM _ B signal adjust the operating states of the switching tube Q1, the switching tube Q2 and the switching tube Q3 by PWM output duty ratios, respectively, and the brightness, the color and the operating mode (such as flashing, breathing, turning on, turning off, etc. by frequency) of the charge status indicator lamp composed of the red status lamp LED _ R, the green status lamp LED _ G and the blue status lamp LED _ B may be adjusted by adjusting the PWM output duty ratios of the PWM _ R signal, the PWM _ G signal and the PWM _ B. For example, when the PWM output duty ratios of the PWM _ R signal, the PWM _ G signal, and the PWM _ B signal are 0, the switching tube Q1, the switching tube Q2, and the switching tube Q3 are not turned on, and then the three status lights are turned off, and then the charging status indicator light formed by the three status lights is turned off; when the PWM output duty ratios of the PWM _ R signal, the PWM _ G signal, and the PWM _ B signal are not zero, the switching tube Q1, the switching tube Q2, and the switching tube Q3 are turned on, and the charge status indicator lamp composed of three status lamps is turned on. When the integrated chip 100 is connected to the control terminals of the switching transistors Q1, Q2, and Q3, the PWM output pin outputs a PWM signal.
In a specific embodiment, as shown in fig. 9, the switch unit 44 includes a switch tube Q4, a resistor R14 and a resistor R24, and the integrated chip 100 controls the lighting and the turn-off of the illumination lamp LED _ W by controlling the on and off of the switch tube Q4; specifically, the integrated chip 100 includes a signal output module 21, which can control the switch tube Q4 by outputting a PWM _ W signal, when the PWM _ W signal is at a high level, the switch tube Q4 is turned on, and the lamp LED _ W is turned on, and when the PWM _ W signal is at a low level, the switch tube Q4 is not turned on, and the lamp LED _ W is turned off. When the integrated chip 100 is connected to the control terminal of the switching tube Q4, a high-low level signal may be output through a common IO pin.
In a specific embodiment, the voltage of the status adjustment signal output by the signal output module in the integrated chip 100 is lower than the voltage of the circuit in which the functional lamp 1 is located, and the function of controlling the high voltage at low voltage is implemented by the switching tube Q, which may be a MOS tube or a triode. Because the conduction rate of the MOS tube is higher than that of the triode, the switching tube connected with the state lamp needs to be controlled by a pulse width modulation signal, when the functional lamp 1 is the state lamp, the switching tube can be selected to be the MOS tube, for example, the switching tube connected with the red state lamp LED _ R, the green state lamp LED _ G and the blue state lamp LED _ B is the NMOS; the voltage of the pwm signal output from the ic 100 is divided by the resistors into a Vgs bearable voltage range of the NMOS, thereby preventing the MOS transistor from being burned due to too high voltage. When the status light is the illumination light LED _ W, the switching tube Q4 in the switching unit 5 may be a triode, such as an NPN triode; the voltage output by the integrated chip 100 is divided into a voltage range of a Vbe bearable voltage of the NPN triode through the resistor R14 and the resistor R24, and the triode is prevented from being burnt due to overhigh voltage.
When the switching tube Q is turned on, the voltage at the output end of the voltage dividing unit 3 may specifically be a voltage value obtained by dividing the sum of the voltage at the two ends of the functional lamp 1 and the working voltage of the switching tube Q.
It should be noted that, alternatively, in the embodiment of the present invention, the specific structure of the switch unit is not limited to that shown in fig. 3, that is, the structure shown in fig. 3 is only one specific embodiment for implementing the function of the switch unit, and the specific structure of the switch unit may also adopt other structures known to those skilled in the art that can implement the function of the switch unit, and is not limited herein.
As shown in fig. 4, the charging stand for an electric vehicle further includes at least one current limiting unit 5 corresponding to at least one functional lamp 1, and an anode of the functional lamp 1 is connected to a power supply through the current limiting unit 5. The current limiting unit 5 can limit the current in the circuit of the functional lamp 1, so as to prevent the functional lamp 1 from being burnt due to excessive current or prevent the functional lamp 1 from working under the condition of exceeding the maximum current for a long time, so that the service life of the functional lamp 1 is shortened.
Specifically, as shown in fig. 5, the current limiting unit 5 includes a third resistor R3, a first end of the third resistor R3 is connected to the power source VCC, and a second end of the third resistor R3 is connected to the positive electrode of the functional lamp 1.
For example, as shown in fig. 9, the red status light LED _ R, the green status light LED _ G, and the blue status light LED _ B are respectively current-limited by the current-limiting unit 51, the current-limiting unit 52, and the current-limiting unit 53, the current-limiting unit 51 includes a resistor R31, the current-limiting unit 52 includes a resistor R32, and the current-limiting unit 53 includes a resistor R33, that is, the red status light LED _ R, the green status light LED _ G, and the blue status light LED _ B are respectively current-limited by the resistor R31, the resistor R32, and the resistor R33, so that the current of the LED light is kept unchanged each time the LED light is turned on, the color of the LED light is unchanged, the same color is shown to the user each time, and the change of the charging status by the user is not affected. The illumination lamp LED _ W is current-limited by a current limiting unit 54, and the current limiting unit 54 includes a resistor R34.
It should be noted that, optionally, in the embodiment of the present invention, a specific structure of the current limiting unit is not limited to that shown in fig. 5, that is, the structure shown in fig. 5 is only one specific embodiment for implementing the function of the current limiting unit, and the specific structure of the current limiting unit may also adopt other structures known to those skilled in the art that can implement the function of the current limiting unit, and is not limited herein.
In the charging dock of an electric vehicle provided in the above embodiment of the invention, as shown in fig. 6, the voltage dividing unit 3 may include a fourth resistor R4 and a fifth resistor R5, a first end of the fourth resistor R4 is connected to the anode of the functional lamp 1, a second end of the fourth resistor R4 is connected to the obtaining module 22, a first end of the fifth resistor R5 is connected to a second end of the fourth resistor R4, and a second end of the fifth resistor R5 is grounded. Through the resistance ratio of adjusting fourth resistance R4 and fifth resistance R5 in the voltage divider unit 3, then can produce a more reasonable resistance voltage divider value for the voltage partial pressure of function lamp 1 both ends can be accepted to the reasonable voltage range of the control unit 2 in, the guarantee can not burn out control unit 2 because of the voltage is too high.
In a specific embodiment, as shown in fig. 9, the voltage dividing unit 31 is connected to the positive electrode of the red light state lamp LED _ R, and the resistor R41 and the resistor R51 in the voltage dividing unit 31 divide the voltage at the two ends of the red light state lamp LED _ R, so that the voltage at the two ends of the red light state lamp LED _ R is divided into a reasonable voltage range that can be received by the integrated chip 100, and the integrated chip 100 is prevented from being burnt due to an excessively high voltage; the voltage dividing unit 32 is connected with the positive electrode of the green light state lamp LED _ G, and the resistor R42 and the resistor R52 in the voltage dividing unit 32 divide the voltage at the two ends of the green light state lamp LED _ G, so that the voltage at the two ends of the green light state lamp LED _ G is divided into a reasonable voltage range which can be received by the integrated chip 100, and the integrated chip 100 is prevented from being burnt due to overhigh voltage; the voltage dividing unit 33 is connected with the positive electrode of the blue light state lamp LED _ B, and the resistors R43 and R53 in the voltage dividing unit 33 divide the voltage at the two ends of the blue light state lamp LED _ B, so that the voltage at the two ends of the blue light state lamp LED _ B is divided into a reasonable voltage range which can be received by the integrated chip 100, and the integrated chip 100 is prevented from being burnt due to overhigh voltage. The voltage dividing unit 34 is connected with the anode of the illuminating lamp LED _ W, and the resistor R44 and the resistor R54 in the voltage dividing unit 34 divide the voltage at the two ends of the illuminating lamp LED _ W, so that the voltage at the two ends of the illuminating lamp LED _ W is divided into a reasonable voltage range which can be received by the integrated chip 100, and the integrated chip 100 is prevented from being burnt due to overhigh voltage. Specifically, the output voltage of the output terminal of each voltage dividing unit that the integrated chip 100 can accept may be about 5V.
It should be noted that, alternatively, in the embodiment of the present invention, the specific structure of the voltage dividing unit is not limited to that shown in fig. 6, that is, the structure shown in fig. 6 is only one specific embodiment for implementing the function of the voltage dividing unit, and the specific structure of the voltage dividing unit may also adopt other structures known to those skilled in the art that can implement the function of the voltage dividing unit, and is not limited herein.
As shown in fig. 7, the charging stand for an electric vehicle according to the embodiment of the present invention may further include a signal filtering unit 6, configured to filter an output voltage at an output end of the voltage dividing unit 3, where an input end of the signal filtering unit 6 is connected to an output end of the voltage dividing unit 3, and an output end of the signal filtering unit 6 is connected to the obtaining module 22. The signal filtering unit 6 may implement filtering of the output voltage at the output of the voltage dividing unit 3.
Specifically, as shown in fig. 8, the signal filtering unit 6 may include a sixth resistor R6 and a filter capacitor C, a first end of the sixth resistor R6 is connected to the output end of the voltage dividing unit 3, a second end of the sixth resistor R6 is connected to the obtaining module 22, a first end of the filter capacitor C is connected to a second end of the sixth resistor R6, and a second end of the filter capacitor C is grounded.
In the signal filtering unit 6, the signal at the output end of the voltage dividing unit 3 is input into the obtaining module 22 through the sixth resistor R6, and the sixth resistor R6 can prevent the large current from flowing into the control unit 2 after the fault of the functional lamp 1 occurs, so that the detection control unit 2 is burnt out, and the current limiting function is achieved. In order to ensure the quality of the acquired signal of the acquisition module 22 of the control unit 2 and reduce the fluctuation of sampling, filtering may be performed by a filter capacitor, and the filter capacitor C needs to be set close to the control unit 2.
In a specific embodiment, as shown in fig. 9, the output end of the voltage dividing unit 31 is connected to the signal filtering unit 61, and the resistor R61 and the filter capacitor C1 in the signal filtering unit 61 can protect the circuit and ensure the function of the single chip microcomputer 100 in sampling the output voltage at the output end of the voltage dividing unit 31, which is beneficial to detecting the fault of the red light status light LED _ R; the output end of the voltage dividing unit 32 is connected with the signal filtering unit 62, and the resistor R62 and the filter capacitor C2 in the signal filtering unit 62 can protect the circuit and ensure the sampling function of the integrated chip 100 on the output voltage of the output end of the voltage dividing unit 32, which is beneficial to the detection of the green light state lamp LED _ G fault; the output end of the voltage division unit 33 is connected with the signal filtering unit 63, and the resistor R63 and the filter capacitor C3 in the signal filtering unit 63 can protect the circuit and ensure the sampling function of the integrated chip 100 on the output voltage of the output end of the voltage division unit 33, so that the detection of the fault of the blue light state lamp LED _ B is facilitated. The output end of the voltage dividing unit 34 is connected to the signal filtering unit 64, and the resistor R64 and the filter capacitor C4 in the signal filtering unit 64 can protect the circuit and ensure the sampling function of the integrated chip 100 on the output voltage at the output end of the voltage dividing unit 3.
It should be noted that, alternatively, in the embodiment of the present invention, the specific structure of the signal filtering unit 6 is not limited to that shown in fig. 8, that is, the structure shown in fig. 8 is only one specific embodiment for implementing the function of the signal filtering unit 6, and the specific structure of the signal filtering unit 6 may also adopt other structures known to those skilled in the art that can implement the function of the signal obtaining module, and is not limited herein.
In the electric vehicle charging seat provided in the above embodiment of the present invention, the obtaining module 22 may further include sub obtaining modules corresponding to the function lamps 1 one to one, and each sub obtaining module may be specifically configured as: and acquiring a state adjusting signal corresponding to the functional lamp and the output voltage of the output end of the voltage division unit corresponding to the functional lamp.
In the above-mentioned electric automobile charging seat, the acquisition module may include a sub acquisition module corresponding to the function lamp one-to-one, and the sub acquisition module acquires the state adjustment signal and the output voltage of the voltage division unit output terminal respectively.
In a specific embodiment, as shown in fig. 9, when the integrated chip 100 as the obtaining module 22 is connected to the signal filtering unit, the signal at the output terminals of the signal filtering unit 61, the signal filtering unit 62, the signal filtering unit 63, and the signal filtering unit 64 may be obtained through the ADC pin.
For example, as shown in fig. 9, when the PWM output duty ratios of the PWM _ R signal, the PWM _ G signal, and the PWM _ B signal output by the integrated chip 100 are all 0, the switching tube Q1, the switching tube Q2, and the switching tube Q3 cannot be turned on, the red light status light LED _ R, the green light status light LED _ G, and the blue light status light LED _ B are turned off, and the pins R _ ADC, and R _ ADC of the single chip 100 may respectively obtain the voltages at the output ends of the signal filtering unit 61, the signal filtering unit 62, and the signal filtering unit 63, that is, the voltages divided at the two ends when the three status lights are turned off, for example, 5.85V. When the PWM output duty ratio of the PWM _ R signal is not zero, the switching tube Q1 is turned on, the loop where the red light state lamp LED _ R is located is turned on, the red light state lamp LED _ R is turned on, and the signal obtained by the R _ ADC pin of the integrated chip 100 from the output end of the signal filtering unit 61 is a value obtained by dividing the voltage of the sum of the conduction voltage drop of the red light state lamp LED _ R and the MOS transistor Vds by the voltage dividing unit, for example, the conduction voltage drop of the red light state lamp LED _ R is half of the sum of the MOS transistor Vds, and the working principle of the green light state lamp LED _ G and the blue light state lamp LED _ B is the same as that of the red light state lamp LED _ R. And when the PWM output duty ratio of the PWM _ R signal is not zero, and the switching tube Q1 is turned on, the red light state lamp LED _ R loop is connected, if the red light state lamp LED _ R is open circuit at this time, the red light state lamp LED _ R is not on, and the signal obtained by the pin R _ ADC of the integrated chip 100 is 5.85V, the determining module 23 determines that the red light state lamp LED _ R is open circuit fault at this time, and the green light state lamp LED _ G and the blue light state lamp LED _ B are the same as the red light state lamp LED _ R. And when the PWM output duty ratio of the PWM _ R signal is not zero, the switching tube Q1 is turned on, the red light state lamp LED _ R loop is connected, if the red light state lamp LED _ R is short-circuited and the red light state lamp LED _ R is not lit, the signal obtained by the pin R _ ADC of the integrated chip 100 is 0V, at this time, the determining module 23 determines that the red light state lamp LED _ R is short-circuited, and the green light state lamp LED _ G and the blue light state lamp LED _ B are the same as the red light state lamp LED _ R.
As shown in fig. 9, when the PWM _ W signal outputs a high level, the switching tube Q4 is turned on, the lighting lamp loop is connected, the lighting lamp LED _ W is turned on, and the pin W _ ADC of the integrated chip 100 obtains the voltage at the output end of the signal filtering unit 64, that is, the sum of the lighting lamp LED _ W conduction voltage drop and the triode Vce, and the value divided by the voltage dividing unit, for example, half of the sum of the lighting lamp conduction voltage drop and the triode Vce; when the PWM _ W signal outputs a low level, the switching tube Q4 is not turned on, the loop of the illumination lamp LED _ W is not turned on, the illumination lamp LED _ W is turned off, and the pin W _ ADC of the integrated chip 100 obtains a value obtained by dividing the voltage at the two ends of the signal illumination lamp by the voltage dividing unit, for example, 5.85V; when the PWM _ W signal outputs a high level, the switching tube Q4 is turned on, the lighting lamp circuit is connected, if the lighting lamp LED _ W is disconnected at this time, the lighting lamp is not on, the signal obtained by the pin W _ ADC of the integrated chip 100 is 5.85V, and the judgment module 23 judges that the lighting lamp is disconnected; when the PWM _ W signal is at a high level, the switching tube Q4 is turned on, the lighting lamp circuit is connected, if the lighting lamp LED _ W is short-circuited at the time, the lighting lamp LED _ W is not on, the pin W _ ADC of the integrated chip 100 adopts a signal of 0V, and the judgment module 23 judges a lighting lamp short-circuit fault.
Based on the same inventive concept, the embodiment of the invention also provides an electric vehicle, which comprises any one of the electric vehicle charging seats provided in the technical scheme.
The electric automobile provided by the embodiment of the invention comprises at least one functional lamp 1, a control unit 2 and at least one voltage division unit 3 corresponding to the functional lamp 1 one by one; the voltage dividing unit 3 may divide the voltage at two ends of the corresponding functional lamp 1, and the control unit 2 may include a signal output module 21, an obtaining module 22, and a determining module 23, where: the signal output module 21 can output a state adjusting signal corresponding to each functional lamp 1 according to the charging state of the vehicle, so as to adjust the working state of each functional lamp 1, the obtaining module 22 can obtain the state adjusting signal corresponding to each functional lamp 1 and the output voltage of the output end of each voltage dividing unit 3, the determining module 23 can determine whether the functional lamp 1 has a fault according to the output voltage of the output end of the voltage dividing unit 3 corresponding to the judging module when the state adjusting signal is a signal for controlling the lighting of the corresponding functional lamp 1, and can report to the management system of the vehicle when the functional lamp 1 has the fault, so as to inform the user that the fault occurs, remind the user to maintain the faulty functional lamp 1, and avoid inconvenience brought to the charging of the vehicle.
Based on the same inventive concept, an embodiment of the present invention further provides a method for detecting an electric vehicle charging seat, where the electric vehicle charging seat includes at least one functional lamp and at least one voltage dividing unit connected to the at least one functional lamp in a one-to-one correspondence manner, and as shown in fig. 10, the method includes the specific steps of:
s1001: outputting a state adjusting signal corresponding to each functional lamp according to the charging state of the automobile;
s1002: acquiring a state adjusting signal corresponding to each functional lamp and the output voltage of the output end of each voltage division unit;
s1003: and when the state adjusting signal is a lighting signal for controlling the lighting of the corresponding functional lamp, determining whether the functional lamp has a fault according to the output voltage of the output end of the voltage dividing unit corresponding to the state adjusting signal.
In the detection method of the electric vehicle charging seat, firstly, a state adjusting signal corresponding to each functional lamp is output according to the charging state of the vehicle, and then the state adjusting signal and the output voltage of the output end of the voltage dividing unit are obtained; and then, when the state adjusting signal is a signal for controlling the functional lamp to be turned on, determining whether the functional lamp has a fault according to the output voltage of the output end of the voltage division unit. Whether the functional lamp has a fault or not is detected, if the functional lamp has the fault, the fault can be reported to a management system of the automobile, a user can be informed of the fault, the user is reminded of maintaining the faulty functional lamp, and inconvenience in charging the automobile is avoided.
Optionally, the determining whether the functional lamp has a fault according to the output voltage output by the voltage dividing unit corresponding to the functional lamp includes:
judging whether the output voltage is equal to a first preset voltage or not, wherein the first preset voltage is equal to the value of the conduction voltage drop of the functional lamp after the voltage drop is divided by the voltage dividing unit;
if yes, judging that the functional lamp has no fault;
if not, judging that the functional lamp is in fault.
Optionally, the determining that the functional lamp is faulty includes:
if the output voltage is equal to zero, judging that the functional lamp is short-circuited;
and if the output voltage is equal to a second preset voltage, judging that the functional lamp is broken, wherein the second preset voltage is equal to the voltage value of the output end of the voltage division unit when the functional lamp is turned off.
Optionally, if the function lamp is at least one status lamp, the outputting a status adjustment signal corresponding to each function lamp includes:
outputting a first pulse width modulation signal to a switch unit connected with the status light, and controlling the status light to be in an off state, wherein the duty ratio of the first pulse width modulation signal is zero; alternatively, the first and second electrodes may be,
outputting a second pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a normally-on state, wherein the duty ratio of the second pulse width modulation signal is not zero and is a fixed value; alternatively, the first and second electrodes may be,
outputting a third pulse width modulation signal to a switch unit connected with the status light to control the status light to be in a flashing state, wherein the third pulse width modulation signal is formed by alternately arranging the second pulse width modulation signal and the first pulse width modulation signal; alternatively, the first and second electrodes may be,
and outputting a fourth pulse width modulation signal to a switch unit connected with the state lamp, and controlling the state lamp to be in a breathing state, wherein the duty ratio of the fourth pulse width modulation signal repeats the process of sequentially increasing and then sequentially decreasing.
Optionally, if the function lamp is an illumination lamp, the outputting a state adjustment signal corresponding to each function lamp includes:
outputting a high level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be normally on; alternatively, the first and second electrodes may be,
and outputting a low level signal to a switch unit connected with the illuminating lamp to control the illuminating lamp to be turned off.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.