CN113775415B - Driving state determining method and device for indicator lamp - Google Patents

Driving state determining method and device for indicator lamp Download PDF

Info

Publication number
CN113775415B
CN113775415B CN202111063883.7A CN202111063883A CN113775415B CN 113775415 B CN113775415 B CN 113775415B CN 202111063883 A CN202111063883 A CN 202111063883A CN 113775415 B CN113775415 B CN 113775415B
Authority
CN
China
Prior art keywords
message
indicator lamp
instrument
engine
driving state
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.)
Active
Application number
CN202111063883.7A
Other languages
Chinese (zh)
Other versions
CN113775415A (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.)
Weichai Power Co Ltd
Original Assignee
Weichai Power 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 Weichai Power Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202111063883.7A priority Critical patent/CN113775415B/en
Publication of CN113775415A publication Critical patent/CN113775415A/en
Application granted granted Critical
Publication of CN113775415B publication Critical patent/CN113775415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02BINTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
    • F02B77/00Component parts, details or accessories, not otherwise provided for
    • F02B77/08Safety, indicating, or supervising devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Lighting Device Outwards From Vehicle And Optical Signal (AREA)

Abstract

The invention provides a method and a device for determining the driving state of an indicator lamp, wherein the method comprises the following steps: a first Controller Area Network (CAN) bus is used for sending a first indication message to an instrument of an engine, wherein the instrument feeds back a first response message when the instrument successfully drives an indication lamp indicated by the first indication message to be lightened; and when a first response message fed back by the instrument is received, setting the driving state of the indicator lamp as message driving. The engine of the invention determines whether the instrument receives the message or not and successfully drives the indicator lamp to light up, and then sets the driving state of the indicator lamp, thereby improving the accuracy of determining the driving state of the indicator lamp.

Description

Driving state determining method and device for indicator lamp
Technical Field
The present invention relates to engine technologies, and in particular, to a method and apparatus for determining a driving state of an indicator lamp.
Background
In the field of engine control, the driving mode of the indicator lamp comprises message driving. Message drive refers to the engine's meter driving the pilot lamp that message signal indicates to light.
In the prior art, after an Electronic Control Unit (ECU) of an engine sends a message to an instrument, the driving state of an indicator lamp is set to be message driving. The engine cannot know whether the instrument receives the message and whether the instrument drives the indicator lamp to light up, so that the determination of the driving state of the indicator lamp is inaccurate.
Disclosure of Invention
The invention provides a method and a device for determining the driving state of an indicator lamp, which are used for solving the problem that the determination of the driving state of the indicator lamp is inaccurate.
In one aspect, the present invention provides a driving state determining method of an indicator lamp, including:
a first Controller Area Network (CAN) bus is used for sending a first indication message to an instrument of an engine, wherein the instrument feeds back a first response message when an indication lamp indicated by the first indication message is successfully driven to be lightened by the instrument;
and when the first response message fed back by the instrument is received, setting the driving state of the indicator lamp as message driving.
In an embodiment, after the step of sending the first indication message to the meter of the engine by using the first controller area network CAN bus, the method further includes:
when a first response message fed back by the instrument is not received within a first preset time period, a second indication message is sent to the instrument by using a second CAN bus;
and when a second response message fed back by the instrument is received, setting the driving state of the indicator lamp as a message 2 drive, wherein the message drive comprises a message 1 drive and the message 2 drive, and the message 1 drive is set when the engine receives the first response message.
In an embodiment, after the step of sending the second indication message to the meter using the second CAN bus, the method further includes:
and when a second response message fed back by the instrument is not received within the second preset time, detecting whether the indicator lamp is connected with the hard wire, outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails when the indicator lamp is not connected with the hard wire, and setting the driving state of the indicator lamp as a default state, wherein the indicator lamp in the default state is not lighted.
In an embodiment, after the step of detecting whether the indicator light is connected to the hard line, the method further includes:
and when the indicator lamp is connected with the hard wire, setting the driving state of the indicator lamp as hard wire driving.
In an embodiment, before the step of sending the first indication message to the meter of the engine by using the first CAN bus, the method further includes:
detecting whether the indicator lamp is connected with a hard wire or not;
the step of sending a first indication message to an instrument of the engine by using a first Controller Area Network (CAN) bus comprises the following steps of:
and when the indicator lamp is not connected with the hard wire, a first CAN bus is used for sending a first indicator message to an instrument of the engine.
In an embodiment, after the step of detecting whether the indicator light is connected to the hard line, the method further includes:
and when the indicator lamp is connected with the hard wire, setting the driving state of the indicator lamp as hard wire driving.
In an embodiment, after the step of sending the second indication message to the meter using the second CAN bus, the method further includes:
and when a second response message fed back by the instrument is not received within a second preset time period, outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails, and setting the driving state of the indicator lamp to be a default state, wherein the indicator lamp in the default state is not lighted.
In an embodiment, when the determined state of the indicator light is hard-wire driving, the reminding function of the message fault is turned off.
In an embodiment, when the driving state of the indicator light is a message 1 driving or a message 2 driving, the warning function of the hard line fault is turned off.
In another aspect, the present invention also provides an engine, including:
the device comprises a sending module, a first response message and a second response message, wherein the sending module is used for sending a first indication message to an instrument of an engine by using a first Controller Area Network (CAN) bus, wherein the instrument feeds back the first response message when an indication lamp indicated by the first indication message is successfully driven to be lightened by the instrument;
and the setting module is used for setting the driving state of the indicator lamp as message driving when the first response message fed back by the instrument is received.
In another aspect, the present invention also provides an engine, including: the system comprises a first CAN bus, an instrument, an indicator light, a memory and a processor;
the first CAN bus is connected with the instrument and used for sending a first indication message to the instrument;
the instrument is connected with the indicator lamp and is used for driving the indicator lamp to light according to the first indication message;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, causing the processor to perform the driving state determining method of the indicator lamp as described above.
In another aspect, the present invention also provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the driving state determining method of the indicator lamp as described above when executed by a processor.
In another aspect, the present invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the method for determining the driving state of an indicator light as described above.
According to the driving state determining method of the indicator lamp, the engine sends the first indicator message to the instrument of the engine by using the first CAN bus, when the instrument successfully drives the indicator lamp indicated by the first indicator message to be lighted, the first response message is fed back to the engine, and the engine sets the driving state of the indicator lamp as message driving based on the received first response message. According to the invention, the engine sends the indication message to the instrument through the CAN bus, the instrument feeds back the first response message to the engine after the indication lamp indicated by the drive indication message is lightened, the engine CAN determine that the instrument has received the message and successfully lightens the indication lamp based on the first response message, and the engine sets the driving state of the indication lamp as the message drive, namely, the engine determines whether the instrument has received the message and successfully drives the indication lamp to lighten according to the determination result, and sets the driving state of the indication lamp, so that the determination accuracy of the driving state of the indication lamp is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram of signal processing involved in a method for determining driving status of an indicator lamp according to the present invention;
FIG. 2 is a flowchart of a driving status determining method of an indicator lamp according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a driving status determining method of an indicator lamp according to a second embodiment of the present invention;
FIG. 4 is a functional block diagram of an engine according to the present invention;
fig. 5 is a schematic diagram of the hardware structure of the engine of the present invention.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The invention provides a driving state determining method of an indicator lamp, which is realized through a signal processing schematic diagram shown in fig. 1. In the field of engine control, the indicator lamp driving method includes: message driving and hard wire driving. The message driving means that an ECU (Electronic Control Unit, ECU for short) of the engine sends a message through an instrument of the CAN longitudinal engine, and the message comprises data of an indicator lamp driven by the indicator instrument, namely the message driving realizes the driving of the indicator lamp through data transmission. The hard wire driving means that the indicator lamp is connected with the hard wire of the ECU, the ECU sends a signal to the indicator lamp through the hard wire, the signal comprises a high level and a low level, and the hard wire determines that the driving of the indicator lamp is realized through the high level and the low level.
As shown in fig. 1, the message state 1 represents a first CAN bus, the message state 2 represents a second CAN bus, and the first CAN bus and the second CAN bus are connected with one end of a message selecting switch, that is, the ECU CAN select the first CAN bus or the second CAN bus to send a message to the meter through the message selecting switch. In addition, the ECU is connected to the indicator lamp through a hard wire, and the ECU may drive the indicator lamp to light up based on the hard wire.
After determining that the driving mode of the indicator lamp is message state 1 or message state 2, the ECU sends the message state information to the signal source selection switch, and the signal source selection switch selects the message source in the message state to display the driving state of the indicator lamp as message driving. If the ECU determines that the state of the indicator lamp is hard-wire driving, the ECU sends information of the hard-wire state to the signal source selection switch, and the signal source selection switch selects the signal source in the hard-wire state to display that the driving state of the indicator lamp is hard-wire driving.
The following describes the technical scheme of the present invention and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a first embodiment of a driving state determining method of an indicator lamp according to the present invention, the driving state determining method of the indicator lamp includes the steps of:
step S10, a first Controller Area Network (CAN) bus is used for sending a first indication message to an instrument of an engine, wherein the instrument feeds back a first response message when the instrument successfully drives an indication lamp indicated by the first indication message to be lightened;
in the present embodiment, the execution body is an engine. The engine is provided with a first CAN bus which is connected with an instrument of the engine. The meter may drive an indicator light of the engine to illuminate. When the engine needs to light the indicator lamp, the identification information of the indicator lamp is obtained, and then a message is generated through the identification information, namely the message comprises the information of the indicator lamp which needs to be driven by the instrument. The identification information characterizes the unique identity of the indicator light, for example, the identification information may be the number of the indicator light.
The engine transmits a message to an instrument of the transmitter by using the first CAN bus, and the message transmitted by the first CAN bus is defined as a first indication message. After the instrument receives the first indication message, the instrument analyzes the first indication message, so that the indication lamp needing to be driven is determined, and the instrument drives the indication lamp to be lighted. The instrument is provided with response logic, and the response logic is: after the indicator light is turned on, the instrument feeds back a message to the engine, and the fed back message is defined as a first response message.
In addition, the engine sends a first indication message through the first CAN bus and simultaneously sends a request message to the instrument, and the request message requests the instrument to feed back the information of the successfully-lighted indication lamp to the engine after the indication lamp is successfully driven to be lighted. The request message is defined as a first request message.
Step S20, when a first response message fed back by the instrument is received, setting the driving state of the indicator lamp as a message driving state.
When the engine receives a first response message fed back by the instrument, the engine can determine that the instrument successfully receives the first indication message, the instrument successfully drives an indication lamp indicated by the first indication message to be on, and the engine can set the driving state of the indication lamp as message driving.
In the technical scheme provided by the embodiment, the engine sends a first indication message to the instrument of the engine by using the first CAN bus, when the instrument successfully drives the indication lamp indicated by the first indication message to be on, the first response message is fed back to the engine, and the engine sets the driving state of the indication lamp as message driving based on the received first response message. According to the invention, the engine sends the indication message to the instrument through the CAN bus, the instrument feeds back the first response message to the engine after the indication lamp indicated by the drive indication message is lightened, the engine CAN determine that the instrument has received the message and successfully lightens the indication lamp based on the first response message, and the engine sets the driving state of the indication lamp as the message drive, namely, the engine determines whether the instrument has received the message and successfully drives the indication lamp to lighten according to the determination result, and sets the driving state of the indication lamp, so that the determination accuracy of the driving state of the indication lamp is improved.
Referring to fig. 3, fig. 3 is a second embodiment of a driving state determining method of an indicator lamp according to the present invention, based on the first embodiment, after step S10, further including:
step S30, when a first response message fed back by the instrument is not received within a first preset time period, a second indication message is sent to the instrument by using a second CAN bus;
and step S40, setting the driving state of the indicator lamp as a message 2 driver when receiving a second response message fed back by the instrument, wherein the message driver comprises a message 1 driver and a message 2 driver, and the message 1 driver is set when receiving a first response message.
In this embodiment, the engine is further provided with a second CAN bus, and the engine CAN select the first CAN bus or the second CAN bus to send a message to the meter through the message selecting switch.
The first preset duration may be any suitable value, for example, the first preset duration is 1min. When the engine does not receive a first response message fed back by the instrument within a first preset time period, the first CAN bus is switched to a second CAN bus, and the second CAN bus is used for sending the message to the instrument. The message sent through the second CAN bus is defined as a second indication message.
After the instrument receives the second indication message, the instrument analyzes the second indication message, so that the indication lamp to be driven is determined, and the instrument drives the indication lamp to light. The instrument is provided with response logic, and the response logic is: after the indicator light is turned on, the instrument feeds back a message to the engine, and the fed-back message is defined as a second response message.
In addition, the engine sends a second indication message through the second CAN bus and simultaneously sends a request message to the instrument, and the request message requests the instrument to feed back the information of the successfully-lighted indication lamp to the engine after the indication lamp is successfully driven to be lighted. The request message is defined as a second request message.
When the engine receives a second response message fed back by the instrument, the instrument can be determined to successfully receive the second indication message, the instrument successfully drives the indication lamp indicated by the second indication message to be on, and the engine can set the driving state of the indication lamp as the driving state of the message 2. The message drivers include a message 1 driver and a message 2 driver, the message 1 driver being set when the engine receives a first response message, and the message 2 driver being set when the engine receives a second response message.
Further, after the engine sends a second indication message to the instrument by using the second CAN bus, whether a second response message is received within a second preset duration is judged. The second preset duration may be any suitable value, for example, the second preset duration may be 2 minutes.
And if the second response message fed back by the instrument is received, setting the driving state of the indicator lamp as a message 2 driving state. If the second response message fed back by the instrument is not received within the second preset time, whether the indicator lamp is connected with the hard wire or not is detected. Specifically, the engine can detect whether the hard wire open circuit fault diagnosis is set, if not, the indication lamp is connected with the hard wire; if the indicating lamp is set, the indicating lamp is not connected with the hard wire.
When the indication lamp is not connected with the hard wire, the fault of the hard wire can be determined, and the engine outputs the indication information of the fault of the indication lamp, the fault of the hard wire and the message line, namely, the related fault of the hard wire connection of the indication lamp, the related faults of the unsuccessful receiving of the message 1 and the message 2 and the like are simultaneously reported. The engine may also set the driving state of the indicator light to a default state, which indicates that the indicator light is not lit. If the indicator light is connected with the hard wire, the driving state of the indicator light is set to be hard wire driving.
When the driving state of the indicator lamp is hard-wire driving, the engine turns off the reminding function of the message fault, namely the reminding information of the message fault is prevented from being sent out by the engine. When the driving state of the indicator lamp is message driving 1 or message driving 2, the engine turns off the reminding function of the hard line fault, namely the reminding information of the hard line fault is prevented from being reported by the engine.
In the technical scheme provided by the embodiment, when the engine does not receive the first response message fed back by the instrument within the first preset time, the second CAN bus is used for sending the second indication message to the instrument, if the second response message fed back by the instrument is received, the driving state of the indicator lamp is set to be the message 2 driving state, namely, the engine is provided with a plurality of CAN buses, so that the message CAN be successfully sent to the instrument.
In an embodiment, in addition, the hard wire drive and the message drive are provided with corresponding priorities, if the priority of the message drive is higher than that of the hard wire drive, the first CAN bus is adopted to send a first indication message to the instrument, if the first response message is not received within a first preset time period, the second CAN bus is adopted to send a second indication message to the instrument, if the second response message is not received within a second preset time period, whether the indication lamp is connected with the hard wire is detected, and if the indication lamp is connected with the hard wire, the driving state of the indication lamp is set to be the hard wire drive.
If the priority of the message drive is lower than that of the hard wire drive, the engine detects whether the indicator lamp is connected with the hard wire. If the indicator lamp is not connected with the hard wire, a first CAN bus is used for sending a first indicator message to the instrument, if the first response message is not received within a first preset time period, a second CAN bus is used for sending a second indicator message to the instrument, if the second response message is not received within a second preset time period, the indicator lamp is not connected with the hard wire and the prompting information of the fault of the message line is output, the driving state of the indicator lamp is set to be a default state, and the indicator lamp in the default state is not lighted. If the indicator light is connected with the hard wire, the driving state of the indicator light is set to be hard wire driving.
The present invention also provides an engine, referring to fig. 4, an engine 400 includes:
the sending module 401 is configured to send a first indication message to an instrument of the engine by using a first controller area network CAN bus, where the instrument feeds back a first response message when the instrument successfully drives an indication lamp indicated by the first indication message to be turned on;
the setting module 402 is configured to set a driving state of the indicator light to be a message driving state when receiving a first response message fed back by the meter.
In one embodiment, engine 400 includes:
the sending module 401 is configured to send a second indication message to the meter by using a second CAN bus when the first response message fed back by the meter is not received within a first preset duration;
the setting module 402 is configured to set, when receiving a second response message fed back by the meter, a driving state of the indicator lamp to be a message 2 driver, where the message driver includes a message 1 driver and a message 2 driver, and the message 1 driver is set when the engine receives the first response message.
In one embodiment, engine 400 includes:
the detection module is used for detecting whether the indicator lamp is connected with the hard wire or not when a second response message fed back by the instrument is not received within a second preset time period, outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails when the indicator lamp is not connected with the hard wire, and setting the driving state of the indicator lamp as a default state, wherein the indicator lamp in the default state is not lighted.
In one embodiment, engine 400 includes:
the setting module 402 is configured to set the driving state of the indicator light to be hard-wired driving when the indicator light is connected to the hard-wired.
In one embodiment, engine 400 includes:
the detection module is used for detecting whether the indicator lamp is connected with the hard wire or not;
and the sending module 401 is configured to send a first indication message to an instrument of the engine by using the first CAN bus when the indicator light is not connected to the hard wire.
In one embodiment, engine 400 includes:
the setting module 402 is configured to set the driving state of the indicator light to be hard-wired driving when the indicator light is connected to the hard-wired.
In one embodiment, engine 400 includes:
and the output module is used for outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails when a second response message fed back by the instrument is not received within a second preset time period, and setting the driving state of the indicator lamp as a default state, wherein the indicator lamp in the default state is not lighted.
Fig. 5 is a schematic diagram showing a hardware configuration of an engine according to an exemplary embodiment.
The engine 500 may include: a processor 51, such as a CPU, a memory 52 and a transceiver 53. It will be appreciated by those skilled in the art that the configuration shown in fig. 5 is not limiting of the gas monitoring device and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components. The memory 52 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The processor 51 may call a computer program stored in the memory 52 to complete all or part of the steps of the method for determining the driving state of the indicator lamp described above.
The transceiver 53 is used to receive information transmitted from an external device and transmit information to the external device.
A non-transitory computer readable storage medium, which when executed by a processor of an engine, causes a gas monitoring device to perform the above-described method of determining a driving state of an indicator light.
A computer program product comprising a computer program which, when executed by a processor of an engine, enables a monitoring device for gas to perform the above-described method of determining the driving state of an indicator light.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (11)

1. A driving state determining method of an indicator lamp, which is applied to an engine, comprising:
a first Controller Area Network (CAN) bus is used for sending a first indication message to an instrument of an engine, and sending a request message to the instrument, wherein the request message is used for requesting the instrument to feed back information of the successfully-lighted indication lamp to the engine after the indication lamp is successfully driven to be lighted, and the instrument feeds back a first response message when the indication lamp indicated by the first indication message is successfully driven to be lighted;
and when the first response message fed back by the instrument is received, setting the driving state of the indicator lamp as message driving, and closing the reminding function of the hard wire fault.
2. The method for determining a driving state of an indicator lamp according to claim 1, further comprising, after the step of sending the first indication message to an instrument of the engine using the first controller area network CAN bus:
when a first response message fed back by the instrument is not received within a first preset time period, a second indication message is sent to the instrument by using a second Controller Area Network (CAN) bus;
and when a second response message fed back by the instrument is received, setting the driving state of the indicator lamp as a message 2 drive, wherein the message drive comprises a message 1 drive and the message 2 drive, and the message 1 drive is set when the engine receives the first response message.
3. The method of determining a driving state of an indicator lamp according to claim 2, further comprising, after the step of transmitting a second indication message to the meter using a second controller area network CAN bus:
and when a second response message fed back by the instrument is not received within a second preset time period, detecting whether the indicator lamp is connected with the hard wire, outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails when the indicator lamp is not connected with the hard wire, and setting the driving state of the indicator lamp as a default state, wherein the indicator lamp in the default state is not lighted.
4. The method of determining a driving state of an indicator lamp according to claim 3, further comprising, after the step of detecting whether the indicator lamp is connected to a hard wire:
and when the indicator lamp is connected with the hard wire, setting the driving state of the indicator lamp as hard wire driving.
5. The method for determining a driving state of an indicator lamp according to claim 2, further comprising, before the step of sending the first indication message to the meter of the engine using the first controller area network CAN bus:
detecting whether the indicator lamp is connected with a hard wire or not;
the step of sending a first indication message to an instrument of the engine by using a first Controller Area Network (CAN) bus comprises the following steps of:
and when the indicator lamp is not connected with the hard wire, a first Controller Area Network (CAN) bus is used for sending a first indicator message to an instrument of the engine.
6. The method of claim 5, wherein after the step of detecting whether the indicator light is connected to a hard wire, further comprising:
and when the indicator lamp is connected with the hard wire, setting the driving state of the indicator lamp as hard wire driving.
7. The method of claim 5, further comprising, after the step of sending a second indication message to the meter using a second controller area network CAN bus:
and when a second response message fed back by the instrument is not received within a second preset time period, outputting prompt information that the indicator lamp is not connected with the hard wire and the message line fails, and setting the driving state of the indicator lamp to be a default state, wherein the indicator lamp in the default state is not lighted.
8. The method for determining a driving state of an indicator light according to claim 4 or 6, wherein when the determined state of the indicator light is a hard wire driving, a message fault reminding function is turned off.
9. An engine, comprising:
the device comprises a sending module, a first response message and a second response message, wherein the sending module is used for sending a first indication message to an instrument of an engine by using a first Controller Area Network (CAN) bus and sending a request message to the instrument, wherein the request message is used for requesting the instrument to feed back information of the successfully-lighted indicator lamp to the engine after the indicator lamp is successfully driven to be lighted, and the instrument feeds back the first response message when the indicator lamp indicated by the first indication message is successfully driven to be lighted;
and the setting module is used for setting the driving state of the indicator lamp as message driving and closing the reminding function of the hard wire fault when the first response message fed back by the instrument is received.
10. An engine, comprising: the first controller area network CAN bus, the instrument, the indicator light, the memory and the processor;
the first controller area network CAN bus is connected with the instrument and is used for sending a first indication message to the instrument;
the instrument is connected with the indicator lamp and is used for driving the indicator lamp to light according to the first indication message;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory, so that the processor executes the driving state determining method of the indicator lamp according to any one of claims 1 to 8.
11. A computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, which when executed by a processor, are adapted to carry out the method of determining the driving state of an indicator lamp according to any one of claims 1 to 8.
CN202111063883.7A 2021-09-10 2021-09-10 Driving state determining method and device for indicator lamp Active CN113775415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111063883.7A CN113775415B (en) 2021-09-10 2021-09-10 Driving state determining method and device for indicator lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111063883.7A CN113775415B (en) 2021-09-10 2021-09-10 Driving state determining method and device for indicator lamp

Publications (2)

Publication Number Publication Date
CN113775415A CN113775415A (en) 2021-12-10
CN113775415B true CN113775415B (en) 2023-07-18

Family

ID=78842696

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111063883.7A Active CN113775415B (en) 2021-09-10 2021-09-10 Driving state determining method and device for indicator lamp

Country Status (1)

Country Link
CN (1) CN113775415B (en)

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201117091Y (en) * 2007-11-08 2008-09-17 武汉理工大学 Automobile light state feedback device based on CAN bus
CN101286940A (en) * 2008-05-12 2008-10-15 北京邮电大学 Dual-redundant CAN bus communication system and communicating method thereof
CN105323133A (en) * 2015-11-12 2016-02-10 浙江大学 CAN bus redundant communication method and system
CN105743755B (en) * 2016-04-19 2018-12-25 上海君协光电科技发展有限公司 A kind of dual-redundant CAN bus communication system
CN106444713B (en) * 2016-10-20 2019-06-18 北京精密机电控制设备研究所 A kind of more intelligent single machine servo-control systems based on dual-redundant CAN bus communication
CN108205305B (en) * 2016-12-20 2020-05-19 比亚迪股份有限公司 Train network control system and method based on CAN
US10569701B2 (en) * 2017-03-31 2020-02-25 Valeo North America, Inc. Systems and methodologies for controlling a vehicle light
CN109104349B (en) * 2017-06-21 2020-11-20 比亚迪股份有限公司 Train network data transmission method, system and device based on CANopen protocol
CN107380028B (en) * 2017-07-28 2019-02-22 安徽江淮汽车集团股份有限公司 A kind of control method and system of car seat heating ventilation limping mode
CN208915110U (en) * 2018-09-30 2019-05-31 中国重汽集团济南动力有限公司 A kind of CAN bus based distributed truck body lamp light control system
CN210270119U (en) * 2019-05-28 2020-04-07 常州星宇车灯股份有限公司 Car light detection device based on CAN bus control
CN110901559B (en) * 2019-11-09 2022-11-11 南京金龙客车制造有限公司 Redundancy deviation rectifying structure and method for speed and accumulated mileage of combination instrument
CN113315091B (en) * 2020-02-26 2023-07-11 比亚迪股份有限公司 Motor control system and vehicle

Also Published As

Publication number Publication date
CN113775415A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US8954219B2 (en) Installed in vehicle for monitoring target section in the vehicle
US7376536B2 (en) Method for investigating cause of decrease in frequency of abnormality detections, method for improving frequency of abnormality detections and electronic control apparatus
US9563987B2 (en) Vehicle inspection verification and diagnostic unit
KR100867796B1 (en) Fault information managenent method for vehicle
JP2016134725A (en) On-vehicle unit and on-vehicle unit diagnosis system
CN110119104B (en) Vehicle-mounted communication system
KR20080086884A (en) Method for the transmission of data using self-diagnostic pulse width modulation
CN110928271A (en) Automobile self-service diagnosis method and system
JP2006253921A (en) Network system for vehicle
CN113775415B (en) Driving state determining method and device for indicator lamp
US11036573B2 (en) Control processor unit (CPU) error detection by another CPU via communication bus
US9821660B2 (en) Display system
US10310934B2 (en) Methods and systems for diagnosing a controller area network
US10417016B2 (en) Data communication system for vehicle
JP2003172199A (en) Program rewriting system for vehicular electronic control unit
CN110001551B (en) Gear determining method and device, vehicle and storage medium
JP6341069B2 (en) Electronic control unit
KR20210079091A (en) Update system and method of controller for vehicle
JP2006195739A (en) Electronic controller
CN115328080B (en) Fault detection method, device, vehicle and storage medium
KR20140141160A (en) A black Box test device for remote test of the black box and its method of operation
KR101602275B1 (en) Apparatus and method for controlling self test of vehicle
US11807254B2 (en) Apparatus providing a wiper fail-safe mode, a system having the same, and a method thereof
EP4299387A1 (en) Power system
US11983134B2 (en) Method for recognizing another electronic device by using plurality of interfaces, and electronic device therefor

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