Wire signal control and anti-interference method
By conducting line control testing and data decoding processing on the wire signal transmission process, combined with the analysis of volume change ratio and matching degree, the problem of insufficient control accuracy of wire signal transmission is solved, and more efficient equipment debugging and signal control are achieved.
Patent Information
- Application Number
- CN202510102581.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-22
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2045-01-22
AI Technical Summary
In the prior art, the control accuracy of the wire signal transmission process is insufficient, and the interference of external factors leads to signal delay or distortion, and the debugging time is long in the event of equipment failure.
By collecting data information of the target product, obtaining the line control instructions corresponding to the target product, decoding and storing the line control data to be tested for line control testing. The operating parameters of the equipment are monitored in real time, the volume change ratio is calculated, and the number of control commands, the frequency band range and bandwidth of the low-pass filter are adjusted according to the matching degree and the actual volume change amount.
It improves the control accuracy of the line-controlled processing process, shortens the equipment debugging time, and enhances the control accuracy of the command transmission process.
Smart Images

Figure CN119556628A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of load equipment, and in particular to a wire signal control and anti-interference method. Background Art
[0002] In various electronic devices and communication systems, accurate signal transmission is crucial. Without good signal control, the signal may be attenuated or distorted. For example, when using wireless headphones, mobile terminals are often used to send signals to control them. The signals are affected by many factors. The existing technology controls the size of the wire, improves the rationality of wiring, and reduces production labor costs and material costs. However, the control accuracy of the wire signal transmission process is low and the equipment debugging time is long.
[0003] Chinese patent application number: CN202210574693.X discloses a processing method for a load analog voltage feedback signal harness, wherein a wire with a cross-sectional area of 0.3mm2RV is selected at the S terminal of the voltage feedback signal harness, and a UL3239-22AWG wire with a withstand voltage of 3KV and a high temperature of 200°C is selected for the positive and negative copper bars of the load; an RH14*15*9 type ferrite magnetic ring is installed to suppress the high-frequency signal in the load device and prevent interference, and the ferrite magnetic ring is ensured to be as close to the control board as possible; an SM-2.54mm / 3P air docking male and female plug is installed on the voltage feedback signal harness; the reinforcement screw hole of the voltage feedback line of the positive and negative copper bars of the load is selected as M4, and a RV0.5-4RV pre-insulated round terminal is selected. The harness processed by this method can reduce the number of inventory harness codes, effectively improve the turnover rate of materials, simplify the production and assembly process, and the harness size is reasonable to meet the overall wiring, which greatly reduces the production labor cost and material cost.
[0004] However, the prior art still has the following problems: The wire signal transmission process is affected by many factors. External interference can cause signal delay or distortion. At present, the control accuracy of the wire signal transmission process is insufficient, and the debugging time is long when the equipment fails. Summary of the invention
[0005] To this end, the present invention provides a wire signal control and anti-interference method to overcome the problems in the prior art that the wire signal transmission process is affected by various factors, external interference may cause signal delay or distortion, the current control accuracy of the wire signal transmission process is insufficient, and the debugging time is long when the equipment fails.
[0006] To achieve the above-mentioned purpose, the present invention provides a wire signal control and anti-interference method. It includes: Collecting data information of the target product, obtaining a line control instruction corresponding to the data information of the target product, decoding the line control instruction to obtain corresponding line control data, and storing the obtained line control data; Continuously sending the line control data to the device to be tested to perform a line control test on the device to be tested, filtering the sent line control data, and monitoring the operating parameters of the device to be tested in real time; Calculate the volume change ratio of a single test cycle in the operating parameters of the device under test, analyze whether the line control processing of the device under test is qualified based on the volume change ratio, and when it is preliminarily determined that the line control processing is unqualified, Determine the matching degree between the received line control instruction and the sent line control instruction based on the characteristics of the sent line control instruction, so as to secondarily determine whether the line control processing of the device to be tested is qualified according to the matching degree, Or analyze the reasons for unqualified line control processing based on the actual volume change; Based on the analysis results, the parameters of the next cycle of the line control test process are adjusted, and the adjusted parameters are used to perform the line control test on the device to be tested. The parameters include: the number of line control instructions, the frequency band range and bandwidth of the low-pass filter.
[0007] Furthermore, the analyzing whether the line control processing of the device to be tested is qualified based on the volume change ratio includes: Determine the initial volume value and the final volume value in a single test cycle, calculate the volume change between the initial volume value and the final volume value, and obtain the actual volume change. Calculate the ratio of the expected volume change to the actual volume change to get the volume change ratio. When it is preliminarily determined that the line control processing of the device to be tested is unqualified, a second determination is made based on the sent line control instruction whether the line control processing of the device to be tested is qualified, Or, it is determined that the line control processing for the device to be tested is unqualified, and the reason for the unqualified line control processing is analyzed based on the actual volume change.
[0008] Further, the second determination of whether the line control processing of the device to be tested is qualified based on the sent line control instruction includes: extracting features from the received control-by-wire instructions and the sent control-by-wire instructions respectively, Count the number of features of the received line control commands that are the same as the sent line control commands, Calculate the ratio of the number of features to the total number of features of the sent line control command to obtain the matching degree. When it is determined based on the matching degree that the line control processing of the device to be tested is unqualified, the reason for the unqualified line control processing is analyzed based on the actual volume change amount, Or it is determined based on the matching degree that the decoding process of the line control instruction is unqualified.
[0009] Furthermore, under the condition that the decoding process is unqualified, the difference between the volume change ratio and the pre-stored first preset volume change ratio standard threshold is calculated, and the number of the acquired line control instructions is increased based on the difference, wherein the increase in the line control instructions is positively correlated with the difference.
[0010] Furthermore, the reasons for analyzing the failure of the wire control processing based on the actual volume change include: the wire control command is interfered with and there is a delay in the transmission process of the wire control command.
[0011] Furthermore, under the condition that it is determined that the wire control instruction is interfered with, the ratio of the actual volume change to the pre-stored preset actual volume change is calculated, and the frequency band range of the low-pass filter in the filtering process is adjusted based on the ratio, wherein the reduction in the frequency band range is negatively correlated with the ratio.
[0012] Further, under the condition that it is determined that there is a delay, a time-volume curve is obtained, the time node at which the volume changes is recorded and marked as a change time node, the time interval between the change time node and the command receiving time node is calculated, and the reason for the delay in the wire control command transmission process is analyzed based on the time interval. The reason for determining that there is a delay in the transmission process of the wire control command is that the wire control command is interfered with, or the time-volume curve is processed later.
[0013] Further, when the time-volume curve is delayed, the area of the region formed by the delayed time-volume curve and the expected curve is calculated. Delaying the acquisition time in the subsequent test process based on the area determination, or determining the processing method for the subsequent test process based on the distribution of abnormal cycles.
[0014] Furthermore, the abnormal period is determined by obtaining a time-volume curve of a single test period, calculating the average slope of each time node of the curve, obtaining an actual slope, and recording a test period in which the actual slope does not match the expected slope as an abnormal period.
[0015] Furthermore, the method of determining a processing method for a subsequent test process according to the distribution of abnormal cycles includes: It is determined that the control-by-wire command is interfered with, and the frequency band range of the low-pass filter in the filtering process is adjusted, or the command transmission process is optimized.
[0016] Compared with the prior art, the beneficial effect of the present invention lies in that, in the present invention, a wire control test is performed on the device by sending a wire control instruction to the device, a volume adjustment instruction is first sent to the test device, and then the change in volume is compared with the expected volume change, and a preliminarily analysis is made based on the comparison result whether the wire control processing of the test device is qualified, thereby improving the control accuracy of the wire control processing process, and when the volume change is significantly different from the expected change, it is preliminarily determined that the wire control processing of the test device is unqualified, and a second judgment is made based on the sending time and receiving time of the wire control instruction whether the wire control processing is qualified, or the reason for its failure is analyzed, thereby further improving the control accuracy of the instruction transmission process, and timely adjusting the test parameters or the parameters in the instruction transmission process based on the analysis results, thereby shortening the equipment debugging time.
[0017] Furthermore, in the present invention, the actual volume change is compared with the expected volume change. When the difference between the actual volume change and the expected volume change is small, it is determined that the line control processing for the test equipment is qualified. When the difference between the actual volume change and the expected volume change is large, it is determined whether the line control processing is qualified for the second time based on the time interval between the sending time and the receiving time of the command signal, thereby further improving the control accuracy of the line control processing process for the test equipment.
[0018] Furthermore, the present invention takes into account that the transmission process of the wire control instructions is affected by various factors. If the transmission process is disturbed, garbled characters or code confusion problems are likely to occur. The present invention extracts the features of the sent wire control instructions and the features of the received wire control instructions, compares the two features, and calculates the matching degree between the sent wire control instructions and the received wire control instructions. When the matching degree is small, it is determined that the decoding processing of the wire control instructions is unqualified. When the matching degree is large, the reason for the unqualified wire control processing is secondarily determined according to the volume change of the device, thereby further improving the control accuracy of the wire control instruction transmission process.
[0019] Furthermore, in the present invention, when determining that there is a delay in the transmission process of the wire control command, a time-volume curve is obtained, and the command transmission process is analyzed according to the time interval between the time node when the volume changes in the curve and the time node when the wire control command is received. The present invention takes into account that the command signal transmission process may be affected by various factors, and analyzes whether there is interference in the signal transmission process according to the transmission duration of the command signal, so as to perform timely processing, thereby shortening the equipment debugging time.
[0020] Furthermore, in the present invention, the time-volume curve is delayed for processing. When the processing is completed, the processed time-volume curve is compared with the expected time-volume curve. The subsequent processing method for the test process is determined according to the area of the region formed by the non-overlapping parts of the two curves, thereby further improving the control accuracy of the line control instruction transmission process. When the area is small, the collection time is delayed. When the area is large, the processing method for the test process is further determined according to the distribution of abnormal cycles, thereby shortening the debugging time and improving work efficiency.
[0021] Furthermore, in the present invention, the abnormal period is determined according to the slope of each time node in the time-volume curve, and then the processing method for the subsequent test process is determined according to the distribution of the abnormal period. Considering that when the distribution of the abnormal period is relatively scattered, the command signal transmission process is greatly disturbed, therefore when the distribution of the abnormal period is scattered, the transmission process is optimized, the bandwidth of the command signal transmission process is increased, thereby improving the command signal transmission efficiency; when the distribution of the abnormal period is concentrated, it is determined that the line control command is disturbed, and the frequency band range of the low-pass filter is adjusted, thereby improving the filtering quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flow chart of the wire signal control and anti-interference method of the present invention; Figure 2 A flow chart for analyzing whether the line control processing of the device to be tested is qualified; Figure 3 A flow chart for secondary determination of whether the line control processing of the device to be tested is qualified; Figure 4 A flow chart for analyzing the causes of unqualified line control processing. DETAILED DESCRIPTION
[0023] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0024] It should be pointed out that the data in this embodiment are obtained by comprehensive analysis and evaluation of the historical data of the system of the present invention in the six months before this determination and the corresponding historical determination results. It can be understood by those skilled in the art that the determination method of the system of the present invention for a single parameter mentioned above can be to select the value with the highest proportion as the preset standard parameter according to the data distribution, use weighted summation to use the obtained value as the preset standard parameter, substitute each historical data into a specific formula and use the value obtained by the formula as the preset standard parameter or other selection methods, as long as the system of the present invention can clearly define different specific situations in the single determination process through the obtained values.
[0025] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0026] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0027] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0028] See also Figure 1 As shown, it is a flow chart of the wire signal control and anti-interference method of the present invention.
[0029] The wire signal control and anti-interference method provided in this embodiment includes: Step S1, collecting data information of a target product, obtaining a line control instruction corresponding to the data information of the target product, decoding the line control instruction to obtain corresponding line control data, and storing the obtained line control data; Step S2, continuously sending the line control data to the device to be tested to perform a line control test on the device to be tested, filtering the sent line control data, and monitoring the operating parameters of the device to be tested in real time; Step S3, calculating the volume change ratio of a single test cycle in the operating parameters of the device to be tested, analyzing whether the line control processing of the device to be tested is qualified based on the volume change ratio, and when it is preliminarily determined that the line control processing is unqualified, Determine the matching degree between the received line control instruction and the sent line control instruction based on the characteristics of the sent line control instruction, so as to secondarily determine whether the line control processing of the device to be tested is qualified according to the matching degree, Or analyze the reasons for unqualified line control processing based on the actual volume change; Step S4, adjusting the parameters of the next cycle of the line control test process based on the analysis result, and using the adjusted parameters to perform a line control test on the device to be tested, the parameters including: the number of line control instructions, the frequency band range and bandwidth of the low-pass filter.
[0030] Specifically, in this embodiment, the target product is a device of the same model as the device to be tested.
[0031] In the present invention, a line control test is performed on the device by sending a line control instruction to the device, firstly a volume adjustment instruction is sent to the test device, and then the change in volume is compared with the expected volume change, and a preliminary analysis is made based on the comparison result whether the line control processing of the test device is qualified, thereby improving the control accuracy of the line control processing process, and when the volume change is significantly different from the expected change, it is preliminarily determined that the line control processing of the test device is unqualified, and a secondary determination is made based on the sending time and the receiving time of the line control instruction whether the line control processing is qualified, or the reason for its failure is analyzed, thereby further improving the control accuracy of the instruction transmission process, and timely adjusting the test parameters or the parameters in the instruction transmission process based on the analysis results, thereby shortening the equipment debugging time.
[0032] See also Figure 2 As shown, it is a flow chart for analyzing whether the line control processing of the device to be tested is qualified.
[0033] Specifically, the analyzing whether the line control processing of the device to be tested is qualified based on the volume change ratio includes: Determine the initial volume value and the final volume value in a single test cycle, calculate the volume change between the initial volume value and the final volume value, and obtain the actual volume change. Calculate the ratio of the expected volume change to the actual volume change to get the volume change ratio. If the volume change ratio is less than or equal to the first preset volume change ratio standard threshold, it is determined that the line control processing for the device to be tested is qualified; If the volume change ratio is greater than the first preset volume change ratio standard threshold and less than or equal to the second preset volume change ratio standard threshold, it is preliminarily determined that the line control processing of the device to be tested is unqualified, and a second determination is made based on the sent line control instruction whether the line control processing of the device to be tested is qualified; If the volume change ratio is greater than the second preset volume change ratio standard threshold, it is determined that the line control processing for the device to be tested is unqualified, and the reason for the unqualified line control processing is analyzed based on the actual volume change amount.
[0034] Specifically, in this embodiment, the first preset volume change ratio standard threshold value and the second preset volume change ratio standard threshold value are obtained in advance, and a number of qualified test devices are obtained, and a line control test is performed on each test device. The volume change ratio of each test device is calculated respectively, and the average of the volume change ratio is solved. The first preset volume change ratio standard threshold value is 0.9~1.1 times the average of the volume change ratio, and the second preset volume change ratio standard threshold value is 1.15~1.25 times the average of the volume change ratio.
[0035] In the present invention, the actual volume change is compared with the expected volume change. When the actual volume change is slightly different from the expected volume change, it is determined that the line control processing for the test device is qualified. When the actual volume change is significantly different from the expected volume change, it is determined whether the line control processing is qualified for the second time based on the time interval between the sending time and the receiving time of the command signal, thereby further improving the control accuracy of the line control processing process for the test device.
[0036] See also Figure 3 As shown, it is a flow chart for secondary determination of whether the line control processing of the device to be tested is qualified.
[0037] Specifically, the second determination of whether the line control processing of the device to be tested is qualified based on the sent line control instruction includes: extracting features from the received control-by-wire instructions and the sent control-by-wire instructions respectively, Count the number of features of the received line control commands that are the same as the sent line control commands, Calculate the ratio of the number of features to the total number of features of the sent line control command to obtain the matching degree. If the matching degree is greater than or equal to the preset matching degree, it is determined that the line control processing for the device to be tested is unqualified, and the reason for the unqualified line control processing is analyzed based on the actual volume change; If the matching degree is less than the preset matching degree, it is determined that the decoding process of the line control instruction is unqualified.
[0038] Specifically, in this embodiment, the preset matching degree is selected between the interval [0.8, 0.9].
[0039] The present invention takes into account that the transmission process of the wire control command is affected by various factors. If the transmission process is disturbed, garbled characters or code confusion problems are likely to occur. The present invention extracts the features in the sent wire control command and the features of the received wire control command, compares the two features, and calculates the matching degree between the sent wire control command and the received wire control command. When the matching degree is small, it is determined that the decoding processing of the wire control command is unqualified. When the matching degree is large, the reason for the unqualified wire control processing is secondarily determined according to the volume change of the device, thereby further improving the control accuracy of the wire control command transmission process.
[0040] Specifically, under the condition that the decoding process is unqualified, the difference between the volume change ratio and the first preset volume change ratio standard threshold is calculated, and the number of the acquired line control instructions is increased based on the difference, wherein the increase in the number of line control instructions is positively correlated with the difference.
[0041] In this embodiment, optionally, the difference is compared with a first preset difference and a second preset difference, wherein: If the difference is less than or equal to the first preset difference, then increase the first quantity, which is 0.15 times the initial number of line control instructions; If the difference is greater than the first preset difference and less than or equal to the second preset difference, then a second number is increased, and the second number is 0.2 times the initial number of line control instructions; If the difference is greater than the second preset difference, a third number is added, and the third number is 0.25 times of the initial number of line control instructions; The first preset difference is 0.05 times the difference between the first preset volume change and the standard threshold, and the second preset difference is 0.1 times the difference between the first preset volume change and the standard threshold.
[0042] See also Figure 4 As shown, it is a determination flow chart for analyzing the reasons for unqualified wire control processing.
[0043] Specifically, the reasons for analyzing the failure of the line control process based on the actual volume change include: If the actual volume change is less than or equal to the preset actual volume change, it is determined that the reason why the wire control instruction is unqualified is that the wire control instruction is interfered; If the actual volume change is greater than the preset actual volume change, it is determined that the reason for the unqualified wire control processing is that there is a delay in the wire control instruction transmission process.
[0044] Specifically, in this embodiment, the preset actual volume change is the volume change expected to be achieved after adjustment during the test process.
[0045] Specifically, under the condition that it is determined that the line control command is interfered with, the ratio of the actual volume change to the preset actual volume change is calculated, and the frequency band range of the low-pass filter in the filtering process is adjusted based on the ratio, wherein the reduction in the frequency band range is negatively correlated with the ratio.
[0046] In this embodiment, optionally, the ratio is compared with a first preset ratio and a second preset ratio. If the ratio is less than or equal to the first preset ratio, the first frequency band range is reduced, and the first frequency band range is 0.25 times the initial frequency band range; If the ratio is greater than the first preset ratio and less than or equal to the second preset ratio, the second frequency band is reduced to 0.2 times the initial frequency band; If the ratio is greater than the second preset ratio, the third frequency band range is reduced, and the third frequency band range is 0.1 times of the initial frequency band range; The first preset ratio is selected between the interval [0.8, 0.85], and the second preset ratio is selected between the interval [0.9, 0.95]. Specifically, under the condition that it is determined that there is a delay, a time-volume curve is obtained, the time node at which the volume changes is recorded and marked as a change time node, the time interval between the change time node and the command receiving time node is calculated, and the reason for the delay in the wire control command transmission process is analyzed based on the time interval. If the time interval is less than or equal to the preset time interval, it is determined that the reason for the delay in the transmission of the wire control command is that the wire control command is interfered; If the time interval is greater than the preset time interval, it is determined that the time-volume curve is to be delayed.
[0047] Specifically, in this embodiment, the delay value for delay processing is a time interval.
[0048] Specifically, in this embodiment, the preset time interval is obtained by pre-measurement, and a number of qualified test devices are obtained. The time interval between the change time node and the instruction reception time node of each test device is obtained, and the mean time interval is solved. The preset time interval is 0.95~1.05 times the mean time interval.
[0049] In the present invention, when it is determined that there is a delay in the transmission process of the line control command, a time-volume curve is obtained, and the command transmission process is analyzed according to the time interval between the time node when the volume changes in the curve and the time node when the line control command is received. The present invention takes into account that the command signal transmission process may be affected by various factors, and analyzes whether there is interference in the signal transmission process according to the transmission duration of the command signal, so as to process it in time, thereby shortening the equipment debugging time.
[0050] Specifically, when the time-volume curve is delayed, the area of the region formed by the delayed time-volume curve and the expected curve is calculated. If the area is less than or equal to the preset area standard threshold, it is determined that the collection time in the subsequent test process is delayed; If the area is greater than the preset area standard threshold, a processing method for a subsequent test process is determined based on the distribution of abnormal cycles.
[0051] Specifically, in this embodiment, the preset area standard threshold is 0.08 to 0.12 times the area of the region formed by the delayed time-volume curve and the expected curve.
[0052] In the present invention, the time-volume curve is delayed for processing. When the processing is completed, the processed time-volume curve is compared with the expected time-volume curve. The subsequent processing method for the test process is determined according to the area of the region formed by the non-overlapping parts of the two curves, thereby further improving the control accuracy of the line control instruction transmission process. When the area is small, the collection time is delayed. When the area is large, the processing method for the test process is further determined according to the distribution of abnormal cycles, thereby shortening the debugging time and improving the work efficiency.
[0053] Specifically, the abnormal period is determined by obtaining a time-volume curve of a single test period, calculating the average slope of each time node of the curve, obtaining the actual slope, and recording the test period in which the actual slope does not match the expected slope as an abnormal period.
[0054] Specifically, determining the processing method for the subsequent test process according to the distribution of abnormal cycles includes: If the abnormal period distribution is concentrated, it is determined that the line control command is disturbed, and the frequency band range of the low-pass filter in the filtering process is adjusted; If the abnormal cycles are dispersed, the instruction transmission process is optimized.
[0055] In the present invention, the abnormal period is determined according to the slope of each time node in the time-volume curve, and then the processing method for the subsequent test process is determined according to the distribution of the abnormal period. Considering that when the distribution of the abnormal period is relatively scattered, the command signal transmission process is greatly disturbed, so when the distribution of the abnormal period is scattered, the transmission process is optimized to increase the bandwidth of the command signal transmission process, thereby improving the command signal transmission efficiency. When the distribution of the abnormal period is concentrated, it is determined that the line control command is disturbed, and the frequency band range of the low-pass filter is adjusted to improve the filtering quality.
[0056] Specifically, in this embodiment, the instruction transmission process is optimized to adjust the bandwidth based on the proportion of the number of abnormal cycles, wherein the increase in bandwidth is positively correlated with the proportion of the number.
[0057] In this embodiment, optionally, the quantity ratio is compared with the first preset quantity ratio and the second preset quantity ratio. If the quantity ratio is less than or equal to the first preset quantity ratio, the first bandwidth is increased, and the first bandwidth is 0.1 times of the initial bandwidth; If the number ratio is greater than the first preset number ratio and less than or equal to the second preset number ratio, then increase the second bandwidth, and the second bandwidth is 0.2 times the initial bandwidth; If the proportion of the number is greater than the proportion of the second preset number, the third bandwidth is increased, and the third bandwidth is 0.25 times the initial bandwidth; The first preset quantity ratio is selected in the interval [0.65, 0.75], and the second preset quantity ratio is selected in the interval [0.8, 0.82].
[0058] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0059] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A wire signal control and anti-interference method, characterized in that: include: Collecting data information of the target product, obtaining a line control instruction corresponding to the data information of the target product, decoding the line control instruction to obtain corresponding line control data, and storing the obtained line control data; Continuously sending the line control data to the device to be tested to perform a line control test on the device to be tested, filtering the sent line control data, and monitoring the operating parameters of the device to be tested in real time; Calculate the volume change ratio of a single test cycle in the operating parameters of the device under test, analyze whether the line control processing of the device under test is qualified based on the volume change ratio, and when it is preliminarily determined that the line control processing is unqualified, Determine the matching degree between the received line control instruction and the sent line control instruction based on the characteristics of the sent line control instruction, so as to secondarily determine whether the line control processing of the device to be tested is qualified according to the matching degree, Or, analyzing the reasons for the unqualified line control processing based on the actual volume change; Based on the analysis results, the parameters of the next cycle of the line control test process are adjusted, and the adjusted parameters are used to perform the line control test on the device to be tested. The parameters include: the number of line control instructions, the frequency band range and bandwidth of the low-pass filter.
2. The wire signal control and anti-interference method according to claim 1, characterized in that: The analyzing whether the line control processing of the device to be tested is qualified based on the volume change ratio includes: Determine the initial volume value and the final volume value in a single test cycle, calculate the volume change between the initial volume value and the final volume value, and obtain the actual volume change. Calculate the ratio of the expected volume change to the actual volume change to get the volume change ratio. When it is preliminarily determined that the line control processing of the device to be tested is unqualified, a second determination is made based on the sent line control instruction whether the line control processing of the device to be tested is qualified, Or, it is determined that the line control processing for the device to be tested is unqualified, and the reason for the unqualified line control processing is analyzed based on the actual volume change.
3. The wire signal control and anti-interference method according to claim 2, characterized in that: The second determination of whether the line control processing of the device to be tested is qualified based on the sent line control instruction includes: extracting features from the received control-by-wire instructions and the sent control-by-wire instructions respectively, Count the number of features of the received line control commands that are the same as the sent line control commands, Calculate the ratio of the number of features to the total number of features of the sent line control command to obtain the matching degree. When it is determined based on the matching degree that the line control processing of the device to be tested is unqualified, the reason for the unqualified line control processing is analyzed based on the actual volume change amount, Or it is determined based on the matching degree that the decoding process of the line control instruction is unqualified.
4. The wire signal control and anti-interference method according to claim 3, characterized in that: Under the condition that the decoding process is unqualified, the difference between the volume change ratio and the pre-stored first preset volume change ratio standard threshold is calculated, and the number of the line control instructions obtained is increased based on the difference, wherein the increase in the line control instructions is positively correlated with the difference.
5. The wire signal control and anti-interference method according to claim 3, characterized in that: The reasons for analyzing the failure of the wire control processing based on the actual volume change include: the wire control command is interfered with and there is a delay in the transmission process of the wire control command.
6. The wire signal control and anti-interference method according to claim 5, characterized in that: Under the condition that it is determined that the line control command is interfered with, the ratio of the actual volume change to the pre-stored preset actual volume change is calculated, and the frequency band range of the low-pass filter in the filtering process is adjusted based on the ratio, wherein the reduction in the frequency band range is negatively correlated with the ratio.
7. The wire signal control and anti-interference method according to claim 5, characterized in that: Under the condition that it is determined that there is a delay, a time-volume curve is obtained, the time node when the volume changes is recorded and marked as a change time node, the time interval between the change time node and the command receiving time node is calculated, and the reason for the delay in the transmission process of the wire control command is analyzed based on the time interval. The reason for determining that there is a delay in the transmission process of the wire control command is that the wire control command is interfered with, or the time-volume curve is processed later.
8. The wire signal control and anti-interference method according to claim 7, characterized in that: When the time-volume curve is delayed, the area of the region formed by the delayed time-volume curve and the expected curve is calculated. Delaying the acquisition time in the subsequent test process based on the area determination, or determining the processing method for the subsequent test process based on the distribution of abnormal cycles.
9. The wire signal control and anti-interference method according to claim 8, characterized in that: The abnormal period is determined by obtaining a time-volume curve of a single test period, calculating the average slope of each time node of the curve, obtaining the actual slope, and recording the test period in which the actual slope does not match the expected slope as an abnormal period.
10. The wire signal control and anti-interference method according to claim 8, characterized in that: Determining a processing method for a subsequent test process according to the distribution of abnormal cycles includes: It is determined that the control-by-wire command is interfered with, and the frequency band range of the low-pass filter in the filtering process is adjusted, or the command transmission process is optimized.
Citation Information
Patent Citations
A processing method for load simulation voltage feedback signal harness
CN115021043B
Volume automatic control method and circuit in digital audio field
CN101459415A
Processing method of load analog voltage feedback signal wire harness
CN115021043A
Data line test method and system based on data transmission
CN118409154A