CN113071405A - Daytime running lamp drive control method and device, computer equipment and storage medium - Google Patents

Daytime running lamp drive control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113071405A
CN113071405A CN202110340850.6A CN202110340850A CN113071405A CN 113071405 A CN113071405 A CN 113071405A CN 202110340850 A CN202110340850 A CN 202110340850A CN 113071405 A CN113071405 A CN 113071405A
Authority
CN
China
Prior art keywords
driving
current
daytime running
vehicle
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110340850.6A
Other languages
Chinese (zh)
Other versions
CN113071405B (en
Inventor
应力
耿婉宁
裴国权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN202110340850.6A priority Critical patent/CN113071405B/en
Publication of CN113071405A publication Critical patent/CN113071405A/en
Application granted granted Critical
Publication of CN113071405B publication Critical patent/CN113071405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/02Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments
    • B60Q1/04Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights
    • B60Q1/06Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle
    • B60Q1/08Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle automatically
    • B60Q1/085Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to illuminate the way ahead or to illuminate other areas of way or environments the devices being headlights adjustable, e.g. remotely-controlled from inside vehicle automatically due to special conditions, e.g. adverse weather, type of road, badly illuminated road signs or potential dangers

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The application relates to a daytime running lamp driving control method and device, computer equipment and a storage medium. The method is applied to an on-board controller and comprises the following steps: obtaining the current driving times; if the current driving times are not more than the driving times threshold, outputting driving voltage; monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold; and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp. By setting the driving frequency threshold and the driving current threshold, the driving current of the vehicle-mounted controller chip is controlled within a certain range, the phenomenon that the driving current of the vehicle-mounted controller is too large is avoided, the requirement on the vehicle-mounted controller chip is reduced, and therefore the cost of the vehicle-mounted controller is reduced.

Description

Daytime running lamp drive control method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of electronic and electrical technologies, and in particular, to a method and an apparatus for driving and controlling a daytime running lamp, a computer device, and a storage medium.
Background
In recent years, related indexes related to daytime running lamps are established in many countries to ensure that the produced and installed daytime running lamps can really play a role in ensuring safety, and with the popularization of the daytime running lamps, the daytime running lamps are applied to more and more vehicles. The daytime running light has the function of enabling the vehicles to be more easily identified, and particularly under the condition of low visibility, such as rain, fog or dusk, the vehicles which light the daytime running light are more easily found by traffic participants (vehicles and pedestrians), so that the driving safety of the vehicles is improved.
In the prior art, in the process that a controller drives a daytime running lamp to be turned on, an inductive load is integrated in the lamp, so that a large transient current is generated when the daytime running lamp is turned on, and the transient working current can be changed according to different environmental temperatures and working voltages; under the conditions of room temperature and 28V working voltage, the maximum value of the transient working current can reach 60-70 times of the normal working current. To meet this situation, the driver chip capability of the controller needs to be greatly reserved, which inevitably increases component costs.
Disclosure of Invention
In view of the above, it is desirable to provide a daytime running light drive control method, apparatus, computer device, and storage medium that can reduce the cost of an onboard controller.
A daytime running lamp driving control method is applied to a vehicle-mounted controller and comprises the following steps:
acquiring the current driving times;
if the current driving times are not more than the driving times threshold, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
In one embodiment, the method further comprises:
if the current driving times are larger than the driving time threshold, stopping the current driving;
and sending the fault information to corresponding vehicle-mounted equipment.
In one embodiment, before acquiring the current driving times, the method further includes:
and clearing the current driving times.
In one embodiment, acquiring the current driving times includes:
adding 1 to the current driving times;
and acquiring the driving times after adding 1 as new current driving times.
In one embodiment, the method further comprises:
and if the current driving current is larger than the driving current threshold, returning to the step of adding 1 to the current driving times.
In one embodiment, before acquiring the current driving times, the method further includes:
collecting vehicle state information;
and if the vehicle state information is the preset vehicle state, invoking daytime running lamp driving control.
In one embodiment, the preset vehicle state includes at least one of ignition switch state information, position light switch state information, left and right turn light switch state information, and hazard warning switch state information.
A daytime running light drive control device, the device comprising:
the logic starting module is used for acquiring the current driving times;
the frequency counting module is used for outputting driving voltage if the current driving frequency is not greater than the driving frequency threshold;
the current monitoring module is used for monitoring the driving current corresponding to the driving voltage, acquiring the driving current and comparing the driving current with a driving current threshold value;
and the vehicle lamp driving module is used for keeping electrifying and lighting the daytime running lamp if the driving current is not greater than the driving current threshold value.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring the current driving times;
if the current driving times are not more than the driving times threshold, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring the current driving times;
if the current driving times are not more than the driving times threshold, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
The daytime running lamp driving control method is applied to an onboard controller, and the current driving times are obtained; if the current driving times are not more than the driving times threshold, outputting driving voltage; monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold; and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp. By setting the driving frequency threshold and the driving current threshold, the driving current of the vehicle-mounted controller chip is controlled within a certain range, the phenomenon that the driving current of the vehicle-mounted controller is too large is avoided, the requirement on the vehicle-mounted controller chip is reduced, and therefore the cost of the vehicle-mounted controller is reduced.
Drawings
FIG. 1 is a schematic flow chart illustrating a daytime running light drive control method according to an embodiment;
FIG. 2 is a schematic flowchart of a daytime running light driving control method in another embodiment;
FIG. 3 is a logic flow diagram of an embodiment of a daytime running light drive control method applied to a two-sided daytime running light;
FIG. 4 is a schematic structural diagram of a daytime running light driving control method applied to two side daytime running lights in one embodiment;
FIG. 5 is a block diagram showing a driving control apparatus for a daytime running light in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a daytime running light driving control method is provided, and this embodiment is exemplified by applying the method to an onboard controller, and it is understood that the method may also be applied to a daytime running light control circuit, and may also be applied to a vehicle body control system including the daytime running light control circuit. In this embodiment, the method includes the steps of:
and 102, acquiring the current driving times.
Specifically, when the vehicle is started, the vehicle-mounted controller selects whether to call the daytime running light drive control or not according to the current vehicle state information. After the daytime running lamp driving control is started to be called, the vehicle-mounted controller firstly clears the driving times, then starts to count the driving times, and adds 1 to the driving times to obtain the current driving times before the daytime running lamp is driven every time so as to count the current driving times of the daytime running lamp.
And step 104, outputting a driving voltage if the current driving frequency is not greater than the driving frequency threshold.
Specifically, a driving frequency threshold is preset in the vehicle-mounted controller, after the current driving frequency is obtained, the current driving frequency is compared with the driving frequency threshold, and if the current driving frequency is not greater than the driving frequency threshold, the vehicle-mounted controller outputs driving voltage to a daytime running lamp driving circuit; and if the current driving times are larger than the driving time threshold, stopping the current driving by the vehicle-mounted controller, and stopping the driving control of the daytime running lamp called at this time.
And 106, monitoring the driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold value.
Specifically, a driving current threshold is preset in the vehicle-mounted controller, and the vehicle-mounted controller outputs driving voltage to the daytime running lamp driving circuit, monitors the current driving current of the daytime running lamp driving circuit, and compares the current driving current with the driving current threshold.
And step 108, if the driving current is not larger than the driving current threshold value, keeping electrifying, and lighting the daytime running lamp.
Specifically, if the current driving current of the daytime running lamp driving circuit is not greater than the driving current threshold, the vehicle-mounted controller keeps outputting the driving voltage, and the daytime running lamp driving circuit keeps the current driving current to drive and light the daytime running lamp; if the current driving current of the daytime running lamp driving circuit is larger than the driving current threshold value, the driving current at the moment can cause that the transient current of an inductive load in the daytime running lamp is overlarge, and further influences a vehicle-mounted controller, the daytime running lamp driving circuit and other circuits, so that the vehicle-mounted processor stops outputting the driving voltage, interrupts the driving current of the daytime running lamp driving circuit, returns to execute the step of adding 1 to the current driving frequency, and drives once again.
In the daytime running lamp driving control method, the vehicle-mounted controller acquires the current driving times; if the current driving times are not more than the driving times threshold, outputting driving voltage; monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold; and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp. By setting the driving frequency threshold and the driving current threshold, the driving current of the vehicle-mounted controller chip is controlled within a certain range, the phenomenon that the driving current of the vehicle-mounted controller is too large is avoided, the requirement on the vehicle-mounted controller chip is reduced, and therefore the cost of the vehicle-mounted controller is reduced.
In an optional embodiment, if the current driving frequency is greater than the driving frequency threshold, the driving is stopped, and the fault information is sent to the corresponding vehicle-mounted device.
Specifically, if the current driving frequency is greater than the driving frequency threshold, the vehicle-mounted controller stops the driving, terminates the driving control of the daytime running lamp, and uploads the failure information of the daytime running lamp to equipment such as an instrument panel and a display screen of a cab for displaying. When the driving frequency is higher than a normal value, the driving current is higher than a driving current threshold value for many times when the driving of the daytime running lamp is attempted every time, the driving current threshold value is a normal maximum current threshold value set according to an actual vehicle-mounted controller chip and a daytime running lamp driving circuit, the driving current is continuously higher than the driving current threshold value for many times, and faults such as short circuit and the like occur in the daytime running lamp driving circuit or a circuit in the daytime running lamp, so when the driving current is higher than the driving current threshold value for many times, the driving of the daytime running lamp is stopped continuously by counting the driving frequency, and fault reporting is performed, so that the vehicle-mounted controller chip, the daytime running lamp driving circuit and the like are protected.
In this embodiment, the current driving frequency and the driving frequency threshold are compared by the vehicle-mounted controller, and if the current driving frequency is greater than the driving frequency threshold, the current driving is stopped, and the fault information is sent to the corresponding vehicle-mounted device. The purpose of diagnosing the circuit fault according to the magnitude of the driving current can be achieved, and therefore the vehicle-mounted controller chip, the daytime running lamp driving circuit and the internal circuit of the daytime running lamp are protected.
In one embodiment, before acquiring the current driving times, the method further includes: and clearing the current driving times. Acquiring the current driving times, including: adding 1 to the current driving times; and acquiring the driving times after adding 1 as new current driving times.
Specifically, when the vehicle performs a new working cycle, the vehicle-mounted controller determines whether to start the daytime running light drive control according to the current vehicle state. If the daytime running lamp driving control is started, the driving frequency is cleared firstly, then the first driving is started, the driving frequency is added with 1 to obtain the current driving frequency, and then the current driving frequency is compared with the driving frequency threshold. The working cycle refers to the working process of the vehicle from the starting of the engine to the flameout of the engine.
Optionally, the step of resetting the driving times may also be executed after the fault information is sent, the vehicle-mounted controller determines that the current driving times is greater than the driving times threshold, stops the current driving, terminates the driving control of the daytime running lamp, uploads the fault information of the daytime running lamp to the instrument panel, the display screen and other devices of the cab for display, and resets the count of the current driving times.
In one embodiment, if the current driving current is greater than the driving current threshold, the step of adding 1 to the current driving times is returned to be executed.
Specifically, taking daytime running light driving control of one driving cycle as an example for explanation, when the driving frequency is 1, the driving frequency 1 is smaller than a driving frequency threshold (which can be set to 4), at this time, the onboard controller outputs a driving voltage to the monitoring daytime running light driving circuit, the current driving current is monitored to be 20A, the current driving current 20A is greater than a driving current threshold (which can be set to 10A), the step of adding 1 to the current driving frequency is returned to, the onboard controller adds 1 to the current driving frequency to obtain the driving frequency 2, then the driving frequency 2 and the driving frequency threshold 4 are compared again, the driving frequency 2 is smaller than the driving frequency threshold 4, the onboard controller outputs the driving voltage again, and the current driving current is monitored.
In an optional implementation manner, if the driving frequency is 4, the vehicle-mounted controller monitors that the current driving current is 9A, the current is kept on, the daytime running lamp is driven to be turned on, and the driving control of the daytime running lamp is terminated after the daytime running lamp is turned on; if the driving frequency is 4, the vehicle-mounted controller monitors that the current driving current is 22A, the step of adding 1 to the current driving frequency is returned, the vehicle-mounted controller adds 4 to the current driving frequency to obtain a driving frequency 5, at the moment, the driving frequency 5 is greater than a driving frequency threshold value 4, the vehicle-mounted controller stops the driving, the driving control of the daytime running lamp is stopped, and fault information is sent to corresponding vehicle-mounted equipment.
In this embodiment, the current driving current and the driving current threshold are compared by the vehicle-mounted controller, and if the current driving current is greater than the driving current threshold, the step of adding 1 to the current driving frequency is executed. The purpose of controlling and optimizing the driving current of the daytime running lamp can be achieved, and therefore the vehicle-mounted controller chip, the daytime running lamp driving circuit and the internal circuit of the daytime running lamp are protected.
In one embodiment, before acquiring the current driving times, the method further includes: and acquiring vehicle state information, and calling the daytime running lamp driving control if the vehicle state information is a preset vehicle state. The preset vehicle state includes at least one of ignition switch state information, position light switch state information, left and right turn light switch state information, and hazard warning switch state information.
Specifically, each time the vehicle performs a new work cycle, the vehicle-mounted controller starts driving control of the daytime running light according to whether the current vehicle state information satisfies the preset vehicle state. The preset vehicle state specifically includes an ignition switch on, a position light switch off, a left and right turn light switch off, and a hazard warning switch off, and the vehicle-mounted controller may turn on the daytime running light drive control as long as at least one of the preset vehicle states is satisfied. The working cycle refers to the working process of the vehicle from the starting of the engine to the flameout of the engine.
In one embodiment, as shown in fig. 2, a daytime running light driving control method is provided, where the method specifically includes:
step 202, the vehicle-mounted controller starts driving control of the daytime running light.
Specifically, the vehicle-mounted controller starts the daytime running lamp driving control when the current ignition switch of the vehicle is turned on, the position lamp switch is turned off, the left and right turn lamp switches are turned off and the hazard alarm switch is turned off.
And step 204, the vehicle-mounted controller performs drive frequency zero clearing.
Specifically, the vehicle-mounted controller clears the driving times.
In step 206, the vehicle-mounted controller obtains the current driving times.
Specifically, the driving times are counted, and before the daytime running lamp is driven each time, 1 is added to the driving times to obtain the current driving times, so that the current daytime running lamp is counted to be driven for the second time.
In step 208, the onboard controller compares the current drive times to a drive times threshold.
Specifically, a driving frequency threshold is preset in the vehicle-mounted controller, and the driving frequency threshold can be set according to needs, for example, 3 times, 5 times, and the like are not limited thereto. And after the current driving times are obtained, comparing the current driving times with a driving time threshold, and if the current driving times are not more than the driving time threshold, outputting a driving voltage to a daytime running lamp driving circuit by the vehicle-mounted controller. If the current driving frequency is larger than the driving frequency threshold value, the vehicle-mounted controller interrupts the current output driving and terminates the driving control of the driving lamp in the daytime.
Step 210, the onboard controller monitors the driving current and compares the driving current to a driving current threshold.
Specifically, a driving current threshold is preset in the vehicle-mounted controller, and the driving current threshold may be set according to needs, for example, 10A, 12A, etc. are not limited thereto. The vehicle-mounted controller outputs driving voltage to the daytime running lamp driving circuit, monitors the current driving current of the daytime running lamp driving circuit, and compares the current driving current with a driving current threshold value.
Further, if the current driving current of the daytime running lamp driving circuit is not larger than the driving current threshold, the vehicle-mounted controller keeps outputting the driving voltage, and the daytime running lamp driving circuit keeps the current driving current to drive the daytime running lamp at a high end, so that the daytime running lamp is lightened. If the current driving current of the daytime running lamp driving circuit is greater than the driving current threshold, the driving current at this time may cause an excessive transient current of an inductive load inside the daytime running lamp, and further affect the vehicle controller, the daytime running lamp driving circuit, and other circuits, so that the vehicle processor stops outputting the driving voltage, interrupts the high-end driving current of the daytime running lamp driving circuit, returns to execute step 206, and performs driving again.
In step 212, the onboard controller ends the daytime running light drive control.
Specifically, after the vehicle-mounted controller outputs a voltage to light the daytime running lamp, the driving control of the daytime running lamp is ended.
Further, in step 204, when the driving frequency is higher than the driving current threshold, it is described that the driving current is higher than the driving current threshold many times each time the daytime running light is attempted to be driven, and a fault such as a short circuit occurs in the daytime running light driving circuit or the circuit inside the daytime running light, and the vehicle-mounted controller stops the current output driving, terminates the current daytime running light driving control, and performs an error notification, thereby protecting the vehicle-mounted controller chip, the daytime running light driving circuit, the circuit inside the daytime running light, and the like.
In this embodiment, the vehicle-mounted controller starts driving control of the daytime running lamp, first performs drive frequency resetting, then obtains the current drive frequency, compares the current drive frequency with a drive frequency threshold, monitors the drive current, compares the drive current with the drive current threshold, and finally ends driving control of the daytime running lamp. By setting the driving frequency threshold and the driving current threshold, the driving current of the vehicle-mounted controller chip is controlled within a certain range, the phenomenon that the driving current of the vehicle-mounted controller is too large is avoided, the requirement on the vehicle-mounted controller chip is reduced, and therefore the cost of the vehicle-mounted controller is reduced.
In an embodiment, as shown in fig. 3, a daytime running light driving control method is provided, which is exemplified by applying the method to driving left and right daytime running lights, as shown in fig. 4, a vehicle body area controller calls daytime running light driving control for the daytime running lights on the left and right sides, respectively, and simultaneously drives the left and right daytime running lights through the left and right vehicle light controllers, so that the two daytime running lights are synchronously turned on/off, wherein when one side fails or terminates the daytime running light driving control, left or right daytime running light failure information is sent, and the method specifically includes:
the current ignition switch of the vehicle is turned on, the position light switch is turned off, the left and right turn light switches are turned off, the danger alarm switch is turned off, and the vehicle body domain controller simultaneously starts the daytime running light driving control on two sides.
For each side, the body area controller first clears the number of drives n, i.e., n equals 0.
And counting the driving times for each side, adding 1 to the driving times to obtain the current driving times before driving the daytime running lamp each time, namely n is n +1, so as to count the current driving time of the daytime running lamp.
For each side, a driving number threshold value n _ max is preset in the vehicle body area controller, and n _ max can be set to 4 (times) in the embodiment. After the current driving frequency n is obtained, comparing the current driving frequency with a driving frequency threshold, and if n is less than or equal to n _ max, outputting a driving voltage to the left and right side vehicle lamp controllers by the vehicle body domain controller; and if n is more than n _ max, stopping the driving of the vehicle body domain controller, and stopping the driving control of the driving lamp in the daytime. The vehicle body area controller terminates the daytime running light drive control of the side and transmits the fault information of the side to the corresponding vehicle-mounted device.
For each side, a driving current threshold I _ max is preset in the body area controller, and I _ max may be set to 10A (amperes) in this embodiment. And when the vehicle body area controller outputs driving voltage to the left and right side vehicle lamp controllers, monitoring the current driving current I of the left and right side vehicle lamp controllers, and comparing the current driving current with a driving current threshold value. And if the I of the left and right side vehicle lamp controllers is less than or equal to I _ max, the vehicle body domain controller keeps outputting the driving voltage, the left and right side vehicle lamp controllers keep the current driving current to carry out high-end driving on the daytime running lamp, and the left and right daytime running lamps are lightened. If I > I _ max of the left and right side lamp controllers, the driving current at this time causes an excessive transient current of an inductive load in the daytime running lamp, and further affects the body area controller, the left and right side lamp controllers and other circuits, so that the vehicle-mounted processor stops outputting the driving voltage, interrupts the high-end driving current of the left and right side lamp controllers, returns to execute the step n +1, and drives again.
And after the vehicle body area controller outputs voltage to light the left and right daytime running lamps, ending the driving control of the daytime running lamp. Or, when the number of times of driving of one side is higher than the driving current threshold, it is described that the driving current is higher than the driving current threshold many times each time the one side tries to drive the daytime running light, a fault such as a short circuit occurs in the left and right side light controllers of the one side or the circuits inside the daytime running light, the body area controller stops the current output driving, terminates the current daytime running light driving control, and reports an error to the one side, thereby protecting the body area controller chip, the side light controllers, the internal circuits of the side daytime running light, and the like.
In the embodiment, the current driving times are obtained; if the current driving times are not more than the driving times threshold, outputting driving voltage; monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold; and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp. By setting the driving frequency threshold and the driving current threshold, the driving current of the vehicle-mounted controller chip is controlled within a certain range, the phenomenon that the driving current of the vehicle-mounted controller is too large is avoided, the requirement on the vehicle-mounted controller chip is reduced, and therefore the cost of the vehicle-mounted controller is reduced.
It should be understood that although the various steps in the flowcharts of fig. 1-2, 4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 and 4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternatively with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a daytime running light drive control device 500 including: a logic starting module 501, a frequency counting module 502, a current monitoring module 503 and a vehicle lamp driving module 504, wherein:
a logic starting module 501, configured to obtain a current driving frequency;
a number counting module 502, configured to output a driving voltage if the current driving number is not greater than the driving number threshold;
the current monitoring module 503 is configured to monitor a driving current corresponding to the driving voltage, obtain the driving current, and compare the driving current with a driving current threshold;
and the lamp driving module 504 is used for keeping the power on and lighting the daytime running lamp if the driving current is not greater than the driving current threshold.
In one embodiment, the number-of-times counting module 502 is further configured to stop the driving if the current driving number of times is greater than the driving number threshold; and sending the fault information to corresponding vehicle-mounted equipment.
In one embodiment, the logic enable module 501 is further configured to zero the current driving times.
In one embodiment, the logical enable module 501 includes:
and the driving counting unit is used for adding 1 to the current driving times.
And the number updating unit is used for acquiring the driving number added with 1 as a new current driving number.
In one embodiment, the current monitoring module 503 is further configured to return to the execution driving counting unit if the current driving current is greater than the driving current threshold.
In one embodiment, the logic activation module 501 is further configured to collect vehicle status information; and if the vehicle state information is the preset vehicle state, invoking daytime running lamp driving control. The preset vehicle state comprises at least one of ignition switch state information, position lamp switch state information, left and right steering lamp switch state information and danger alarm switch state information.
For specific limitations of the daytime running light driving control device, reference may be made to the above limitations of the daytime running light driving control method, which are not described herein again. Each module in the above-described daytime running light drive control device may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a daytime running light drive control method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring the current driving times;
if the current driving times are not more than the driving times threshold, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the current driving times are larger than the driving time threshold, stopping the current driving;
and sending the fault information to corresponding vehicle-mounted equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and clearing the current driving times.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
adding 1 to the current driving times;
and acquiring the driving times after adding 1 as new current driving times.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and if the current driving current is larger than the driving current threshold, returning to the step of adding 1 to the current driving times.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
collecting vehicle state information;
and if the vehicle state information is the preset vehicle state, invoking daytime running lamp driving control.
In one embodiment, the processor, when executing the computer program, further comprises:
the preset vehicle state includes at least one of ignition switch state information, position light switch state information, left and right turn light switch state information, and hazard warning switch state information.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring the current driving times;
if the current driving times are not more than the driving times threshold, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the current driving times are larger than the driving time threshold, stopping the current driving;
and sending the fault information to corresponding vehicle-mounted equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and clearing the current driving times.
In one embodiment, the computer program when executed by the processor further performs the steps of:
adding 1 to the current driving times;
and acquiring the driving times after adding 1 as new current driving times.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the current driving current is larger than the driving current threshold, returning to the step of adding 1 to the current driving times.
In one embodiment, the computer program when executed by the processor further performs the steps of:
collecting vehicle state information;
and if the vehicle state information is the preset vehicle state, invoking daytime running lamp driving control.
In one embodiment, the computer program when executed by the processor further comprises:
the preset vehicle state includes at least one of ignition switch state information, position light switch state information, left and right turn light switch state information, and hazard warning switch state information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A daytime running lamp driving control method is applied to an on-board controller, and comprises the following steps:
acquiring the current driving times;
if the current driving times are not greater than the driving times threshold value, outputting driving voltage;
monitoring a driving current corresponding to the driving voltage, acquiring the driving current, and comparing the driving current with a driving current threshold;
and if the driving current is not greater than the driving current threshold value, keeping electrifying and lighting the daytime running lamp.
2. The method of claim 1, further comprising:
if the current driving times are larger than the driving times threshold, stopping the current driving;
and sending the fault information to corresponding vehicle-mounted equipment.
3. The method of claim 1, wherein prior to said obtaining a current number of drives, the method further comprises:
and clearing the current driving times.
4. The method of claim 3, wherein the obtaining the current driving times comprises:
adding 1 to the current driving times;
and acquiring the driving frequency added with 1 as a new current driving frequency.
5. The method of claim 4, further comprising:
and if the current driving current is larger than the driving current threshold, returning to the step of adding 1 to the current driving times.
6. The method of claim 1, wherein prior to obtaining the current number of drives, the method further comprises:
collecting vehicle state information;
and if the vehicle state information is a preset vehicle state, invoking daytime running lamp driving control.
7. The method of claim 6, wherein the preset vehicle state comprises at least one of ignition switch state information, position light switch state information, left and right turn light switch state information, and hazard warning switch state information.
8. A daytime running light drive control device, characterized by comprising:
the logic starting module is used for acquiring the current driving times;
the frequency counting module is used for outputting driving voltage if the current driving frequency is not greater than a driving frequency threshold;
the current monitoring module is used for monitoring the driving current corresponding to the driving voltage, acquiring the driving current and comparing the driving current with a driving current threshold value;
and the vehicle lamp driving module is used for keeping electrifying and lighting the daytime running lamp if the driving current is not greater than the driving current threshold value.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110340850.6A 2021-03-30 2021-03-30 Daytime running lamp drive control method and device, computer equipment and storage medium Active CN113071405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110340850.6A CN113071405B (en) 2021-03-30 2021-03-30 Daytime running lamp drive control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110340850.6A CN113071405B (en) 2021-03-30 2021-03-30 Daytime running lamp drive control method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113071405A true CN113071405A (en) 2021-07-06
CN113071405B CN113071405B (en) 2022-12-09

Family

ID=76611663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110340850.6A Active CN113071405B (en) 2021-03-30 2021-03-30 Daytime running lamp drive control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113071405B (en)

Citations (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000185593A (en) * 1998-12-22 2000-07-04 Stanley Electric Co Ltd Lamp control system for vehicle
JP2007015654A (en) * 2005-07-11 2007-01-25 Calsonic Kansei Corp Correction method of directional light disconnection detection threshold of control device of directional light for vehicle
JP2010235109A (en) * 2009-03-12 2010-10-21 Autonetworks Technologies Ltd Load drive device and load drive system
KR20110037674A (en) * 2009-10-07 2011-04-13 대성전기공업 주식회사 An apparatus for extending a durability of vehicle lamp and control method thereof
CN103379714A (en) * 2012-04-20 2013-10-30 株式会社小糸制作所 Semiconductor light source lighting circuit
JP2014040142A (en) * 2012-08-21 2014-03-06 Rohm Co Ltd Leak current detection circuit, semiconductor device, led lighting device, and vehicle
CN104661876A (en) * 2012-09-27 2015-05-27 矢崎总业株式会社 Brake light drive control device
US20150181668A1 (en) * 2013-12-20 2015-06-25 Generalplus Technology Inc. Integrated light emitting diode lamp and data transmission circuit and synchronization circuit thereof
US20160096467A1 (en) * 2014-10-02 2016-04-07 Koito Manufacturing Co., Ltd. Vehicle lamp and lighting circuit thereof
JP2017070004A (en) * 2015-09-28 2017-04-06 ルネサスエレクトロニクス株式会社 Semiconductor device
CN106564424A (en) * 2016-10-28 2017-04-19 马瑞利汽车零部件(芜湖)有限公司 Control circuit for conducting switching between automobile daytime running lamps and position lamp
CN206498558U (en) * 2016-11-16 2017-09-15 重庆莱锐达科技有限责任公司 LED car lamp intelligent control drive circuit system
CN206821047U (en) * 2017-05-18 2017-12-29 科博达技术股份有限公司 The dummy load circuit of LED controller for daytime running light
US20180098393A1 (en) * 2016-09-30 2018-04-05 Panasonic Intellectual Property Management Co., Ltd. Solid-state light source lighting device, luminaire, vehicle lamp, and two-wheeled vehicle
CN107901856A (en) * 2017-10-26 2018-04-13 中国第汽车股份有限公司 Halogen lamp input voltage optimal control method
CN108116308A (en) * 2018-01-10 2018-06-05 东风商用车有限公司 Control system for replacing brake lamp with rear fog lamp and use method of control system
CN110371149A (en) * 2019-08-12 2019-10-25 中车株洲电力机车有限公司 The method and device of the malfunction monitoring of locomotive headlamp
CN111315065A (en) * 2018-12-11 2020-06-19 株式会社小糸制作所 Lighting circuit and vehicle lamp
JP2020098718A (en) * 2018-12-18 2020-06-25 株式会社デンソー Vehicle light controller
CN211209981U (en) * 2019-11-05 2020-08-07 华域视觉科技(上海)有限公司 Constant current driving structure for automobile signal lamp
CN111516698A (en) * 2020-04-08 2020-08-11 中国第一汽车股份有限公司 Driving assistance system control method, driving assistance system, vehicle, and storage medium
US20200359475A1 (en) * 2019-05-07 2020-11-12 Idesyn Semiconductor Corp. Self-adaptive dimming driving system
CN111976584A (en) * 2020-08-25 2020-11-24 中国第一汽车股份有限公司 Control method, device and equipment of car lamp and car
WO2021010325A1 (en) * 2019-07-12 2021-01-21 株式会社小糸製作所 Lighting circuit and vehicular lamp
CN112291888A (en) * 2020-09-11 2021-01-29 深圳市天微电子股份有限公司 LED open circuit detection circuit and method, LED drive chip and drive method
WO2021020538A1 (en) * 2019-08-01 2021-02-04 株式会社小糸製作所 Lamp module and lighting circuit therefor
CN112423450A (en) * 2020-11-13 2021-02-26 上海耀通电子仪表有限公司 Vehicle lamp control device and vehicle lamp control method

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000185593A (en) * 1998-12-22 2000-07-04 Stanley Electric Co Ltd Lamp control system for vehicle
JP2007015654A (en) * 2005-07-11 2007-01-25 Calsonic Kansei Corp Correction method of directional light disconnection detection threshold of control device of directional light for vehicle
JP2010235109A (en) * 2009-03-12 2010-10-21 Autonetworks Technologies Ltd Load drive device and load drive system
KR20110037674A (en) * 2009-10-07 2011-04-13 대성전기공업 주식회사 An apparatus for extending a durability of vehicle lamp and control method thereof
CN103379714A (en) * 2012-04-20 2013-10-30 株式会社小糸制作所 Semiconductor light source lighting circuit
JP2014040142A (en) * 2012-08-21 2014-03-06 Rohm Co Ltd Leak current detection circuit, semiconductor device, led lighting device, and vehicle
CN104661876A (en) * 2012-09-27 2015-05-27 矢崎总业株式会社 Brake light drive control device
US20150224922A1 (en) * 2012-09-27 2015-08-13 Yazaki Corporation Brake light drive control device
US20150181668A1 (en) * 2013-12-20 2015-06-25 Generalplus Technology Inc. Integrated light emitting diode lamp and data transmission circuit and synchronization circuit thereof
US20160096467A1 (en) * 2014-10-02 2016-04-07 Koito Manufacturing Co., Ltd. Vehicle lamp and lighting circuit thereof
JP2017070004A (en) * 2015-09-28 2017-04-06 ルネサスエレクトロニクス株式会社 Semiconductor device
US20180098393A1 (en) * 2016-09-30 2018-04-05 Panasonic Intellectual Property Management Co., Ltd. Solid-state light source lighting device, luminaire, vehicle lamp, and two-wheeled vehicle
CN106564424A (en) * 2016-10-28 2017-04-19 马瑞利汽车零部件(芜湖)有限公司 Control circuit for conducting switching between automobile daytime running lamps and position lamp
CN206498558U (en) * 2016-11-16 2017-09-15 重庆莱锐达科技有限责任公司 LED car lamp intelligent control drive circuit system
CN206821047U (en) * 2017-05-18 2017-12-29 科博达技术股份有限公司 The dummy load circuit of LED controller for daytime running light
CN107901856A (en) * 2017-10-26 2018-04-13 中国第汽车股份有限公司 Halogen lamp input voltage optimal control method
CN108116308A (en) * 2018-01-10 2018-06-05 东风商用车有限公司 Control system for replacing brake lamp with rear fog lamp and use method of control system
CN111315065A (en) * 2018-12-11 2020-06-19 株式会社小糸制作所 Lighting circuit and vehicle lamp
JP2020098718A (en) * 2018-12-18 2020-06-25 株式会社デンソー Vehicle light controller
US20200359475A1 (en) * 2019-05-07 2020-11-12 Idesyn Semiconductor Corp. Self-adaptive dimming driving system
WO2021010325A1 (en) * 2019-07-12 2021-01-21 株式会社小糸製作所 Lighting circuit and vehicular lamp
WO2021020538A1 (en) * 2019-08-01 2021-02-04 株式会社小糸製作所 Lamp module and lighting circuit therefor
CN110371149A (en) * 2019-08-12 2019-10-25 中车株洲电力机车有限公司 The method and device of the malfunction monitoring of locomotive headlamp
CN211209981U (en) * 2019-11-05 2020-08-07 华域视觉科技(上海)有限公司 Constant current driving structure for automobile signal lamp
CN111516698A (en) * 2020-04-08 2020-08-11 中国第一汽车股份有限公司 Driving assistance system control method, driving assistance system, vehicle, and storage medium
CN111976584A (en) * 2020-08-25 2020-11-24 中国第一汽车股份有限公司 Control method, device and equipment of car lamp and car
CN112291888A (en) * 2020-09-11 2021-01-29 深圳市天微电子股份有限公司 LED open circuit detection circuit and method, LED drive chip and drive method
CN112423450A (en) * 2020-11-13 2021-02-26 上海耀通电子仪表有限公司 Vehicle lamp control device and vehicle lamp control method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘益宏等: "LED汽车前照灯驱动电路设计与仿真", 《现代电子技术》 *
毛兴武: "UBA2028可调光节能灯控制器原理与应用", 《电子世界》 *
钱田义等: "一种汽车转向灯双闪控制方法的研究", 《陕西理工学院学报(自然科学版)》 *

Also Published As

Publication number Publication date
CN113071405B (en) 2022-12-09

Similar Documents

Publication Publication Date Title
JP6652103B2 (en) Automatic driving control system for vehicles
CN109808682B (en) Unmanned vehicle parking method and device and terminal
CN107428297B (en) Vehicle control device and control method thereof
DE102015114850A1 (en) Vehicle with power management
US9124092B2 (en) Pulse width modulation controller
US20220185209A1 (en) Power network for a motor vehicle and method for operating a power network for a motor vehicle
CN113071405B (en) Daytime running lamp drive control method and device, computer equipment and storage medium
US11828784B2 (en) Method for checking an output stage for controlling a load
CN115635851B (en) Vehicle-mounted intelligent power distribution system, control method and storage medium
CN204576251U (en) A kind of real-time bus remote monitoring and fault feedback device
CN102107631B (en) Car bus system and control method for emergency driving
CN111976489B (en) Method for operating an electrically driven motor vehicle and motor vehicle
CN113311835A (en) Method for reducing driving risk of automatic driving vehicle
KR20130113743A (en) Vehicle breakdown notice method and device
CN110758233A (en) Automobile brake lamp control circuit, method and device and automobile
KR20220053762A (en) Apparatus for supporting safety of deiver and method thereof
CN115610346B (en) Automobile risk control method, automobile, computer equipment and storage medium
CN220682312U (en) Power supply system of vehicle and vehicle with same
CN118068678A (en) Remote control parking control method and device, vehicle and storage medium
US20230283094A1 (en) Technologies for providing contingency vehicular caution/emergency signaling
CN215681907U (en) Vehicle power supply redundancy system and vehicle
CN213043432U (en) MIC short-circuit protection circuit based on T-BOX
CN116061808A (en) Automobile brake lamp fault prompting method, device, equipment and storage medium
CN116006682A (en) High-speed gear control method and device for new energy automobile
CN117601785A (en) Vehicle warning method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant