Lane keeping controller off-line detection device and method
Through the upper computer controlling the relay group and the program burner to simulate the input signal, combining the light bulb and the heating resistance to simulate the load, the current detector is used to realize the automatic detection of the lane keeping controller, which solves the insecure and inefficient verification of the test in the prior art. Problems, improving detection efficiency and quality.
Patent Information
- Application Number
- CN202411373066.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-02-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
It is difficult to conduct safe and efficient verification tests during manufacturing, especially when the vehicle speed is high, cross-road marking verification by the tester is dangerous and inefficient.
The upper computer controls the opening and closing of the relay group, simulates the switching signal of the input lane keeping controller, and sends the simulated vehicle speed signal through the program burner, uses the light bulb and heating resistance to simulate the limit load, and combines the current detector to achieve automatic detection.
It realizes automatic inspection of lane keeping controller, improves detection efficiency and quality, reduces risks, and is suitable for batch testing.
Smart Images

Figure CN119512023A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a lane keeping controller offline detection device and method. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] The lane keeping controller is a hardware device used to ensure that the vehicle can stably maintain the center of the lane during driving, thereby improving driving safety and comfort. By calling various sensors on the vehicle, the vehicle's position, speed, steering angle and other data are obtained, and after a series of processing. Combined with information such as driving trajectory, lane lines and traffic signs, the strategy for controlling the vehicle is determined, and the vehicle is ensured to stay in the correct lane by adjusting actions such as throttle, brakes or steering.
[0004] The lane keeping controller needs to be verified after manufacturing. For example, the test driver must perform cross-road marking verification while maintaining a driving speed of ≥40km / h. The cross-road marking verification is to test the responsiveness and correction effect of the manufactured lane keeping controller when the vehicle deviates from the lane. If problems such as poor patch, manufacturing defects of electronic components, and abnormal program burning occur during the manufacturing of the lane keeping controller, this verification method, although carried out in a dedicated testing site, is prone to danger due to the high vehicle speed. At the same time, the method of having a test driver drive the vehicle to verify the lane keeping controller is inefficient and not suitable for mass debugging and verification. Summary of the invention
[0005] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a lane keeping controller offline detection device and method. When the lane keeping controller is manufactured and not installed in the vehicle, the host computer controls the opening and closing of the relay group to simulate the switch signal of the lane keeping controller; at the same time, the host computer sends a signal simulating the actual vehicle speed through the program burner; the limit load is simulated by connecting a bulb and a heating resistor in series with the pins at the output end of the lane keeping controller, and the correctness of the program logic and circuit is determined by the turning on and off of the bulb, and the current of the load circuit is obtained at the same time. The host computer determines whether the electrical signal output by the lane keeping controller conforms to the logic control and current judgment value according to the obtained current combined with the preset current range, thereby finally realizing the automatic detection of the vehicle-mounted controller and improving the detection efficiency and quality.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A first aspect of the present invention provides a lane keeping controller offline detection device, comprising a host computer, a program burner, a relay group and a current detector;
[0008] The host computer sends a current signal corresponding to the set vehicle speed to the lane keeping controller to be tested through the program burner; the host computer implements the lane keeping control instruction of the lane keeping controller to be tested, controls the corresponding relay group to close, and sends the simulated switch value to the lane keeping controller to be tested;
[0009] Each pin of the output end of the lane keeping controller to be tested is connected in series with a heating resistor and a test lamp and then connected to a current detector; the correctness of the program logic and circuit of the lane keeping controller is verified by turning the test lamp on and off, the limit load of the lane keeping controller is simulated by the heating resistor, and the current of the simulated load is obtained by the current detector and sent to the host computer;
[0010] The host computer determines whether the electrical signals of each functional pin of the lane keeping controller to be tested meet the requirements based on the preset current range.
[0011] Furthermore, the relay group includes at least relay group 1 and relay group 2, the lane keeping controller to be detected is respectively connected to the current detector, relay group 1, relay group 2 and the program burner, the current detector is connected to relay group 1, relay group 1, relay group 2 and the program burner are respectively communicated with the host computer, and the host computer and the current detector are communicated with each other.
[0012] Furthermore, the host computer obtains the control instruction of the lane keeping controller to be detected to implement lane keeping, and controls the relay group 1 and the relay group 2 to close according to the obtained instruction, and sends the simulated switch value to the switch value pin of the lane keeping controller.
[0013] Furthermore, the lane keeping control outputs a high-side electrical signal and a low-side electrical signal at corresponding pins of the output end according to the received analog switch quantity.
[0014] Furthermore, a switching power supply is provided, which supplies power to the relay group 1, the relay 2, the current detector and the power switch in sequence.
[0015] Furthermore, the RS485 communication protocol is used to realize communication connection between the relay group 1, the relay group 2 and the host computer.
[0016] Furthermore, a DB9 data line is used to realize communication connection between the program burner and the host computer.
[0017] Furthermore, a CAN communication line is used to realize communication connection between the program burner and the lane keeping control to be detected.
[0018] Furthermore, the RS485 communication protocol is used to realize the communication connection between the current detector and the host computer.
[0019] A second aspect of the present invention provides a lane keeping controller offline detection method, comprising the following steps:
[0020] The host computer sends a current signal corresponding to the set vehicle speed to the lane keeping controller to be tested through the program burner;
[0021] The host computer implements the lane keeping control instruction of the lane keeping controller to be detected, controls the corresponding relay group to close, and sends the simulated switch value to the lane keeping controller to be detected; the lane keeping controller to be detected outputs the high-side electrical signal and the low-side electrical signal at the pin of the output end according to the received simulated switch value;
[0022] Each pin of the output end of the lane keeping controller to be tested is connected in series with a heating resistor and a test lamp, and then connected to a current detector; the correctness of the program logic and circuit of the lane keeping controller is verified by turning the test lamp on and off; the limit load of the lane keeping controller is simulated by a heating resistor, and the current of the simulated load is obtained by the current detector and sent to the host computer;
[0023] The host computer determines whether the electrical signal of each pin conforms to the logic control and current judgment value according to the preset current range, thereby realizing automatic detection.
[0024] Compared with the prior art, one or more of the above technical solutions have the following beneficial effects:
[0025] 1. Considering the danger of the verification test of crossing road markings by the test driver while maintaining a speed of ≥40km / h, the host computer sends a current signal corresponding to the set speed to the lane keeping controller to be tested through the program burner, thereby simulating the speed signal sent by the vehicle speed sensor to the lane keeping controller, so that the manufactured lane keeping controller can be offline, that is, not installed on the vehicle, and still receive the current signal for simulating the speed for static testing, thereby improving the safety during the verification of crossing road markings.
[0026] 2. The host computer uses the relay group to send simulated switch quantities to the corresponding pins of the lane keeping controller according to the control instructions in the lane keeping controller, thereby simulating the input signal of the lane keeping controller. It is no longer necessary to install the lane keeping controller on the vehicle and perform verification tests by operating the entire vehicle, which further improves the safety during the cross-road marking verification. In addition, according to the host computer, as many command combinations as possible can be sent to the lane keeping controller to be tested through the closing sequence of the relay group. Compared with the traditional method of on-road testing by test drivers, this method can make the verification test more efficient and is suitable for batch testing of lane keeping controllers after they are manufactured.
[0027] 3. By connecting a test lamp (bulb) and a heating resistor in series to each pin at the output end of the lane keeping controller, and judging whether the program logic and circuit of the lane keeping controller are correct by the lighting and extinguishing of each bulb, a heating resistor is used to simulate the extreme load connected to the lane keeping controller, and a current detector is used to detect the current of the simulated load. The host computer uses the current value to judge whether the lane keeping controller to be tested meets the requirements.
[0028] 4. The control instructions output by the lane keeping controller exist in the form of a combination of high-side current signals and low-side current signals. The host computer uses the received current signal combination output by the lane keeping controller, combined with the pre-set current range, to determine whether the electrical signal of the lane keeping controller output pin conforms to the logic control and current judgment value, and finally realizes the automatic detection of the vehicle-mounted controller. It can realize batch testing of the lane keeping controller without the need for the test driver to operate the whole vehicle, thereby improving the detection efficiency and quality as well as the safety during the detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0030] Figure 1 It is a schematic diagram of the structure of a lane keeping controller offline detection device provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0031] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0032] It should be noted that the following detailed descriptions are exemplary and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0033] It should be noted that the terms herein are only intended to describe specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0034] As introduced in the background technology, the cross-road marking verification is to test the response ability and correction effect of the manufactured lane keeping controller when the vehicle deviates from the lane. Generally, the test driver performs the cross-road marking verification while maintaining a driving speed of ≥40km / h. If problems such as poor patch, manufacturing defects of electronic components, and abnormal program burning occur during the manufacturing of the lane keeping controller, this verification method is prone to danger due to the high vehicle speed. At the same time, this method of verifying the lane keeping controller is inefficient and not suitable for batch debugging and verification.
[0035] Therefore, the following embodiment provides a lane keeping controller offline detection device and method. In static state, the relay is controlled to open and close by the host computer program, and a simulated switch signal is input; at the same time, the host computer sends a signal simulating the actual vehicle speed through the program burner; a light bulb and a heating resistor are connected in series at the function pin end of the lane keeping controller to simulate the limit load, and the correctness of the program logic and circuit is determined by the light bulb turning on and off. At the same time, a current detector is connected in series to the load circuit, and the current detector detects the simulated load current, and finally the current value is sent to the host computer. The host computer determines whether the function pin electrical signal conforms to the logic control and current judgment value according to the set current range, and finally realizes the automatic detection of the vehicle controller, thereby improving the detection efficiency and quality.
[0036] Embodiment 1:
[0037] A lane keeping controller offline detection device comprises a current detector, a relay group 1, a relay group 2 and a program burner respectively connected to the lane keeping controller to be detected, the current detector is connected to the relay group 1, the relay group 1, the relay group 2 and the program burner are respectively connected to a host computer for communication, and the host computer is connected to the current detector for communication; each pin of the function introduction end of the lane keeping controller to be detected is connected in series with a heating resistor and a test lamp before being connected to the current detector.
[0038] The host computer sends a current or voltage signal corresponding to a vehicle speed of 40 km / h to the lane keeping controller to be tested through a program burner.
[0039] According to the lane keeping control instruction, the host computer controls relay group 1 and relay group 2 to close in sequence, and sends the simulated switch quantity to the lane keeping controller to be detected through the switch quantity pin (LS1\LS2\LS3\LS4\LS5\LS6\LS7\HLS1\HLS2) of the lane keeping controller to be detected.
[0040] The lane keeping control outputs a high-side electrical signal at the (H1\H2\H3\H4) pin of the output function introduction end (output end) and a low-side electrical signal at the (L1\L2) pin according to the received analog switch quantity.
[0041] Each pin (H1\H2\H3\H4\L1\L2) of the function introduction end is connected in series with a heating resistor and a test lamp and then connected to a current detector. The on and off of the test lamp is used to determine whether the program logic and circuit of the lane keeping control are correct. The limit load of the lane keeping control is simulated by a heating resistor, and the current of the simulated load is detected by a current detector, and the obtained current value is sent to the host computer.
[0042] The host computer automatically determines whether the electrical signal of each functional pin conforms to the logic control and current judgment value according to the preset current range, thereby realizing automatic detection and improving detection efficiency and quality.
[0043] In this embodiment, "offline testing" refers to testing performed after the lane keeping controller is manufactured but not installed on the vehicle, also known as "static testing". The device of this embodiment can replace the test driver to perform testing without the lane keeping controller being installed on the vehicle, and the vehicle does not need to maintain a corresponding speed during the testing. It can improve the safety during the testing period on the basis of achieving cross-road marking verification, and is suitable for batch testing of lane keeping controllers after they are manufactured.
[0044] In this embodiment, the RS485 communication protocol is used to realize communication connection between relay group 1, relay group 2 and the host computer, the DB9 data line (a connector with 9 pins, usually used for serial communication standards such as RS232) is used to realize communication connection between the program burner and the host computer, the CAN communication line is used to realize communication connection between the program burner and the lane keeping control to be tested, and the RS485 communication protocol is used to realize communication connection between the current detector and the host computer.
[0045] In this embodiment, the 485 communication relay is controlled by the host computer program in a static state to realize the simulated input of the switch signal; at the same time, the host computer sends the vehicle speed signal through the program burner to simulate the actual vehicle speed signal; a light bulb and a heating resistor are connected in series at the function pin end (H1\H2\H3\H4\L1\L2) of the vehicle controller to simulate the limit load, and the correctness of the program logic and circuit is determined by the light and dark of the light bulb. At the same time, the load circuit is connected in series with the current detector (A1\A2\A3\A4\A5\A6) of the 485 communication, and the current detector detects the simulated load current, and finally transmits the current value to the host computer through the 485 communication line. The host computer automatically determines whether the function pin electrical signal conforms to the logic control and current judgment value according to the set current range, and finally realizes the automatic detection of the lane keeping controller, thereby improving the detection efficiency and quality.
[0046] like Figure 1 As shown, the 24V switching power supply sequentially supplies power to the 485 communication relay group 1, the 485 communication relay 2, the 485 communication current detector and the power switch. After pressing the power switch, the 24V electricity passes through the No. 8 relay coil of the 485 communication relay 1 to control the No. 8 relay to close. At this time, the 24V electricity is connected in series to the A8 circuit of the 485 communication current detector through the relay circuit, and finally provides 24V power to the lane keeping controller to be tested. The A8 circuit of the 485 communication current detector detects the current in the 24V circuit of the lane keeping controller, and transmits the current value to the host computer through the DATA data port to realize the power-on function test of the lane keeping controller.
[0047] After the lane keeping controller is powered on, the host computer is connected to the program burner via the DB9 data cable, and then connected to the lane keeping controller via the CAN communication line to burn the detection program into it.
[0048] After the test program is burned, all function pins and switch signals enter the automatic association state. At this time, the host computer sends a 40km / h vehicle speed signal to the lane keeping controller through the program burner.
[0049] The vehicle speed signal comes from the vehicle speed sensor on the vehicle. The vehicle speed sensor outputs a variable current signal proportional to the vehicle speed, which may be converted into a voltage signal for processing in some signal processing processes. In this embodiment, the host computer sends a current signal (or a voltage signal) corresponding to a vehicle speed of 40 km / h to the lane keeping controller through a program burner.
[0050] The host computer is connected to 485 communication relay group 1 and 485 communication relay group 2 respectively through 485 communication lines. The host computer sends control instructions to the DATA ports of 485 communication relay group 1 and 485 communication relay group 2 in sequence through the 485 communication lines, and according to the data instructions, the 1\2\3\4\5\6\7 relays in 485 communication relay group 1 and the 1\2\3\4 relays in 485 communication relay group 2 are closed in sequence.
[0051] At this time, the simulated switch quantity is input into the switch quantity pins (LS1\LS2\LS3\LS4\LS5\LS6\LS7\HLS1\HLS2) of the vehicle keeping controller in sequence. The lane keeping control outputs the high-side electrical signal at the output function introduction end (H1\H2\H3\H4) and the low-side electrical signal at (L1\L2) according to the switch command signal. The function introduction end (H1\H2\H3\H4\L1\L2) is respectively connected in series with the heating resistor and the test lamp.
[0052] The simulated load current is detected through the 485 communication current detector connected to each loop, and the detected current value is finally transmitted to the host computer through the 485 communication line. The host computer automatically determines whether the electrical signal of the functional pin conforms to the logic control and current judgment value according to the set current range, thereby realizing the functional detection of the lane keeping controller. After the detection is completed, the host computer burns the order program to the lane controller, and finally completes the offline automatic detection of the lane controller, thereby improving the detection and verification efficiency.
[0053] Embodiment 2:
[0054] A lane keeping controller offline detection method, characterized in that it comprises the following steps:
[0055] The host computer sends a current or voltage signal corresponding to a vehicle speed of 40 km / h to the lane keeping controller to be tested through a program burner;
[0056] According to the lane keeping control instruction, the host computer controls relay group 1 and relay group 2 to close in sequence, and sends the simulated switch value to the lane keeping controller to be detected through the switch value pin (LS1\LS2\LS3\LS4\LS5\LS6\LS7\HLS1\HLS2) of the lane keeping controller to be detected;
[0057] Lane keeping control outputs high-side electrical signals at the (H1\H2\H3\H4) pins of the output function input end and outputs low-side electrical signals at the (L1\L2) pins according to the received analog switch quantity;
[0058] Each pin (H1\H2\H3\H4\L1\L2) of the function introduction end is connected in series with a heating resistor and a test lamp, and then connected to a current detector. The on and off of the test lamp is used to determine whether the program logic and circuit of the lane keeping control are correct. The limit load of the lane keeping control is simulated by the heating resistor, and the current of the simulated load is detected by the current detector, and the obtained current value is sent to the host computer;
[0059] The host computer automatically determines whether the electrical signal of each functional pin conforms to the logic control and current judgment value according to the preset current range, thereby realizing automatic detection and improving detection efficiency and quality.
[0060] The relay is controlled to open and close through the host computer program, and a simulated switch signal is input; at the same time, the host computer sends a signal simulating the actual vehicle speed through the program burner; the limit load is simulated by connecting a light bulb and a heating resistor in series at the function pin end of the lane keeping controller, and the correctness of the program logic and circuit is determined by the light bulb turning on and off. At the same time, a current detector is connected in series to the load circuit, and the current detector detects the simulated load current, and finally the current value is sent to the host computer. The host computer determines whether the functional pin electrical signal conforms to the logic control and current judgment value according to the set current range, and finally realizes the automatic detection of the vehicle controller, which improves the detection efficiency and quality.
[0061] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A lane keeping controller offline detection device, characterized in that: Including host computer, program burner, relay group and current detector; The host computer sends a current signal corresponding to the set vehicle speed to the lane keeping controller to be tested through the program burner; the host computer implements the lane keeping control instruction of the lane keeping controller to be tested, controls the corresponding relay group to close, and sends the simulated switch value to the lane keeping controller to be tested; A heating resistor and a test lamp are connected in series to each pin of the output end of the lane keeping controller to be tested, and then connected to the current detector; the correctness of the program logic and circuit of the lane keeping controller is verified by turning the test lamp on and off, the limit load of the lane keeping controller is simulated by the heating resistor, and the current of the simulated load is obtained by the current detector and sent to the host computer; The host computer determines whether the electrical signals of each functional pin of the lane keeping controller to be tested meet the requirements based on the preset current range.
2. A lane keeping controller offline detection device as claimed in claim 1, characterized in that: The relay group at least includes relay group 1 and relay group 2. The lane keeping controller to be detected is respectively connected to the current detector, relay group 1, relay group 2 and the program burner. The current detector is connected to relay group 1. Relay group 1, relay group 2 and the program burner are respectively connected to the host computer for communication. The host computer is connected to the current detector for communication.
3. A lane keeping controller offline detection device as claimed in claim 1, characterized in that: The host computer obtains a control instruction for the lane keeping controller to be detected to implement lane keeping, and controls relay group 1 and relay group 2 to close according to the obtained instruction, and sends the simulated switch value to the switch value pin of the lane keeping controller.
4. A lane keeping controller offline detection device as claimed in claim 1, characterized in that: The lane keeping controller outputs a high-side electrical signal and a low-side electrical signal at corresponding pins of the output end according to the received analog switch quantity.
5. The lane keeping controller offline detection device according to claim 1, characterized in that: The utility model also has a switching power supply, which supplies power to the relay group 1, the relay 2, the current detector and the power switch in sequence.
6. A lane keeping controller off-line detection device as claimed in claim 2, characterized in that: The RS485 communication protocol is used to realize the communication connection between relay group 1, relay group 2 and the host computer.
7. The lane keeping controller offline detection device according to claim 1, characterized in that: The program burner and the host computer use a DB9 data cable to achieve communication connection.
8. The lane keeping controller offline detection device according to claim 1, characterized in that: The program burner and the lane keeping control to be tested are connected via a CAN communication line.
9. The lane keeping controller offline detection device according to claim 1, characterized in that: The RS485 communication protocol is used to realize the communication connection between the current detector and the host computer.
10. A method for realizing off-line detection of a lane keeping controller based on the device according to any one of claims 1 to 9, characterized in that: The following steps are involved: The host computer sends a current signal corresponding to the set vehicle speed to the lane keeping controller to be tested through the program burner; The host computer implements the lane keeping control instruction according to the lane keeping controller to be detected, controls the corresponding relay group to close, and sends the simulated switch value to the lane keeping controller to be detected; The lane keeping controller to be detected outputs a high-side electrical signal and a low-side electrical signal at the pin of the output end according to the received analog switch quantity; Each pin of the output end of the lane keeping controller to be tested is connected in series with a heating resistor and a test lamp, and then connected to a current detector; the correctness of the program logic and circuit of the lane keeping controller is verified by turning the test lamp on and off; the limit load of the lane keeping controller is simulated by a heating resistor, and the current of the simulated load is obtained by the current detector and sent to the host computer; The host computer determines whether the electrical signal of each pin conforms to the logic control and current judgment value according to the preset current range, thereby realizing automatic detection.
Citation Information
Patent Citations
Method for optimizing setting position and number of horizontal passageway on lane side
CN102592028A
Automobile lane-keeping strategy verification platform and method
CN108664013A
Method and device for lane keeping function and storage medium
CN110044638A
Hardware-in-the-loop test device of commercial vehicle lane keeping system
CN111175056A
Emergency lane keeping test system and method for high-precision positioning meeting scene
CN115060505A