Method, device and equipment for detecting electronic parking brake system and storage medium
By sending diagnostic commands to the controller of the electronic parking system, driving the circuit and obtaining feedback current and voltage, and combining the detection results of multiple controllers, the problem of not being able to detect the electronic parking system in a timely manner is solved, and the effect of timely detection of manufacturing defects is achieved.
Patent Information
- Application Number
- CN202311118144.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-08-31
AI Technical Summary
Existing technologies cannot test the manufactured electronic parking systems in a timely manner, resulting in the inability to detect manufacturing defects in a timely manner.
By sending diagnostic commands to the controller of the electronic parking brake system, the system enters factory mode, drives the drive circuit, and obtains feedback current and feedback voltage. Based on these parameters, the system determines the test results and combines the test results from multiple controllers to work together to achieve the test.
This enables timely inspection of the manufactured electronic parking systems, allowing for the prompt detection of manufacturing defects and improving the accuracy of production quality control.
Smart Images

Figure CN117192248B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of production line testing technology, specifically to a testing method, apparatus, equipment, and storage medium for an electronic parking brake (RPB) system. Background Technology
[0002] Currently, electronic parking systems are used to control the parking mechanism in vehicles to achieve electronic parking functions. Functional testing is required after the electronic parking system is manufactured.
[0003] In related technologies, the main approach is to test whether the electronic parking brake system functions properly after connecting it to the vehicle's parking mechanism. However, since this test can only be performed during vehicle assembly, there is a technical problem with the inability to test the manufactured electronic parking brake systems in a timely manner. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for testing an electronic parking brake (RPB) system, to at least solve the technical problem in related technologies that it is impossible to test manufactured electronic parking brake systems in a timely manner. The technical solution of this application is as follows:
[0005] According to a first aspect of this application, a testing method for an electronic parking brake (RPB) system is provided, which is applied to a first controller in the RPB system; the RPB system further includes a first drive circuit; the first drive circuit is used to drive a first parking mechanism of the vehicle; the method includes: in response to a first diagnostic command, entering a factory mode and driving the first drive circuit; acquiring the testing result of the first controller; the testing result of the first controller includes the feedback current and feedback voltage of the first drive circuit; and determining the testing result of the RPB system based on the testing result of the first controller.
[0006] Based on the aforementioned technical means, this application can enter factory mode in response to a first diagnostic command and drive the first drive circuit; and obtain the detection result of the first controller. Furthermore, based on the detection result of the first controller, the detection result of the RPB system is determined. Thus, by sending a first diagnostic command to the first controller, obtaining the detection result of the first controller, and judging the detection result of the first controller, the detection result of the electronic parking system can be obtained, enabling timely testing of the manufactured electronic parking system.
[0007] In one possible implementation, determining the detection result of the RPB system based on the detection result of the first controller includes: if the feedback current of the first drive circuit is within a first preset range and the feedback voltage of the first drive circuit is within a second preset range, then the detection result of the RPB system is determined to be normal; if the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, then the detection result of the RPB system is determined to be abnormal.
[0008] Based on the aforementioned technical means, this application can determine that the detection result of the RPB system is normal if the feedback current of the first driving circuit is within a first preset range and the feedback voltage of the first driving circuit is within a second preset range; and determine that the detection result of the RPB system is abnormal if the feedback current of the first driving circuit is not within the first preset range or the feedback voltage of the first driving circuit is not within the second preset range. Thus, by judging the feedback current and feedback voltage of the first driving circuit, a method for determining the detection result of the RPB system is realized.
[0009] In one possible implementation, the RPB system further includes a second controller and a second drive circuit; the second drive circuit is used to drive a second parking mechanism of the vehicle; the method further includes: in response to a first diagnostic command, sending a second diagnostic command to the second controller to cause the second controller to drive the second drive circuit, and determining the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit; the detection result of the first controller further includes the detection result of the second controller; determining the detection result of the RPB system based on the detection result of the first controller includes: if the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then the detection result of the RPB system is determined to be normal; if the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal.
[0010] Based on the aforementioned technical means, this application can respond to a first diagnostic command by sending a second diagnostic command to a second controller, causing the second controller to drive a second drive circuit, and determining the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit. If the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then the detection result of the RPB system is determined to be normal; if the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal. Thus, by judging the feedback current and feedback voltage of the first drive circuit, and combining this with the detection result of the second controller, a method for determining the detection result of the RPB system when the first and second controllers work together is realized.
[0011] In one possible implementation, the first diagnostic instruction is generated when the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate that the first controller has a manufacturing defect.
[0012] Based on the aforementioned technical means, this application can pre-determine whether a target fault code exists in the fault codes of the first controller, and generate a first diagnostic command if the target fault code does not exist in the fault codes of the first controller. In this way, it is possible to pre-determine whether the first controller has a manufacturing defect, and generate a first diagnostic command to test the first controller if the first controller does not have a manufacturing defect.
[0013] According to a second aspect of this application, a testing device for an electronic parking brake (RPB) system is provided, which is applied to a first controller in the RPB system. The RPB system further includes a first drive circuit. The first drive circuit is used to drive a first parking mechanism of the vehicle. The device includes a drive unit, an acquisition unit, and a determination unit. The drive unit is used to enter a factory mode in response to a first diagnostic command and drive the first drive circuit. The acquisition unit is used to acquire the detection result of the first controller. The detection result of the first controller includes the feedback current and feedback voltage of the first drive circuit. The determination unit is used to determine the detection result of the RPB system based on the detection result of the first controller.
[0014] In one possible implementation, the determining unit is specifically used to: determine that the detection result of the RPB system is normal if the feedback current of the first driving circuit is within a first preset range and the feedback voltage of the first driving circuit is within a second preset range; and determine that the detection result of the RPB system is abnormal if the feedback current of the first driving circuit is not within the first preset range or the feedback voltage of the first driving circuit is not within the second preset range.
[0015] In one possible implementation, the RPB system further includes a second controller and a second drive circuit; the second drive circuit is used to drive a second parking mechanism of the vehicle; the device further includes: a sending unit; the sending unit is used to send a second diagnostic command to the second controller in response to a first diagnostic command, so that the second controller drives the second drive circuit, and to determine the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit; the detection result of the first controller also includes the detection result of the second controller; the determining unit is specifically used to: if the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then determine that the detection result of the RPB system is normal; if the feedback current of the first drive circuit is not within the first preset range, or, the feedback voltage of the first drive circuit is not within the second preset range, or, the detection result of the second controller is abnormal, then determine that the detection result of the RPB system is abnormal.
[0016] In one possible implementation, the first diagnostic instruction is generated if the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate a manufacturing defect in the first controller.
[0017] According to a third aspect provided in this application, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the first aspect described above and any possible implementation thereof.
[0018] According to a fourth aspect provided in this application, a computer-readable storage medium is provided that, when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, enables the electronic device to perform the methods described in the first aspect and any possible implementation thereof.
[0019] According to the fifth aspect provided in this application, a computer program product is provided, the computer program product including computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.
[0020] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.
[0021] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application.
[0022] Therefore, the above-mentioned technical features of this application have the following beneficial effects:
[0023] (1) The system can enter factory mode and drive the first drive circuit in response to the first diagnostic command; and obtain the detection result of the first controller. Further, the detection result of the RPB system is determined based on the detection result of the first controller. In this way, by sending the first diagnostic command to the first controller, obtaining the detection result of the first controller, and judging the detection result of the first controller, the detection result of the electronic parking system can be obtained, thus enabling timely testing of the manufactured electronic parking system.
[0024] (2) If the feedback current of the first driving circuit is within a first preset range and the feedback voltage of the first driving circuit is within a second preset range, then the detection result of the RPB system is determined to be normal; if the feedback current of the first driving circuit is not within the first preset range, or the feedback voltage of the first driving circuit is not within the second preset range, then the detection result of the RPB system is determined to be abnormal. Thus, by judging the feedback current and feedback voltage of the first driving circuit, a method for determining the detection result of the RPB system is realized.
[0025] (3) In response to the first diagnostic command, a second diagnostic command can be sent to the second controller, causing the second controller to drive the second drive circuit, and the detection result of the second controller can be determined based on the feedback current and feedback voltage of the second drive circuit. If the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then the detection result of the RPB system is determined to be normal; if the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal. In this way, by judging the feedback current and feedback voltage of the first drive circuit, and combining them with the detection result of the second controller, a method for determining the detection result of the RPB system when the first controller and the second controller work together is realized.
[0026] (4) It is possible to pre-determine whether a target fault code exists in the fault codes of the first controller, and generate a first diagnostic command if the target fault code does not exist in the fault codes of the first controller. In this way, it is possible to pre-determine whether the first controller has a manufacturing defect, and generate a first diagnostic command to test the first controller if the first controller does not have a manufacturing defect. Attached Figure Description
[0027] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.
[0028] Figure 1 This is a flowchart illustrating a detection method for an electronic parking brake (RPB) system according to an exemplary embodiment;
[0029] Figure 2 This is a flowchart illustrating a detection method for another electronic parking brake (RPB) system according to an exemplary embodiment;
[0030] Figure 3 This is a schematic diagram illustrating a detection method for an electronic parking brake (RPB) system according to an exemplary embodiment;
[0031] Figure 4 This is a flowchart illustrating a detection method for another electronic parking brake (RPB) system according to an exemplary embodiment;
[0032] Figure 5 This is a block diagram illustrating a detection device for an electronic parking brake (RPB) system according to an exemplary embodiment;
[0033] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0034] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0035] It should be noted that the terms "first," "second," etc., used 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. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0036] For ease of understanding, the following describes in detail the testing method of the electronic parking brake RPB system provided in this application, with reference to the accompanying drawings.
[0037] Figure 1 This is a flowchart illustrating a detection method for an electronic parking brake (RPB) system according to an exemplary embodiment. The RPB system includes a first controller and a first drive circuit. The first drive circuit drives a first parking mechanism of the vehicle. Figure 1 As shown, the testing method for this electronic parking brake (RPB) system includes the following steps:
[0038] S101, The first controller responds to the first diagnostic command, enters the factory mode, and drives the first drive circuit.
[0039] In the case of the RPB system in factory mode, engineers can change the system parameters of the RPB system and test the RPB system.
[0040] In one possible implementation, the electronic device sends a first diagnostic command to the first controller. Accordingly, the first controller receives the first diagnostic command and, in response, enters factory mode.
[0041] The electronic device sends a security verification command to the first controller. Correspondingly, the first controller receives the security verification command and, in response, successfully enters factory mode.
[0042] The electronic device sends a command to the first controller to drive the first drive circuit. Accordingly, upon receiving the command, the first controller drives the first drive circuit.
[0043] It should be noted that the first diagnostic command is generated when the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate that the first controller has a manufacturing defect.
[0044] S102, The first controller acquires the detection result of the first controller.
[0045] The detection results of the first controller include the feedback current and feedback voltage of the first drive circuit.
[0046] As one possible implementation, the first controller obtains the feedback current and feedback voltage of the first drive circuit from the feedback data of the first drive circuit.
[0047] S103. The first controller determines the detection result of the RPB system based on the detection result of the first controller.
[0048] As one possible implementation, the first controller determines whether the feedback current of the first drive circuit is within a first preset range, and whether the feedback voltage of the first drive circuit is within a second preset range.
[0049] If the feedback current of the first drive circuit is within the first preset range and the feedback voltage of the first drive circuit is within the second preset range, then the first controller determines that the detection result of the RPB system is normal.
[0050] If the feedback current of the first drive circuit is not within the first preset range, or if the feedback voltage of the first drive circuit is not within the second preset range, then the first controller determines that the detection result of the RPB system is abnormal.
[0051] Understandably, the technical solution provided in this application enters factory mode in response to a first diagnostic command, drives the first drive circuit, and obtains the detection result of the first controller. Further, based on the detection result of the first controller, the detection result of the RPB system is determined. Thus, by sending a first diagnostic command to the first controller, obtaining the detection result of the first controller, and judging the detection result of the first controller, the detection result of the electronic parking system can be obtained, enabling timely testing of the manufactured electronic parking system.
[0052] In some embodiments, to determine the detection results of the RPB system, the RPB system further includes a second controller and a second drive circuit; the second drive circuit is used to drive the vehicle's second parking mechanism, such as... Figure 2 As shown in the embodiment of this application, the detection method for the electronic parking brake (RPB) system further includes the following steps:
[0053] S201. In response to the first diagnostic command, the first controller sends a second diagnostic command to the second controller, so that the second controller drives the second drive circuit and determines the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit.
[0054] In one possible implementation, the electronic device sends a first diagnostic command to a first controller. Correspondingly, the first controller receives the first diagnostic command and, in response, sends a second diagnostic command to a second controller.
[0055] Furthermore, after receiving the second diagnostic command, the second controller drives the second drive circuit.
[0056] The second controller acquires the feedback current and feedback voltage of the second drive circuit.
[0057] If the feedback current of the second drive circuit is within the first preset range and the feedback voltage of the second drive circuit is within the second preset range, then the second controller determines that the detection result of the second controller is normal.
[0058] If the feedback current of the second drive circuit is not within the first preset range, or if the feedback voltage of the second drive circuit is not within the second preset range, then the second controller determines that the detection result of the second controller is abnormal.
[0059] The detection result of the first controller also includes the detection result of the second controller; the above S103 includes:
[0060] S202. If the feedback current of the first driving circuit is within the first preset range, the feedback voltage of the first driving circuit is within the second preset range, and the detection result of the second controller is normal, then the first controller determines that the detection result of the RPB system is normal.
[0061] As one possible implementation, the second controller sends the detection results of the second controller to the first controller.
[0062] The first controller acquires the feedback current of the first drive circuit, the feedback voltage of the first drive circuit, and the detection results of the second controller.
[0063] The first controller determines whether the feedback current of the first drive circuit is within a first preset range and whether the feedback voltage of the first drive circuit is within a second preset range.
[0064] If the feedback current of the first drive circuit is within the first preset range, the feedback voltage of the first drive circuit is within the second preset range, and the detection result of the second controller is normal, then the first controller determines that the detection result of the RPB system is normal.
[0065] S203. If the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the first controller determines that the detection result of the RPB system is abnormal.
[0066] Understandably, the technical solution provided in this application, in response to a first diagnostic command, sends a second diagnostic command to a second controller, causing the second controller to drive a second drive circuit, and determines the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit. If the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then the detection result of the RPB system is determined to be normal; if the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal. Thus, by judging the feedback current and feedback voltage of the first drive circuit, and combining them with the detection result of the second controller, a method for determining the detection result of the RPB system when the first and second controllers work together is realized.
[0067] In practical applications, such as Figure 3 As shown, the RPB system includes a main control system and an auxiliary control system. The main control system includes a first controller and a first drive circuit, and the auxiliary control system includes a second controller and a second drive circuit. The power supply provides power to the RPB system, and the diagnostic equipment tests the RPB system through Controller Area Network (CAN) communication.
[0068] In practical applications, such as Figure 4 As shown, the detection method for the electronic parking brake (RPB) system provided in this application includes the following steps:
[0069] S301. After the RPB system is manufactured and the hardware circuit is tested, the electronic device flashes the software into the first and second controllers of the RPB system.
[0070] S302. The diagnostic equipment obtains the fault codes of the RPB system and determines whether the target fault code exists in the fault codes of the RPB system.
[0071] It should be noted that if the target fault code is present in the fault codes of the RPB system, the diagnostic equipment determines that the test results of the RPB system are abnormal.
[0072] In practical applications, diagnostic equipment acquires fault codes from the RPB system. If no unexpected fault codes are found, and the software and hardware numbers of the RPB system meet the definitions, it is determined that the target fault code does not exist.
[0073] S303. If the target fault code is not found in the fault codes of the RPB system, the diagnostic device sends a first diagnostic command to the RPB system.
[0074] The first diagnostic instruction causes the first and second controllers in the RPB system to enter factory mode.
[0075] It should be noted that if the first controller and the second controller fail to enter factory mode, the diagnostic device will resend the first diagnostic command.
[0076] If the number of failures exceeds the first preset threshold, the diagnostic device determines that the detection result of the RPB system is abnormal.
[0077] S304. When the first controller and the second controller enter factory mode, the diagnostic device sends a security verification command to the first controller and the second controller so that the diagnostic device passes the security verification.
[0078] It should be noted that if the diagnostic device fails the security verification, the diagnostic device will resend the security verification command.
[0079] If the number of security verification failures exceeds the second preset threshold, the diagnostic device determines that the detection result of the RPB system is abnormal.
[0080] S305. If the diagnostic device passes the security verification, the diagnostic device sends a second diagnostic command to the RPB system.
[0081] The second diagnostic command causes the first and second controllers to write system configurations; the system configurations include vehicle configurations.
[0082] It should be noted that if writing the system configuration fails, a second diagnostic command will be sent to the RPB system again.
[0083] If the number of failed attempts to write system configuration exceeds the third preset threshold, the diagnostic device determines that the detection result of the RPB system is abnormal.
[0084] S306. If the system configuration is successfully written to the RPB system, the diagnostic device sends a third diagnostic command to the first controller.
[0085] The first controller responds to the third diagnostic command and drives the first drive circuit.
[0086] S307. The diagnostic device determines whether the feedback current of the first drive circuit is within a first preset range and whether the feedback voltage of the first drive circuit is within a second preset range.
[0087] S308. If the feedback current of the first drive circuit is within the first preset range and the feedback voltage of the first drive circuit is within the second preset range, then the diagnostic device determines that the detection result of the first controller is normal.
[0088] S309. If the detection result of the first controller is normal, the diagnostic device sends a fourth diagnostic command to the second controller.
[0089] The second controller responds to the fourth diagnostic command and drives the second drive circuit.
[0090] S310, The diagnostic device determines whether the feedback current of the second drive circuit is within the first preset range, and determines whether the feedback voltage of the second drive circuit is within the second preset range.
[0091] S311. If the feedback current of the second drive circuit is within the first preset range and the feedback voltage of the second drive circuit is within the second preset range, the diagnostic device determines that the detection result of the second controller is normal.
[0092] S312. If the detection result of the second controller is normal, the diagnostic device sends a fifth diagnostic command to the first controller.
[0093] In this process, the first controller responds to the fifth diagnostic command, drives the first drive circuit, and sends the sixth diagnostic command to the second controller.
[0094] In response to the sixth diagnostic command, the second controller drives the second drive circuit and determines the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit.
[0095] S313. The diagnostic device determines whether the feedback current of the second drive circuit is within the first preset range, whether the feedback voltage of the second drive circuit is within the second preset range, and whether the detection result of the second controller is normal.
[0096] S314. If the feedback current of the first drive circuit is within the first preset range, the feedback voltage of the first drive circuit is within the second preset range, and the detection result of the second controller is normal, then the diagnostic device determines that the detection result of the bilateral drive of the RPB system is normal.
[0097] S315. If the detection result of the bilateral drive of the RPB system is normal, the diagnostic device sends the seventh diagnostic command to the RPB system.
[0098] The seventh diagnostic command is used to request the clearing of fault codes from the first controller and the second controller.
[0099] It should be noted that if clearing the fault codes of the first controller and the second controller fails, the seventh diagnostic command will be sent to the RPB system again.
[0100] If the number of failures exceeds the fourth preset threshold, the detection result of the RPB system is determined to be abnormal.
[0101] S316. If the fault codes of the first controller and the second controller are successfully cleared, the test results of the RPB system are determined to be normal.
[0102] In practical applications, if the fault codes of the first controller and the second controller are successfully cleared, the RPB system is confirmed to be successfully taken offline.
[0103] S317. If the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal.
[0104] The above primarily describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, the detection device or electronic device of the electronic parking brake (RPB) system includes corresponding hardware structures and / or software modules for performing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0105] This application embodiment can, based on the above method, exemplarily divide the detection device or electronic device of the electronic parking brake RPB system into functional modules. For example, the detection device or electronic device of the electronic parking brake RPB system may include various functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.
[0106] Figure 5 This is a block diagram illustrating a detection device for an electronic parking brake (RPB) system according to an exemplary embodiment. (Refer to...) Figure 5 The detection device 400 of the electronic parking brake (RPB) system is applied to the first controller in the RPB system; the RPB system also includes a first drive circuit; the first drive circuit is used to drive the first parking mechanism of the vehicle; the device includes: a drive unit 401, an acquisition unit 402 and a determination unit 403.
[0107] The drive unit 401 is used to enter the factory mode in response to the first diagnostic command and drive the first drive circuit.
[0108] The acquisition unit 402 is used to acquire the detection results of the first controller; the detection results of the first controller include the feedback current and feedback voltage of the first drive circuit.
[0109] The determining unit 403 is used to determine the detection result of the RPB system based on the detection result of the first controller.
[0110] Optional, such as Figure 5 As shown, the determining unit 403 provided in this application embodiment is specifically used to: if the feedback current of the first driving circuit is within a first preset range and the feedback voltage of the first driving circuit is within a second preset range, then determine that the detection result of the RPB system is normal.
[0111] If the feedback current of the first driving circuit is not within the first preset range, or if the feedback voltage of the first driving circuit is not within the second preset range, then the detection result of the RPB system is determined to be abnormal.
[0112] Optional, such as Figure 5 As shown, the RPB system also includes a second controller and a second drive circuit; the second drive circuit is used to drive the second parking mechanism of the vehicle; the detection device 400 of the electronic parking RPB system provided in this application embodiment also includes: a sending unit 404.
[0113] The sending unit 404 is used to send a second diagnostic command to the second controller in response to the first diagnostic command, so that the second controller drives the second drive circuit and determines the detection result of the second controller based on the feedback current and feedback voltage of the second drive circuit.
[0114] The detection result of the first controller also includes the detection result of the second controller; the determining unit 403 is specifically used to: if the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal, then determine that the detection result of the RPB system is normal.
[0115] If the feedback current of the first drive circuit is not within the first preset range, or the feedback voltage of the first drive circuit is not within the second preset range, or the detection result of the second controller is abnormal, then the detection result of the RPB system is determined to be abnormal.
[0116] Optionally, the first diagnostic instruction is generated if the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate that the first controller has a manufacturing defect.
[0117] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0118] Figure 6 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Figure 6 As shown, the electronic device 500 includes, but is not limited to, a processor 501 and a memory 502.
[0119] The aforementioned memory 502 is used to store the executable instructions of the aforementioned processor 501. It is understood that the aforementioned processor 501 is configured to execute instructions to implement the detection method of the electronic parking brake (RPB) system in the above embodiment.
[0120] It should be noted that those skilled in the art will understand that Figure 6 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 6 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.
[0121] Processor 501 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in memory 502, and by calling data stored in memory 502, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. Processor 501 may include one or more processing units. Optionally, processor 501 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 501.
[0122] The memory 502 can be used to store software programs and various data. The memory 502 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a determination unit, processing unit, etc.), etc. Furthermore, the memory 502 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0123] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 502 including instructions, which can be executed by a processor 501 of an electronic device 500 to implement the detection method of the electronic parking brake RPB system in the above embodiments.
[0124] In actual implementation, Figure 5 The functions of the driving unit 401, the acquisition unit 402, the determining unit 403, and the sending unit 404 can all be provided by... Figure 6 The processor 501 calls the computer program stored in the memory 502 to implement the process. The specific execution process can be found in the description of the detection method section of the electronic parking brake RPB system in the previous embodiment, and will not be repeated here.
[0125] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0126] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by the processor 501 of an electronic device to complete the detection method of the electronic parking brake RPB system in the above embodiments.
[0127] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of the electronic device, they implement the various processes of the above-described electronic parking brake RPB system detection method embodiment and can achieve the same technical effect as the above-described electronic parking brake RPB system detection method. To avoid repetition, they will not be described again here.
[0128] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0129] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0130] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the classified units can be selected to achieve the purpose of this embodiment, depending on actual needs.
[0131] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0132] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, essentially, or the part that contributes to the prior art, or a complete or partial classification of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0133] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A testing method for an electronic parking brake (RPB) system, characterized in that, Applied to the RPB system; the RPB system further includes a first controller, a first drive circuit, a second controller, and a second drive circuit; The first drive circuit is used to drive the vehicle's first parking mechanism; The second drive circuit is used to drive the second parking mechanism of the vehicle; the method includes: Send a first diagnostic command to the first controller so that the first controller responds to the first diagnostic command, enters factory mode, and drives the first drive circuit; Obtain the detection result of the first controller; the detection result of the first controller includes the feedback current and feedback voltage of the first drive circuit; If the detection result of the first controller is normal, a fourth diagnostic command is sent to the second controller so that the second controller drives the second drive circuit. Obtain the feedback current and feedback voltage of the second drive circuit, and determine the detection result of the second controller; If the detection result of the second controller is normal, a fifth diagnostic command is sent to the first controller to make the first controller drive the first drive circuit, and a sixth diagnostic command is sent to the second controller to make the second controller drive the second drive circuit. Obtain the feedback current and feedback voltage when the first driving circuit and the second driving circuit are working simultaneously; If the feedback current of the first drive circuit is within the first preset range, the feedback voltage of the first drive circuit is within the second preset range, and the detection result of the second controller is normal, then the detection result of the bilateral drive of the RPB system is determined to be normal.
2. The method according to claim 1, characterized in that, The first diagnostic instruction is generated when the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate that the first controller has a manufacturing defect.
3. A testing device for an electronic parking brake (RPB) system, characterized in that, Applied to the RPB system; the RPB system further includes a first controller, a first drive circuit, a second controller, and a second drive circuit; The first drive circuit is used to drive the vehicle's first parking mechanism; The second drive circuit is used to drive the second parking mechanism of the vehicle; the device includes: The sending unit is configured to send a first diagnostic command to the first controller, so that the first controller responds to the first diagnostic command, enters factory mode, and drives the first drive circuit. An acquisition unit is used to acquire the detection result of the first controller; the detection result of the first controller includes the feedback current and feedback voltage of the first drive circuit; The sending unit is further configured to send a fourth diagnostic command to the second controller when the detection result of the first controller is normal, so that the second controller drives the second driving circuit. The acquisition unit is further configured to acquire the feedback current and feedback voltage of the second driving circuit, and determine the detection result of the second controller; The sending unit is further configured to send a fifth diagnostic instruction to the first controller when the detection result of the second controller is normal, so that the first controller drives the first driving circuit, and send a sixth diagnostic instruction to the second controller so that the second controller drives the second driving circuit. The acquisition unit is also used to acquire the feedback current and feedback voltage when the first driving circuit and the second driving circuit work simultaneously; The determining unit is configured to determine that the detection result of the bilateral drive of the RPB system is normal if the feedback current of the first drive circuit is within a first preset range, the feedback voltage of the first drive circuit is within a second preset range, and the detection result of the second controller is normal.
4. The apparatus according to claim 3, characterized in that, The first diagnostic instruction is generated when the target fault code is not present in the fault codes of the first controller; the target fault code is used to indicate that the first controller has a manufacturing defect.
5. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1 to 2.
6. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is capable of performing the method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Control method of electronic parking brake system, electronic equipment and vehicle
CN114655182A
ESC test system and method based on sensor signal and UDS diagnosis
CN116300830A
