Detection method and device for defrosting and demisting device of vehicle-mounted camera
1. A detection method of a defrosting and defogging device of a vehicle-mounted camera is characterized in that the defrosting and defogging device comprises a heating wire arranged on front glass of the vehicle-mounted camera, a vehicle provided with the vehicle-mounted camera is connected with a diagnosis computer, the vehicle comprises a vehicle controller and a vehicle actuator, and the method comprises the following steps:
the vehicle controller receives a heating instruction sent by the diagnosis computer, responds to the heating instruction, generates and sends a heating request to the vehicle actuator;
after the vehicle actuator receives the heating request, the vehicle actuator determines whether the heating wire has a fault;
if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request;
and the vehicle controller generates a fault code corresponding to the fault signal, so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
2. The method of claim 1, further comprising:
and if the heating wire has no fault, the vehicle actuator responds to the heating request and indicates the heating wire to heat.
3. The method according to claim 1, wherein the heating wire is provided in a heating wire circuit;
the vehicle actuator determining whether the heater wire is faulty, including:
the vehicle actuator acquires an electric signal fed back by the heating wire circuit and judges whether the electric signal is abnormal or not;
if the electric signal is not abnormal, the vehicle actuator determines that the heating wire has no fault;
and if the electric signal is abnormal, the vehicle actuator determines that the heating wire has a fault.
4. The method of claim 3, further comprising:
the diagnosis computer obtains the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel;
and the diagnosis computer judges the fault reason of the heating wire according to the detection result.
5. The method according to claim 4, wherein the determining the fault cause of the heating wire according to the detection result comprises:
if the detected current is smaller than a preset threshold value or the resistance is infinite, judging that the heating wire is open-circuited;
and if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal, judging that the heating wire is in short circuit.
6. The utility model provides a detection apparatus for defrosting defogging device of on-vehicle camera, its characterized in that, defogging defrosting device is including locating the heater strip of the leading glass of on-vehicle camera is provided with the vehicle and the diagnosis computer of on-vehicle camera are connected, the vehicle includes vehicle controller and vehicle executor, the device includes:
the instruction processing module is used for receiving a heating instruction sent by the diagnosis computer by the vehicle controller, responding to the heating instruction, generating and sending a heating request to the vehicle actuator;
a fault determination module for the vehicle actuator determining whether there is a fault in the heater wire after the vehicle actuator receives the heating request;
the fault signal feedback module is used for feeding back a fault signal to the vehicle controller by the vehicle actuator if the heating wire is in fault and refusing to respond to the heating request;
and the fault code display module is used for generating a fault code corresponding to the fault signal by the vehicle controller so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
7. The utility model provides a detection system of defrosting defogging device of on-vehicle camera which characterized in that includes: a vehicle controller and a vehicle actuator of a vehicle, and a diagnostic computer connected to the vehicle; the vehicle is provided with the vehicle-mounted camera; the defrosting and demisting device comprises a heating wire arranged on front glass of the vehicle-mounted camera;
the diagnostic computer is used for sending a heating instruction to the vehicle controller;
the vehicle controller is used for receiving a heating instruction sent by the diagnosis computer, responding to the heating instruction, generating and sending a heating request to the vehicle actuator;
the vehicle actuator is used for determining whether the heating wire has a fault or not after the vehicle actuator receives the heating request; if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request;
the vehicle controller is used for generating a fault code corresponding to the fault signal;
the diagnostic computer is used for reading the fault code from the vehicle controller and reminding a detector to determine whether the vehicle is repaired or not according to the fault code;
the vehicle actuator is used for acquiring an electric signal fed back by the heating wire circuit and judging whether the electric signal is abnormal or not; if the electric signal is not abnormal, the vehicle actuator determines that the heating wire has no fault; if the electric signal is abnormal, the vehicle actuator determines that the heating wire has a fault;
the diagnosis computer is used for acquiring the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel; judging the fault reason of the heating wire according to the detection result; if the detected current is smaller than a preset threshold value or the resistance is infinite, judging that the heating wire is open-circuited; and if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal, judging that the heating wire is in short circuit.
8. The system of claim 7, further comprising:
and the vehicle controller is used for responding the heating request by the vehicle actuator and indicating the heating wire to heat if the heating wire has no fault.
9. An electronic device, comprising: a processor, a memory and a computer program stored on the memory and being executable on the processor, the computer program, when executed by the processor, implementing the steps of the method for detecting an in-vehicle camera defrosting and defogging device according to any one of claims 1-5.
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 for detecting an in-vehicle camera defrosting and defogging device of any one of claims 1 to 5.
Background
In order to clearly acquire the video information of the vehicle in the driving process and avoid the influence of cold weather and wet and cold weather on the definition of the vehicle-mounted camera, a defogging and defrosting device is usually installed in front of the vehicle-mounted camera. However, at present, the defrosting and defogging device of the vehicle-mounted camera is not detected before the vehicle leaves the factory, and if a user finds the problem of failure of the defrosting and defogging device in the driving process, certain potential safety hazards can be caused, the vehicle needs to be returned to a factory for maintenance, and inconvenience is brought to the user.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a detection method for an in-vehicle camera defrosting and defogging device and a corresponding detection device for an in-vehicle camera defrosting and defogging device, which overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a detection method for a defrosting and defogging device of a vehicle-mounted camera, where the defrosting and defogging device includes a heater wire disposed on a front glass of the vehicle-mounted camera, a vehicle provided with the vehicle-mounted camera is connected with a diagnostic computer, the vehicle includes a vehicle controller and a vehicle actuator, and the method includes:
the vehicle controller receives a heating instruction sent by the diagnosis computer, responds to the heating instruction, generates and sends a heating request to the vehicle actuator;
after the vehicle actuator receives the heating request, the vehicle actuator determines whether the heating wire has a fault;
if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request;
and the vehicle controller generates a fault code corresponding to the fault signal, so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
Optionally, the method further comprises:
and if the heating wire has no fault, the vehicle actuator responds to the heating request and indicates the heating wire to heat.
Optionally, the heating wire is arranged in a heating wire circuit;
the vehicle actuator determining whether the heater wire is faulty, including:
the vehicle actuator acquires an electric signal fed back by the heating wire circuit and judges whether the electric signal is abnormal or not;
if the electric signal is not abnormal, the vehicle actuator determines that the heating wire has no fault;
and if the electric signal is abnormal, the vehicle actuator determines that the heating wire has a fault.
Optionally, the method further comprises:
the diagnosis computer obtains the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel;
and the diagnosis computer judges the fault reason of the heating wire according to the detection result.
Optionally, the determining the fault cause of the heating wire according to the detection result includes:
if the detected current is smaller than a preset threshold value or the resistance is infinite, judging that the heating wire is open-circuited;
and if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal, judging that the heating wire is in short circuit.
The embodiment of the invention also discloses a detection device of the defrosting and defogging device of the vehicle-mounted camera, the defrosting and defogging device comprises a heating wire arranged on the front glass of the vehicle-mounted camera, the vehicle provided with the vehicle-mounted camera is connected with a diagnostic computer, the vehicle comprises a vehicle controller and a vehicle actuator, and the device comprises:
the instruction processing module is used for receiving a heating instruction sent by the diagnosis computer by the vehicle controller, responding to the heating instruction, generating and sending a heating request to the vehicle actuator;
a fault determination module for the vehicle actuator determining whether there is a fault in the heater wire after the vehicle actuator receives the heating request;
the fault signal feedback module is used for feeding back a fault signal to the vehicle controller by the vehicle actuator if the heating wire is in fault and refusing to respond to the heating request;
and the fault code display module is used for generating a fault code corresponding to the fault signal by the vehicle controller so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
Optionally, the method further comprises:
and the response heating module is used for responding the heating request by the vehicle actuator and indicating the heating wire to heat if the heating wire has no fault.
Optionally, the heating wire is arranged in a heating wire circuit;
the fault determination module includes:
the signal monitoring submodule is used for acquiring an electric signal fed back by the heating wire circuit by the vehicle actuator and judging whether the electric signal is abnormal or not;
the signal normal sub-module is used for determining that the heating wire has no fault by the vehicle actuator if the electric signal is not abnormal;
and the signal abnormality submodule is used for determining that the heating wire has a fault by the vehicle actuator if the electric signal is abnormal.
Optionally, the method further comprises:
the fault detection module is used for acquiring a detection result of current, voltage or resistance in the heating wire circuit detected by a detector through the diagnostic computer;
and the fault reason determining module is used for judging the fault reason of the heating wire by the diagnosis computer according to the detection result.
Optionally, the fault detection module includes:
the open circuit determining submodule is used for judging that the heating wires are open circuit if the detected current is smaller than a preset threshold value or the resistance is infinite;
and the short circuit determining submodule is used for judging that the heating wires are in short circuit if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal.
The embodiment of the invention also discloses a detection system of the defrosting and demisting device of the vehicle-mounted camera, which comprises the following steps: a vehicle controller and a vehicle actuator of a vehicle, and a diagnostic computer connected to the vehicle; the vehicle is provided with the vehicle-mounted camera; the defrosting and demisting device comprises a heating wire arranged on front glass of the vehicle-mounted camera;
the diagnostic computer is used for sending a heating instruction to the vehicle controller;
the vehicle controller is used for receiving a heating instruction sent by the diagnosis computer, responding to the heating instruction, generating and sending a heating request to the vehicle actuator;
the vehicle actuator is used for determining whether the heating wire has a fault or not after the vehicle actuator receives the heating request; if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request;
the vehicle controller is used for generating a fault code corresponding to the fault signal;
the diagnostic computer is used for reading the fault code from the vehicle controller and reminding a detector to determine whether the vehicle is repaired or not according to the fault code;
the vehicle actuator is used for acquiring an electric signal fed back by the heating wire circuit and judging whether the electric signal is abnormal or not; if the electric signal is not abnormal, the vehicle actuator determines that the heating wire has no fault; if the electric signal is abnormal, the vehicle actuator determines that the heating wire has a fault;
the diagnosis computer is used for acquiring the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel; judging the fault reason of the heating wire according to the detection result; if the detected current is smaller than a preset threshold value or the resistance is infinite, judging that the heating wire is open-circuited; and if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal, judging that the heating wire is in short circuit.
And the vehicle controller is used for responding the heating request by the vehicle actuator and indicating the heating wire to heat if the heating wire has no fault.
The embodiment of the invention also discloses an electronic device, which comprises: the device comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the detection method for the defrosting and defogging device of the vehicle-mounted camera are realized.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the detection method for the defrosting and defogging device of the vehicle-mounted camera are realized.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the diagnosis computer sends a heating instruction to the vehicle, the vehicle controller sends a heating request to the vehicle actuator after receiving the heating instruction, and if the heating wire has a fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request; the vehicle controller generates a corresponding fault code, and the diagnostic computer reads and displays the fault code. Whether defogging defroster of on-vehicle camera breaks down can be confirmed through the trouble code to the testing personnel to further detect the trouble reason to the fault device.
Drawings
Fig. 1 is a flowchart illustrating steps of a detection method for a defrosting and defogging device of a vehicle-mounted camera according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a heating wire circuit of a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of another method for detecting a defrosting and defogging device of a vehicle-mounted camera according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention;
fig. 5 is a block diagram of a detection device of a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention;
fig. 6 is a block diagram of a detection system of a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The off-line detection of the automobile is an important link for comprehensively detecting the quality of the whole automobile and the functions of parts in the production process of the automobile, and the defrosting and demisting device of the vehicle-mounted camera can be detected before the automobile leaves a factory.
One of the core ideas of the embodiment of the invention is that a detection person can send a heating instruction to a vehicle through a diagnosis computer, determine whether a defogging and defrosting device of a vehicle-mounted camera has a fault according to a diagnosis result fed back by the vehicle, and further detect the fault reason aiming at the fault device.
Referring to fig. 1, a flowchart illustrating steps of a detection method for a defrosting and defogging device of a vehicle-mounted camera according to an embodiment of the present invention is shown, where the defrosting and defogging device includes a heater wire disposed on a front glass of the vehicle-mounted camera, a vehicle provided with the vehicle-mounted camera is connected to a diagnostic computer, the vehicle includes a vehicle controller and a vehicle actuator, and the method may specifically include the following steps:
and step 101, the vehicle controller receives a heating instruction sent by the diagnosis computer, responds to the heating instruction, generates and sends a heating request to the vehicle actuator.
The diagnosis computer is an important tool in the offline detection of the automobile, CAN realize the dialogue with each electronic control device in the automobile through a CAN (Controller Area Network) and a LIN (Local Interconnect Network) communication module, and displays the running state data and the fault information of the automobile through a display. The diagnosis computer is connected with the detection vehicle and sends a heating instruction, and when a certain circuit in the electric control system generates a signal exceeding the regulation, a detection person can quickly read the fault in the electric control system of the automobile through the diagnosis computer.
The detected vehicle comprises a vehicle controller and a vehicle actuator, wherein the vehicle controller is an electronic control unit used for controlling a vehicle body electrical system, can receive information input by a diagnosis computer, and transmits control action signals to an integrated controller assembly in a centralized manner, the integrated controller assembly performs operation amplification on the signals, the control action signals are converted into input signals of executable elements, and the execution signals are sent to the vehicle actuator. The vehicle actuator can accurately execute the command sent by the vehicle controller signal, so that the voltage of the whole vehicle is kept at the required value or in a certain range.
Fig. 2 is a schematic diagram of a heating wire circuit of a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention. The defogging and defrosting device comprises a heating wire arranged on front glass of the vehicle-mounted camera, one end of the heating wire is connected with a power supply, and the other end of the heating wire is grounded to form a heating wire circuit which is arranged in an electric control system. When the vehicle actuator executes a command signaled by the vehicle controller, the heating wires may be instructed to operate according to the set target requirements.
It should be understood by those skilled in the art that the heating wire circuit diagram of the defogging and defrosting device of the vehicle-mounted camera is only an example of the present invention, and those skilled in the art can adopt other heating wire circuit diagrams, and the present invention is not limited herein.
And 102, after the vehicle actuator receives the heating request, the vehicle actuator determines whether the heating wire has a fault or not.
In the embodiment of the invention, whether the actuator responds to the heating request is judged by electric signals, and after the vehicle actuator receives the heating request, whether the heating wire has a fault is determined according to the electric signals.
And 103, if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request.
In the embodiment of the invention, the vehicle actuator determines the fault of the heating wire, feeds back a fault signal to the vehicle controller, and refuses to respond to the heating request, the heating wire is not in a normal working state at the moment, and the heating wire does not generate heat.
And 104, the vehicle controller generates a fault code corresponding to the fault signal, so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
In the embodiment of the invention, when the voltage and the current in the heating wire circuit are not in the preset range, the heating wire circuit feeds back an abnormal electric signal to the actuator, and the vehicle actuator determines that the heating wire has a fault and feeds back a fault signal to the vehicle controller. After the vehicle controller receives the fed back fault signal, a corresponding fault Code DTC (Diagnostic Trouble Code) is generated and recorded, the Diagnostic computer reads the fault Code DTC after the vehicle controller records the fault Code for 10s, and a detector can read the fault Code from a screen of the Diagnostic computer and determine whether the vehicle is repaired according to the fault condition of the vehicle.
In the embodiment of the invention, the diagnosis computer sends a heating instruction to the vehicle, the vehicle controller sends a heating request to the vehicle actuator after receiving the heating instruction, and if the heating wire has a fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request; the vehicle controller generates a corresponding fault code, and the diagnostic computer reads and displays the fault code. Whether defogging defroster of on-vehicle camera breaks down can be confirmed through the trouble code to the testing personnel to further detect the trouble reason to the fault device.
Referring to fig. 3, a flowchart illustrating steps of a detection method for a defrosting and defogging device of a vehicle-mounted camera according to an embodiment of the present invention is shown, where the method may specifically include the following steps:
step 301, the vehicle controller receives a heating instruction sent by the diagnostic computer, responds to the heating instruction, generates and sends a heating request to the vehicle actuator.
Step 302, after the vehicle actuator receives the heating request, the vehicle actuator determines whether the heating wire has a fault.
In this embodiment of the present invention, the step 302 may include: the vehicle actuator acquires an electric signal fed back by the heating wire circuit and judges whether the electric signal is abnormal or not; if the electric signal is not abnormal, the vehicle actuator determines that the heating wire has no fault; and if the electric signal is abnormal, the vehicle actuator determines that the heating wire has a fault.
In the embodiment of the invention, whether the vehicle actuator responds to the heating request is judged by the electric signal fed back by the heating wire circuit. When the voltage and the current in the heating wire circuit are within the preset normal range, the heating wire circuit feeds back a normal electric signal to the actuator. When the voltage and the current in the heating wire circuit are not in the preset range, the heating wire circuit feeds back an abnormal electric signal to the actuator. The vehicle actuator can determine whether the heating wire has a fault according to the feedback electric signal.
And 303, if the heating wire has no fault, responding the heating request by the vehicle actuator, and indicating the heating wire to heat.
And the vehicle actuator determines that the heating wire has no fault, responds to the heating request and indicates the heating wire to heat, and the heating wire is in a normal working state at the moment and has a heating phenomenon.
In the embodiment of the invention, the voltage of the whole vehicle is 13.6V in a normal state, the resistance of the heating wire is designed to be 4.5 omega according to the material, thickness and length of the heating wire and the heating value after heating, and the circuit design current is 3A. In practical situations, the resistance of the heating wire changes along with the temperature, and the heating wire with the resistivity of 1.426-1.604 Ω/m and the length of 4m is selected, so that the resistance of the heating wire is 4-6 Ω. The voltage of the whole vehicle is 13.6V in a normal state, so that the normal current range is 2-3.5A.
In the embodiment of the invention, the vehicle actuator can accurately execute the heating instruction sent by the signal of the vehicle controller, and the heating wire is instructed to work under the condition that the voltage is 13.6V according to the set target requirement.
It should be understood by those skilled in the art that the vehicle voltage, the heating wire resistance range, and the normal current range are only examples of the present invention, and those skilled in the art can adopt other circuit parameter ranges, and the present invention is not limited herein.
And 304, if the heating wire is in fault, the vehicle actuator feeds back a fault signal to the vehicle controller and refuses to respond to the heating request.
And 305, the vehicle controller generates a fault code corresponding to the fault signal, so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detector to determine whether the vehicle is repaired or not according to the fault code.
And step 306, the diagnosis computer acquires the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel.
In the embodiment of the invention, after the fault code is read by a diagnostic computer, the current, the voltage or the resistance in the heating wire circuit is detected by a testing person through a universal meter to obtain a detection result, and the detection result can be input into the diagnostic computer by the testing person.
And 307, judging the fault reason of the heating wire by the diagnosis computer according to the detection result.
In an embodiment of the present invention, the step 307 may include the following sub-steps:
in the substep S11, if the detected current is smaller than a preset threshold value or the resistance is infinite, determining that the heating wire is open-circuited;
in one example, in the case of an open circuit of the heating wire, the resistance is infinite, the current in the circuit of the heating wire is very weak, and the preset threshold value of the current may be 0-0.5A.
And a substep S12, if the detected voltage is less than a preset threshold value or the resistance is infinitesimal, judging that the heating wire is short-circuited.
In one example, in the case of a short circuit of the heating wire, the resistance is infinitesimally small, the heating wire circuit voltage is very weak, and the voltage preset threshold may be a value almost close to 0.
In the embodiment of the invention, if the detected current is less than 0.5A or the resistance is infinite, the open circuit of the heating wire is judged; and if the detected voltage is 0 or the resistance is infinitesimal, judging that the heating wire is in short circuit.
It should be understood by those skilled in the art that the current preset threshold and the voltage preset threshold are only examples of the present invention, and those skilled in the art can use other circuit parameters to preset the threshold, and the present invention is not limited herein.
In the embodiment of the invention, the diagnosis computer sends a heating instruction to the vehicle, and the vehicle controller sends a heating request to the vehicle actuator after receiving the heating instruction, so as to obtain an electric signal fed back by the heating wire circuit; if the fed back electric signal is not abnormal, the heating wire has no fault, the vehicle actuator responds to the heating request, and the heating wire has a heating phenomenon; if the feedback electric signal is abnormal, the heating wire has a fault, the vehicle actuator does not respond to the heating request and feeds a fault signal back to the vehicle controller, the vehicle controller generates a corresponding fault code, the diagnostic computer reads the fault code from the vehicle controller and displays the fault code, and a detector detects parameters such as voltage, current, resistance and the like in the circuit of the heating wire, so that the fault reason of the heating wire is further judged aiming at the fault device. The inspector can determine whether the vehicle is repaired or not through the fault detection result before the vehicle leaves the factory, so that the condition that the vehicle with the defogging and defrosting device of the vehicle-mounted camera leaves the factory without fault detection is avoided, and inconvenience is brought to a user.
In order to enable a person skilled in the art to better understand the embodiments of the present invention, the following description is given by way of an example:
fig. 4 is a flowchart of a defogging and defrosting device for detecting a vehicle-mounted camera according to an embodiment of the present invention.
(1) The detection personnel sends a heating instruction to the vehicle through the diagnosis computer; in the process that the diagnosis computer sends a heating instruction to the vehicle, the vehicle feeds back fault information and the diagnosis computer reads a fault code, system feedback time and worker response time exist, and a heating request can be continuously sent for 60 s;
(2) the vehicle controller receives a heating instruction and sends a heating request to a vehicle actuator;
(3) after receiving the heating request, the vehicle actuator acquires an electric signal fed back by the heating wire circuit;
(4) when the voltage and the current in the circuit of the heating wire are within a preset normal range, the actuator acquires a normal electric signal to determine that the defogging and defrosting device has no fault, the vehicle actuator responds to a heating request and indicates the heating wire to heat under the voltage of 13.6V according to a set target requirement, the heating wire is in a normal working state at the moment, the current range is 2-3.5A, and the heating wire generates heat;
(5) if the voltage and the current in the heating wire circuit are not in the preset normal range, the actuator acquires an abnormal electric signal to determine that the defogging and defrosting device has a fault, the vehicle actuator feeds back a fault signal to the vehicle controller, the vehicle controller receives the fault signal and generates a corresponding fault code DTC, the fault code DTC is read after the computer is diagnosed for 10s, and a detector acquires the fault code DTC from a display of the diagnostic computer; subsequently, the tester detects the current, voltage or resistance in the heating wire circuit by a multimeter:
a. if the detected current is less than 0.5A, or the resistance is infinite, the open circuit of the heating wire is judged;
b. and if the detected voltage is 0 or the resistance is infinitesimal, judging that the heating wire is in short circuit.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of a detection device for a defrosting and defogging device of a vehicle-mounted camera according to an embodiment of the present invention is shown, and the detection device specifically includes the following modules:
the instruction processing module 501 is used for the vehicle controller to receive a heating instruction sent by the diagnosis computer, respond to the heating instruction, generate and send a heating request to the vehicle actuator;
a fault determination module 502 for the vehicle actuator determining whether there is a fault in the heater wire after the vehicle actuator receives the heating request;
a fault signal feedback module 503, configured to, if the heating wire fails, feed back a fault signal to the vehicle controller by the vehicle actuator, and refuse to respond to the heating request;
and a fault code display module 504, configured to enable the vehicle controller to generate a fault code corresponding to the fault signal, so that the diagnostic computer reads the fault code from the vehicle controller and reminds a detection person to determine whether the vehicle is repaired according to the fault code.
In an embodiment of the present invention, the apparatus further includes:
and the response heating module is used for responding the heating request by the vehicle actuator and indicating the heating wire to heat if the heating wire has no fault.
In an embodiment of the present invention, the heating wire is disposed in a heating wire circuit, and the fault determining module 502 may include:
the signal monitoring submodule is used for acquiring an electric signal fed back by the heating wire circuit by the vehicle actuator and judging whether the electric signal is abnormal or not;
the signal normal sub-module is used for determining that the heating wire has no fault by the vehicle actuator if the electric signal is not abnormal;
and the signal abnormality submodule is used for determining that the heating wire has a fault by the vehicle actuator if the electric signal is abnormal.
In an embodiment of the present invention, the apparatus further includes:
the fault detection module is used for acquiring a detection result of current, voltage or resistance in the heating wire circuit detected by a detector through the diagnostic computer;
and the fault reason determining module is used for judging the fault reason of the heating wire by the diagnosis computer according to the detection result.
In an embodiment of the present invention, the fault detection module may include:
the open circuit determining submodule is used for judging that the heating wires are open circuit if the detected current is smaller than a preset threshold value or the resistance is infinite;
and the short circuit determining submodule is used for judging that the heating wires are in short circuit if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal.
In the embodiment of the invention, the diagnosis computer sends a heating instruction to the vehicle, and the vehicle controller sends a heating request to the vehicle actuator after receiving the heating instruction, so as to obtain an electric signal fed back by the heating wire circuit; if the fed back electric signal is not abnormal, the heating wire has no fault, the vehicle actuator responds to the heating request, and the heating wire has a heating phenomenon; if the feedback electric signal is abnormal, the heating wire has a fault, the vehicle actuator does not respond to the heating request and feeds a fault signal back to the vehicle controller, the vehicle controller generates a corresponding fault code, the diagnostic computer reads the fault code from the vehicle controller and displays the fault code, and a detector detects parameters such as voltage, current, resistance and the like in the circuit of the heating wire, so that the fault reason of the heating wire is further judged aiming at the fault device. The inspector can determine whether the vehicle is repaired or not through the fault detection result before the vehicle leaves the factory, so that the condition that the vehicle with the defogging and defrosting device of the vehicle-mounted camera leaves the factory without fault detection is avoided, and inconvenience is brought to a user.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Referring to fig. 6, a block diagram of a detection system of a defrosting and defogging device for a vehicle-mounted camera according to an embodiment of the present invention is shown, including a vehicle controller 602 and a vehicle actuator 603 of a vehicle, and a diagnostic computer 601 connected to the vehicle, and specifically may include:
a diagnostic computer 601 for sending a heating instruction to the vehicle controller 602;
the vehicle controller 602 is configured to receive a heating instruction sent by the diagnostic computer 601, generate a heating instruction in response to the heating instruction, and send a heating request to the vehicle actuator 603;
a vehicle actuator 603, configured to, after the vehicle actuator 603 receives the heating request, the vehicle actuator 603 determines whether the heating wire has a fault; if the heating wire is in fault, the vehicle actuator 603 feeds back a fault signal to the vehicle controller 602, and refuses to respond to the heating request;
the vehicle controller 602 is configured to generate a fault code corresponding to the fault signal;
the diagnostic computer 601 is configured to read the fault code from the vehicle controller 602 and remind a detection person to determine whether the vehicle is repaired according to the fault code;
the vehicle actuator 603 is configured to obtain an electrical signal fed back by the heater wire circuit, and determine whether the electrical signal is abnormal; if the electrical signal is not abnormal, the vehicle actuator 603 determines that the heating wire has no fault; if the electrical signal is abnormal, the vehicle actuator 603 determines that the heating wire has a fault;
the diagnosis computer 601 is used for acquiring the detection result of the current, the voltage or the resistance in the heating wire circuit detected by the detection personnel; judging the fault reason of the heating wire according to the detection result; if the detected current is smaller than a preset threshold value or the resistance is infinite, judging that the heating wire is open-circuited; if the detected voltage is smaller than a preset threshold value or the resistance is infinitesimal, judging that the heating wires are in short circuit;
the vehicle controller 602 is configured to, if the heating wire is not faulty, the vehicle actuator 603 responds to the heating request to instruct the heating wire to heat.
In the embodiment of the invention, the diagnosis computer sends a heating instruction to the vehicle, and the vehicle controller sends a heating request to the vehicle actuator after receiving the heating instruction, so as to obtain an electric signal fed back by the heating wire circuit; if the fed back electric signal is not abnormal, the heating wire has no fault, the vehicle actuator responds to the heating request, and the heating wire has a heating phenomenon; if the feedback electric signal is abnormal, the heating wire has a fault, the vehicle actuator does not respond to the heating request and feeds a fault signal back to the vehicle controller, the vehicle controller generates a corresponding fault code, the diagnostic computer reads the fault code from the vehicle controller and displays the fault code, and a detector detects parameters such as voltage, current, resistance and the like in the circuit of the heating wire, so that the fault reason of the heating wire is further judged aiming at the fault device. The inspector can determine whether the vehicle is repaired or not through the fault detection result before the vehicle leaves the factory, so that the condition that the vehicle with the defogging and defrosting device of the vehicle-mounted camera leaves the factory without fault detection is avoided, and inconvenience is brought to a user.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
the detection method comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein when the computer program is executed by the processor, each process of the detection method embodiment of the vehicle-mounted camera defrosting and defogging device is realized, the same technical effect can be achieved, and the details are not repeated here to avoid repetition.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program realizes each process of the detection method embodiment of the vehicle-mounted camera defrosting and defogging device, can achieve the same technical effect, and is not repeated here to avoid repetition.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for the detection method of the defrosting and defogging device of the vehicle-mounted camera and the detection device of the defrosting and defogging device of the vehicle-mounted camera, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.