A parking brake testing system, method and apparatus
A parking brake testing system using a high-resolution controller and switches was developed, achieving high-precision slope simulation and real-time response for electronic parking brake systems, thus solving the problems of low slope simulation accuracy and damage in existing equipment.
Patent Information
- Application Number
- CN202210538598.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-17
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2042-05-17
AI Technical Summary
Existing electronic parking brake system testing equipment has low slope simulation accuracy, cannot be controlled in real time, and lacks limit protection, making it easy to damage the test bench.
A high-resolution controller is used to control the position of the drive device. The drive device and the rotating device are coaxially mounted on a fixed bracket. The first and second switches work in conjunction with the controller to prevent the rotating device from rotating excessively. Combined with photoelectric switches and a light shield, accurate slope simulation is achieved.
It improves the accuracy and real-time response capability of slope simulation, reduces the risk of damage to the test bench, and simplifies the overall structural design.
Smart Images

Figure CN115031992B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of automobile technology, in particular to a parking brake test system, method and device. BACKGROUND
[0002] With the continuous progress of automobile technology, the application of drive-by-wire technology on automobiles is becoming more and more widespread. As one of the drive-by-wire brake systems, the electronic parking brake system refers to the technology of integrating the temporary brake during driving and the long-term brake after parking together, and realizing the parking brake by electronic control.
[0003] At present, the slope simulation test bench used for the research and development and testing of electronic parking brake systems in China is mostly manual and cannot be controlled in real time. Moreover, the slope precision achieved is low, and the performance of the electronic parking brake system cannot be accurately tested. In addition, such test benches do not have a limiting protection device, and damage to the test bench is likely to occur during testing.
[0004] Based on the shortcomings of the prior art, there is an urgent need to research a parking brake test system, method and device to solve the above problems. SUMMARY
[0005] In order to solve the above technical problems, the present application provides a parking brake test system, method and device. The present application uses a high-resolution controller to control the position of the driving device, realizes the simulation of the slope, and has high simulation precision. The driving device and the rotating device are coaxially installed on the fixed support, the layout of the wire harness is considered, the overall structure is greatly simplified, and the influence of the physical structure on the slope control is minimized. Through the cooperation of the first switch, the second switch and the controller, the driving device is prevented from driving the rotating device to rotate continuously and damage the test bench, and the positioning accuracy requirement of the driving device and the controller is reduced. The problem of low slope simulation positioning accuracy and inability to respond in real time during testing is solved.
[0006] The present application discloses a parking brake test system, comprising a controller, a fixing device, a driving device and a rotating device.
[0007] The fixing device comprises a fixed support, and a first switch and a second switch are arranged on the fixed support at intervals, and the first switch and the second switch are in communication connection with the controller.
[0008] The driving device is drivingly connected with the fixed support and the rotating device respectively, the rotating device is rotationally connected with the fixed support, and the driving device is in communication connection with the controller.
[0009] The rotating device comprises an experimental platform, and the experimental platform is used for placing an electronic control device for detecting the parking slope.
[0010] The controller is used for receiving the working state information of the first switch and the second switch respectively, and for controlling the start state and the stop state of the driving device according to the working state information of the first switch and the second switch.
[0011] Further, the rotating device comprises a mounting clamp and a mounting connector;
[0012] The mounting connector is arranged on the experimental platform; the first end of the mounting clamp is fixedly connected with the driving device, and the second end of the mounting clamp is fixedly connected with the experimental platform;
[0013] The mounting connector can be electrically connected with the electronic control device.
[0014] Further, the rotating device further comprises a light shield plate, and the first switch and the second switch are photoelectric switches.
[0015] The light shield plate is used for shielding the first switch when the experimental platform rotates to a first preset angle, and is used for shielding the second switch when the experimental platform rotates to a second preset angle.
[0016] Further, the driving device comprises a driving assembly and an output member, the driving assembly is fixedly arranged on the fixed support, the first end of the output member is connected with the driving assembly, and the second end of the output member is fixedly connected with the rotating device after penetrating through the fixed support.
[0017] Further, the fixed support is provided with a mounting hole, and the first switch, the mounting hole and the second switch are arranged along the length direction of the fixed support.
[0018] The driving device is a motor, and the output member is an output shaft, the first end of the output shaft is fixedly connected with the driving assembly, and the second end of the output shaft is fixedly connected with the mounting clamp after penetrating through the mounting hole.
[0019] Another aspect of the present application also protects a parking slope detection method, applied to the parking brake test system as described above, the parking brake test system comprising a controller, a fixing device, a driving device and a rotating device, the controller is used for being communicatively connected with the electronic parking system of a vehicle; the method comprises:
[0020] In response to a test instruction carrying a first target slope value, a slope deviation value of the rotating device is obtained;
[0021] According to the first target slope value and the slope deviation value, a second target slope value of the rotating device is determined;
[0022] The rotating device is controlled to rotate to the second target slope value.
[0023] sending the first target slope value to the electronic parking system, so that the electronic parking system performs a parking test to obtain a test result corresponding to the first target slope value.
[0024] Further, the determining the slope deviation value of the rotating device comprises:
[0025] in response to the test instruction carrying the zero setting signal, obtaining a preset slope value of an initial test position of the rotating device;
[0026] controlling the rotating device to rotate to the initial test position according to the zero setting signal;
[0027] obtaining a first slope value of the rotating device by a sensor;
[0028] determining the slope deviation value according to the preset slope value and the first slope value.
[0029] Further, the controlling the rotating device to rotate to the initial test position according to the zero setting signal comprises:
[0030] obtaining a second slope value of the rotating device;
[0031] in a case where the second slope value is different from the preset slope value, determining a preset slope range corresponding to the second slope value;
[0032] controlling the rotating device to rotate according to the zero setting signal and the preset slope range corresponding to the second slope value;
[0033] monitoring switch state information of at least one of a first switch and a second switch during the rotation of the rotating device;
[0034] controlling a rotation parameter of the rotating device based on the switch state information, so that the rotating device rotates to the initial test position.
[0035] Further, the case where the second slope value is different from the preset slope value further comprises:
[0036] obtaining a preset rotation range of the rotating device;
[0037] judging whether the second slope value is within the preset rotation range;
[0038] if the second slope value is within the preset rotation range, continuing to control the rotating device to rotate to the initial test position according to the zero setting signal;
[0039] If the second slope value is not in the preset rotation range, the rotating device is controlled to keep in a stop running state, and first warning information is sent.
[0040] Another aspect of the present application also protects a parking slope detection device for implementing the parking slope detection method as described above, and the device comprises:
[0041] The acquisition module is configured to acquire a slope deviation value of the rotating device in response to a test instruction carrying a first target slope value.
[0042] The determination module is configured to determine a second target slope value of the rotating device according to the first target slope value and the slope deviation value.
[0043] The first execution module is configured to control the rotating device to rotate to the second target slope value.
[0044] The second execution module is configured to send the first target slope value to the electronic parking system so that the electronic parking system performs a parking test to obtain a test result corresponding to the first target slope value.
[0045] The present application has the following beneficial effects:
[0046] The present application uses a high-resolution controller to control the position of the driving device, thereby achieving high-precision simulation of the slope. The driving device and the rotating device are coaxially installed on the fixed support, which greatly simplifies the overall structure and minimizes the influence of the physical structure on the slope control. The first switch and the second switch cooperate with the controller to prevent the driving device from continuously rotating the rotating device and damaging the test bench, and to reduce the positioning accuracy requirement of the driving device and the controller. The present application solves the problem of low positioning accuracy of the slope simulation in the test and the problem of inability to respond in real time. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0048] Figure 1 A front view of the parking brake test system described in the present embodiment;
[0049] Figure 2 A top view of the parking brake test system described in the present embodiment;
[0050] Figure 3A flow chart of the parking slope detection method described in the embodiment;
[0051] Figure 4 A structure diagram of the parking slope detection device described in the embodiment;
[0052] Figure 5 A zero setting schematic diagram when the light shield plate is in the first rotation range described in the embodiment;
[0053] Figure 6 A zero setting schematic diagram when the light shield plate is in the third rotation range described in the embodiment;
[0054] Figure 7 A zero setting schematic diagram when the light shield plate is in the second rotation range described in the embodiment.
[0055] In the figure, the corresponding figure marks are:
[0056] 1-controller; 2-fixing device; 3-driving device; 4-rotating device; 5-electronic control device; 6-upper computer; 7-electronic parking system; 8-parking slope detection device; 21-fixing support; 22-fixing plate; 23-first switch; 24-second switch; 31-driving assembly; 32-output; 41-experimental platform; 42-mounting clamp; 43-mounting connector; 44-light shield plate; 45-wire harness of electronic control device; 46-wire harness fixing seat; 47-fixing assembly; 81-acquisition module; 82-determination module; 83-first execution module; 84-second execution module; 211-mounting hole. DETAILED DESCRIPTION
[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present application.
[0058] It should be noted that the terms "first", "second", and the like in the description and in the claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0059] The prior art has the following disadvantages: at present, the slope simulation test bench used for the research and development and test of the electronic parking brake system is mostly manual and cannot be controlled in real time; and the slope precision achieved is low, and the performance of the electronic parking brake system cannot be accurately tested; in addition, such test bench does not have a limiting protection device, and damage to the test bench is easily caused in the test process.
[0060] In view of the defects of the prior art, the application uses a high-resolution controller to control the position of the driving device, realizes the simulation of the slope, and has high simulation precision; the driving device and the rotating device are coaxially installed on the fixed support, the wire harness arrangement is considered, the overall structure is greatly simplified, and the influence of the physical structure on the slope control is minimized; and through the cooperation of the first switch and the second switch with the controller, the driving device is prevented from driving the rotating device to rotate all the time and damage the test bench, and the accurate positioning requirement of the driving device and the controller is also reduced; the problems of low slope simulation positioning precision and inability to respond in real time in the test are solved.
[0061] Embodiment 1
[0062] Referring to the accompanying Figures 1-7 , the embodiment provides a parking brake test system, which comprises a controller 1, a fixing device 2, a driving device 3 and a rotating device 4;
[0063] The fixing device 2 comprises a fixed support 21, and a first switch 23 and a second switch 24 are arranged at intervals on the fixed support 21; the first switch 23 and the second switch 24 are both in communication connection with the controller 1;
[0064] The driving device 3 is drivingly connected with the fixed support 21 and the rotating device 4 respectively, the rotating device 4 is rotationally connected with the fixed support 21, and the driving device 3 is in communication connection with the controller 1;
[0065] The rotating device 4 comprises an experimental platform 41, and the experimental platform 41 is used for placing an electronic control device 5 for detecting a parking slope;
[0066] The controller 1 is configured to receive the working state information of the first switch 23 and the second switch 24 respectively, and control the start state and the stop state of the driving device 3 according to the working state information of the first switch 23 and the second switch 24.
[0067] It should be noted that, in the embodiment, the high-resolution controller 1 is used to control the position of the driving device 3, so that the simulation of the slope is realized, the simulation accuracy is high, the start state and the stop state of the driving device 3 can be controlled according to the working state information of the first switch 23 and the second switch 24, the control accuracy of the driving device 3 is improved, the driving device 3 and the rotating device 4 are coaxially arranged on the fixed support 21, the wire harness arrangement is considered, the overall structure is greatly simplified, and the influence of the physical structure on the slope control is minimized, the driving device 3 is prevented from driving the rotating device 4 to rotate all the time and damage the test bench, and the positioning accuracy requirement of the driving device 3 and the controller 1 is reduced, so that the problems of low positioning accuracy of the slope simulation and inability to respond in real time are solved.
[0068] Specifically, the fixing device 2 further comprises a fixing plate 22 arranged on the plane to be installed and a supporting rib, the fixed support 21 is fixed on the fixing plate 22, and the supporting rib is arranged at the connection between the fixed support 21 and the fixing plate 22, so as to improve the mounting strength between the fixing plate 22 and the fixed support 21, and further improve the strength of the overall device, so as to ensure the accuracy of the slope simulation.
[0069] In some possible embodiments, the rotating device 4 comprises a mounting clamp 42 and a mounting connector 43.
[0070] The mounting connector 43 is arranged on the experimental platform 41, the first end of the mounting clamp 42 is fixedly connected with the driving device 3, and the second end of the mounting clamp 42 is fixedly connected with the experimental platform 41.
[0071] The mounting connector 43 can be electrically connected with the electronic control device 5.
[0072] In other possible embodiments, the rotating device 4 further comprises a wire harness 45 of the electronic control device, a wire harness fixing seat 46 and a fixing assembly 47.
[0073] The wire harness 45 of the electronic control device is fixed in the wire harness fixing seat 46, and one end of the wire harness 45 of the electronic control device is electrically connected with the mounting connector 43.
[0074] The fixing assembly 47 is fixedly connected with the experimental platform 41 and the electronic control device 5 respectively.
[0075] Specifically, the fixing assembly 47 comprises a bolt, and two threaded holes are arranged on the experimental platform 41, and two mounting ports corresponding to the threaded holes are arranged on the electronic control device 5, after the electronic control device 5 is electrically connected with the mounting connector port 43, the bolt is sequentially threaded through the mounting port and the threaded hole, so as to fix the electronic control device 5 on the experimental platform 41, thereby avoiding the shaking of the electronic control device 5 when the experimental platform 41 rotates, and affecting the accuracy of the slope test.
[0076] In some possible embodiments, the rotating device 4 further comprises a light shield 44, and the first switch 23 and the second switch 24 are photoelectric switches.
[0077] The light shield 44 is fixed on the experimental platform 41 near one side of the fixing support 21, and the light shield 44 is used for shielding the first switch 23 when the experimental platform 41 rotates to the first preset angle, and is used for shielding the second switch 24 when the experimental platform 41 rotates to the second preset angle.
[0078] In the embodiment, when the experimental platform 41 is in the initial test position, the experimental platform 41 does not shield the first switch 23 and the second switch 24; when the experimental platform 41 rotates clockwise by about 90° or counterclockwise by about 270°, the shielding plate 24 shields the second switch 24, and at this time the driving device 3 stops running; by arranging the first switch 23 and the second switch 24, it can prevent the experimental platform 41 from continuously rotating under the driving of the driving device 3, and damage the device.
[0079] In some possible embodiments, the driving device 3 comprises a driving assembly 31 and an output member 32, the driving assembly 31 is fixedly arranged on the fixing support 21, the first end of the output member 32 is connected with the driving assembly 31, and the second end of the output member 32 is fixedly connected with the rotating device 4 after penetrating through the fixing support 21, so that the rotating device 4 can stably rotate with the output member 32, and displacement of the rotating device 4 in the rotating process is avoided, thereby affecting the accuracy of the subsequent test results.
[0080] In some possible embodiments, the fixing support 21 is provided with a mounting hole 211, and the first switch 23, the mounting hole 211 and the second switch 24 are arranged along the length direction of the fixing support 21.
[0081] The driving device 3 is a motor, and the output member 32 is an output shaft, the first end of the output shaft is fixedly connected with the driving assembly 31, and the second end of the output shaft is fixedly connected with the mounting clamp 42 after penetrating through the mounting hole 211.
[0082] Specifically, a bearing is arranged in the mounting hole 211, one end of the output shaft penetrates through the inner ring of the bearing, and the output shaft is in interference fit with the inner ring of the bearing, and the outer ring of the bearing is in small gap fit with the mounting hole 211.
[0083] Further, the output shaft and the mounting clamp 42 are fastened and fixed through interference fit, the mounting clamp 42 is fixedly connected with the experimental platform 41 through fastening bolts; and after the fixed plate 22 is placed on the to-be-installed plane, the mounting clamp 42 is fixedly connected with the experimental platform 41, and the experimental platform 41 is arranged in parallel with the fixed plate 22, so as to facilitate subsequent parking slope test.
[0084] Specifically, the contact length of the mounting clamp 42 with the experimental platform 41 is about 1 / 8 of the experimental platform 41, so as to ensure the strength of the overall structure after the mounting clamp 42 fixes the experimental platform 41.
[0085] Specifically, the output 32 is coaxially arranged with the wire harness 45 of the electronic control device, the overall structure is greatly simplified by considering the wire harness arrangement, and the influence of the physical structure on the slope control is minimized.
[0086] Specifically, the incremental encoder is further included, the resolution of the incremental encoder is 18000ppr, and the signal line and the motor power supply line of the incremental encoder are electrically connected with the controller 1 through the motor interface.
[0087] When the motor is re-powered, abnormally powered off or the angle of the rotating platform 4 is artificially changed, etc., the experimental platform 41 needs to be positioned and zeroed once, so that the experimental platform 41 is in the initial position at the beginning of the initial test, and then the slope control precision is ensured.
[0088] Specifically, the incremental encoder outputs one Z-phase pulse per mechanical cycle, generally 360° rotation is performed after the motor is powered on to find the Z-phase pulse, at this time, the position corresponding to the Z-phase pulse is the initial test position of the experimental platform 41, and the embodiment utilizes two photoelectric switches to cooperate with the Z-phase pulse, so that the zeroing of the experimental platform 41 is effectively realized, the mechanical fixed angle error is avoided, and the positioning precision is improved.
[0089] Another aspect of the present application also protects a parking slope detection method applied to the above parking brake test system, the parking brake test system comprising a controller, a fixing device, a driving device and a rotating device, the controller being used for communication connection with an electronic parking system of a vehicle; the method comprises:
[0090] S101: in response to a test instruction carrying a first target slope value, a slope deviation value of the rotating device is acquired;
[0091] S102: according to the first target slope value and the slope deviation value, a second target slope value of the rotating device is determined;
[0092] S103: the rotating device is controlled to rotate to the second target slope value;
[0093] S104: send the first target slope value to the electronic parking system to make the electronic parking system perform a parking test to obtain a test result corresponding to the first target slope value.
[0094] It should be noted that: in the embodiment, the second target slope value actually required to be rotated by the rotating device is determined through the test instruction carrying the first target slope value and the slope deviation value of the rotating device, the rotating device is controlled to rotate to the second target slope value, finally the first target slope value is sent to the electronic parking system to make the electronic parking system perform a parking test, and then a test result corresponding to the first target slope value is obtained, which avoids the deviation of the initial test position of the rotating device, causes the subsequent test result to be inaccurate, and solves the problem that the slope simulation positioning accuracy is not high in the test and cannot be responded in time.
[0095] In the embodiment, the parking brake test system is also in communication connection with the upper computer, and the upper computer is used to receive the first target slope value input by the operator and send a test instruction carrying the first target slope value to the parking brake test system.
[0096] Specifically, the upper computer is also used to receive the slope deviation value and send the slope deviation value to the parking brake test system when next time slope test is performed.
[0097] Specifically, the slope resolution input by the operator is 1°, and after the slope is input, further fine adjustment operation can be performed, 0.05° fine adjustment operation can be supported, and the fine adjustment range is -1°-1°, which realizes the slope test accuracy of the parking brake test system and ensures the test accuracy.
[0098] In some possible embodiments, determining the slope deviation value of the rotating device comprises:
[0099] S1011: in response to the test instruction carrying the zero setting signal, obtaining a preset slope value of an initial test position of the rotating device;
[0100] S1012: controlling the rotating device to rotate to the initial test position according to the zero setting signal;
[0101] S1013: obtaining a first slope value of the rotating device by the sensor;
[0102] S1014: determining the slope deviation value according to the preset slope value and the first slope value; by determining the slope deviation value in time, the slope test accuracy can be ensured.
[0103] In other possible embodiments, in response to the test instruction carrying the first target slope value, the step of obtaining the slope deviation value of the rotating device comprises:
[0104] in response to the test instruction carrying the first target slope value;
[0105] acquiring a rotation range of the rotation device;
[0106] determining whether the first target slope value is within the rotation range;
[0107] if the first target slope value is within the rotation range, continuing to acquire the slope deviation value of the rotation device;
[0108] if the first target slope value is not within the rotation range, displaying prompt information to prompt that the first target slope value input by the operator is out of the rotation range, and prompting the operator to re-input the first target slope value.
[0109] Specifically, the rotation range is -75°-75°.
[0110] In some possible embodiments, the electronic parking system includes a test system and a real-time simulation system connected in communication with each other, the test system is configured to test the parking brake according to different first target slope values, and the real-time simulation system is configured to simulate a road and send a simulated slope value to the host computer.
[0111] Specifically, the working states of the host computer include a deviation calibration mode, a positioning mode, and a follow-up mode.
[0112] S100: the host computer outputs a first target slope value, including:
[0113] S1001: determining a working state of the host computer;
[0114] S1002: when the working state of the host computer is switched to the deviation calibration mode, outputting a slope deviation value of the rotation device;
[0115] S1003: when the working state of the host computer is switched to the positioning mode, acquiring a slope value input manually by an operator, fine-tuning the slope value, and determining a fine-tuned first target slope value; determining whether the first target slope value is within a slope threshold range; if the first target slope value is within the threshold range, setting the first target slope value as a threshold value and outputting the first target slope value; and if the first target slope value is not within the threshold range, outputting the first target slope value.
[0116] S1004: when the working state of the host computer is switched to the follow-up mode, receiving a simulated slope value of the real-time simulation system, and determining whether the slope value is within a slope threshold range; if the slope value is within the threshold range, setting the slope value as a threshold value and defining the slope value as the first target slope value for output; and if the slope value is not within the threshold range, defining the slope value as the first target slope value for output.
[0117] In some possible embodiments, the motor can be rotated clockwise by a maximum angle of 90° and counterclockwise by a maximum angle of 270° from the initial test position, but the motor can be rotated clockwise by an angle less than 90° and counterclockwise by an angle less than 270° due to the light shield, and therefore the rotation range of the motor is set to -75°-75° according to the positions of the first switch, the second switch and the light shield.
[0118] In some other possible embodiments, the controller is further configured to be communicatively connected to a host computer, and the host computer is communicatively connected to the electronic parking system.
[0119] Specifically, the host computer is configured to send a test instruction carrying a first target slope value to the controller, and the controller is configured to control the rotating device to rotate to the initial test position and send a zeroing completion information to the host computer after rotating to the initial test position; and the host computer is capable of displaying a completion information according to the zeroing completion information, where the completion information is that the host computer displays a green light or sends a text or voice information to prompt an operator to complete the zeroing operation.
[0120] In some possible embodiments, controlling the rotating device to rotate to the initial test position according to the zeroing signal comprises:
[0121] S10121: obtaining a current second slope value of the rotating device;
[0122] S10122: in a case where the second slope value is different from a preset slope value, determining a preset slope range corresponding to the second slope value;
[0123] S10123: controlling the rotating device to rotate according to the zeroing signal and the preset slope range corresponding to the second slope value;
[0124] S10124: monitoring switch state information of at least one of the first switch and the second switch in the process of rotating the rotating device;
[0125] S10125: controlling a rotation parameter of the rotating device based on the switch state information, until the rotating device rotates to the initial test position; by detecting the switch state information of at least one of the first switch and the second switch and controlling the rotating device to perform different operations based on different switch state information, the rotating device is rotated to the initial test position, without the need of driving the rotating device to rotate by 360 degrees for zeroing, and different zeroing strategies based on different switch state information are used to ensure the accuracy of zeroing, thereby improving the accuracy of the test.
[0126] In this embodiment, the preset slope range includes a first rotation range, a second rotation range and a third rotation range, and different second slope values correspond to different rotation ranges; and the preset rotation range is a rotation range of the rotating device.
[0127] Specifically, the acquiring the current second slope value of the rotating device comprises:
[0128] judging whether the second slope value is same as the preset slope value;
[0129] If the second slope value is same as the preset slope value, the step of acquiring the current first slope value of the rotating device through the sensor is continuously executed.
[0130] Specifically, the rotating device is sequentially provided with a first rotating range, a second rotating range and a third rotating range along a rotating direction of the rotating device; wherein two end point values of the second rotating range are angle values corresponding to the first switch and the second switch respectively covered by the light shielding plate.
[0131] It should be noted that: Figure 5 , Figure 6 and Figure 7 A1 corresponds to the second switch, A3 corresponds to the first switch, and B1 is an initial test position; when the rotating device rotates counterclockwise, C1 is a start position of the light shielding plate covering the first switch, and C2 is a termination position of the light shielding plate covering the first switch; A1, A2, A3 and A4 are equally divided by 360.
[0132] As shown in Figure 6 , the rotating parameter of the rotating device is controlled based on the switch state information, and the step of rotating the rotating device to the initial test position comprises:
[0133] When the second slope value of the rotating device is in the third rotating range, and the light shielding plate does not shield the second switch;
[0134] The rotating device is controlled to rotate counterclockwise, and when the rotating device rotates to the initial test position, the initial test position is marked, and the rotating device is controlled to continue to rotate to the light shielding plate shielding the first switch, the level signal of the first switch is detected as a rising edge, and the first angle value from the initial test position of the rotating device to the current position is acquired;
[0135] The rotating device is controlled to continue to rotate counterclockwise until the level signal of the first switch is switched from the rising edge to the falling edge, the rotating device is controlled to stop rotating, and the current second angle value of the rotating device is acquired;
[0136] According to the first angle value and the second angle value, the third angle value is determined;
[0137] The rotating device is controlled to rotate clockwise to the initial test position at the third angle value.
[0138] Specifically, according to the first angle value and the second angle value, the step of determining the third angle value comprises:
[0139] According to the difference between the second angle value and the first angle value, the fourth angle value is obtained;
[0140] According to a first formula = 90° - the first angle value - the second angle value / 2, the third angle value is obtained.
[0141] As shown in Figure 5 In some possible embodiments, the step of controlling the rotation parameter of the rotating device, to the rotating device rotating to the initial test position, comprises:
[0142] When the second slope value of the rotating device is in the first rotation range, and the light shield does not shield the first switch;
[0143] The rotating device is controlled to rotate counterclockwise, and when the rotating device rotates to the initial test position, the initial test position is marked;
[0144] The rotating device is controlled to rotate counterclockwise, and when the rotating device rotates to the initial test position, the initial test position is marked;
[0145] The rotating device is controlled to continue to rotate counterclockwise until the level signal of the first switch is switched from the rising edge to the falling edge, and the rotating device is controlled to stop rotating and mark the current position as the second position;
[0146] A fifth angle value from the initial test position of the rotating device to the second position is obtained, and a sixth angle value from the first position of the rotating device to the second position is obtained;
[0147] According to the fifth angle value and the sixth angle value, a seventh angle value is determined.
[0148] The rotating device is controlled to rotate clockwise to the initial test position at the seventh angle value.
[0149] Specifically, the step of determining the seventh angle value according to the fifth angle value and the sixth angle value comprises:
[0150] According to a second formula = 90° - the fifth angle value + the sixth angle value / 2, the seventh angle value is obtained.
[0151] As shown in Figure 7 In some possible embodiments, the step of controlling the rotation parameter of the rotating device, to the rotating device rotating to the initial test position, comprises:
[0152] When the second slope value of the rotating device is in the second rotation range, and the light shield does not shield the first switch and the second switch;
[0153] The rotating device is controlled to rotate counterclockwise, and when the rotating device rotates to a position where the light shield plate shields the first switch, it is detected that the level signal of the first switch is a rising edge, the driving device is controlled to stop rotating, and the second warning information is displayed to prompt the operator to manually rotate the rotating device to a position in the first rotation range or the second rotation range and where the light shield plate does not shield the first switch or the second switch.
[0154] In some possible embodiments, the step of controlling the rotating device to rotate to the initial test position based on the switch state information comprises:
[0155] When the light shield plate shields the first switch, the rotating device is controlled to rotate clockwise, and when the rotating device rotates to the initial test position, the rotating device is controlled to rotate counterclockwise;
[0156] The rotating device is controlled to continue rotating until the light shield plate shields the first switch, it is detected that the level signal of the first switch is a rising edge, and a first angle value of the rotating device from the initial test position to a current position is obtained;
[0157] The rotating device is controlled to continue rotating counterclockwise until it is detected that the level signal of the first switch switches from a rising edge to a falling edge, the rotating device is controlled to stop rotating, and a second angle value of the rotating device at the current position is obtained;
[0158] According to the first angle value and the second angle value, a third angle value is determined;
[0159] The rotating device is controlled to rotate clockwise to the initial test position at the third angle value;
[0160] Or, when the light shield plate shields the second switch, it is detected that the level signal of the first switch is a rising edge, the driving device is controlled to stop rotating, and the second warning information is displayed to prompt the operator to manually rotate the rotating device to a position in the first rotation range or the second rotation range and where the light shield plate does not shield the first switch or the second switch.
[0161] In some possible embodiments, when the second slope value is different from the preset slope value, the method further comprises:
[0162] A preset rotation range of the rotating device is obtained;
[0163] It is judged whether the second slope value is in the preset rotation range;
[0164] If the second slope value is in the preset rotation range, the step of controlling the rotating device to rotate to the initial test position according to the zero setting signal is continued to be performed;
[0165] If the second slope value is not in the preset rotation range, the rotating device is controlled to remain in a stopped running state, and the first warning information is sent.
[0166] The parking slope detection method comprises:
[0167] In response to a test instruction carrying a first target slope value, a slope deviation value of the rotating device is obtained;
[0168] A second slope value of the rotating device is obtained; in the case that the second slope value is different from a preset slope value, a preset rotation range of the rotating device is obtained; it is judged whether the second slope value is within the preset rotation range; if the second slope value is within the preset rotation range, a preset slope range corresponding to the second slope value is determined; the rotating device is controlled to rotate according to the zero setting signal and the preset slope range corresponding to the second slope value; in the process of rotating the rotating device, the switch state information of at least one of the first switch and the second switch is monitored; the rotating parameter of the rotating device is controlled based on the switch state information, so that the rotating device rotates to the initial test position;
[0169] According to the first target slope value and the slope deviation value, a second target slope value of the rotating device is determined;
[0170] The rotating device is controlled to rotate to the second target slope value;
[0171] The first target slope value is sent to the electronic parking system, so that the electronic parking system performs parking test to obtain a test result corresponding to the first target slope value.
[0172] Another aspect of the present application also protects a parking slope detection device for realizing the above parking slope detection method, and the parking slope detection device 8 comprises:
[0173] The obtaining module 81 is configured to obtain a slope deviation value of the rotating device in response to a test instruction carrying a first target slope value;
[0174] The determining module 82 is configured to determine a second target slope value of the rotating device according to the first target slope value and the slope deviation value;
[0175] The first executing module 83 is configured to control the rotating device to rotate to the second target slope value;
[0176] The second executing module 84 is configured to send the first target slope value to the electronic parking system, so that the electronic parking system performs parking test to obtain a test result corresponding to the first target slope value.
[0177] The parking slope detection device 8 further comprises:
[0178] The zero adjustment module is configured to determine a preset slope range corresponding to the second slope value when the second slope value is different from the preset slope value; control the rotating device to rotate according to the zero adjustment signal and the preset slope range corresponding to the second slope value; monitor the switching state information of at least one of the first switch and the second switch during the rotation of the rotating device; and control the rotation parameter of the rotating device until the rotating device rotates to the initial test position based on the switching state information.
[0179] The warning module is configured to control the rotating device to remain in a stop running state and send first warning information when the second slope value is not in the preset rotation range, or control the driving device to stop rotating and display second warning information when the rotating device rotates to the position where the louvre shield covers the first switch and the level signal of the first switch is detected as a rising edge.
[0180] Embodiment 2
[0181] The main difference between the present embodiment and Embodiment 1 is that, in Embodiment 1, the driving device does not immediately stop running after the louvre shields the first switch or the second switch, while in the present embodiment, the driving device immediately stops running after the louvre shields the first switch or the second switch, and an abnormal prompt information is displayed to prompt the operator that the position of the rotating device is abnormal, thereby simplifying the control logic of the rotation of the rotating device.
[0182] Specifically, when the high-level signal of the second switch is detected, the driving device is controlled to stop running, and at this time, the upper computer displays an abnormal prompt information to prompt the operator to manually rotate the rotating device to the rotation range, at which time the driving device is still in a stop running state; the driving device can be normally rotated only after the zero adjustment operation of the rotating device is performed.
[0183] In other possible embodiments, if the second slope value is different from the preset slope value, the rotating device is controlled to rotate to the initial test position according to the zero adjustment signal, which includes:
[0184] The first rotation range, the second rotation range and the third rotation range arranged in sequence along the rotation direction of the rotating device are obtained;
[0185] It is judged whether the second slope value is in the first rotation range, the second rotation range or the third rotation range;
[0186] If the second slope value is in the first rotation range or the third rotation range, the rotating device is controlled to rotate to the initial test position according to the zero adjustment signal;
[0187] If the second slope value is in the second rotation range, the rotating device is controlled to stop running and an abnormal prompt information is displayed; the abnormal prompt information is used to prompt the operator to manually rotate the rotating device to the first rotation range or the second rotation range.
[0188] Although the present application has been described by preferred embodiments, the present application is not limited to the embodiments described herein, but includes various changes and modifications made without departing from the scope of the present application.
[0189] In this article, the front, back, up, down and other orientation words are defined with the parts in the figure and the position of the parts relative to each other in the figure, just to express the technical scheme clearly and conveniently. It should be understood that the use of the orientation words should not limit the scope of the application claimed.
[0190] In the case of no conflict, the above-mentioned embodiments and features in the embodiments can be combined with each other.
[0191] The above disclosure is only a preferred embodiment of the present application, of course, cannot limit the scope of the present application, therefore, the equivalent changes made according to the claims of the present application, still belongs to the scope covered by the present application.
Claims
1. A parking brake testing system, characterized in that, It includes a controller (1), a fixing device (2), a driving device (3), and a rotating device (4); The fixing device (2) includes a fixing bracket (21), on which a first switch (23) and a second switch (24) are spaced apart. The first switch (23) and the second switch (24) are both communicatively connected to the controller (1). The driving device (3) is driven to the fixed bracket (21) and the rotating device (4) respectively. The rotating device (4) is rotatably connected to the fixed bracket (21), and the driving device (3) is communicatively connected to the controller (1). The rotation range of the driving device (3) is set to -75° to 75°. The rotating device (4) includes a light shield (44), an experimental platform (41), a mounting fixture (42), and a mounting connector (43). The experimental platform (41) is used to place an electronic control device (5) for detecting parking slope. The mounting connector (43) is located on the experimental platform (41). The first end of the mounting fixture (42) is fixedly connected to the driving device (3), and the second end of the mounting fixture (42) is fixedly connected to the experimental platform (41). The mounting connector (43) can be electrically connected to the electronic control device (5). The first switch (23) and the second switch (24) are photoelectric switches. The light shield (44) is used to block the first switch (23) when the experimental platform (41) rotates to a first preset angle, and to block the second switch (24) when the experimental platform (41) rotates to a second preset angle. The controller (1) is used to receive the working status information of the first switch (23) and the second switch (24) respectively, and to control the start-up and stop states of the drive device (3) according to the working status information of the first switch (23) and the second switch (24).
2. The parking brake testing system according to claim 1, characterized in that, The driving device (3) includes a driving component (31) and an output component (32). The driving component (31) is fixedly mounted on the fixed bracket (21). The first end of the output component (32) is connected to the driving component (31), and the second end of the output component (32) passes through the fixed bracket (21) and is fixedly connected to the rotating device (4).
3. The parking brake testing system according to claim 2, characterized in that, The fixed bracket (21) is provided with a mounting hole (211), and the first switch (23), the mounting hole (211) and the second switch (24) are arranged along the length direction of the fixed bracket (21); The driving device (3) is a motor, the output component (32) is an output shaft, the first end of the output shaft is fixedly connected to the driving assembly (31), and the second end of the output shaft passes through the mounting hole (211) and is fixedly connected to the mounting fixture (42).
4. A method for detecting parking slope, characterized in that, The method is applied to the parking brake test system as described in any one of claims 1-3, the parking brake test system comprising a controller, a fixing device, a driving device, and a rotating device, the controller being used for communicative connection with the vehicle's electronic parking system; the method comprising: In response to a test command carrying a first target slope value, the slope deviation value of the rotating device is acquired; The second target slope value of the rotating device is determined based on the first target slope value and the slope deviation value; Control the rotating device to rotate to the second target slope value; The first target slope value is sent to the electronic parking system so that the electronic parking system can perform a parking test and obtain a test result corresponding to the first target slope value.
5. The parking slope detection method according to claim 4, characterized in that, Determining the slope deviation value of the rotating device includes: In response to the test command carrying the zeroing signal, the preset slope value of the initial test position of the rotating device is obtained; The rotating device is controlled to rotate to the initial test position according to the zero-adjustment signal; The current first slope value of the rotating device is obtained through a sensor; The slope deviation value is determined based on the preset slope value and the first slope value.
6. The parking slope detection method according to claim 5, characterized in that, The step of controlling the rotating device to rotate to the initial test position according to the zeroing signal includes: Obtain the current second slope value of the rotating device; When the second slope value differs from the preset slope value, a preset slope range corresponding to the second slope value is determined; wherein, the preset slope range includes a first rotation range, a second rotation range, and a third rotation range; when the rotating device is in the first rotation range, the light shield does not block the first switch; when the rotating device is in the second rotation range, the light shield does not block the first switch and the second switch; when the rotating device is in the third rotation range, the light shield does not block the second switch; The rotating device is controlled to rotate according to the zero-adjustment signal and the preset slope range corresponding to the second slope value; During the rotation of the rotating device, the switch status information of at least one of the first switch and the second switch is monitored. Based on the switch status information, the rotation parameters of the rotating device are controlled until the rotating device rotates to the initial test position.
7. The parking slope detection method according to claim 6, characterized in that, The process further includes the following steps after the second slope value differs from the preset slope value: Obtain the preset rotation range of the rotating device; Determine whether the second slope value is within the preset rotation range; If the second slope value is within the preset rotation range, continue to control the rotating device to rotate to the initial test position according to the zeroing signal; If the second slope value is not within the preset rotation range, the rotating device is controlled to remain in a stopped state, and a first warning message is sent.
8. A parking slope detection device, characterized in that, For implementing the parking slope detection method as described in any one of claims 4-7, the apparatus comprises: The acquisition module (81) is used to acquire the slope deviation value of the rotating device in response to a test command carrying a first target slope value; The determining module (82) is used to determine the second target slope value of the rotating device based on the first target slope value and the slope deviation value; The first execution module (83) is used to control the rotating device to rotate to the second target slope value; The second execution module (84) is used to send the first target slope value to the electronic parking system so that the electronic parking system can perform a parking test and obtain a test result corresponding to the first target slope value.
Citation Information
Patent Citations
Road slope simulation test stand for hardware-in-the-loop test of electrical park brake system
CN103728975A
Simulation apparatus for electronic parking brake system of automobile
CN105738125A
Rotary storage cabinet and control method thereof
CN112568617A
Hardware-in-loop test board used for electronic park brake system
CN203630620U