CN116476760A - Trailer connection state detection method and device and trailer connection state detection controller - Google Patents

Trailer connection state detection method and device and trailer connection state detection controller Download PDF

Info

Publication number
CN116476760A
CN116476760A CN202310498040.2A CN202310498040A CN116476760A CN 116476760 A CN116476760 A CN 116476760A CN 202310498040 A CN202310498040 A CN 202310498040A CN 116476760 A CN116476760 A CN 116476760A
Authority
CN
China
Prior art keywords
trailer
detection
vehicle
controller
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.)
Pending
Application number
CN202310498040.2A
Other languages
Chinese (zh)
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.)
Beijing Jingxiang Technology Co Ltd
Original Assignee
Beijing Jingxiang Technology 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 Beijing Jingxiang Technology Co Ltd filed Critical Beijing Jingxiang Technology Co Ltd
Priority to CN202310498040.2A priority Critical patent/CN116476760A/en
Publication of CN116476760A publication Critical patent/CN116476760A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60DVEHICLE CONNECTIONS
    • B60D1/00Traction couplings; Hitches; Draw-gear; Towing devices
    • B60D1/24Traction couplings; Hitches; Draw-gear; Towing devices characterised by arrangements for particular functions

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Automation & Control Theory (AREA)
  • Transportation (AREA)
  • Regulating Braking Force (AREA)

Abstract

The application discloses a trailer connection state detection method, a device and a trailer connection state detection controller, wherein the method is executed by the trailer connection state detection controller and comprises the steps of receiving state information of a host vehicle; judging whether the main vehicle meets a detection triggering condition according to the state information; if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not; and determining the connection state of the trailer and the main vehicle according to the detection result. Through this application, realized trailer connection state's automated inspection, and be applicable to multiple driving scene.

Description

Trailer connection state detection method and device and trailer connection state detection controller
Technical Field
The application relates to the technical field of commercial vehicles, in particular to a trailer connection state detection method and device and a trailer connection state detection controller.
Background
Commercial vehicles are in the form of tractors (main vehicles) and trailers. When the host vehicle is hung on the trailer, part of the functions of the host vehicle are affected by the trailer, such as torque control, lamp control, reversing image, driving assistance, automatic driving, etc., so that it is required to identify whether the host vehicle is hung on the trailer.
In the related art, whether a trailer is hung or not is identified through a trailer switch of a main vehicle, namely, a certain controller is connected to a trailer switch, the trailer switch is manually switched, and the controller identifies whether the trailer exists or not by detecting the state of the trailer switch. However, the scheme of detecting whether the trailer is connected through the physical switch is that the user judges whether the trailer exists manually and then informs the controller through the operation switch, and depending on the accuracy of judgment and operation of the person, if the person forgets the operation switch after the trailer is connected or the person forgets the operation switch after the trailer is canceled, the control judgment of the trailer state is different from the actual state, so that related functions are affected.
Furthermore, a physical switch is additionally arranged on the main vehicle, and adverse effects are brought to the aspects of whole vehicle arrangement, part management, whole vehicle cost and the like.
Disclosure of Invention
The embodiment of the application provides a trailer connection state detection method and device and a trailer connection state detection controller, so as to automatically detect the trailer connection state.
The embodiment of the application adopts the following technical scheme:
in a first aspect, an embodiment of the present application provides a method for detecting a trailer hitch condition, where the method includes:
Receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
and determining the connection state of the trailer and the main vehicle according to the detection result.
In some embodiments, the light path at least includes the following: trailer turn signal, trailer brake light, according to the testing result, confirm the trailer with the connected state of host computer includes:
if the trailer steering lamp and/or the trailer braking lamp on the trailer are/is detected to be in a non-open circuit, the connection state of the trailer and the main vehicle is obtained to be connected so as to execute the corresponding function when the trailer is connected with the main vehicle;
and if the trailer steering lamp and the trailer braking lamp on the trailer are detected to be open circuits, the connection state of the trailer and the main vehicle is obtained to be unconnected.
In some embodiments, the detecting whether all light paths on the trailer are open comprises:
driving all light paths on the trailer to execute lighting operation within a preset time period;
and detecting whether all the lamp paths on the trailer are open or not according to the response result of the lighting operation of all the lamp paths on the trailer in the preset time period on the current of the PIN PINs of the lamp.
In some embodiments, the detecting whether all the light paths on the trailer are open circuit further comprises: setting the current for driving all the lamp ways on the trailer to execute the lighting operation within a preset time period as follows: is larger than the minimum current value when detecting the PIN foot current of the lamp, and is not larger than the threshold current value when lighting the lamp.
In some embodiments, the state information of the host vehicle includes any one or more of a state controller of a low-voltage power supply, a gear controller, a vehicle traveling direction controller, an EPB electronic parking system, and a pedal switch, and the state information is transmitted through a vehicle bus, and determining, according to the state information, whether the host vehicle meets a detection triggering condition includes:
judging whether the main vehicle meets a detection triggering condition according to a whole vehicle low voltage power supply state switching signal of the low voltage power supply state controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle gear signal of the gear controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle running direction signal of the whole vehicle running direction controller in the state information;
And/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle parking state signal of the EPB in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the pedal switch signal in the state information.
In some embodiments, the determining, according to the state information, whether the host vehicle meets a detection trigger condition includes any one of the following:
the state detection controller is awakened;
the state of the low-voltage power supply is switched to an ON gear;
the vehicle gear is switched to the forward gear;
the vehicle gear is switched to the reverse gear;
the vehicle gear is a forward gear or a reverse gear, the running direction of the whole vehicle is static, and meanwhile, a brake pedal switch is switched to be not stepped;
the vehicle gear is a forward gear or a reverse gear, the EPB parking state is parking, and the opening of the accelerator pedal is switched to be larger than a preset threshold value;
the vehicle gear is a forward gear or a reverse gear, the automatic hold automatic parking activation state is activated, and the accelerator opening is switched to be larger than the preset threshold.
In a second aspect, an embodiment of the present application further provides a trailer hitch connection state detection apparatus, where the apparatus includes:
The receiving module is used for receiving the state information of the host vehicle;
the judging module is used for judging whether the main vehicle meets detection triggering conditions or not according to the state information;
the detection module is used for detecting whether all the light paths on the trailer are open circuits or not if the main vehicle meets the detection triggering condition;
and the determining module is used for determining the connection state of the trailer and the main vehicle according to the detection result.
In a third aspect, embodiments of the present application further provide a trailer hitch connection state detection controller, where the connection state detection controller includes: the signal is preset the interface and is connected with the wiring harness, the light path on the trailer is connected through the wiring harness, the signal is preset the whole vehicle controller on the interface connection host vehicle, and the following operation is executed through the connection state detection controller:
receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
determining the connection state of the trailer and the main vehicle according to the detection result;
wherein, whole vehicle control unit includes at least:
The low-voltage power supply state controller is used for controlling the switching of the low-voltage power supply state of the whole vehicle and sending a low-voltage power supply state signal to the connection state detection controller;
the gear controller is used for controlling the switching of the whole vehicle gear and sending a whole vehicle gear signal to the connection state detection controller;
the whole vehicle running direction controller is used for judging the running direction of the whole vehicle and sending a whole vehicle running direction signal to the connection state detection controller;
the EPB is used as an electronic hand brake system and provides a whole car parking state signal;
a brake pedal switch for providing a signal to the connection state detection controller as to whether the brake pedal is depressed;
an accelerator pedal switch for providing an accelerator pedal opening signal to the connection state detection controller;
the lamp path on the trailer at least comprises:
the left turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the right turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the brake lamp of the trailer is used as a load for detecting whether all lamp paths on the trailer are open.
In a fourth aspect, embodiments of the present application further provide an electronic device, including: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the above method.
In a fifth aspect, embodiments of the present application also provide a computer-readable storage medium storing one or more programs that, when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the above-described method.
The above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect: and judging whether the main vehicle meets the detection triggering condition according to the state information by receiving the state information of the main vehicle. If the main vehicle meets the detection triggering condition, whether all the lamp paths on the trailer are open is further detected, and finally the connection state of the trailer and the main vehicle can be determined according to the detection result of whether the lamp paths are open. According to the method, the connection state of the main vehicle and the trailer can be automatically detected, and the method can be suitable for different driving scenes of the main vehicle. In addition, the detection process of the above method is not felt by the driver, but will output a visual result to the driver.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a flow chart of a trailer hitch state detection method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure implemented by the trailer hitch state detection method in the embodiment of the present application;
fig. 3 is a schematic diagram of an implementation principle of a trailer hitch connection state detection method in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a trailer hitch condition detection apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
The embodiment of the application provides a trailer hitch condition detection method, as shown in fig. 1, and provides a flow chart of the trailer hitch condition detection method in the embodiment of the application, where the method at least includes the following steps S110 to S140:
step S110, receiving status information of the host vehicle.
The method may be performed on hardware or by a software program. The method may be performed on a controller of the vehicle. The implementation support is not particularly limited in the embodiments of the present application, and may be implemented in various ways by those skilled in the art.
The method described above is illustratively carried out in a trailer hitch condition detection controller, which may be the controller of the vehicle or may also be a software program running in the controller of the vehicle. The status information of the host vehicle can be received via a data interface that is pre-configured in the trailer hitch connection status detection controller.
It will be appreciated that for new energy heavy trucks, the host vehicle may be transported after being connected to the trailer.
And step S120, judging whether the main vehicle meets a detection triggering condition according to the state information.
And further judging whether the main vehicle meets preset detection triggering conditions according to the state information, wherein the detection triggering conditions are carried out in real time in the running process of the main vehicle, and the driving intervention of a driver is not required.
And when the main vehicle meets the detection triggering condition, continuing the subsequent detection.
And step S130, if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open.
If the main vehicle meets the detection triggering condition, the trailer connection state detection controller can detect whether all the light paths on the trailer are open.
It should be noted that the trailer connection state detection controller not only can receive the state information of the host vehicle through the preset data interface, but also can detect whether all the light paths on the trailer are open circuits when the host vehicle meets the detection triggering condition.
It is understood that light paths on a trailer include, but are not limited to, position lights, backup lights, turn lights, and brake lights. If the number of the detected light paths is larger, the probability of false judgment is lower. Whether the light paths are open or not refers to whether the cables of the light paths are open or not.
Preferably, in order to improve the detection accuracy and reduce the false detection probability, whether the main vehicle meets the detection trigger condition is detected when the main vehicle is in various driving scenes, and whether the light path of the trailer is in an open state is continuously detected only when the detection trigger condition is met. Various driving scenarios of the host vehicle relate to working conditions of various sensors, a vehicle domain controller, a power supply and an electronic parking brake system, and are not limited to the condition that the detection of the trailer connection state is started only when the host vehicle is in an ON gear state.
And step S140, determining the connection state of the trailer and the main vehicle according to the detection result.
And determining the connection state of the trailer and the main vehicle based on the detection result, if the connection state of the trailer is judged to be connected, considering that the related function can be executed according to the connection state of the trailer, otherwise, if the connection state of the trailer is judged to be unconnected, considering that the related function is not executed according to the connection state of the trailer.
The method for detecting the connection state of the trailer of the vehicle utilizes the existing controller (hardware or software) of the host vehicle to detect whether the trailer is connected or not through an automatic detection method, and replaces the previous manual judgment process. The device can reduce one physical switch part of the main vehicle, save the cost of the whole vehicle, and avoid the problem that the judgment is inaccurate due to the fact that the switch is forgotten to operate possibly during the manual judgment.
In the method, the existing lamp on the trailer and the driving chip of the controller are utilized to detect the trailer connection state, the lamp and the controller are connected through the main vehicle wire harness, and the lamp on the trailer is driven by the software control controller (serving as the trailer connection state detection controller).
In contrast to the related art, the method only detects the connection state between the host vehicle and the trailer when the host vehicle is in the ON gear, in which the state information of the host vehicle is detected in real time, and in consideration of the fact that the user may disconnect or connect the trailer in various scenes when actually using the method, different detection triggering conditions are designed in consideration of the scenes, so that the method can basically cover all scenes used by the user.
Unlike the related art, the lamp load driving the lamp on the trailer is lighted for a long time. At this time, if the lamp of the trailer is suddenly turned on, it will cause trouble to the driver itself. According to the method, whether the lamp is in a normal working state or not can be judged by the magnitude of the current when all the lamp paths on the trailer are detected to be open or not, and whether the trailer is connected normally or not is further judged. If all the trailer lamps are in the disconnection state, judging that the trailer is not connected, and if any lamp is in the normal working state, judging that the trailer is connected. Meanwhile, in order to prevent the automatic detection method from affecting the normal use of the vehicle by a user, the controller drives the trailer lamp to detect, namely, only drives for a short period of time T ms.
It should be noted that the above T is in the order of milliseconds, so that it can be ensured that whether the lamp works or not can be detected normally, and the lamp will not really be lightened to be observed by a user.
In one embodiment of the present application, the light path at least includes the following: trailer turn signal, trailer brake light, according to the testing result, confirm the trailer with the connected state of host computer includes: if the trailer steering lamp and/or the trailer braking lamp on the trailer are/is detected to be in a non-open circuit, the connection state of the trailer and the main vehicle is obtained to be connected so as to execute the corresponding function when the trailer is connected with the main vehicle; and if the trailer steering lamp and the trailer braking lamp on the trailer are detected to be open circuits, the connection state of the trailer and the main vehicle is obtained to be unconnected.
The trailer steering lamp and the trailer brake lamp can better represent the connection state of the trailer, and if the vehicle steering lamp and the trailer brake lamp have open-circuit faults, the trailer is considered to be not connected with the main vehicle. The left turn light of the trailer is used as a load for detecting whether the trailer is connected or not; the trailer right turn light is used as a load for detecting whether the trailer is connected; the trailer brake light acts as a load for detecting whether the trailer is connected.
Further, if the trailer turn light and/or the trailer brake light on the trailer are/is detected to be non-open, the connection state of the trailer and the main vehicle is obtained to be connected, so that the corresponding function when the trailer is connected with the main vehicle is executed. That is, if there is a non-open circuit in the detection result, it is considered to be connected.
Further, if the trailer steering lamp and the trailer brake lamp on the trailer are detected to be open, the connection state of the trailer and the main vehicle is obtained to be unconnected, that is, if the detection results are all open, the connection is considered to be unconnected. At this time, if the trailer steering lamp, the trailer brake lamp, the position lamp and the backup lamp on the trailer are not opened, the trailer is considered to be not connected with the main vehicle at this time.
Meanwhile, it should be noted that when the light path of the trailer is detected to be open, whether the main vehicle meets the detection triggering condition is judged according to the state information of the main vehicle, and when the detection triggering condition is met, the connection state of the trailer is detected.
In one embodiment of the present application, the detecting whether all light paths on the trailer are open includes: driving all light paths on the trailer to execute lighting operation within a preset time period; and detecting whether all the lamp paths on the trailer are open or not according to the response result of the lighting operation of all the lamp paths on the trailer in the preset time period on the current of the PIN PINs of the lamp.
The preset time period is to prevent the automatic detection method from affecting the normal use of the vehicle by the user, so that the controller drives the trailer lamp to detect, namely, only a short millisecond time. And therefore, in a preset time period, driving all the lamp ways on the trailer to execute the lighting operation, and detecting whether all the lamp ways on the trailer are open-circuited or not according to the response result of the PIN current of the lamp in the lighting operation of all the lamp ways on the trailer in the preset time period.
In an embodiment of the present application, the detecting whether all the light paths on the trailer are open circuit further includes: setting the current for driving all the lamp ways on the trailer to execute the lighting operation within a preset time period as follows: is larger than the minimum current value when detecting the PIN foot current of the lamp, and is not larger than the threshold current value when lighting the lamp.
As a preferable example of the above embodiment, the current for driving all the lamp paths on the trailer to perform the lighting operation is set to be larger than the minimum current value at the time of detecting the PIN current of the lamp while not being larger than the threshold current value for lighting the lamp. That is, the detection requirement can be satisfied, but it is not directly observable by the driver.
It should be noted that the PIN current of the lamp is actively triggered by the trailer connection state detection controller when the PIN current of the lamp is detected.
In an embodiment of the present application, the state information of the host vehicle includes any one or more of a state controller of a low-voltage power source, a gear controller, a traveling direction controller of the whole vehicle, an EPB electronic parking system, and a pedal switch, and the state information is transmitted through a whole vehicle bus, and determining, according to the state information, whether the host vehicle meets a detection triggering condition includes: judging whether the main vehicle meets a detection triggering condition according to a whole vehicle low voltage power supply state switching signal of the low voltage power supply state controller in the state information; and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle gear signal of the gear controller in the state information; and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle running direction signal of the whole vehicle running direction controller in the state information; and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle parking state signal of the EPB in the state information; and/or judging whether the main vehicle meets a detection triggering condition according to the pedal switch signal in the state information.
As shown in fig. 2, according to the low-voltage power state switching signal of the whole vehicle of the low-voltage power state controller in the state information, whether the main vehicle meets the detection triggering condition is judged. The low-voltage power supply state controller is mainly used for controlling the switching of the state of the whole vehicle low-voltage power supply and sending a state signal of the low-voltage power supply to the trailer connection state detection controller.
And judging whether the main vehicle meets a detection triggering condition according to the whole vehicle gear signal of the gear controller in the state information. The gear controller is used for controlling the switching of the whole vehicle gear and sending a whole vehicle gear signal to the trailer connection state detection controller.
And judging whether the main vehicle meets a detection triggering condition according to the whole vehicle running direction signal of the whole vehicle running direction controller in the state information. The whole vehicle running direction controller is used for judging the running direction of the whole vehicle and sending a whole vehicle running direction signal to the trailer connection state detection controller.
Judging whether the main vehicle meets a detection triggering condition according to a whole vehicle parking state signal of the EPB (electronic parking brake system Electronic Parking Brake) in the state information; EPB is the electronic hand brake system, provides whole car parking status signal.
And judging whether the main vehicle meets a detection triggering condition according to the pedal switch signal in the state information. The brake pedal switch is used for providing a signal whether the brake pedal is stepped on or not; accelerator pedal switch: an accelerator pedal opening signal is provided.
In an embodiment of the present application, the determining, according to the state information, whether the host vehicle meets a detection triggering condition includes any one of the following: the state detection controller is awakened; the state of the low-voltage power supply is switched to an ON gear; the vehicle gear is switched to the forward gear; the vehicle gear is switched to the reverse gear; the vehicle gear is a forward gear or a reverse gear, the running direction of the whole vehicle is static, and meanwhile, a brake pedal switch is switched to be not stepped; the vehicle gear is a forward gear or a reverse gear, the EPB parking state is parking, and the opening of the accelerator pedal is switched to be larger than a preset threshold value; the vehicle gear is a forward gear or a reverse gear, the automatic hold automatic parking activation state is activated, and the accelerator opening is switched to be larger than the preset threshold.
It can be appreciated that the vehicle power modes are divided into: OFF gear, ACC gear, ON gear. It is necessary here to detect whether the state of the low-voltage power supply is switched to the ON range.
Considering the actual use of the driver, the trailer may be disconnected or connected in various scenarios, so that each scenario is considered, and different detection trigger conditions are configured, so that the full range of the scenarios used by the user can be basically covered. If only the main vehicle is in the ON gear, it is detected, but the driver may be engaged in the gear to connect the trailer or disengaged the trailer. If the state of the trailer is detected by the ON gear of the main vehicle, the condition that the trailer is taken off by a driver who is in gear again occurs. The trailer hitch state becomes bad at this time, and the condition of the trailer obtained by judgment is not in agreement with the actual condition because of no re-detection.
As shown in fig. 3, the detection strategy for the vehicle state of the host vehicle is triggered when any of the following conditions is satisfied:
the method comprises the following steps that 1, a trailer connection state detection controller wakes up;
condition 2, switching the state of the low voltage power supply to "ON";
condition 3, the vehicle gear is switched to the forward gear;
the vehicle gear is switched to the reverse gear under the condition 4;
the condition 5 is that the vehicle gear is a forward gear or a reverse gear, the running direction of the whole vehicle is static, and a brake pedal switch is switched to be not stepped;
the condition 6, the vehicle gear is a forward gear or a reverse gear, the EPB parking state is parking, and the opening of the accelerator pedal is switched to be more than 1.5%;
And 7, the vehicle gear is a forward gear or a reverse gear, the AutoHold activation state is activated, and the accelerator opening is switched to be more than 1.5%. AutoHold refers to an automatic braking function, after the automatic braking function is started, the manual brake or the electronic manual brake can be avoided to simplify operation, and an automatic vehicle type does not need frequent D to N, D to P switching back and forth.
For example, if the triggering condition is met, the trailer connection state detection controller drives the left steering lamp, the right steering lamp and the brake lamp of the trailer to be turned off after being turned on for a period of time T ms, and if all the driving output states of the left steering lamp, the right steering lamp and the brake lamp of the trailer are judged to be open-circuit states during the lighting period of the lamps, the trailer is judged to be not connected; and otherwise, judging the trailer connection.
It is understood that the accelerator pedal opening being greater than 1.5% or the accelerator pedal opening being greater than 1.5% is a pre-calibrated parameter and is not intended to limit the scope of the present application.
The embodiment of the application also provides a trailer connection state detection controller, wherein the connection state detection controller comprises: the signal is preset the interface and is connected with the wiring harness, the light path on the trailer is connected through the wiring harness, the signal is preset the whole vehicle controller on the interface connection host vehicle, and the following operation is executed through the connection state detection controller:
Receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
determining the connection state of the trailer and the main vehicle according to the detection result;
wherein, whole vehicle control unit includes at least:
the low-voltage power supply state controller is used for controlling the switching of the low-voltage power supply state of the whole vehicle and sending a low-voltage power supply state signal to the connection state detection controller;
the gear controller is used for controlling the switching of the whole vehicle gear and sending a whole vehicle gear signal to the connection state detection controller;
the whole vehicle running direction controller is used for judging the running direction of the whole vehicle and sending a whole vehicle running direction signal to the connection state detection controller;
the EPB is used as an electronic hand brake system and provides a whole car parking state signal;
a brake pedal switch for providing a signal to the connection state detection controller as to whether the brake pedal is depressed;
an accelerator pedal switch for providing an accelerator pedal opening signal to the connection state detection controller;
The lamp path on the trailer at least comprises:
the left turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the right turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the brake lamp of the trailer is used as a load for detecting whether all lamp paths on the trailer are open.
The trailer connection state detection controller is respectively connected with the whole vehicle controller on the main vehicle through a preset data interface, and then is connected with the lamp path on the trailer through the connection wire harness. And the specific judgment can be performed according to the following judgment conditions:
judging whether the main vehicle meets a detection triggering condition according to a whole vehicle low voltage power supply state switching signal of the low voltage power supply state controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle gear signal of the gear controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle running direction signal of the whole vehicle running direction controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle parking state signal of the EPB in the state information;
And/or judging whether the main vehicle meets a detection triggering condition according to the pedal switch signal in the state information.
According to the multipath signals, further, judging whether the host vehicle meets a detection triggering condition according to the state information:
the state detection is awakened;
the state of the low-voltage power supply is switched to an open mode;
the vehicle gear is switched to the forward gear;
the vehicle gear is switched to the reverse gear;
the vehicle gear is a forward gear or a reverse gear, the running direction of the whole vehicle is static, and meanwhile, a brake pedal switch is switched to be not stepped;
the vehicle gear is a forward gear or a reverse gear, the EPB parking state is parking, and the opening of the accelerator pedal is switched to be larger than a preset threshold value;
the vehicle gear is a forward gear or a reverse gear, the automatic hold automatic parking activation state is activated, and the accelerator opening is switched to be larger than the preset threshold.
The embodiment of the application also provides a trailer connection state detection device 400, as shown in fig. 4, and a schematic structural diagram of the trailer connection state detection device in the embodiment of the application is provided, where the trailer connection state detection device 400 at least includes: a receiving module 410, a judging module 420, a detecting module 430 and a determining module 440, wherein:
A receiving module 410, configured to receive status information of a host vehicle;
a judging module 420, configured to judge whether the host vehicle meets a detection triggering condition according to the state information;
a detection module 430, configured to detect whether all light paths on the trailer are open if the host vehicle meets a detection trigger condition;
and the determining module 440 is configured to determine a connection state of the trailer and the host vehicle according to the detection result.
In one embodiment of the present application, the receiving module 410 is specifically configured to: and receiving the state information of the host vehicle.
The method may be performed on hardware or by a software program. The method may be performed on a controller of the vehicle. The implementation support is not particularly limited in the embodiments of the present application, and may be implemented in various ways by those skilled in the art.
The method described above is illustratively carried out in a trailer hitch condition detection controller, which may be the controller of the vehicle or may also be a software program running in the controller of the vehicle. The status information of the host vehicle can be received via a data interface that is pre-configured in the trailer hitch connection status detection controller.
It will be appreciated that for new energy heavy trucks, the host vehicle may be transported after being connected to the trailer.
In one embodiment of the present application, the determining module 420 is specifically configured to: and judging whether the main vehicle meets a detection triggering condition according to the state information.
And further judging whether the main vehicle meets preset detection triggering conditions according to the state information, wherein the detection triggering conditions are carried out in real time in the running process of the main vehicle, and the driving intervention of a driver is not required.
And when the main vehicle meets the detection triggering condition, continuing the subsequent detection.
In one embodiment of the present application, the detection module 430 is specifically configured to: and if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open.
If the main vehicle meets the detection triggering condition, the trailer connection state detection controller can detect whether all the light paths on the trailer are open.
It should be noted that the trailer connection state detection controller not only can receive the state information of the host vehicle through the preset data interface, but also can detect whether all the light paths on the trailer are open circuits when the host vehicle meets the detection triggering condition.
It is understood that light paths on a trailer include, but are not limited to, position lights, backup lights, turn lights, and brake lights. If the number of the detected light paths is larger, the probability of false judgment is lower. Whether the light paths are open or not refers to whether the cables of the light paths are open or not.
Preferably, in order to improve the detection accuracy and reduce the false detection probability, whether the main vehicle meets the detection trigger condition is detected when the main vehicle is in various driving scenes, and whether the light path of the trailer is in an open state is continuously detected only when the detection trigger condition is met. Various driving scenarios of the host vehicle relate to working conditions of various sensors, a vehicle domain controller, a power supply and an electronic parking brake system, and are not limited to the condition that the detection of the trailer connection state is started only when the host vehicle is in an ON gear state.
In one embodiment of the present application, the determining module 440 is specifically configured to: and determining the connection state of the trailer and the main vehicle according to the detection result.
And determining the connection state of the trailer and the main vehicle based on the detection result, if the connection state of the trailer is judged to be connected, considering that the related function can be executed according to the connection state of the trailer, otherwise, if the connection state of the trailer is judged to be unconnected, considering that the related function is not executed according to the connection state of the trailer.
It can be understood that the above-mentioned trailer connection state detection device can implement each step of the trailer connection state detection method provided in the foregoing embodiment, and the relevant explanation about the trailer connection state detection method is applicable to the trailer connection state detection device, which is not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 5, at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
And the memory is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory may include memory and non-volatile storage and provide instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs, and the trailer connection state detection device is formed on a logic level. The processor is used for executing the programs stored in the memory and is specifically used for executing the following operations:
receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
and determining the connection state of the trailer and the main vehicle according to the detection result.
The method performed by the trailer hitch condition detection apparatus disclosed in the embodiment of fig. 1 of the present application may be applied to, or implemented by, a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The electronic device may also execute the method executed by the trailer hitch state detection device in fig. 1, and implement the function of the trailer hitch state detection device in the embodiment shown in fig. 1, which is not described herein again.
The embodiments of the present application also provide a computer readable storage medium storing one or more programs, where the one or more programs include instructions, which when executed by an electronic device that includes a plurality of application programs, enable the electronic device to perform a method performed by the trailer hitch condition detection apparatus in the embodiment shown in fig. 1, and specifically are configured to perform:
receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
and determining the connection state of the trailer and the main vehicle according to the detection result.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, 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, 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.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (10)

1. A method of trailer hitch connection detection, wherein the method comprises:
receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
and determining the connection state of the trailer and the main vehicle according to the detection result.
2. The method of claim 1, wherein the light path comprises at least the following: trailer turn signal, trailer brake light, according to the testing result, confirm the trailer with the connected state of host computer includes:
if the trailer steering lamp and/or the trailer braking lamp on the trailer are/is detected to be in a non-open circuit, the connection state of the trailer and the main vehicle is obtained to be connected so as to execute the corresponding function when the trailer is connected with the main vehicle;
and if the trailer steering lamp and the trailer braking lamp on the trailer are detected to be open circuits, the connection state of the trailer and the main vehicle is obtained to be unconnected.
3. The method of claim 2, wherein the detecting whether all of the light paths on the trailer are open comprises:
driving all light paths on the trailer to execute lighting operation within a preset time period;
And detecting whether all the lamp paths on the trailer are open or not according to the response result of the lighting operation of all the lamp paths on the trailer in the preset time period on the current of the PIN PINs of the lamp.
4. The method of claim 1, wherein the detecting whether all light paths on the trailer are open, further comprises: setting the current for driving all the lamp ways on the trailer to execute the lighting operation within a preset time period as follows: is larger than the minimum current value when detecting the PIN foot current of the lamp, and is not larger than the threshold current value when lighting the lamp.
5. The method of claim 1, wherein the state information of the host vehicle includes any one or more of a low-voltage power state controller, a gear controller, a vehicle traveling direction controller, an EPB electronic parking system, and a pedal switch, and the state information is transmitted through a vehicle bus, and the determining whether the host vehicle satisfies a detection triggering condition according to the state information includes:
judging whether the main vehicle meets a detection triggering condition according to a whole vehicle low voltage power supply state switching signal of the low voltage power supply state controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle gear signal of the gear controller in the state information;
And/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle running direction signal of the whole vehicle running direction controller in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the whole vehicle parking state signal of the EPB in the state information;
and/or judging whether the main vehicle meets a detection triggering condition according to the pedal switch signal in the state information.
6. The method of claim 5, wherein the determining whether the host vehicle satisfies a detection trigger condition according to the status information includes any one of:
the state detection controller is awakened;
the state of the low-voltage power supply is switched to an ON gear;
the vehicle gear is switched to the forward gear;
the vehicle gear is switched to the reverse gear;
the vehicle gear is a forward gear or a reverse gear, the running direction of the whole vehicle is static, and meanwhile, a brake pedal switch is switched to be not stepped;
the vehicle gear is a forward gear or a reverse gear, the EPB parking state is parking, and the opening of the accelerator pedal is switched to be larger than a preset threshold value;
the vehicle gear is a forward gear or a reverse gear, the automatic hold automatic parking activation state is activated, and the accelerator opening is switched to be larger than the preset threshold.
7. A trailer hitch condition detection apparatus, wherein the apparatus comprises:
the receiving module is used for receiving the state information of the host vehicle;
the judging module is used for judging whether the main vehicle meets detection triggering conditions or not according to the state information;
the detection module is used for detecting whether all the light paths on the trailer are open circuits or not if the main vehicle meets the detection triggering condition;
and the determining module is used for determining the connection state of the trailer and the main vehicle according to the detection result.
8. A trailer hitch connection state detection controller, wherein the connection state detection controller comprises: the signal is preset the interface and is connected with the wiring harness, the light path on the trailer is connected through the wiring harness, the signal is preset the whole vehicle controller on the interface connection host vehicle, and the following operation is executed through the connection state detection controller:
receiving state information of a host vehicle;
judging whether the main vehicle meets a detection triggering condition according to the state information;
if the main vehicle meets the detection triggering condition, detecting whether all the light paths on the trailer are open circuits or not;
determining the connection state of the trailer and the main vehicle according to the detection result;
Wherein, whole vehicle control unit includes at least:
the low-voltage power supply state controller is used for controlling the switching of the low-voltage power supply state of the whole vehicle and sending a low-voltage power supply state signal to the connection state detection controller;
the gear controller is used for controlling the switching of the whole vehicle gear and sending a whole vehicle gear signal to the connection state detection controller;
the whole vehicle running direction controller is used for judging the running direction of the whole vehicle and sending a whole vehicle running direction signal to the connection state detection controller;
the EPB is used as an electronic hand brake system and provides a whole car parking state signal;
a brake pedal switch for providing a signal to the connection state detection controller as to whether the brake pedal is depressed;
an accelerator pedal switch for providing an accelerator pedal opening signal to the connection state detection controller;
the lamp path on the trailer at least comprises:
the left turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the right turn light of the trailer is used as a load for detecting whether all light paths on the trailer are open circuits or not;
the brake lamp of the trailer is used as a load for detecting whether all lamp paths on the trailer are open.
9. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any of claims 1 to 6.
10. A computer readable storage medium storing one or more programs, which when executed by an electronic device comprising a plurality of application programs, cause the electronic device to perform the method of any of claims 1-6.
CN202310498040.2A 2023-05-05 2023-05-05 Trailer connection state detection method and device and trailer connection state detection controller Pending CN116476760A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310498040.2A CN116476760A (en) 2023-05-05 2023-05-05 Trailer connection state detection method and device and trailer connection state detection controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310498040.2A CN116476760A (en) 2023-05-05 2023-05-05 Trailer connection state detection method and device and trailer connection state detection controller

Publications (1)

Publication Number Publication Date
CN116476760A true CN116476760A (en) 2023-07-25

Family

ID=87215579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310498040.2A Pending CN116476760A (en) 2023-05-05 2023-05-05 Trailer connection state detection method and device and trailer connection state detection controller

Country Status (1)

Country Link
CN (1) CN116476760A (en)

Similar Documents

Publication Publication Date Title
CN107415738B (en) Vehicle working condition control method and system and vehicle
CN110949353B (en) Parking method, parking device, vehicle and storage medium
AU2019330453B2 (en) Automatic vehicle hold control method and device for vehicle
CN110501598B (en) Trailer connection state detection device and detection method
US8350690B2 (en) Methods and systems for controlling forward lighting for vehicles
CN109842676B (en) Over-the-air control method, electronic equipment, automobile and readable storage medium
US9020683B1 (en) Method and system to detect faults of a trailer electrical system
CN111591217A (en) Detection method and system of brake lamp switch, controller and brake lamp switch
CN110406525B (en) Control method and device for failure of accelerator pedal
CN116476760A (en) Trailer connection state detection method and device and trailer connection state detection controller
CN116080676B (en) Lane departure early warning method and device, electronic equipment and storage medium
JP3972491B2 (en) Vehicle control device
US6864782B1 (en) Backup aid system and method for detecting the presence of a trailer attached thereto
CN116872957A (en) Early warning method and device for intelligent driving vehicle, electronic equipment and storage medium
CN116198476A (en) Fault prompting method and device, electronic equipment, storage medium and vehicle
CN115111359B (en) Control method and device for new energy vehicle gearbox, vehicle and storage medium
CN113183934B (en) Automatic parking control method, device and equipment
CN113071484B (en) Gear control method and device and electronic equipment
CN114115207A (en) Remote driving control method, equipment and system
CN115107774A (en) Ramp automatic parking method and system, readable storage medium and vehicle
CN114379453A (en) Method and system for sending lane change prompt when steering lamp fails
KR20220120010A (en) Apparatus for controlling eop of vehicle and methdo thereof
CN112046451A (en) Brake-by-wire system and vehicle comprising same
CN114084084B (en) Trailer connection state judging method, device, computer equipment and storage medium
CN113531110B (en) Electronic gear shifting mechanism, control method and vehicle

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