Vehicle zero calibration and fault processing method, device and equipment
By pre-setting command interaction logic and result parsing strategies on the main control board, the vehicle zero-position calibration and fault handling are automated, solving the problem of low efficiency in existing technologies and improving the ease of operation and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-30
- Publication Date
- 2026-04-17
AI Technical Summary
In existing technologies, vehicle zero-position calibration and fault detection processes require specialized diagnostic instruments and multiple steps, which are inefficient, require a high level of expertise from personnel, and consume a lot of production line time.
By using the pre-set instruction interaction logic on the main control board, users can select instructions for zero-position clearing, calibration, storage, and fault code processing. Combined with result parsing strategies, this enables one-click automated processing and simplifies the operation process.
It automates vehicle zero-position calibration and fault handling, lowers the operational threshold, improves efficiency, simplifies professional processes, and ensures the accuracy and reliability of operations.
Smart Images

Figure CN121877419A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle electric power steering technology, and in particular to a vehicle zero-position calibration and fault handling method, device and equipment. Background Technology
[0002] Zero-position calibration of the automotive steering system is a core process to ensure steering symmetry and prevent vehicle deviation. Fault detection is a core technology to ensure the safety and reliability of the automotive electric power steering system. Zero-position calibration, fault clearing and detection are key processes in production line assembly, which directly affect steering accuracy and driving safety.
[0003] In existing technologies, multiple steps need to be performed using professional diagnostic instruments or terminal software. The zero-point calibration, fault clearing, and testing processes involve multiple command interactions and multiple steps. Manual monitoring of feedback signals from the electronic control unit and execution of subsequent commands are required. This places extremely high demands on the professionalism of the equipment and personnel, takes up a long time on the production line, and is extremely inefficient. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for vehicle zero-position calibration and fault handling, so as to improve the efficiency of vehicle zero-position calibration and fault handling.
[0005] According to one aspect of this application, a vehicle zero-position calibration and fault handling method is provided, applied to the main control board of a one-button zero-position calibration processing device, the method comprising: From the instruction interaction logic preset on the main control board, select the current instruction and the current result parsing strategy associated with the current instruction; the instruction interaction logic includes at least one of the following instructions: zero-position clear instruction, zero-position calibration instruction, zero-position storage instruction, fault code clear instruction, or fault code detection instruction, as well as the execution order between the result parsing strategy associated with the instruction and the instruction. The current command is sent to the electronic control unit in the vehicle's electric power steering system via the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current command and feeds back the result of the current command to the main control board; The current instruction result is parsed using the current result parsing strategy. If the current instruction result is successful, the execution instruction selection operation is returned according to the execution order of the instructions.
[0006] According to another aspect of this application, a vehicle zero-position calibration and fault handling device is provided, comprising a main control board configured in a one-button zero-position calibration processing device, the device including: The instruction and strategy selection module is used to select the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board; the instruction interaction logic includes at least one of the following instructions: zero-position clearing instruction, zero-position calibration instruction, zero-position storage instruction, fault code clearing instruction, or fault code detection instruction, as well as the execution order between the result parsing strategy associated with the instruction and the instruction. The instruction execution module is used to send the current instruction to the electronic control unit in the vehicle's electric power steering system through the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current instruction and feeds back the result of the current instruction to the main control board; The instruction result parsing module is used to parse the current instruction result using the current result parsing strategy. If the current instruction result is successful, the module returns to the instruction selection operation according to the execution order of the instructions.
[0007] According to another aspect of this application, an electronic device is provided, the electronic device comprising: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement any of the vehicle zero-position calibration and fault handling methods provided in the embodiments of this application.
[0008] According to another aspect of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements any of the vehicle zero-position calibration and fault handling methods provided in the embodiments of this application.
[0009] According to another aspect of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the vehicle zero-position calibration and fault handling methods provided in the embodiments of this application.
[0010] This application selects the current command and its associated result parsing strategy from the command interaction logic preset on the main control board. The command interaction logic includes at least one of the following commands: zero-position clearing command, zero-position calibration command, zero-position storage command, fault code clearing command, or fault code detection command, as well as the associated result parsing strategy and the execution order of the commands. Through the communication module in the main control board, the current command is sent to the electronic control unit (ECU) in the vehicle's electric power steering system, causing the ECU to execute the operation corresponding to the current command and return the result to the main control board. The current result parsing strategy is used to parse the current command result; if the result is successful, the execution order of the commands is followed, returning to the command selection operation. This solution achieves one-click automation of the entire process, including zero-position clearing and calibration, power-down storage detection, and fault code clearing and confirmation. The operation is extremely simple, lowering the operational threshold and eliminating the need for specialized processes such as software operation, information interpretation, and power-on / off procedures, thus improving the efficiency of vehicle zero-position calibration and fault handling. Attached Figure Description
[0011] Figure 1 This is a flowchart of a vehicle zero-position calibration and fault handling method according to Embodiment 1 of this application; Figure 2 This is a flowchart of a vehicle zero-position calibration and fault handling method according to Embodiment 2 of this application; Figure 3 This is a schematic diagram of a vehicle zero-position calibration and fault handling device according to Embodiment 3 of this application; Figure 4 This is a schematic diagram of the structure of an electronic device that implements the vehicle zero-position calibration and fault handling method of Embodiment 4 of this application. Detailed Implementation
[0012] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0013] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0014] Furthermore, it should be noted that the collection, storage, use, processing, transmission, provision, and disclosure of data related to instruction interaction logic involved in the technical solution of this application all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0015] Example 1 Figure 1 This is a flowchart of a vehicle zero-position calibration and fault handling method according to Embodiment 1 of this application. This embodiment is applicable to the zero-position calibration, fault clearing, and detection of a one-button steering system. It can be performed by a vehicle zero-position calibration and fault handling device, which can be implemented in hardware and / or software. This device can be configured in a computer device, such as the main control board of a one-button zero-position calibration device. Figure 1 As shown, the method includes: S110. Select the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board; the instruction interaction logic includes at least one of the following instructions: zero position clear instruction, zero position calibration instruction, zero position storage instruction, fault code clear instruction, or fault code detection instruction, as well as the result parsing strategy associated with the instruction and the execution order between the instructions.
[0016] The main control board controls the entire operation of the one-button zero-position calibration processing device. It can pre-configure and store zero-position clearing commands, zero-position calibration commands, zero-position storage commands, fault code clearing commands, and fault code detection commands required by the vehicle's electric power steering system, as well as the result parsing strategy and execution order of the commands. The zero-position clearing command clears the currently stored zero-position data in the ECU (Electronic Control Unit) of the EPS (Electric Power Steering). To ensure that new zero-position calibration is not interfered with by old data, clearing old data before each calibration avoids calibration failures caused by incorrect or inaccurate old data. The zero-position calibration command initiates the zero-position calibration process, causing the EPS system to recalculate and store new zero-position data based on the current steering wheel position (mechanical center position), ensuring the accuracy of the steering system's zero-position data and thus guaranteeing the vehicle's directional stability when driving straight. The zero-position storage command writes the newly calibrated zero-position data to the NVM (Non-Volatile Memory), ensuring data integrity after power failure. Only by storing the data in the NVM can the vehicle retain the correct zero-position data upon restart. The fault code clearing command clears stored fault codes in the EPS system, preparing the system for normal operation. After troubleshooting, fault codes must be cleared to prevent false alarms or functional limitations caused by old fault codes. The fault code detection command detects new fault codes in the EPS system, ensuring the system is functioning correctly after calibration. Detecting fault codes after each operation allows for timely detection and handling of new problems, ensuring reliability and safety. The result parsing strategy refers to the main control board taking appropriate actions based on the received command execution results, ensuring the accuracy and reliability of the entire calibration and fault handling process. Different commands are associated with different result parsing strategies. The command interaction logic can be pre-configured.
[0017] Optionally, the execution order of the instructions is as follows: zero-position clear instruction, zero-position calibration instruction, zero-position storage instruction, fault code clear instruction, and fault code detection instruction are executed sequentially.
[0018] Specifically, in vehicle zero-point calibration and fault handling scenarios, the zero-point clear command, zero-point calibration command, zero-point storage command, fault code clear command, and fault code detection command each play a different role. These commands are executed sequentially to ensure the accuracy and reliability of the entire process, avoid data conflicts and errors, and improve stability and safety. Before performing a new zero-point calibration, the old data must be cleared; otherwise, the old data will interfere with the storage of the new data. After the zero-point calibration is completed, the new data must be stored in the NVM to ensure data persistence. Then, fault code clearing and detection are performed, effectively reducing the occurrence of errors and abnormal situations.
[0019] Optionally, the one-button zero-position calibration processing device further includes a trigger module, which includes function buttons. The trigger module and the main control board are communicatively connected. Accordingly, before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, the device further includes: in response to the operator's triggering operation on the function buttons, selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board.
[0020] The one-button zero-position calibration processing device also includes a trigger module. The trigger module is equipped with function buttons to realize a complete operation process, including one-button triggering of the main control board to perform zero-position clearing, zero-position calibration, zero-position calibration result judgment, ECU restart, fault code clearing, fault status reading, and information output.
[0021] Optionally, the one-button zero-position calibration processing device further includes a power module and an indicator light module. The indicator light module includes a first indicator light. The power module, the indicator light module, and the main control board are communicatively connected. Accordingly, before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, the device further includes: after the power is turned on by the power module, if the first indicator light flashes green, then the current instruction and the current result parsing strategy associated with the current instruction are selected from the instruction interaction logic preset on the main control board; if the first indicator light flashes red, then an abnormal information is prompted to the operator.
[0022] The power module provides a stable power supply for the one-button zero-position calibration processing device. It supports external power supply and can also control the power supply of the vehicle's electric power steering system via relays controlled by the main control board. The indicator light module uses different colored and status indicator lights to provide feedback on the device's operating status to the operator. The indicator light module includes a first indicator light to indicate the operating status of the one-button zero-position calibration processing device. Specifically, if the first indicator light flashes green, it indicates that the device is powered on and can work normally, selecting the current command and its associated result parsing strategy from the pre-set command interaction logic on the main control board; if the first indicator light flashes red, it indicates a device malfunction, prompting the operator with an error message.
[0023] S120. The current command is sent to the electronic control unit in the vehicle's electric power steering system through the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current command and feeds back the result of the current command to the main control board.
[0024] The main control board contains a communication module that establishes a communication connection with the steering system ECU via a CAN bus. This module is used to send zero-position clear commands, zero-position calibration commands, zero-position storage commands, fault code clear commands, or fault code detection commands, and to receive data from the ECU.
[0025] S130. The current instruction result is parsed using the current result parsing strategy. If the current instruction result is successful, the execution instruction selection operation is returned according to the execution order of the instructions.
[0026] The current result parsing strategy refers to the main control board taking corresponding processing measures based on the execution result of the received current instruction, ensuring the accuracy and reliability of the entire calibration and fault handling process. Different instructions are associated with different result parsing strategies. The current result parsing strategy can include success parsing strategies and failure parsing strategies. The success parsing strategy means that when an instruction is executed successfully, the main control board will take the corresponding next step according to the instruction type. The failure parsing strategy means that when an instruction is executed unsuccessfully, the main control board will take corresponding processing measures according to the reason for the failure, such as prompting the operator with abnormal information so that the operator can check for abnormalities. For example, when the zero-position clearing instruction fails to execute, abnormal information such as communication timeout and ECU non-response can be prompted, and the attempt will be retried. If the attempt fails after 3 retries, an alarm will be issued and subsequent operations will be stopped, prompting the operator to check the hardware connection. When the zero-position calibration instruction fails to execute, abnormal information such as the steering wheel not being in the mechanical neutral position and sensor failure can be prompted, and the attempt will be retried. If the attempt fails after 3 retries, an alarm will be issued and subsequent operations will be stopped, prompting the operator to check the steering wheel position and sensors.
[0027] Optionally, the one-button zero-position calibration processing device further includes a buzzer module and an indicator light module. The indicator light module includes a second indicator light. The buzzer module and the main control board are connected in communication. The device also includes: if the current instruction result is a failure, returning to execute the current instruction operation through the communication module in the main control board to send the current instruction operation to the electronic control unit in the vehicle's electric power steering system; if the number of retries for the current instruction and the result of the current instruction meet the abnormal handling conditions, instructing the second indicator light to flash red and the buzzer module to issue an alarm.
[0028] The exception handling condition is that the number of retries for the current command is greater than or equal to the preset number of retries, and the result of the current command is still a failure. For example, the preset number of retries can be 3, but this application does not limit the specific number of retries and can be adjusted adaptively according to actual conditions. When the number of retries for the current command is greater than or equal to the preset number of retries, and the result of the current command is still a failure, the second indicator light flashes red and the buzzer module issues an alarm. The buzzer module can provide audible feedback to the operator regarding the device's operating status, such as issuing a prompt tone to indicate an operational error. The indicator light module includes a second indicator light, used to indicate the execution result through color and status. For example, when the second indicator light is solid yellow, it indicates calibration is in progress; when the second indicator light is flashing yellow, it indicates a calibration failure, and the EPS response information cannot be received correctly, requiring investigation of the connection link and EPS power supply status; when the second indicator light is solid green, it indicates successful calibration; when the second indicator light is flashing red, it indicates calibration failure. The main control board controls the lighting and extinguishing of the colors to provide intuitive feedback on the operation result.
[0029] This application selects the current command and its associated result parsing strategy from the command interaction logic preset on the main control board. The command interaction logic includes at least one of the following commands: zero-position clearing command, zero-position calibration command, zero-position storage command, fault code clearing command, or fault code detection command, as well as the associated result parsing strategy and the execution order of the commands. The current command is sent to the electronic control unit (ECU) in the vehicle's electric power steering system via the communication module on the main control board, causing the ECU to execute the operation corresponding to the current command and return the result to the main control board. The current result parsing strategy is used to parse the current command result; if the result is successful, the execution order of the commands is followed, returning to the command selection operation. This solution achieves one-click automated zero-position clearing and calibration, power-down storage detection, fault code clearing and confirmation, etc., simplifying operation, lowering the operational threshold, and eliminating professional processes such as software operation, information interpretation, and power-on / off procedures. The result is directly presented through indicator light colors and status accompanied by a buzzer module alarm, conforming to common sense and avoiding misjudgments due to complex environments or parsing errors, thus improving the efficiency and accuracy of vehicle zero-position calibration and fault handling.
[0030] Example 2 Figure 2 This is a flowchart of a vehicle zero-position calibration and fault handling method according to Embodiment 2 of this application. Based on the technical solutions of the above embodiments, this embodiment adds the following: "If the current instruction is the zero-position storage instruction, correspondingly, after the current instruction result is successful, it further includes: controlling the vehicle relay to disconnect the power supply of the vehicle's electric power steering system, and after a preset time threshold, controlling the vehicle relay to connect the power supply of the vehicle's electric power steering system; querying the zero-position calibration status stored in the electronic control unit through the communication module in the main control board, and if the zero-position calibration status is successful, then returning to the execution instruction selection operation according to the execution order of the instructions." It should be noted that for parts not detailed in this embodiment, please refer to the relevant descriptions in other embodiments. For example... Figure 2 As shown, the method includes: S210. Select the zero-position storage instruction and the current result parsing strategy associated with the zero-position storage instruction from the instruction interaction logic preset on the main control board.
[0031] The zero-position storage command is used to write the newly calibrated zero-position data into the NVM, ensuring that the data is not lost after power failure. Only by storing the data in the NVM can the correct zero-position data be guaranteed after the vehicle restarts. The current result parsing strategy associated with the zero-position storage command may include, in the event of execution failure, prompting the NVM with abnormal information such as NVM write failure and communication error, and retrying. If it still fails after 3 retries, an alarm will be issued and subsequent operations will be stopped, prompting the operator to check the ECU and NVM; it may also include, in the event of successful execution, sending a fault code clearing command to clear fault codes and perform detection.
[0032] S220. The zero-position storage command is sent to the electronic control unit in the vehicle's electric power steering system through the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the zero-position storage command and feeds back the current command result to the main control board.
[0033] The electric power steering system is the core assembly of the vehicle's steering system, comprising components such as a motor, reduction gear, and ECU, providing steering assistance to the driver. The current command result is a status feedback, typically a status code, returned to the main control board via the CAN bus after the ECU has executed the command, indicating whether the operation was successful. If the main control board does not receive a response from the electronic control unit within a preset time threshold, it will resend the zero-position storage command. If no response is received after repeating this a preset number of times, the second indicator light will flash yellow, accompanied by an alarm from the buzzer module.
[0034] S230. The current instruction result is parsed using the current result parsing strategy. If the current instruction result is successful, the vehicle relay is controlled to disconnect the power supply of the vehicle's electric power steering system, and after a preset time threshold, the vehicle relay is controlled to connect the power supply of the vehicle's electric power steering system.
[0035] Specifically, after the main control board receives the zero-position calibration result from the electronic control unit and responds positively, it can control the vehicle relay to disconnect the power supply to the KL15 of the vehicle's electric power steering system, wait for 2 seconds, and then reconnect the power supply to the KL15 of the vehicle's electric power steering system. By powering off and restarting, it verifies whether the EPS system has correctly stored the zero-position calibration result in the non-volatile memory area and whether it has taken effect.
[0036] S240. Query the zero-position calibration status stored in the electronic control unit through the communication module in the main control board. If the zero-position calibration status is successful, return to the execution instruction selection operation according to the execution order of the instructions.
[0037] The zero-point calibration status is a flag bit stored in the ECU's NVM, used to indicate whether the zero-point calibration was successfully completed. The zero-point calibration status can include success or failure.
[0038] In one alternative implementation, the steering system assembly is adjusted to the mechanical center position, and the one-button zero-position calibration processing device box is connected to the CAN bus interface of the steering system ECU through the diagnostic interface (equipped with a 120-ohm terminating resistor). When the power is turned on, the indicator light of the calibration box flashes green, indicating that the calibration box can work normally. Pressing the function button of the button module triggers the main control board to start the operation process.
[0039] The main control board sends a zero-point calibration clear command to the ECU (EPS) via the CAN communication module to avoid the fault that the zero point has been calibrated but cannot be recalibrated (if no response is received from the EPS after 2 seconds, the command is sent again; if no response is received after 3 repetitions, the indicator light flashes yellow and a buzzer sounds for 5 seconds); after receiving the command, the EPS performs the zero-point clearing operation and sends a positive response (including zero-point clearing success / failure data) back to the device box after completion; after receiving the zero-point clearing operation feedback data sent by the EPS, the main control board parses the zero-point clearing operation result. If the zero-point clearing is successful, the next step is executed; otherwise, the zero-point clearing operation is executed again (if the failure is repeated 3 times, the indicator light flashes red and a buzzer sounds for 5 seconds).
[0040] The main control board sends a zero-position calibration command to the ECU (EPS) via the CAN communication module (if no response is received from the EPS within 2 seconds, the command is sent again; if no response is received after 3 repetitions, the indicator light flashes yellow and a buzzer sounds for 5 seconds); after receiving the command, the EPS performs the zero-position calibration operation and sends a positive response back to the device box (including zero-position clearing success / failure data); after receiving the zero-position calibration operation feedback data from the EPS, the main control board parses the zero-position calibration operation result. If the zero-position calibration is successful, it continues to the next step; otherwise, it continues to perform the zero-position calibration operation (if the failure occurs 3 times, the indicator light flashes red and a buzzer sounds for 5 seconds).
[0041] The main control board sends a zero-position storage command to the ECU (EPS) via the CAN communication module (if no response is received from the EPS after 2 seconds, it will send the command again; if no response is received after 3 repetitions, the indicator light will flash yellow and a buzzer will sound for 5 seconds); after receiving the zero-position storage command, the EPS stores the calibration result, updates the internal calibration status, and sends a positive response back to the device box; after receiving the positive response from the EPS to store the calibration result, the main control board controls the relay to disconnect the power to KL15 of the EPS, waits 2 seconds, and then reconnects the power to KL15 to check the EPS calibration status. If the storage is successful, it continues to the next step; otherwise, it re-executes the zero-position calibration and stores the result.
[0042] The main control board sends a fault code clearing command to the ECU (EPS) via the CAN communication module (if no response is received from the EPS within 2 seconds, it will be sent again; if no response is received after 3 repetitions, the indicator light will flash yellow and a buzzer will sound for 5 seconds); after receiving the fault code clearing command, the EPS clears the fault, updates the internal fault status, and reports the response status (positive response / negative response) to the device box; after receiving the fault code clearing response from the EPS, if the main control board is positive, it will continue to the next step; if it is negative, it will send the fault code clearing command again.
[0043] The main control board sends a fault code detection command to the ECU (EPS) via the CAN communication module. (If no response is received from the EPS within 2 seconds, the command is sent again; if no response is received after three repetitions, the indicator light flashes yellow and a buzzer sounds for 5 seconds.) Upon receiving the fault code detection command, the EPS executes relevant operations and reports the response status (positive response / negative response; a positive response includes result data, a negative response includes a failure code). After receiving the fault code response from the EPS, the main control board analyzes the fault status if it is a positive response; otherwise, it resends the fault code detection command. If the positive response indicates no fault, the indicator light turns solid green, and automatic zero-point calibration, restart storage detection, fault clearing, and detection are completed. If the positive response carries fault code information, the indicator light flashes red and a buzzer sounds for 5 seconds, indicating calibration failure.
[0044] In this embodiment, the main control board communicates with the ECU via the CAN communication module to exchange commands for zero-position clearing and calibration, power-on and power-off, and fault code clearing and detection. Based on the execution results, the main control board controls the indicator lights and buzzer. For each command interaction, the main control board must determine whether the current operation was successful based on the information from the ECU. If successful, it automatically executes the next step; otherwise, it repeats the previous operation request until the ECU reports success. All processes are completed automatically. After all operations are completed successfully, the indicator light remains solid green, and the buzzer does not respond. If the indicator light flashes yellow and the buzzer sounds, the operation is considered abnormal, and the wiring harness and other operating environment components need to be checked. If the indicator light flashes red and the buzzer sounds, the ECU is considered abnormal, and the ECU itself needs to be checked. Operators can confirm the calibration results and fault conditions through the indicator light status and alarm sounds. The judgment result, combined with the indicator light and alarm sounds, is determined after a single button press, avoiding misjudgment.
[0045] This application embodiment selects the current instruction and its associated result parsing strategy from the instruction interaction logic preset on the main control board. The instruction interaction logic includes at least one of the following: zero-position clearing instruction, zero-position calibration instruction, zero-position storage instruction, fault code clearing instruction, or fault code detection instruction, as well as the associated result parsing strategy and the execution order of the instructions. The current instruction is sent to the electronic control unit (ECU) in the vehicle's electric power steering system via the communication module in the main control board, causing the ECU to execute the operation corresponding to the current instruction and return the result to the main control board. The current result parsing strategy is used to parse the current instruction result; if the result is successful, the execution order of the instructions is followed, returning to the selected instruction selection operation. This solution achieves one-click automated zero-position clearing and calibration, power-down storage detection, fault code clearing and confirmation, etc., simplifying operation, lowering the operational threshold, eliminating professional processes such as software operation, information interpretation, and power-on / off procedures, and improving the efficiency of vehicle zero-position calibration and fault handling.
[0046] Example 3 Figure 3 This is a structural schematic diagram of a vehicle zero-position calibration and fault handling device according to Embodiment 3 of this application. This embodiment is applicable to the zero-position calibration, fault clearing, and detection of a one-button steering system. The vehicle zero-position calibration and fault handling device can be implemented in hardware and / or software, and can be configured in a computer device, such as the main control board of a one-button zero-position calibration processing device. Figure 3 As shown, the device includes: The instruction and strategy selection module 310 is used to select the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board; the instruction interaction logic includes at least one of the following instructions: zero position clearing instruction, zero position calibration instruction, zero position storage instruction, fault code clearing instruction, or fault code detection instruction, as well as the execution order between the result parsing strategy associated with the instruction and the instruction. The instruction execution module 320 is used to send the current instruction to the electronic control unit in the vehicle's electric power steering system through the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current instruction and feeds back the result of the current instruction to the main control board; The instruction result parsing module 330 is used to parse the current instruction result using the current result parsing strategy. If the current instruction result is successful, the execution instruction selection operation is returned according to the execution order of the instructions.
[0047] Optionally, the execution order of the instructions is as follows: zero-position clear instruction, zero-position calibration instruction, zero-position storage instruction, fault code clear instruction, and fault code detection instruction are executed sequentially.
[0048] Optionally, the device further includes: The zero-position calibration status query module is used to, if the current instruction is the zero-position stored instruction, control the vehicle relay to disconnect the power supply of the vehicle's electric power steering system after the current instruction result is successful, and control the vehicle relay to reconnect the power supply of the vehicle's electric power steering system after a preset time threshold; and query the zero-position calibration status stored in the electronic control unit through the communication module in the main control board. If the zero-position calibration status is successful, the module returns to the instruction selection operation according to the execution order of the instructions.
[0049] Optionally, the one-button zero-position calibration processing device further includes a trigger module, which includes function keys. The trigger module and the main control board are communicatively connected. Accordingly, the device further includes a function key trigger module, which is used to select the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, in response to the operator's triggering operation on the function key.
[0050] Optionally, the one-button zero-position calibration processing device further includes a power module and an indicator light module. The indicator light module includes a first indicator light. The power module, the indicator light module, and the main control board are communicatively connected. Correspondingly, the device further includes an abnormal information prompting module, which is used to, after powering on via the power module, before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, if the first indicator light flashes green, then the current instruction and the current result parsing strategy associated with the current instruction are selected from the instruction interaction logic preset on the main control board; if the first indicator light flashes red, then an abnormal information is prompted to the operator.
[0051] Optionally, the one-button zero-position calibration processing device further includes a buzzer module and an indicator light module. The indicator light module includes a second indicator light. The buzzer module and the main control board are communicatively connected. The indicator light module and the main control board are also communicatively connected. The device further includes: The current instruction retry module is used for: If the current instruction fails, the process returns to sending the current instruction to the electronic control unit in the vehicle's electric power steering system via the communication module in the main control board. If the number of retries for the current instruction and the result of the current instruction meet the abnormal handling conditions, the second indicator light is instructed to flash red and the buzzer module is instructed to issue an alarm.
[0052] This application embodiment selects the current instruction and its associated result parsing strategy from the instruction interaction logic preset on the main control board. The instruction interaction logic includes at least one of the following: zero-position clearing instruction, zero-position calibration instruction, zero-position storage instruction, fault code clearing instruction, or fault code detection instruction, as well as the associated result parsing strategy and the execution order of the instructions. The current instruction is sent to the electronic control unit (ECU) in the vehicle's electric power steering system via the communication module in the main control board, causing the ECU to execute the operation corresponding to the current instruction and return the result to the main control board. The current result parsing strategy is used to parse the current instruction result; if the result is successful, the execution order of the instructions is followed, returning to the selected instruction selection operation. This solution achieves one-click automated zero-position clearing and calibration, power-down storage detection, fault code clearing and confirmation, etc., simplifying operation, lowering the operational threshold, eliminating professional processes such as software operation, information interpretation, and power-on / off procedures, and improving the efficiency of vehicle zero-position calibration and fault handling.
[0053] The vehicle zero-position calibration and fault handling device provided in this application embodiment can execute the vehicle zero-position calibration and fault handling method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing each vehicle zero-position calibration and fault handling method.
[0054] According to embodiments of this application, this application also provides an electronic device, a readable storage medium, and a computer program product.
[0055] Example 4 Figure 4 This is a schematic diagram of the structure of an electronic device 410 implementing the vehicle zero-position calibration and fault handling method according to embodiments of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0056] like Figure 4As shown, the electronic device 410 includes at least one processor 411 and a memory, such as a read-only memory (ROM) 412 or a random access memory (RAM) 413, communicatively connected to the at least one processor 411. The memory stores computer programs executable by the at least one processor. The processor 411 can perform various appropriate actions and processes based on the computer program stored in the ROM 412 or loaded from storage unit 418 into the RAM 413. The RAM 413 may also store various programs and data required for the operation of the electronic device 410. The processor 411, ROM 412, and RAM 413 are interconnected via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0057] Multiple components in electronic device 410 are connected to I / O interface 415, including: input unit 416, such as keyboard, mouse, etc.; output unit 417, such as various types of displays, speakers, etc.; storage unit 418, such as disk, optical disk, etc.; and communication unit 419, such as network card, modem, wireless transceiver, etc. Communication unit 419 allows electronic device 410 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0058] Processor 411 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 411 performs the various methods and processes described above, such as vehicle zero-position calibration and fault handling methods.
[0059] In some embodiments, the vehicle zero-position calibration and fault handling method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 410 via ROM 412 and / or communication unit 419. When the computer program is loaded into RAM 413 and executed by processor 411, one or more steps of the vehicle zero-position calibration and fault handling method described above may be performed. Alternatively, in other embodiments, processor 411 may be configured as the vehicle zero-position calibration and fault handling method by any other suitable means (e.g., by means of firmware).
[0060] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0061] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable vehicle zero-point calibration and fault handling device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0062] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0063] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0064] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0065] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0066] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this application can be achieved, and this is not limited herein.
[0067] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for vehicle zero-position calibration and fault handling, characterized in that, A main control board used in a one-button zero-position calibration processing device, the method comprising: From the instruction interaction logic preset on the main control board, select the current instruction and the current result parsing strategy associated with the current instruction; the instruction interaction logic includes at least one of the following instructions: zero-position clear instruction, zero-position calibration instruction, zero-position storage instruction, fault code clear instruction, or fault code detection instruction, as well as the execution order between the result parsing strategy associated with the instruction and the instruction. The current command is sent to the electronic control unit in the vehicle's electric power steering system via the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current command and feeds back the result of the current command to the main control board; The current instruction result is parsed using the current result parsing strategy. If the current instruction result is successful, the execution instruction selection operation is returned according to the execution order of the instructions.
2. The method according to claim 1, characterized in that, The execution order of the instructions is as follows: zero-position clear instruction, zero-position calibration instruction, zero-position storage instruction, fault code clear instruction, and fault code detection instruction are executed sequentially.
3. The method according to claim 1, characterized in that, If the current instruction is the zero-bit storage instruction, then, after the current instruction result is successful, the method further includes: The vehicle relay is controlled to disconnect the power supply to the vehicle's electric power steering system, and after a preset time threshold, the vehicle relay is controlled to reconnect the power supply to the vehicle's electric power steering system. The communication module in the main control board queries the zero-position calibration status stored in the electronic control unit. If the zero-position calibration status is successful, the execution instruction selection operation is returned according to the execution order of the instructions.
4. The method according to claim 1, characterized in that, The one-click zero-position calibration processing device further includes a trigger module, which includes function keys. The trigger module and the main control board are communicatively connected. Accordingly, before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, the method further includes: In response to the operator's triggering operation of the function key, the current instruction and the current result parsing strategy associated with the current instruction are selected from the instruction interaction logic preset on the main control board.
5. The method according to claim 1, characterized in that, The one-click zero-position calibration processing device further includes a power module and an indicator light module. The indicator light module includes a first indicator light. The power module, the indicator light module, and the main control board are communicatively connected. Correspondingly, before selecting the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board, the method further includes: After the power is turned on via the power module, if the first indicator light flashes green, the current instruction and the current result parsing strategy associated with the current instruction will be selected from the instruction interaction logic preset on the main control board; if the first indicator light flashes red, an abnormal message will be displayed to the operator.
6. The method according to claim 1, characterized in that, The one-button zero-position calibration processing device further includes a buzzer module and an indicator light module. The indicator light module includes a second indicator light. The buzzer module and the main control board are communicatively connected. The indicator light module and the main control board are also communicatively connected. The method further includes: If the current instruction fails, the process returns to sending the current instruction to the electronic control unit in the vehicle's electric power steering system via the communication module in the main control board. If the number of retries for the current instruction and the result of the current instruction meet the abnormal handling conditions, the second indicator light is instructed to flash red and the buzzer module is instructed to issue an alarm.
7. A vehicle zero-position calibration and fault handling device, characterized in that, The main control board configured in the one-button zero-position calibration processing device includes: The instruction and strategy selection module is used to select the current instruction and the current result parsing strategy associated with the current instruction from the instruction interaction logic preset on the main control board; the instruction interaction logic includes at least one of the following instructions: zero-position clearing instruction, zero-position calibration instruction, zero-position storage instruction, fault code clearing instruction, or fault code detection instruction, as well as the execution order between the result parsing strategy associated with the instruction and the instruction. The instruction execution module is used to send the current instruction to the electronic control unit in the vehicle's electric power steering system through the communication module in the main control board, so that the electronic control unit executes the operation corresponding to the current instruction and feeds back the result of the current instruction to the main control board; The instruction result parsing module is used to parse the current instruction result using the current result parsing strategy. If the current instruction result is successful, the module returns to the instruction selection operation according to the execution order of the instructions.
8. An electronic device, characterized in that, include: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle zero-position calibration and fault handling method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by the processor, the program implements the vehicle zero-position calibration and fault handling method as described in any one of claims 1-6.
10. A computer program product comprising a computer program that, when executed by a processor, implements the vehicle zero-position calibration and fault handling method according to any one of claims 1-6.