Testing Method, Device and System for Communication Stability of Central Control of Electric Vehicle
By testing communication signals between the tram central control system and the vehicle-mounted radio frequency equipment, the problem of difficulty in testing the communication stability of the tram central control system in the prior art is solved, and the accurate evaluation and improvement of communication stability is achieved.
Patent Information
- Application Number
- CN202411082856.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The prior art is difficult to effectively test the communication stability of the tram central control system in the presence of on-board radio frequency equipment, resulting in the restriction of the on-board radio frequency equipment installation application.
By generating the first communication signal when the vehicle-mounted radio frequency device is not working, and obtaining the radio frequency signal and the second communication signal when the equipment is working, the communication quality score between the central control system and the target system is determined in combination with these three signals.
It realizes effective testing of the communication stability of the tram central control system in the presence of on-board radio frequency equipment, ensures the accuracy of the communication quality score, and reduces the requirements for transmission wires.
Smart Images

Figure CN118870390B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of tram central control testing, and particularly relates to a method, device and system for testing the communication stability of a tram central control system. Background Art
[0002] With the development of tram technology, relying on the advantage that the battery can directly supply power to in-vehicle radio frequency devices, trams are more suitable for carrying in-vehicle radio frequency devices (such as communication vehicle stations and in-vehicle signal transmitting devices) than fuel vehicles. However, compared with fuel vehicles, the overall vehicle control of trams is more dependent on the communication between the central control system and other systems. Once the communication between the central control system of the tram and other systems fails, it will lead to the paralysis of the overall vehicle control of the tram (such as being unable to start in the parked state or being unable to decelerate in the driving state). Therefore, higher requirements are placed on the communication stability between the central control system of the tram and other systems.
[0003] In the prior art, although corresponding communication stability tests are carried out on the central control system before leaving the factory to ensure stable communication between the central control system and other electric control systems of the tram, at present, even the central control systems that pass the existing communication stability tests still have a high risk of failure when the in-vehicle devices are working. This undoubtedly greatly restricts the application of in-vehicle radio frequency devices on trams. Therefore, how to effectively test the communication stability of the tram central control system in the presence of in-vehicle radio frequency devices is an urgent problem to be solved in this field. Summary of the Invention
[0004] The main object of the present invention is to provide a method for testing the communication stability of a tram central control system, aiming to effectively test the communication stability of the tram central control system in the presence of in-vehicle radio frequency devices.
[0005] To achieve the above object, the method for testing the communication stability of a tram central control system proposed by the present invention includes:
[0006] S100: When the in-vehicle radio frequency device is not working, control the central control system to continuously generate a first communication signal, send it to the target system through a communication channel for communicating with the target system, and obtain the first communication signal;
[0007] S200: Control the in-vehicle radio frequency device to work, and obtain the radio frequency signal when the in-vehicle radio frequency device is working;
[0008] S300: When the in-vehicle radio frequency device is working, obtain a second communication signal received by the target system through the communication channel;
[0009] S400: Determine the communication quality score between the central control system and the target system according to the first communication signal, the second communication signal and the radio frequency signal.
[0010] Optionally, the step of determining the communication quality score between the central control system and the target system according to the first communication signal, the second communication signal, and the radio frequency signal includes:
[0011] Determine the differential communication signal in the second communication signal relative to the first communication signal;
[0012] Determine whether there are relevant signal features corresponding to the radio frequency signal in the differential communication signal;
[0013] If there are relevant signal features corresponding to the radio frequency signal in the differential communication signal, determine the communication quality score between the central control system and the target system according to the differential communication signal, the first communication signal, and the second communication signal.
[0014] Optionally, the step of determining whether there are relevant signal features corresponding to the radio frequency signal in the differential communication signal includes:
[0015] Determine whether the differential communication signal conforms to the signal format of the radio frequency signal;
[0016] If the differential communication signal does not conform to the signal format of the radio frequency signal, determine whether there are characteristic signals of the radio frequency signal in the differential communication signal;
[0017] If there are no characteristic signals of the radio frequency signal in the differential communication signal, determine that there are no relevant signal features corresponding to the radio frequency signal in the differential communication signal;
[0018] If the differential communication signal conforms to the signal format of the radio frequency signal, or there are characteristic signals of the radio frequency signal, determine that there are relevant signal features corresponding to the radio frequency signal in the differential communication signal.
[0019] Optionally, the step of determining the communication quality score between the central control system and the target system according to the differential communication signal, the first communication signal, and the second communication signal includes:
[0020] Divide the first communication signal into multiple different first signal segments, and each first signal segment is configured to implement a preset signal function of the first communication signal;
[0021] According to the position of each first signal segment in the first communication signal, determine the second signal segment corresponding to each first signal segment in the second communication signal;
[0022] Determine the target second signal segments that have an intersection part with the differential communication signal, and determine the target first signal segments corresponding to each target second signal segment;
[0023] Calculate the communication quality score between the central control system and the target system based on all the target first signal segments and all the target second signal segments.
[0024] Optionally, the step of calculating the communication quality score between the central control system and the target system based on all the target first signal segments and all the target second signal segments includes:
[0025] Send all the target first signal segments into a first preset neural network model to estimate the first probability that each target first signal segment realizes the corresponding preset signal function; and send all the target second signal segments into the first preset neural network model to estimate the second probability that each target second signal segment realizes the corresponding preset signal function;
[0026] Obtain the target system model corresponding to the target system, and send the second communication signal and the target system model into a second preset neural network model to estimate the third probability that the second communication signal controls the corresponding operation of the target system;
[0027] Perform an addition calculation on the difference between 1 and each first probability and the second probability corresponding to the corresponding first probability to obtain at least one sum value; then perform a ratio calculation on each sum value and the corresponding first probability to obtain at least one ratio; perform an average calculation on all the ratios, and perform a multiplication operation on the average calculation result and the third probability, and use the multiplication operation result as the communication quality score.
[0028] Optionally, before the step of performing an addition calculation on the difference between 1 and each first probability and the second probability corresponding to the corresponding first probability to obtain at least one sum value; then performing a ratio calculation on each sum value and the corresponding first probability to obtain at least one ratio; performing an average calculation on all the ratios, and performing a multiplication operation on the average calculation result and the third probability, and using the multiplication operation result as the communication quality score, the tram central control communication stability test method includes:
[0029] Judge the preset probability interval where the third probability is located;
[0030] Use the preset probability value corresponding to the preset probability interval where the third probability is located as the third probability value.
[0031] Optionally, the step of using the preset probability value corresponding to the probability interval where the third probability is located as the third probability value includes:
[0032] If the third probability is in the first preset probability interval, use 1 as the value of the third probability;
[0033] If the third probability is within the second preset probability interval, then take 0.9 as the value of the third probability;
[0034] If the third probability is within the third preset probability interval, then take the value 0.8 as the value of the third probability;
[0035] If the third probability is within the fourth preset probability interval, then take the value 0.6 as the value of the third probability;
[0036] If the third probability is within the fifth preset probability interval, then take the value 0 as the value of the third probability;
[0037] Wherein, the minimum probability value of the first preset probability interval is not less than the maximum probability value of the second preset probability interval, the minimum probability value of the second preset probability interval is not less than the maximum probability value of the third preset probability interval, the minimum probability value of the third preset probability interval is not less than the maximum probability value of the fourth preset probability interval, and the minimum probability value of the fourth preset probability interval is not less than the maximum probability value of the fifth preset probability interval.
[0038] Optionally, before the in-vehicle radio frequency device is not working, controlling the central control system to continuously generate a first communication signal, sending the first communication signal to the target system through a communication channel communicating with the target system, and obtaining the first communication signal, the test method further includes:
[0039] Obtain a first set of electronic control systems, where the first set of electronic control systems includes all electronic control systems that have a communication requirement with the central control system;
[0040] According to a preset selection rule, select at least one of the electronic control systems from the first set of electronic control systems to form a second set of electronic control systems, and the number of electronic control systems in the second set of electronic control systems is less than the number of electronic control systems in the first target set;
[0041] Sequentially determine the electronic control systems in the second set of electronic control systems as the target system, and after each determination of the target system, execute the steps S100 to S400 to obtain the communication quality scores of the central control system with each target system in the second set of electronic control systems;
[0042] After the step of determining the communication quality score of the central control system and the target system according to the first communication signal, the second communication signal, and the radio frequency signal, the method includes:
[0043] Associate and store the communication quality score with the currently tested target system.
[0044] The present invention also provides a testing device, which includes:
[0045] a memory;
[0046] a processor; and,
[0047] a tram central control communication stability testing program stored on the memory and executed by the processor, which, when executed by the processor, implements the tram central control communication stability testing method as described above.
[0048] The present invention also provides a testing system, which includes the testing device as described above.
[0049] The technical solution of the present invention can effectively test the communication stability of the tram central control system in the presence of in-vehicle radio frequency devices. Moreover, by accessing an initial electrical signal with a low power and obtaining a radio frequency signal by amplifying the power of the initial signal, the problem of the communication quality score being too high due to directly collecting the radio frequency signal can be avoided, ensuring the accuracy of the communication quality score, and at the same time reducing the requirements for transmission wires. In addition, since a radio frequency signal is introduced as a reference when determining the communication quality score, the present application can more accurately determine whether the interference of the communication stability comes from in-vehicle radio frequency devices, thereby avoiding the problem of the communication quality score being too low due to other interference factors in the traditional technology, which is beneficial to improving the accuracy of the communication quality score. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the structures shown in these drawings without creative efforts.
[0051] Figure 1 It is a schematic flowchart of an embodiment of the tram central control communication stability testing method of the present invention;
[0052] Figure 2 It is a schematic flowchart of another embodiment of the tram central control communication stability testing method of the present invention;
[0053] Figure 3 It is a schematic module diagram of an embodiment of the tram central control communication stability testing device of the present invention.
[0054] Explanation of the reference numerals in the drawings:
[0055]
[0056] The realization, functional features and advantages of the present invention will be further described in conjunction with the embodiments with reference to the accompanying drawings. Specific embodiments
[0057] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0058] In addition, in the present invention, descriptions such as "first" and "second" are only for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions between various embodiments can be combined with each other, but it must be based on the fact that those of ordinary skill in the art can implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the protection scope required by the present invention.
[0059] It should be noted that the in-vehicle devices of electric vehicles are often added by the vehicle owners after the electric vehicles leave the factory and are not provided by the electric vehicle manufacturers. Therefore, currently, before the electric vehicles leave the factory, the electric vehicle manufacturers only test the communication stability between the central control system and other electric control systems when the in-vehicle devices are not installed. However, the central control system that passes the test actually cannot ensure its communication stability when the in-vehicle radio frequency device is working. In actual use, it is found that once the vehicle owner installs an in-vehicle radio frequency device on the vehicle later, since such devices are relatively close to the central control system and generally have a very high power, the radio signals generated by the operation of the in-vehicle radio frequency device will affect the working stability of the central control system. Specifically, it will cause a large signal error in the communication signals generated by the central control system, resulting in a risk of communication signal failure. Moreover, the radio signals generated by the operation of the in-vehicle radio frequency device are also prone to coupling with the communication signals in the transmission process, further increasing the signal error and thus further increasing the probability of communication signal failure.
[0060] Therefore, there is an urgent need for a test method that can effectively test the communication stability of the central control system of electric vehicles in the presence of in-vehicle radio frequency devices in advance, so as to help the manufacturers judge the communication stability level of the central control system in the presence of in-vehicle radio frequency devices, so that corresponding solutions can be taken for the problem of low communication stability, such as replacing the central control system with a high communication stability or adding shielding parts.
[0061] In view of this, the present invention provides a method for testing the communication stability of an electric vehicle's central control system.
[0062] Referring to Figure 1 , the test method includes:
[0063] S100: When the vehicle-mounted radio frequency device is not working, control the central control system to continuously generate a first communication signal, send it to the target system through the communication channel communicating with the target system, and obtain the first communication signal;
[0064] S200: Control the vehicle-mounted radio frequency device to work and obtain the radio frequency signal when the vehicle-mounted radio frequency device is working;
[0065] S300: When the vehicle-mounted radio frequency device is working, obtain the second communication signal received by the target system through the communication channel;
[0066] S400: Determine the communication quality score between the central control system and the target system according to the first communication signal, the second communication signal, and the radio frequency signal.
[0067] The object to be tested by the technical solution of the present invention can be an electric vehicle that has a central control system and various electric control systems normally installed, and the execution body of the test method of the present invention can be a test device in the test system. Before step S100, the device type of the vehicle-mounted radio frequency device needs to be selected and a test environment needs to be built. Specifically, the selected type of vehicle-mounted radio frequency device is normally installed on the electric vehicle; the vehicle-mounted radio frequency device can be a communication vehicle station, a vehicle-mounted signal transmitting device, etc., and this embodiment does not limit this. The central control system can be communicatively connected to various electric control systems in the battery through a pre-assembled communication line, that is, a communication channel. The electric control system that needs to detect its communication stability with the central control system is the target communication system.
[0068] After building the test environment, the test device may not control the vehicle-mounted radio frequency device to work first, and can control the central control system to continuously send a communication signal for driving it to execute corresponding tasks to the target communication system, that is, the first communication signal. For example, if the target communication system is an air conditioning system, the first communication signal can be a refrigeration start signal, a wind force adjustment signal, a temperature adjustment signal, etc. The test device can use the signal obtained from the data output end where the central control system is connected to the communication channel as the first communication signal. It can be understood that at this time, both the first control signal generated by the central control system and the first control signal transmitted in the communication channel are communication signals not affected by the vehicle-mounted radio frequency device.
[0069] After step S100 is executed, the test device can issue a work instruction to the vehicle-mounted radio frequency device to control its operation and transmit corresponding radio signals. It can be understood that, regardless of the type of vehicle-mounted radio frequency device, the radio signals it transmits are obtained by converting radio frequency signals in the form of electrical signals into electromagnetic wave signals through an antenna, and the radio frequency signals are obtained by amplifying an initial electrical signal using a power amplifier circuit. Therefore, the initial electrical signal can be first connected to the input end of the power amplifier circuit in the vehicle-mounted radio frequency device, and then the initial electrical signal can be amplified with the same amplification factor as the power amplifier circuit in the vehicle-mounted radio frequency device to obtain the radio frequency signal when the vehicle-mounted radio frequency device is operating. Since the vehicle-mounted radio frequency device is in an operating state, both the first communication signal generated by the central control system and the first communication signal transmitted in the communication channel are communication signals affected by the operation of the vehicle-mounted radio frequency device. The test device can obtain the signal from the data input end where the target system communication is connected to the communication channel as the second communication signal.
[0070] It should be noted that if the communication stability between the central control system and the target system is relatively high, for example, the generation process and transmission process of the first communication signal are not affected by the vehicle-mounted radio frequency device, then in this embodiment, the first communication signal is the same as the second communication signal. If the communication stability between the central control system and the target system is relatively low, for example, the generation process and transmission process of the first communication signal are affected by the vehicle-mounted radio frequency device, then the first communication signal will be distorted to produce a signal error, and this signal error will accumulate to the maximum before entering the target system and be reflected in the difference between the second communication signal and the first communication signal.
[0071] Therefore, by performing corresponding signal processing on the obtained first communication signal and second communication signal, such as comparison processing, it can be determined whether the first communication signal is affected by the vehicle-mounted radio frequency device. And when it is determined that it is affected, the degree to which the first communication signal is affected by the radio frequency signal during the generation and transmission processes can be determined, and further, a score representing the communication stability between the central control system and the target system, that is, the communication quality score, can be calculated based on this degree. It can be understood that the higher the communication quality score, the higher the communication stability between the central control system and the target system, and the less likely the generation and transmission processes of the first communication signal are to be affected by the operation of the vehicle-mounted radio frequency device; the lower the communication quality score, the lower the communication stability between the central control system and the target system, and the more likely the generation and transmission processes of the first communication signal are to be affected by the operation of the vehicle-mounted radio frequency device.
[0072] In this way, the communication stability of the tram central control system in the presence of on-board radio frequency equipment can be effectively tested. Since the signal power of the radio frequency signal of the on-board radio frequency equipment is usually high, if the radio frequency signal is directly connected to implement step S200, it will not only lead to extremely high requirements for the transmission wire of the radio frequency signal, but also cause the strength of the radio signal emitted by the on-board radio frequency equipment to drop significantly, thereby reducing the degree of influence on the second communication signal obtained in the subsequent step S200, and thus causing the final calculated communication quality score to be high. The present application scheme obtains a radio frequency signal by accessing an initial electrical signal with low power and amplifying the power of the initial signal, thereby avoiding the problem of a high final calculated communication quality score due to direct acquisition of the radio frequency signal, ensuring the accuracy of the communication quality score, and at the same time reducing the requirements for transmission wires.
[0073] In addition, there is a test scheme in traditional technology that only judges communication stability based on the signal before being affected and the signal after being affected. However, this traditional test scheme ignores the possibility that communication stability is affected by other interference factors (such as the complex electromagnetic environment at the test site and the radio signal interference of the vehicle itself), which makes the calculated communication quality score low and cannot correctly represent the communication stability of the central control system in the presence of on-board radio frequency equipment. Since the present application introduces the radio frequency signal as a reference when determining the communication quality score, it can more accurately determine whether the interference of communication stability comes from the on-board radio frequency equipment, thereby avoiding the problem of low communication quality scores due to other interference factors in traditional technology, which is conducive to improving the accuracy of communication quality scores.
[0074] Reference Figure 2 , step S400 includes:
[0075] Step S410: determining a distinguishing communication signal in the second communication signal relative to the first communication signal;
[0076] Step S420: Determine whether there is a relevant signal feature corresponding to the radio frequency signal in the distinguishing communication signal;
[0077] Step S430: If the relevant signal feature corresponding to the radio frequency signal exists in the distinguishing communication signal, the communication quality score between the central control system and the target system is determined according to the distinguishing communication signal, the first communication signal and the second communication signal.
[0078] In this embodiment, the first communication signal can be used as a reference, and the second communication signal can be compared with the first communication signal to determine whether the second communication signal is consistent with the first communication signal. If the two are exactly the same, it indicates that the generation and transmission process of the first communication signal is not affected by the operation of the vehicle-mounted radio frequency device, that is, it means that the communication stability between the current tested central control system and the target system is relatively high; if the two are not exactly the same, it indicates that the generation and transmission process of the first communication signal is affected by the operation of the vehicle-mounted radio frequency device, that is, it means that the communication stability between the current tested central control system and the target system is relatively low. Therefore, when the first communication signal and the second communication signal are inconsistent, the signal segments in which the second communication signal is inconsistent with the first communication signal can be further compared through the signal comparison process, and all the inconsistent signal segments can be used as the distinguishing communication signals.
[0079] During the test process, it is found that if the generation and transmission process of the first communication signal is affected by the operation of the vehicle-mounted radio frequency device, at least part of the first communication signal will change under the action of the radio signal emitted by the vehicle-mounted radio frequency device during operation, and the changed part of the signal will have relevant signal characteristics related to the radio signal emitted by the vehicle-mounted radio frequency device. And because the radio signal emitted by the vehicle-mounted radio frequency device is correlated with its radio frequency signal, it is possible to determine whether the signal change of the second communication signal is caused by the operation of the vehicle-mounted radio frequency device by judging whether there are relevant signal characteristics corresponding to the radio frequency signal in the distinguishing communication signal. In this embodiment, the relevant signal characteristics can be at least one of the following: relevant signal content, relevant data content, relevant signal format, and relevant signal waveform.
[0080] The test device can analyze the distinguishing communication signal and the radio frequency signal respectively to first determine the respective relevant signal characteristics of the two, and then compare the respective relevant signal characteristics of the two to determine whether the respective relevant signal characteristics of the two are the same, and can determine whether there are relevant signal characteristics corresponding to the radio frequency signal in the distinguishing communication signal according to the judgment result. If the determination result is that there are no relevant signal characteristics corresponding to the radio frequency signal in the distinguishing communication signal, it means that the generation of the distinguishing communication signal is caused by other interference factors and is not caused by the influence of the operation of the vehicle-mounted radio frequency device. Instead, it can indicate that the communication stability between the central control system and the target system is not easily affected by the operation of the vehicle-mounted radio frequency device.
[0081] If it is determined that there are relevant signal characteristics corresponding to the RF signal in the differential communication signal, it indicates that the generation of the differential communication signal is caused by the operation of the vehicle-mounted RF device, rather than by other interference factors. At this time, the communication quality score can be calculated based on the differential communication signal, the first communication signal, and the second communication signal. In this way, the problem of low communication quality score caused by other interference factors in the traditional technology can be avoided, which is beneficial to improving the accuracy of the communication quality score.
[0082] Optionally, step S420 includes:
[0083] Step S411: Determine whether the differential communication signal conforms to the signal format of the RF signal;
[0084] Step S412: If the differential communication signal does not conform to the signal format of the RF signal, determine whether there are characteristic signals of the RF signal in the differential communication signal;
[0085] Step S413: If there are no characteristic signals of the RF signal in the differential communication signal, determine that there are no relevant signal characteristics corresponding to the RF signal in the differential communication signal;
[0086] Step S414: If the differential communication signal conforms to the signal format of the RF signal, or there are characteristic signals of the RF signal, determine that there are relevant signal characteristics corresponding to the RF signal in the differential communication signal.
[0087] In this embodiment, the test device can determine the signal format of each signal segment in the differential communication signal and the signal format of the RF signal, and can judge whether the signal format of each signal segment is the same as the signal format of the RF signal. If the signal format of one signal segment is the same as the signal format of the RF signal, it can be determined that the signal format of the differential communication signal conforms to the signal format of the RF signal; if the signal formats of all signal segments are different from the signal format of the RF signal, it can be determined that the differential communication signal does not conform to the signal format of the RF signal. At this time, the test device can further determine the characteristic signal of the RF signal based on the first communication signal and the RF signal; among them, the characteristic signal is a signal segment that is unique to the RF signal and not possessed by the first communication signal.
[0088] Step S412 can specifically be: Judge whether there are signals with the same characteristic signal in each signal segment of the differential communication signal. If there is a signal segment with a signal having the same characteristic signal, it can be determined that there are relevant signal characteristics corresponding to the RF signal in the differential communication signal; if there are no signals with the same characteristic signal in all signal segments, it can be determined that there are no relevant signal characteristics corresponding to the RF signal in the differential communication signal.
[0089] It should be noted that in actual tests, it is found that due to the excessive number of relevant signal feature types, and the number of types will change according to the type of in-vehicle radio frequency device. If it is necessary to determine whether any one of the relevant signal features exists in the discrimination communication signal, it is necessary to compare all types of relevant signal features with the signal features of the discrimination communication signal respectively. This will result in too long test duration for a single central control system, which is not conducive to the batch test of the communication stability of the central control system. And it is also found in actual tests that in the case of being interfered by the in-vehicle radio frequency device, the probabilities of the signal format and the characteristic signal of the radio frequency signal existing in the discrimination communication signal are the highest and the second highest respectively, and are as high as 98% and 90% respectively, and the time required to analyze the signal format and the characteristic signal is relatively short. Therefore, the technical solution of the present application can save the test duration of a single central control system while ensuring a high judgment accuracy in step S410 by successively determining whether the signal format of the discrimination communication signal conforms and whether the characteristic signal exists, thereby facilitating the batch test of the communication stability of the central control system using the technical solution of the present invention.
[0090] Optionally, in step S430, the step of determining the communication quality score of the central control system and the target system according to the discrimination communication signal, the first communication signal and the second communication signal includes:
[0091] Step S431: Divide the first communication signal into a plurality of different first signal segments, and each of the first signal segments is configured to implement a preset signal function of the first communication signal;
[0092] The test device can obtain the preset signal composition rule of the first communication signal, and the preset signal composition rule includes each signal segment required to form the first communication signal and the position where each signal segment is located. The test device can divide the first communication signal into signal segments, that is, the first signal segments, according to the preset signal composition rule, and each first signal segment is used to implement a preset signal function of the first communication signal. For example, the preset signal function can be a signal start identifier, a signal end identifier, a signal verification function, etc., and this embodiment does not make a limitation thereto.
[0093] Step S432: Determine the second signal segment corresponding to each first signal segment in the second communication signal according to the position of each first signal segment in the first communication signal.
[0094] It should be noted that since the second communication signal is essentially a signal affected by the first communication signal under the operation of the vehicle-mounted radio frequency, the second communication signal will have a signal structure similar to that of the first communication signal. Therefore, the test device can determine the signal segments at the same positions in the second signal segment, that is, the signal segments with the same start position and the same end position, as the second signal segments corresponding to each first signal according to the positions (including the start position and the end position) of each first signal segment in the first communication signal.
[0095] Step S433: Determine the second signal segments that have an intersection part with the difference communication signal as the target second signal segments, and determine the first signal segments corresponding to each target second signal segment as the target first signal segments;
[0096] The test device can determine the second signal segments that overlap with the positions of the signal segments in the difference communication signal among all the second signal segments according to the positions of each signal segment in the difference communication signal and each second signal segment in the second communication signal respectively. It can be understood that the second signal segments with overlapping positions are the second signal segments that have an intersection part with the difference communication signal, that is, the target second signal segments. The test device can also determine the first signal segments in the first communication signal that have the same positions as the positions of each target second signal segment in the second communication signal according to the positions of the determined target second signal segments in the second communication signal, and use them as the target first signal segments.
[0097] Step S434: Calculate the communication quality score between the central control system and the target system according to all the target first signal segments and all the target second signal segments. In this embodiment, step S434 includes:
[0098] Step S4341: Send all the target first signal segments into the first preset neural network model to estimate the first probability that each target first signal segment realizes the corresponding preset signal function; and send all the target second signal segments into the first preset neural network model to estimate the second probability that each target second signal segment realizes the corresponding preset signal function;
[0099] Step S4342: Obtain the target system model corresponding to the target system, and send the second communication signal and the target system model into the second preset neural network model to estimate the third probability that the second communication signal controls the corresponding operation of the target system;
[0100] Step S4343: Calculate the ratio of each first probability to the corresponding second probability to obtain at least one ratio; perform an average calculation on all the ratios, and perform a multiplication operation on the average calculation result and the third probability, and use the multiplication operation result as the communication quality score.
[0101] Among them, the first preset neural network model is a neural network model pre-trained with various unaffected first signal segment data and the preset signal function data implemented thereby, and the second preset neural network model is a neural network model pre-trained with various affected second signal segment data and the preset signal function data implemented thereby. The first preset neural network model can predict the number of successful executions of the preset signal function by the input first signal segment within the preset number of executions, and can output a first probability based on the ratio of the number of successful executions to the preset number of executions. The second preset neural network model can predict the number of successful executions of the preset signal function by the input second signal segment within the preset number of executions, and can output a second probability based on the ratio of the number of successful executions to the preset number of executions.
[0102] In other words, the first probability represents the success rate of the first signal segment in implementing its preset signal function when the central control system is not affected by the vehicle-mounted radio frequency device, and the second probability represents the success rate of the second signal segment in implementing its preset signal function when the central control system is affected by the vehicle-mounted radio frequency device. It should be noted that the first probability is not necessarily 100%, and the second probability is not necessarily 0.
[0103] The second preset network model is a neural network model pre-trained with various system models and the communication signal data received thereby, as well as the response success rate data of various system models for various communication signals. The second preset network model can predict the number of successful executions of the preset communication function by the input second communication signal within the preset number of executions, that is, the number of successful executions of successfully controlling the target system model to execute the corresponding work task, and can output a third probability based on the ratio of the number of successful executions to the preset number of executions. In other words, the first probability represents the success rate of the first signal segment in implementing its preset signal function when the central control system is not affected by the vehicle-mounted radio frequency device, the second probability represents the success rate of the second signal segment in implementing its preset signal function when the central control system is affected by the vehicle-mounted radio frequency device, and the third probability is the probability that the second communication signal can successfully control the corresponding work of the target system as a whole.
[0104] It should be noted that the first probability is not necessarily 100%, and the second probability is not necessarily 0; and when the second probability of some target second signal segments is too low, the third probability of the second communication signal is not necessarily too low, which depends on whether the preset signal function implemented by these second target signal segments is a core signal function. For example, if the preset signal function of a target second signal segment is a non-core signal function such as verifying signal integrity, even if the second probability of the target second signal segment is low, it will not cause the third probability to be too low. Generally speaking, the more the number of target second signal segments, and the lower the second probability of each target second signal segment, the lower the third probability will be.
[0105] In this embodiment, step S4343 can be expressed by the formula:
[0106] ;
[0107] where S is the communication quality score, and n is the total number of the first signal segments or the second signal segments (the numbers of these two are equal); P 1n is the first probability of the nth target first signal segment; P 2n is the second probability corresponding to P 1n , that is, the second probability of the nth target second signal segment, and P3 is the third probability.
[0108] Since the first probability represents the success rate of the first signal segment in achieving its preset signal function when the central control system is not affected by the vehicle-mounted RF device, and the second probability represents the success rate of the second signal segment in achieving its preset signal function when the central control system is affected by the vehicle-mounted RF device, thus is the error rate of the first communication signal failing in a normal environment (not affected by the vehicle-mounted RF device), and this error rate still exists in the second probability, which results in the underestimated second probability and cannot correctly represent the success rate of the second signal segment in achieving its preset signal function when the central control system is affected by the vehicle-mounted RF device. Therefore, in the solution of this application, by using as a compensation value and performing an addition calculation with P 2n , first obtain a sum value that can represent the actual second probability, then perform a ratio calculation on the sum value and the corresponding first probability to obtain a ratio that can represent the anti-stability magnitude of each target first signal. Finally, perform an average calculation on the obtained n ratios, and perform a product operation on the third probability P3 as a compensation probability and the average calculation result, and finally a communication quality score that can more accurately represent the communication stability can be obtained. It can be understood that the higher the calculated communication quality score, the more stable the communication between the central control system and the target system, and the less likely it is to be affected by the operation of the vehicle-mounted RF device.
[0109] The technical solution of the present invention creatively introduces the third probability that can characterize the probability that the second communication signal can successfully control the corresponding operation of the target system as the final compensation probability when calculating the communication quality score, avoiding the situation where the communication quality score is too high due to the default that the second communication signal can surely successfully control the operation of the target system, making the finally calculated communication quality score more capable of reflecting the actual communication stability, thereby being beneficial to improving the accuracy of the finally obtained communication quality score.
[0110] In addition, in the calculation of the communication quality score of the present application solution, only the first probability of the target first signal segment and the second probability of the target second signal segment are selected for calculation, excluding other first and second signal segments that do not intersect with the discrimination signal. Therefore, not only can the finally calculated communication quality scores be constrained within the range greater than 0 and less than 1, which is convenient for subsequent screening of the central control system with higher communication stability within the same numerical range, but also the calculation amount can be reduced to speed up the testing speed of a single central control system to adapt to the batch judgment of the central control system.
[0111] However, it is found in practice that since a third probability is added as a compensation probability during the calculation process, it is likely to make the digits of the finally obtained communication quality score longer, which is not conducive to subsequent screening of the central control system according to the communication quality score. In view of this, optionally, before step 4343 of the technical solution of the present application, the electric vehicle central control communication stability testing method includes:
[0112] Step S4344: Determine the preset probability interval where the third probability is located;
[0113] Step S4345: Use the preset probability value corresponding to the preset probability interval where the third probability is located as the third probability value.
[0114] In this embodiment, the testing device can sequentially compare the obtained third probability with multiple preset probability intervals to determine which preset probability interval the third probability interval is in. After determining the preset probability interval where the third probability is located, the testing device can determine the preset probability value corresponding to the preset probability interval by looking up the preset probability interval - preset probability value mapping table. The testing device can use the found preset probability value as the numerical value of the third probability value. Among them, the preset probability interval - preset probability value mapping table and each preset probability value can be obtained through pre-experiments, and the digits of each preset probability value can be set to be less, for example, they can all be set to the tenths place, so as to effectively control the number of digits of the finally calculated communication quality score.
[0115] In addition, the present application solution only uses the preset probability value corresponding to the probability interval where the third probability is located to replace it, while the average value calculation result and the finally calculated communication quality score do not use such a method to reduce the number of digits. This is because the average value calculation result and the finally calculated communication quality score are the core values reflecting the communication quality stability. If such a method is used to reduce the number of digits of these two values, it will overly affect their own values, resulting in a large error in the finally obtained communication quality score. The third probability is essentially a compensation probability and only affects the reduction degree of the average value calculation result. Therefore, by executing steps S4344 and S4345, the present application solution can reduce the number of digits of the communication quality score while avoiding excessive influence on the communication quality score.
[0116] Optionally, step S4345 includes:
[0117] If the third probability is within the first preset probability interval, then take 1 as the value of the third probability;
[0118] If the third probability is within the second preset probability interval, then take 0.9 as the value of the third probability;
[0119] If the third probability is within the third preset probability interval, then take the numerical value 0.8 as the value of the third probability;
[0120] If the third probability is within the fourth preset probability interval, then take the numerical value 0.6 as the value of the third probability;
[0121] If the third probability is within the fifth preset probability interval, then take the numerical value 0 as the value of the third probability;
[0122] Wherein, the minimum probability value of the first preset probability interval is not less than the maximum probability value of the second preset probability interval, the minimum probability value of the second preset probability interval is not less than the maximum probability value of the third preset probability interval, the minimum probability value of the third preset probability interval is not less than the maximum probability value of the fourth preset probability interval, and the minimum probability value of the fourth preset probability interval is not less than the maximum probability value of the fifth preset probability interval.
[0123] In this embodiment, the first preset probability interval, the second preset probability interval, the third preset probability interval, the fourth preset probability interval, and the fifth preset probability interval are five successively decreasing probability intervals. Among them, the first preset probability interval can be not greater than 100% and not less than 95%; the second preset probability interval can be less than 95% and not less than 85%; the third preset probability interval can be less than 85% and not less than 75%; the fourth preset probability interval can be less than 75% and not less than 50%; the fifth preset probability interval can be less than 50%. It can be understood that 1, 0.9, 0.8, 0.6, 0 correspond to the preset probability values of the first preset probability interval, the second preset probability interval, the third preset probability interval, the fourth preset probability interval, and the fifth preset probability interval. With such a setting, it is possible to reduce the number of digits of the communication quality score while avoiding too much impact on the communication quality score.
[0124] During the testing process, it was found that since there are a large number of electric control systems integrated in the electric vehicle, if the communication stability between the central control system and each electric control system to be communicated is tested, the testing duration of a single central control system will be too long, which is not conducive to the batch application of the solution of this application. In view of this, before step S100, the testing method further includes:
[0125] Step S500: Obtain a first set of electronic control systems, where the first set of electronic control systems includes all the electronic control systems that have communication requirements with the central control system;
[0126] Step S600: Select at least one of the electronic control systems from the first set of electronic control systems according to a preset selection rule to form a second set of electronic control systems, where the number of electronic control systems in the second set of electronic control systems is less than the number of electronic control systems in the first target set;
[0127] Step S700: Sequentially determine the electronic control systems in the second set of electronic control systems as the target systems, and after each determination of the target system, execute Step S100 to Step S400 to obtain the communication quality scores of the central control system with each of the target systems in the second set of electronic control systems;
[0128] After Step S400, the method includes:
[0129] Step S800: Associatively store the communication quality scores with the corresponding target systems.
[0130] In this embodiment, the preset selection rule is to select the electronic control systems related to the driving function of the tram and with a relatively high usage frequency from the first set of electronic control systems, such as the battery management system, the motor drive system and other electronic control systems, to form the second set of electronic control systems; the preset selection rule can be set through prior experience, and the present application does not limit this. In this way, the electronic control systems that are irrelevant to the driving function of the tram or are related to the driving function of the tram but have a relatively low usage frequency in the first set of electronic control systems, such as the volume adjustment system, the seat massage system and other electronic control systems, can be excluded from the second set of electronic control systems. This is because it is considered that even if these excluded electronic control systems cannot work due to the influence of the in-vehicle radio frequency device, it will not affect the normal driving of the tram, and these excluded electronic control systems are often not used simultaneously when using the in-vehicle radio frequency device. Therefore, the priority of testing the communication stability between the central control system and these electronic control systems is relatively low. In this way, since the electronic control systems with relatively low test priority are reduced, while reducing the total test duration of the central control system, the comprehensiveness of the communication stability test of the central control system can be ensured.
[0131] After each test of the communication stability between the central control system and a target system, the test device can associatively store the communication quality score obtained in this test with the target system selected in this test. In this way, after all the electronic control systems in the second electronic control set are tested as target systems, the communication quality score set of the central control system can be obtained; this communication quality score set can be called for subsequent use to judge the communication stability level of the central control system in the presence of an in-vehicle radio frequency device and to screen out the central control systems with qualified communication stability.
[0132] The present invention also provides a testing device.
[0133] Referring to Figure 3 , the testing device includes:
[0134] A memory 11; and,
[0135] A processor 12;
[0136] A tram central control communication stability testing program stored in the memory 11 and executed by the processor 12. When the tram central control communication stability testing program is executed by the processor 12, it implements the tram central control communication stability testing method as described above.
[0137] It should be noted that since the testing device of the present invention is based on the above-mentioned tram central control communication stability testing method, the embodiments of the testing device of the present invention include all the technical solutions of all the embodiments of the above-mentioned tram central control communication stability testing method, and the achieved technical effects are also exactly the same, which will not be elaborated here.
[0138] Among them, referring to Figure 3 , the testing device includes a memory 11, a processor 12, and a tram central control communication stability testing program stored in the memory 11 and executed by the processor 12. When the tram central control communication stability testing program is executed by the processor 12, it implements the above-mentioned tram central control communication stability testing method. The memory 11 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 11 can also be a storage device independent of the aforementioned testing device; the processor 12 can be a CPU. The memory 11 and the processor 12 are connected by a communication bus 13, and the communication bus 13 can be a UART bus or an I2C bus.
[0139] The present invention also provides a testing system, which includes a tram central control communication stability testing device. The specific structure of the tram central control communication stability testing device refers to the above-mentioned embodiments. Since this testing system adopts all the technical solutions of the above-mentioned all embodiments, it has at least all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be elaborated one by one here.
[0140] The above are only optional embodiments of the present invention, and do not limit the patent scope of the present invention. Any equivalent structural transformation made under the inventive concept of the present invention by using the content of the specification and drawings of the present invention, or any direct / indirect application in other related technical fields is included in the patent protection scope of the present invention.
Claims
1. A method for testing the stability of electric vehicle central control communication, characterized in that: The test method includes: S100: When the vehicle-mounted radio frequency device is not working, controlling the central control system to continuously generate a first communication signal, and sending the first communication signal to the target system through a communication channel for communicating with the target system, and obtaining the first communication signal; S200: Controlling the vehicle-mounted radio frequency device to operate, and obtaining a radio frequency signal when the vehicle-mounted radio frequency device operates; S300: When the vehicle-mounted radio frequency device is working, obtaining a second communication signal received by the target system through the communication channel; S400: Determine a communication quality score between the central control system and the target system according to the first communication signal, the second communication signal, and the radio frequency signal; The step of determining the communication quality score between the central control system and the target system according to the first communication signal, the second communication signal and the radio frequency signal comprises: determining a distinguishing communication signal in the second communication signal relative to the first communication signal; Determining whether there is a relevant signal feature corresponding to the radio frequency signal in the distinguishing communication signal; If the relevant signal feature corresponding to the radio frequency signal exists in the distinguishing communication signal, the communication quality score between the central control system and the target system is determined according to the distinguishing communication signal, the first communication signal and the second communication signal.
2. The electric vehicle central control communication stability testing method according to claim 1, characterized in that: The step of determining whether the distinguishing communication signal contains a relevant signal feature corresponding to the radio frequency signal comprises: Determining whether the distinguishing communication signal conforms to the signal format of the radio frequency signal; If the distinguishing communication signal does not conform to the signal format of the radio frequency signal, determining whether there is a characteristic signal of the radio frequency signal in the distinguishing communication signal; If the characteristic signal of the radio frequency signal does not exist in the distinguishing communication signal, determining that the relevant signal feature corresponding to the radio frequency signal does not exist in the distinguishing communication signal; If the distinguishing communication signal conforms to the signal format of the radio frequency signal, or there is a characteristic signal of the radio frequency signal, it is determined that there is a relevant signal feature corresponding to the radio frequency signal in the distinguishing communication signal.
3. The electric vehicle central control communication stability testing method according to claim 1, characterized in that: The step of determining the communication quality score between the central control system and the target system according to the distinguished communication signal, the first communication signal and the second communication signal comprises: Dividing the first communication signal into a plurality of different first signal segments, each of the first signal segments being configured to implement a preset signal function of the first communication signal; Determine, according to the position of each of the first signal segments in the first communication signal, a second signal segment in the second communication signal corresponding to each of the first signal segments; Determine the second signal segment having an intersection with the distinguished communication signal as a target second signal segment, and determine the first signal segment corresponding to each of the target second signal segments as a target first signal segment; The communication quality score between the central control system and the target system is calculated according to all the target first signal segments and all the target second signal segments.
4. The electric vehicle central control communication stability testing method as claimed in claim 3, characterized in that: The step of calculating the communication quality score between the central control system and the target system according to all the target first signal segments and all the target second signal segments comprises: Sending all of the target first signal segments into a first preset neural network model to estimate a first probability that each of the target first signal segments realizes a corresponding preset signal function; and sending all of the target second signal segments into the first preset neural network model to estimate a second probability that each of the target second signal segments realizes a corresponding preset signal function; Acquire a target system model corresponding to the target system, and send the second communication signal and the target system model to a second preset neural network model to estimate a third probability that the second communication signal controls a corresponding operation of the target system; The difference between 1 and each of the first probabilities is added to the second probability corresponding to the corresponding first probability to obtain at least one sum; each of the sums is then ratio-calculated with the corresponding first probability to obtain at least one ratio; all the ratios are averaged, and the average calculation result is multiplied by the third probability, and the product calculation result is used as the communication quality score.
5. The electric vehicle central control communication stability testing method according to claim 4, characterized in that: Before the steps of adding the difference between 1 and each of the first probabilities and the second probability corresponding to the corresponding first probability to obtain at least one sum; then performing ratio calculation on each of the sums and the corresponding first probability to obtain at least one ratio; averaging all the ratios, multiplying the average value calculation result by the third probability, and using the product calculation result as the communication quality score, the electric vehicle central control communication stability test method includes: Determining a preset probability interval within which the third probability lies; The preset probability value corresponding to the preset probability interval in which the third probability lies is used as the third probability value.
6. The electric vehicle central control communication stability testing method as claimed in claim 5, characterized in that: The step of using a preset probability value corresponding to the probability interval in which the third probability is located as the third probability value comprises: If the third probability is within the first preset probability interval, 1 is used as the value of the third probability; If the third probability is within the second preset probability interval, 0.9 is used as the value of the third probability; If the third probability is within the third preset probability interval, the value 0.8 is used as the value of the third probability; If the third probability is within the fourth preset probability interval, the value 0.6 is used as the value of the third probability; If the third probability is within the fifth preset probability interval, the value 0 is used as the value of the third probability; Among them, the minimum probability value of the first preset probability interval is not less than the maximum probability value of the second preset probability interval, the minimum probability value of the second preset probability interval is not less than the maximum probability value of the third preset probability interval, the minimum probability value of the third preset probability interval is not less than the maximum probability value of the fourth preset probability interval, and the minimum probability value of the fourth preset probability interval is not less than the maximum probability value of the fifth preset probability interval.
7. The electric vehicle central control communication stability testing method according to any one of claims 1 to 6, characterized in that: When the vehicle-mounted radio frequency device is not working, the central control system is controlled to continuously generate a first communication signal, and the first communication signal is sent to the target system through a communication channel for communicating with the target system, and before the first communication signal is obtained, the test method further includes: Acquire a first electronic control system set, where the first electronic control system set includes all electronic control systems that have communication requirements with the central control system; According to a preset selection rule, at least one of the electric control systems is selected from the first electric control system set to form a second electric control system set, wherein the number of electric control systems in the second electric control system set is less than the number of electric control systems in the first electric control system set; The electronic control systems in the second electronic control system set are sequentially determined as the target systems, and after each determination of the target system, the steps S100 to S400 are performed to obtain the communication quality scores between the central control system and each of the target systems in the second electronic control system; After the step of determining the communication quality score between the central control system and the target system according to the first communication signal, the second communication signal and the radio frequency signal, the method includes: The communication quality score is associated with the target system selected for the current test and stored.
8. A testing device, characterized in that: The testing device comprises: Memory; processor; and, A tram central control communication stability test program stored in the memory and executed by the processor, when the tram central control communication stability test program is executed by the processor, implements the tram central control communication stability test method as described in any one of claims 1-7.
9. A testing system, characterized in that: The test system comprises the test device according to claim 8.
Citation Information
Patent Citations
Ultra-high-speed low-vacuum pipeline train-ground wireless communication interference suppression method
CN115550883A
Test method and device of ZigBee device and storage medium
CN117014913A