Detection device and detection method of vehicle-mounted controller
By using the detection device of the serializer and the detection controller in the vehicle controller, the deserializer circuit is detected, which solves the signal integrity problem in the vehicle controller and improves communication security.
Patent Information
- Application Number
- CN202411845585.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-04-25
AI Technical Summary
The SerDes circuit in the on-board controller has the challenge of signal integrity testing at long distances, single wire harnesses and high rates, especially the detection of the deserializer circuit is difficult, which affects communication security.
A detection device for an on-board controller is provided, including a serializer and a detection controller. By connecting the serializer to a deserializer in the on-board controller at the vehicle end, the detection controller combines with a serializer to detect the deserializer. The device also contains a power module that powers the serializer and the detection controller.
By detecting the deserializer circuit in the on-board controller, the communication security of the on-board controller can be effectively improved and the integrity and reliability of signal transmission can be ensured.
Smart Images

Figure CN119882667A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, specifically to the technical fields of autonomous driving and vehicle detection, and more particularly to a detection device and a detection method for a vehicle-mounted controller. Background Art
[0002] The on-board controller includes a serializer and a deserializer to form a SerDes circuit. The SerDes circuit has many advantages, such as increasing the transmission distance, providing high-bandwidth transmission, and simplifying wiring harness connections.
[0003] The SerDes circuit in the vehicle controller can realize the transmission of camera data and display data, and a small part is also used for the transmission of lidar data. For example, when the camera data is transmitted, the camera data is first connected to the serializer, which converts the camera data into serial data; and then transmitted to the autonomous driving domain controller through the wiring harness; and then the serial data is converted into a data format that the controller can recognize through the deserializer. Summary of the invention
[0004] The present disclosure provides a detection device and a detection method for a vehicle-mounted controller.
[0005] According to one aspect of the present disclosure, a detection device for an on-board controller is provided, wherein the device comprises a serializer and a detection controller; the serializer is connected to the detection controller; during detection, the serializer is connected to a deserializer in the on-board controller at the vehicle end; the detection controller is used to detect the deserializer in the on-board controller in combination with the serializer;
[0006] The device further comprises a power supply module, which is electrically connected to the serializer and the detection controller respectively and is used to supply power to the serializer and the detection controller.
[0007] According to another aspect of the present disclosure, a method for detecting an onboard controller is provided, wherein the execution subject of the method is the detection device of the onboard controller as described above; the method comprises:
[0008] Connecting the serializer in the detection device of the vehicle-mounted controller to the deserializer in the vehicle-mounted controller at the vehicle end;
[0009] The detection controller detects the deserializer in the vehicle-mounted controller in combination with the serializer to obtain a detection result.
[0010] According to yet another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method of the above-mentioned aspect and any possible implementation manner.
[0011] According to yet another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements the above-mentioned aspects and any possible implementation method.
[0012] According to the technology disclosed in the present invention, the deserializer circuit in the vehicle controller can be detected, thereby effectively improving the communication security of the vehicle controller.
[0013] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0015] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0016] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;
[0017] Figure 3 is a schematic diagram according to a third embodiment of the present disclosure;
[0018] Figure 4 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0019] Figure 5 is a schematic diagram according to a fifth embodiment of the present disclosure;
[0020] Figure 6 is a schematic diagram according to a sixth embodiment of the present disclosure;
[0021] Figure 7 is a schematic diagram according to a seventh embodiment of the present disclosure;
[0022] Figure 8 is a schematic diagram according to an eighth embodiment of the present disclosure;
[0023] Fig. 9 is a schematic diagram of a ninth embodiment of the present disclosure. DETAILED DESCRIPTION
[0024] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0025] Obviously, the described embodiments are only part of the embodiments of the present disclosure, but not all of them. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.
[0026] It should be noted that the terminal devices involved in the embodiments of the present disclosure may include but are not limited to mobile phones, personal digital assistants (PDAs), wireless handheld devices, tablet computers and other smart devices; display devices may include but are not limited to personal computers, televisions and other devices with display functions.
[0027] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0028] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure; Figure 1 As shown, this embodiment provides a detection device 100 for a vehicle-mounted controller, wherein the detection device 100 for the vehicle-mounted controller includes a serializer 101 and a detection controller 102; the serializer 101 is connected to the detection controller 102; during detection, the serializer 101 is connected to a deserializer D in the vehicle-mounted controller M at the vehicle end; the detection controller 102 is used to detect the deserializer D in the vehicle-mounted controller M in combination with the serializer 101;
[0029] The detection device 100 of the vehicle-mounted controller of this embodiment further includes a power module 103 , which is electrically connected to the serializer 101 and the detection controller 102 , respectively, and is used to supply power to the serializer 101 and the detection controller 102 .
[0030] Optionally, the power module 103 of this embodiment can be a non-rechargeable dry battery, a rechargeable battery, or powered by an external power supply, or can obtain power from the vehicle-mounted controller M on the vehicle side, etc., as long as it can power the components in the detection device 100 of the vehicle-mounted controller, there is no limitation here.
[0031] Although the SerDes circuit in the vehicle controller has many advantages, the advantages of long distance, single wiring harness and high speed also bring challenges to signal integrity testing. For example, after investigation, most problems are caused by the deserializer circuit in the vehicle controller. Therefore, this embodiment provides a detection device for a vehicle controller, which is used to detect the deserializer circuit in the vehicle controller, thereby effectively improving the communication security of the vehicle controller.
[0032] The detection device 100 of the vehicle controller of this embodiment includes a serializer 101 and a detection controller 102. During detection, the serializer 101 is connected to the deserializer D in the vehicle controller M at the vehicle end, so that the detection controller 102 can be combined with the serializer 101 to effectively detect the deserializer D in the vehicle controller M, thereby effectively improving the communication security of the vehicle controller.
[0033] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure; Figure 2 As shown, the detection device 200 of the vehicle-mounted controller of this embodiment, in the above Figure 1 Based on the technical solutions of the illustrated embodiments, the technical solutions of the present disclosure are further described in more detail.
[0034] like Figure 2 As shown, the detection device 200 of the vehicle controller of this embodiment includes, in addition to the serializer 201, the detection controller 202, and the power module 203; it can also include a wireless communication module 204, which is connected to the cloud platform N and the detection controller 202 respectively;
[0035] The detection controller 202 is used to receive the detection instruction of the cloud platform N through the wireless communication module 204, and in combination with the serializer 201, detect the deserializer D in the vehicle controller M to obtain the detection result; and send the detection result to the cloud platform N through the wireless communication module 204.
[0036] Further optionally, if Figure 2As shown, in one embodiment of the present disclosure, the detection device 200 of the vehicle-mounted controller is further provided with a storage module 205, which is connected to the detection controller 202; the detection controller 202 is also used to store the detection result obtained by the detection in the storage module 205 when the wireless communication module 204 communicates abnormally with the cloud platform N. Optionally, in this embodiment, after the detection controller 202 obtains the detection result, regardless of whether the communication between the wireless communication module 204 and the cloud platform N is abnormal, the detection result can be first stored in the storage module 205, and the subsequent wireless communication module 204 obtains the detection result from the storage module 205 and then sends it to the cloud platform N.
[0037] The storage module 205 is also used to store configuration information required for detection; for example, the configuration information may include eye width values and eye height values under various bit error rate conditions, and may also include first environmental parameters under various bit error rate conditions, and second environmental parameters for pseudo-random binary sequence (PRBS) transceiver detection, etc. The storage module 205 of this embodiment may use a NOR flash memory.
[0038] The wireless communication module 204 is also connected to the storage module 205, and is used to obtain the detection results from the storage module 205 and send the detection results to the cloud platform N after the communication with the cloud platform N is restored.
[0039] Specifically, if the wireless communication module 204 communicates abnormally with the cloud platform N, the detection result can be first stored in the storage module 205, and when the communication is restored, the detection result is sent to the cloud platform N through the wireless communication module 204. In this way, the detection result can be stored in time, and the delay in sending the detection result to the cloud platform can be supported, which can effectively avoid the loss of the detection result.
[0040] In the scenario of this embodiment, the power module 203 is electrically connected to the serializer 201, the detection controller 202, the wireless communication module 204, and the storage module 205, respectively, and can provide power for the serializer 201, the detection controller 202, the wireless communication module 204, and the storage module 205.
[0041] Optionally, the above Figure 1 In the embodiment shown, the detection instructions can be pre-configured in the detection controller 102, and the deserializer circuit in the vehicle controller can be detected without external communication. However, in this implementation, since the detection instructions cannot be configured, the detection device of a vehicle controller can only implement one type of detection.
[0042] In order to improve the detection efficiency, in this embodiment, the detection device 200 of the vehicle controller can be connected to the cloud platform N through the wireless communication module 204, and detect the deserializer D in the vehicle controller M based on the detection instruction of the cloud platform N. With this detection method, a detection device 200 of a vehicle controller can realize detection of multiple different detection types, which can effectively improve the detection efficiency.
[0043] The detection device 200 of the vehicle-mounted controller of this embodiment can communicate with the cloud platform N by setting up a wireless communication module 204, and detect the deserializer of the vehicle-mounted controller according to the detection instructions of the cloud platform, which can effectively improve the detection efficiency.
[0044] Figure 3 is a schematic diagram according to the third embodiment of the present disclosure; Figure 3 As shown, the detection device 300 of the vehicle-mounted controller of this embodiment, in the above Figure 2 Based on the technical solutions of the illustrated embodiments, the technical solutions of the present disclosure are further described in more detail.
[0045] like Figure 3 As shown, the detection device 300 of the vehicle-mounted controller of this embodiment includes Figure 2 The modules shown, such as serializer 301, detection controller 302, power module 303, wireless communication module 304 and storage module 305, are also provided with: DC isolation circuit 306 and filter circuit 307;
[0046] One end of the DC isolation circuit 306 and one end of the filter circuit 307 are respectively connected to the deserializer D in the vehicle controller M, the other end of the DC isolation circuit 306 is connected to the serializer 301, and the other end of the filter circuit 307 is connected to the power module 303.
[0047] In this embodiment, the power module 303 obtains the power signal from the vehicle controller M. In specific implementation, after the filter circuit 307 obtains the signal from the deserializer D in the vehicle controller M, it filters out the AC signal, i.e., the communication data, obtains a pure power signal, and transmits it to the power module 303. Based on this, the power module 303 can obtain the power signal and realize power supply.
[0048] In addition, after the DC isolation circuit 306 obtains the signal from the deserializer D in the vehicle controller M, it is used to filter out the DC signal, that is, the power signal, retain the AC signal, that is, the communication data, and transmit it to the serializer 301.
[0049] Optionally, in this embodiment, the DC blocking circuit 306 and the filter circuit 307 can be connected to the deserializer D in the vehicle controller M through a connector to simplify the wiring harness. Specifically, the connector and the deserializer D in the vehicle controller M are connected through a wiring harness.
[0050] For example, optionally, Figure 3 As shown, in one embodiment of the present disclosure, a DC isolation circuit 306, a filter circuit 307, a power module 303, a serializer 301, a detection controller 302, a wireless communication module 304 and a storage module 305 are arranged on a printed circuit board (PCB) 1000.
[0051] The detection device 300 of the vehicle controller of this embodiment can realize that the connected vehicle controller M supplies power to the detection device of the vehicle controller by adopting the technical solutions of the filter circuit 307 and the power module 303. By adopting the DC isolation circuit 306, it is possible to isolate the power signal, obtain communication data, and then effectively detect the deserializer of the vehicle controller based on the communication data. The detection device of the vehicle controller of this embodiment can obtain power by connecting to the vehicle controller during detection, and does not require any battery or external power supply. It has a simple structure and is easy to use.
[0052] Figure 4 is a schematic diagram according to a fourth embodiment of the present disclosure; Figure 4 As shown, the detection device 400 of the vehicle-mounted controller of this embodiment, in the above Figure 2 Based on the technical solutions of the illustrated embodiments, the technical solutions of the present disclosure are further described in more detail.
[0053] Similarly, the detection device 400 of the vehicle-mounted controller of this embodiment includes Figure 2 Each module shown, such as the serializer 401 , the detection controller 402 , the power module 403 , the wireless communication module 404 , and the storage module 405 , is also provided with a DC isolation circuit 406 and a filter circuit 407 .
[0054] With the above Figure 3 The structure of the embodiment shown is different in that the detection device 400 of the vehicle controller of this embodiment is further provided with a first connector 408; the DC isolation circuit 406 and the filter circuit 407 are respectively connected to the deserializer D in the vehicle controller M through the first connector 408, which can effectively simplify the wiring harness. At this time, the first connector 408 and the deserializer D are connected through a wiring harness.
[0055] like Figure 4 As shown, in the detection device 400 of the vehicle-mounted controller of this embodiment, the power module may include a first power unit 4031 and a second power unit 4032;
[0056] The first connector 408, the DC blocking circuit 406, the filter circuit 407 and the first power supply unit 4031 may be disposed on the first PCB 2000;
[0057] The second power supply unit 4032, the serializer 401, the detection controller 402, the wireless communication module 404 and the storage module 405 may be disposed on the second PCB 3000;
[0058] The first power supply unit 4031 and the second power supply 4032 are connected via the second connector 409; the DC isolation circuit 406 and the serializer 401 are connected via the second connector 409. In this way, the first power supply unit 4031 can supply power to each component on the first PCB 2000, and the second power supply unit 4032 can supply power to each component on the second PCB 3000.
[0059] In this embodiment, by providing two PCB boards, interference between power supply signals and communication data can be avoided, the design is more reasonable, and the practicality of the detection device 400 of the vehicle-mounted controller can be effectively improved.
[0060] The detection device of the vehicle-mounted controller in the embodiment of the present disclosure may be independently provided as a portable device, or may be integrated into other devices.
[0061] Figure 5 is a schematic diagram according to the fifth embodiment of the present disclosure; Figure 5 As shown, this embodiment provides a detection method for a vehicle-mounted controller, and the execution subject of the method is the above Figure 1-4 Any of the above-mentioned detection devices for the vehicle-mounted controller; the method may specifically include the following steps:
[0062] S501, connecting the serializer in the detection device of the vehicle-mounted controller to the deserializer in the vehicle-mounted controller at the vehicle end;
[0063] S502: The detection controller detects the deserializer in the vehicle controller in combination with the serializer.
[0064] During the specific detection, the detection device of the vehicle controller is directly connected to the deserializer in the vehicle controller at the vehicle end, so that the serializer in the detection device of the vehicle controller can be connected to the deserializer in the vehicle controller at the vehicle end. Based on the above connection, the detection controller can detect the deserializer in the vehicle controller in combination with the serializer.
[0065] The detection method of the vehicle-mounted controller of the present embodiment can accurately and effectively detect the deserializer of the vehicle-mounted controller, thereby effectively improving the communication security of the vehicle-mounted controller.
[0066] Figure 6 is a schematic diagram according to the sixth embodiment of the present disclosure; Figure 6 As shown, the detection method of the vehicle controller of this embodiment, in the above Figure 5 Based on the technical solutions of the embodiments shown in the figure, the technical solutions of the present disclosure are further described in more detail. Figure 6 As shown, the detection method of step S502 may specifically include the following implementation steps:
[0067] S601, after power-on, the detection controller self-checks whether the internal communication of the detection device of the vehicle controller is normal;
[0068] For example, the self-test of the detection controller may include the detection controller detecting whether the communication between the detection controller and the serializer is normal; the detection controller may also detect whether the communication between the detection controller and the wireless communication module is normal, and whether the communication between the wireless communication module and the cloud platform is normal; the detection controller may also detect whether the access to the storage module is normal, etc. In this way, the detection controller can effectively ensure the availability of the detection device of the vehicle-mounted controller through self-test.
[0069] S602, in response to the internal communication being normal, the detection controller obtains the identification of the connected vehicle-mounted controller through the serializer;
[0070] For example, the identification of the vehicle-mounted controller may be the serial number (Serial Number; SN) of the vehicle-mounted controller.
[0071] S603, the detection controller sends the identification of the vehicle controller to the cloud platform through the wireless communication module to request detection of the deserializer in the corresponding vehicle controller;
[0072] S604, the detection controller receives a detection instruction sent by the cloud platform through the wireless communication module, where the detection instruction includes a detection type;
[0073] Optionally, the detection instruction in step 604 may also include the current absolute time; in this case, the detection controller may calibrate the local time based on the current absolute time to facilitate the accuracy of the timestamp carried in the subsequent returned detection results.
[0074] S605: The detection controller detects the deserializer in the vehicle controller based on the detection type and in combination with the serializer to obtain a detection result;
[0075] It should be noted that the test result may carry a timestamp when the test result is obtained.
[0076] S606. The detection controller sends the detection result to the cloud platform via the wireless communication module.
[0077] The detection instruction in this embodiment can support detection of multiple different detection types, such as basic state abnormality detection, eye diagram detection, and PRBS transceiver detection.
[0078] Optionally, if the wireless communication module and the cloud platform communicate abnormally when the detection result is obtained, the detection result obtained can be stored in the storage module first, and step S606 can be executed after the subsequent wireless communication module and the cloud platform resume communication. In this way, the detection result can be stored in time, effectively avoiding the loss of the detection result.
[0079] The detection method of the vehicle controller of this embodiment can communicate with the cloud platform, and the cloud platform can control the detection device of the vehicle controller to accurately and effectively detect the deserializer of the vehicle controller, thereby effectively improving the communication security of the vehicle controller.
[0080] Figure 7 is a schematic diagram according to the seventh embodiment of the present disclosure; Figure 7 As shown, the detection method of the vehicle controller of this embodiment, in the above Figure 6 Based on the technical solutions of the embodiments shown in the figure, the technical solutions of the present disclosure are further described in more detail. Figure 7 As shown, the detection method of step S605 may specifically include the following implementation steps:
[0081] S701, if the detection type includes basic state abnormality detection, the detection controller detects whether the error reporting pin of the serializer indicates abnormality;
[0082] S702, in response to the error pin of the serializer indicating an abnormality, the detection controller obtains register information of the deserializer in the vehicle controller through the serializer;
[0083] S703: The detection controller detects whether the deserializer has a basic state abnormality based on the register information of the deserializer.
[0084] For example, when step S701 is specifically implemented, it may include the following steps:
[0085] (a1) If the detection type includes basic state abnormality detection, the detection controller detects whether the error pin of the serializer is at a high level or a low level; in response to the error pin of the serializer being at a high level, executing step (b1); in response to the error pin of the serializer being at a low level, executing step (c1);
[0086] (b1) The detection controller determines that the error pin indicates an abnormality, and ends;
[0087] (c1) The detection controller determines that the error pin indicates normal, and the process ends.
[0088] For example, when step S703 is implemented specifically, it may include: the detection controller detects at least one of whether there is an undervoltage abnormality in the power supply of the deserializer, whether there is an overtemperature abnormality in the deserializer, and whether there is a connection abnormality in the physical layer of the deserializer based on the register information of the deserializer.
[0089] Specifically, the register information of the deserializer can clearly record whether there is an undervoltage abnormality in the power supply, whether there is an overtemperature abnormality, whether there is a connection abnormality in the physical layer, etc. Therefore, it is possible to identify which abnormality exists directly based on the register information of the deserializer.
[0090] The detection method of the vehicle-mounted controller of the present embodiment can accurately and effectively detect the basic status of the deserializer of the vehicle-mounted controller, thereby effectively improving the communication security of the vehicle-mounted controller.
[0091] Figure 8 is a schematic diagram according to an eighth embodiment of the present disclosure; Figure 8 As shown, the detection method of the vehicle controller of this embodiment, in the above Figure 6 Based on the technical solutions of the embodiments shown in the figure, the technical solutions of the present disclosure are further described in more detail. Figure 8 As shown, the detection method of step S602 may specifically include the following implementation steps:
[0092] S801, if the detection type includes an eye diagram test, the detection instruction is used to instruct to perform the eye diagram test under a specified bit error rate condition, and the detection controller sets the first environmental parameters of the register of the local serializer and the register of the deserializer in the vehicle-mounted controller of the vehicle end under the specified bit error rate condition respectively based on the specified bit error rate;
[0093] In this embodiment, the eye diagram test is a main test when the vehicle-mounted controller processes camera data, and is mainly used to detect the function of the deserializer of the vehicle-mounted controller when processing camera data.
[0094] For example, the specified bit error rate of this embodiment may include 1×10 -6 , 1×10 -9 , or 1×10 -12 The bit error rate in various scenarios.
[0095] Specifically, in this embodiment, the parameter information included in the first environmental parameter can refer to the parameter information included in the deserializer and serializer in the vehicle controller in the related technology when performing detection under specified bit error rate conditions, and is not limited here.
[0096] S802: The detection controller controls the serializer and the deserializer to complete an eye diagram test under the set first environmental parameters to obtain a detection result.
[0097] For example, when step S802 is specifically implemented, it may include the following steps:
[0098] (1) The detection controller controls the serializer and the deserializer to perform an eye diagram test under the set first environmental parameters to obtain a detection eye width value and a detection eye height value;
[0099] (2) The detection controller obtains the standard eye width value and the standard eye height value corresponding to the specified bit error rate from the storage module;
[0100] Specifically, the configuration information stored in the storage module may include standard eye width values and standard eye height values corresponding to various bit error rates, for use in eye diagram testing.
[0101] (3) The detection controller detects whether the eye diagram test is abnormal based on the detected eye width value, the detected eye height value, the standard eye width value and the standard eye height value.
[0102] For example, when the step (3) is implemented specifically, it may specifically include: the detection controller detects whether the detected eye width value is greater than or equal to the standard eye width value, and whether the detected eye height value is greater than or equal to the standard eye height value; in response to the detected eye width value being greater than or equal to the standard eye width value, and the detected eye height value being greater than or equal to the standard eye height value, the detection controller determines that the eye diagram test is normal; otherwise, in response to the detected eye width value being less than the standard eye width value, and / or the detected eye height value being less than the standard eye height value, the detection controller determines that the eye diagram test is abnormal.
[0103] The detection method of the vehicle controller of this embodiment can detect the eye diagram function of the vehicle controller when processing camera data, and can accurately and effectively implement the eye diagram test of the deserializer, thereby effectively improving the accuracy of the vehicle controller in processing camera data.
[0104] Fig. 9 is a schematic diagram according to the ninth embodiment of the present disclosure; Fig. 9 As shown, the detection method of the vehicle controller of this embodiment, in the above Figure 6 Based on the technical solutions of the embodiments shown in the figure, the technical solutions of the present disclosure are further described in more detail. Fig. 9 As shown, the detection method of step S602 may specifically include the following implementation steps:
[0105] S901, if the detection type is PRBS transceiver detection, the detection controller sets second environment parameters of the register of the local serializer and the register of the deserializer on the vehicle side under the PRBS transceiver detection environment respectively;
[0106] S902, the detection controller controls the serializer and the deserializer to perform a PRBS transceiver test under the set second environmental parameters;
[0107] S903, the detection controller obtains the detection result of the PRBS transmission and reception detection from the register information of the serializer;
[0108] S904: Based on the detection result of the PRBS transmission and reception detection, determine whether the deserializer of the vehicle controller is abnormal.
[0109] The PRBS transceiver detection of this embodiment may include the detection that the serializer sends PRBS and the deserializer receives PRBS; and the detection that the deserializer sends PRBS and the serializer receives PRBS. If an abnormality occurs at either the transmitting end or the receiving end during the detection process, the abnormality information will be recorded in the registers of both ends. Therefore, the detection result of the PRBS transceiver detection can be obtained only from the register information of the serializer.
[0110] The test results of the PRBS transceiver test may include normal PRBS transceiver and abnormal PRBS transceiver. When the PRBS transceiver is normal, it can be directly determined that the deserializer of the vehicle controller is normal. When the PRBS transceiver is abnormal, the test results of the PRBS transceiver test will also indicate whether the transceiver abnormality is caused by the serializer abnormality or the deserializer abnormality. Therefore, based on the test results of the PRBS transceiver test, it can be directly determined whether the deserializer of the vehicle controller is abnormal.
[0111] For example, if the serializer sends and the deserializer receives, the serializer sends normally and the deserializer receives abnormally, then the serializer register information may record that the local end sends normally and the opposite end receives abnormally; while the deserializer register information may record that the opposite end sends normally and the local end receives abnormally. Therefore, based only on the serializer register information, it is possible to directly determine whether the deserializer of the vehicle controller is abnormal when the PRBS is sent and received abnormally.
[0112] The detection method of the vehicle-mounted controller of this embodiment can detect the PRBS function of the vehicle-mounted controller when implementing camera data processing, and can accurately and effectively detect the PRBS function of the deserializer, thereby effectively improving the communication security of the vehicle-mounted controller.
[0113] According to an embodiment of the present disclosure, the present disclosure also provides a readable storage medium and a computer program product.
[0114] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0115] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A detection device for a vehicle-mounted controller, wherein: The device includes a serializer and a detection controller; the serializer is connected to the detection controller; during detection, the serializer is connected to a deserializer in a vehicle-mounted controller at the vehicle end; the detection controller is used to detect the deserializer in the vehicle-mounted controller in combination with the serializer; The device further comprises a power supply module, which is electrically connected to the serializer and the detection controller respectively and is used to supply power to the serializer and the detection controller.
2. The device according to claim 1, wherein: The device also includes the wireless communication module, which is connected to the cloud platform and the detection controller respectively; The detection controller is used to receive the detection instruction of the cloud platform through the wireless communication module, and detect the deserializer in the vehicle controller in combination with the serializer to obtain the detection result; and send the detection result to the cloud platform through the wireless communication module; The power supply module is connected to the wireless communication module to supply power to the wireless communication module.
3. The device according to claim 2, wherein: The device is also provided with a storage module connected to the detection controller; the detection controller is also used to store the detection result in the storage module when the communication between the wireless communication module and the cloud platform is abnormal; The storage module is also used to store configuration information required for detection; The wireless communication module is also connected to the storage module, and is used to obtain the detection result from the storage module and send the detection result to the cloud platform after the communication with the cloud platform is restored; The power supply module is also connected to the storage module to supply power to the storage module.
4. The device according to claim 3, wherein: The detection device of the vehicle-mounted controller is also provided with a DC isolation circuit and a filter circuit; One end of the DC isolation circuit and one end of the filter circuit are respectively connected to the deserializer in the vehicle controller, the other end of the DC isolation circuit is connected to the serializer, and the other end of the filter circuit is connected to the power module.
5. The device according to claim 4, wherein: The DC isolation circuit, the filter circuit, the power module, the serializer, the detection controller, the wireless communication module and the storage module are arranged on a printed circuit board.
6. The device according to claim 4, wherein: The detection device of the vehicle-mounted controller is also provided with a first connector; the DC isolation circuit and the filter circuit are respectively connected to the deserializer in the vehicle-mounted controller through the first connector.
7. The device according to claim 6, wherein the power supply module comprises a first power supply unit and a second power supply unit; The first connector, the DC blocking circuit, the filter circuit and the first power supply unit are arranged on a first printed circuit board; The second power supply unit, the serializer, the detection controller, the wireless communication module and the storage module are arranged on a second printed circuit board; The first power supply unit and the second power supply are connected through a second connector; the DC blocking circuit and the serializer are connected through the second connector.
8. A method for detecting a vehicle controller, wherein: The method comprises: Connecting the serializer in the detection device of the vehicle-mounted controller to the deserializer in the vehicle-mounted controller at the vehicle end; The detection controller detects the deserializer in the vehicle-mounted controller in combination with the serializer to obtain a detection result.
9. The method according to claim 8, wherein: The detection controller detects the deserializer in the vehicle controller in combination with the serializer to obtain a detection result, including: The detection controller receives a detection instruction sent by the cloud platform through the wireless communication module, wherein the detection instruction includes a detection type; The detection controller detects the deserializer in the vehicle controller based on the detection type and in combination with the serializer to obtain a detection result; The detection controller sends the detection result to the cloud platform through the wireless communication module.
10. The method according to claim 9, wherein: The detection controller detects the deserializer in the vehicle controller based on the detection type and in combination with the serializer to obtain a detection result, including: If the detection type includes basic state abnormality detection, the detection controller detects whether the error reporting pin of the serializer indicates an abnormality; In response to the error pin of the serializer indicating an abnormality, the detection controller obtains register information of the deserializer in the vehicle controller through the serializer; The detection controller detects whether the deserializer has a basic state abnormality based on register information of the deserializer.
11. The method according to claim 10, wherein: If the detection type includes basic state abnormality detection, the detection controller detects whether the error reporting pin of the serializer indicates an abnormality, including: If the detection type includes basic state abnormality detection, the detection controller detects whether the error reporting pin of the serializer is at a high level or a low level; In response to the error pin of the serializer being at a high level, the detection controller determines that the error pin indicates an abnormality; In response to the error pin of the serializer being at a low level, the detection controller determines that the error pin indicates normal.
12. The method according to claim 10, wherein: The detection controller detects whether the deserializer has a basic state abnormality based on the register information of the deserializer, including: The detection controller detects at least one of whether a power supply of the deserializer has an undervoltage anomaly, whether the deserializer has an overtemperature anomaly, and whether a physical layer of the deserializer has a connection anomaly based on register information of the deserializer.
13. The method according to claim 9, wherein: The detection controller detects the deserializer in the vehicle controller based on the detection type and in combination with the serializer to obtain a detection result, including: If the detection type includes an eye diagram test, the detection instruction is used to instruct to perform the eye diagram test under a specified bit error rate condition, and the detection controller sets the first environmental parameters of the register of the local serializer and the register of the deserializer in the vehicle-mounted controller at the vehicle end under the specified bit error rate condition respectively based on the specified bit error rate; The detection controller controls the serializer and the deserializer to complete an eye diagram test under the set first environmental parameters to obtain a detection result.
14. The method according to claim 13, wherein: The detection controller controls the serializer and the deserializer to complete an eye diagram test under the set first environmental parameters to obtain a detection result, including: The detection controller controls the serializer and the deserializer to perform an eye diagram test under the set first environmental parameters to obtain a detection eye width value and a detection eye height value; The detection controller detects whether the eye diagram test is abnormal based on the detected eye width value and the detected eye height value, and the pre-acquired standard eye width value and standard eye height value corresponding to the specified bit error rate.
15. The method according to claim 14, wherein: Before the detection controller detects whether the eye diagram test is abnormal based on the detected eye width value and the detected eye height value, and the pre-acquired standard eye width value and standard eye height value corresponding to the specified bit error rate, the method further includes: The detection controller obtains the standard eye width value and the standard eye height value corresponding to the specified bit error rate from the storage module.
16. The method according to claim 13, wherein: The detection controller detects whether the eye diagram test is abnormal based on the detected eye width value and the detected eye height value, and the pre-acquired standard eye width value and standard eye height value corresponding to the specified bit error rate, including: The detection controller detects whether the detected eye width value is greater than or equal to the standard eye width value, and whether the detected eye height value is greater than or equal to the standard eye height value; In response to the detected eye width value being greater than or equal to the standard eye width value, and the detected eye height value being greater than or equal to the standard eye height value, the detection controller determines that the eye diagram test is normal; In response to the detected eye width value being smaller than the standard eye width value, and / or the detected eye height value being smaller than the standard eye height value, the detection controller determines that the eye pattern test is abnormal.
17. The method according to claim 9, wherein: The detection controller detects the deserializer in the vehicle controller based on the detection type and in combination with the serializer to obtain a detection result, including: If the detection type is a pseudo-random binary sequence transceiver detection, the detection controller respectively sets second environment parameters of a register of the local serializer and a register of the deserializer at the vehicle end under the pseudo-random binary sequence transceiver detection environment; The detection controller controls the serializer and the deserializer to perform a pseudo-random binary sequence transceiver test under the set second environmental parameters; The detection controller obtains the detection result of the pseudo-random binary sequence receiving and transmitting detection from the register information of the serializer; Based on the detection result of the pseudo-random binary sequence transceiver detection, it is determined whether the deserializer of the vehicle controller is abnormal.
18. The method according to any one of claims 9 to 17, wherein: Before the detection controller receives the detection instruction sent by the cloud platform through the wireless communication module, the method further includes: After power is turned on, the detection controller self-checks whether the internal communication of the detection device of the vehicle-mounted controller is normal; In response to the internal communication being normal, the detection controller obtains the identification of the connected vehicle-mounted controller through the serializer; The detection controller sends the identification of the vehicle-mounted controller to the cloud platform through the wireless communication module to request detection of the deserializer in the corresponding vehicle-mounted controller.
19. The method according to any one of claims 9 to 17, wherein: The detection instruction also includes the current absolute time; the method also includes: The detection controller calibrates the local time based on the current absolute time.
20. The method according to any one of claims 9 to 17, wherein: The detection controller detects the deserializer in the vehicle controller based on the detection type in combination with the serializer, and after obtaining the detection result, before the detection controller sends the detection result to the cloud platform through the wireless communication module, the method further includes: The detection result obtained by detection is stored in the storage module.
21. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 8-20.
22. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 8 to 20.