Analog signal range judgment and switching system with calibration and self-diagnosis functions

By using an analog signal range judgment and switching system that monitors ambient temperature in real time and diagnoses the health status of range settings, the system solves the problems of inaccurate range analysis and unreasonable switching in traditional systems, achieving high-precision range switching and stability.

CN122084968APending Publication Date: 2026-05-26NANDA AUTOMATION TECH JIANGSU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610363351.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-03-24
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

Traditional analog signal range determination and switching systems cannot guarantee the effectiveness of range analysis and the accuracy of ADC sampling, and there are nonlinear errors and frequent switching problems during the range switching process.

Method used

This invention provides an analog signal range judgment and switching system with calibration and self-diagnosis functions. Through an analog signal acquisition module, a range analysis module, and a range switching module, the system monitors the ambient temperature and analog signal in real time, obtains the optimal linear range of the ADC, diagnoses the health status of the range, and switches the range when necessary.

Benefits of technology

This ensures the effectiveness of range analysis and the accuracy of ADC sampling, guarantees the rationality of range switching, reduces nonlinear errors and frequent switching, and improves the stability and accuracy of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122084968A_ABST
    Figure CN122084968A_ABST
Patent Text Reader

Abstract

The invention discloses an analog signal range judgment and switching system with calibration and self-diagnosis functions, which relates to the technical field of analog signal monitoring and comprises an analog signal acquisition module, an analog signal range analysis module, an analog signal range switching module and a database, the method comprises the following steps: firstly, analyzing the influence of different environment temperature intervals on the optimal linear interval of the ADC to obtain the optimal linear interval of the ADC in the different environment temperature intervals, determining the optimal linear interval of the ADC according to the current environment temperature, and judging whether an analog signal falls into the optimal linear interval of the ADC and whether the current range gear loses efficacy; and then the target range gear is obtained by analyzing the influence among the range gears under different gear working conditions, and the current gear is switched to the target range gear, so that the effectiveness of range analysis and the precision of ADC sampling are guaranteed, and the rationality of range switching is also guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of analog signal monitoring technology, and more specifically to an analog signal range judgment and switching system with calibration and self-diagnosis functions. Background Technology

[0002] With the rapid development of industries, intelligent manufacturing, and high-end equipment manufacturing, industrial sites have placed more stringent demands on the analog signal acquisition accuracy, dynamic measurement range, and operational stability of measurement and control systems. Analog signals are the core carrier for data transmission between field sensors and transmitters and back-end measurement and control instruments. When the input signal exceeds the full-scale range of the ADC, saturation distortion and invalid data will occur.

[0003] Traditional analog signal range determination and switching systems determine whether the currently used range meets the requirements based on the full-scale range of the ADC. If it does not meet the requirements, the range is switched based on the information of the analog signal and the full-scale range of the ADC. Obviously, this analog signal range determination and switching system has at least the following shortcomings: 1. The full-scale range of the ADC has an optimal linear range and a nonlinear range. When the analog signal falls into the full-scale range of the ADC, the analog signal may fall into the nonlinear range of the full-scale range of the ADC, causing data saturation distortion. Moreover, the optimal linear range of the ADC will shift with temperature. The traditional analog signal range determination and switching system ignores this point, so it cannot guarantee the effectiveness of range analysis and the accuracy of ADC sampling.

[0004] 2. Switching between ranges may cause a sudden change in the nonlinear error of the remaining range, reducing the accuracy of ADC sampling, frequently triggering range switching, and causing the range control logic to malfunction. Traditional analog signal range judgment and switching systems ignore the changes in the nonlinear error of the remaining range during range switching, thus failing to guarantee the accuracy of ADC sampling and the rationality of range switching. Summary of the Invention

[0005] To address the aforementioned technical shortcomings, the present invention aims to provide an analog signal range determination and switching system with calibration and self-diagnostic functions.

[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: The present invention provides an analog signal range judgment and switching system with calibration and self-diagnosis functions, including: an analog signal acquisition module, an analog signal range analysis module, an analog signal range switching module, and a database.

[0007] The analog signal acquisition module is used to set various monitoring times and monitor the information of the analog signal and the ambient temperature at each monitoring time.

[0008] The analog signal range analysis module is used to obtain the optimal linear range of the ADC based on the current ambient temperature, determine whether the analog signal falls within the optimal linear range of the ADC, and diagnose the currently used range setting.

[0009] The analog signal range switching module is used to switch the range based on the influence between the ranges when the analog signal does not fall within the optimal linear range of the ADC or when the diagnostic result of the currently used range is invalid.

[0010] The database is used to store the signal floor noise, signal-to-noise ratio, and harmonic distortion limits of DC samples under healthy conditions at different range levels, as well as each fixed range level.

[0011] The beneficial effects of this invention are as follows: 1. This invention provides an analog signal range judgment and switching system with calibration and self-diagnosis functions. First, by analyzing the influence of different ambient temperature ranges on the optimal linear range of the ADC, the optimal linear range of the ADC under different ambient temperature ranges is obtained. Based on the current ambient temperature, the optimal linear range of the ADC is determined, and it is determined whether the analog signal falls into the optimal linear range of the ADC and whether the current range is invalid. Then, by analyzing the influence between the ranges under different operating conditions, the target range is obtained, and the current range is switched to the target range, ensuring the effectiveness of range analysis and the accuracy of ADC sampling, as well as the rationality of range switching.

[0012] 2. This invention obtains the rated range of an ADC and divides it evenly into various range intervals. Simultaneously, it sets various ambient temperature ranges. Within each ambient temperature range, the ADC sampling is simulated. During the simulation, the INL and DNL of each range interval are calculated in real time, and the performance parameters of each range interval are monitored in real time. The nonlinear return value and performance return value of each range interval are determined. Range intervals with a nonlinear return value of 0 and a performance return value of 1 are designated as marked range intervals. These marked range intervals are clustered to obtain the optimal linear range of the ADC under that ambient temperature range. This method is used to obtain the optimal linear range of the ADC under different ambient temperature ranges. The optimal linear range of the current ADC is determined based on the current ambient temperature, and it is determined whether the simulated signal falls within the optimal linear range of the ADC, ensuring the effectiveness of range analysis and the accuracy of ADC sampling.

[0013] 3. This invention obtains the diagnostic results of each fixed range position, and refers to each fixed range position with a valid diagnostic result as an effective range position. It obtains the characteristic parameters of the effective signal in the current analog signal, performs ADC sampling simulation based on the characteristic parameters of the effective signal and each effective range position, obtains the return value of each effective range position, determines each marked effective range position based on the return value of each effective range position, analyzes the influence between each range position under different range conditions, and constructs a range condition-influence table. Based on the range condition-influence table and the switching of each marked effective range position, the target range position is obtained, ensuring the rationality of range switching. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 This is a schematic diagram of the system structure connection of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] Please see Figure 1 As shown, the present invention provides an analog signal range judgment and switching system with calibration and self-diagnosis functions, including: an analog signal acquisition module, an analog signal range analysis module, an analog signal range switching module, and a database.

[0018] The analog signal acquisition module is connected to the analog signal range analysis module, the analog signal range analysis module is connected to the analog signal range switching module, and the database is connected to the analog signal range analysis module and the analog signal range switching module.

[0019] The analog signal acquisition module is used to set various monitoring times and monitor the information of the analog signal and the ambient temperature at each monitoring time.

[0020] It should be noted that the information in an analog signal includes peak value, valley value, and mean value.

[0021] It should also be noted that the oscilloscope is used to monitor the analog signal information, and the platinum resistance thermometer is used to monitor the ambient temperature.

[0022] The analog signal range analysis module is used to obtain the optimal linear range of the ADC based on the current ambient temperature, determine whether the analog signal falls within the optimal linear range of the ADC, and diagnose the currently used range setting.

[0023] In one specific embodiment, the analog signal range analysis module includes an ADC optimal linear interval matching library construction unit, an analog signal judgment unit, and a range level diagnosis unit.

[0024] The ADC optimal linear interval matching library construction unit is used to analyze the impact of different ambient temperature ranges on the optimal linear interval of the ADC, obtain the optimal linear interval of the ADC under different ambient temperature ranges, and store each ambient temperature range and its optimal linear interval of the ADC one-to-one to form the ADC optimal linear interval matching library.

[0025] In a specific embodiment, the process of obtaining the optimal linear range of the ADC under different ambient temperature ranges is as follows: obtain the rated range range of the ADC and divide it evenly into various range ranges. At the same time, set various ambient temperature ranges. Simulate the sampling of the ADC within each ambient temperature range. During the simulation, calculate the INL and DNL of each range range in real time and monitor the performance parameters of each range range in real time.

[0026] It should be noted that the rated range of the ADC is obtained from the database, and the rated range of the ADC is set by its manufacturer.

[0027] It should also be noted that INL represents integral nonlinearity and DNL represents differential nonlinearity. The INL and DNL for each range interval are solved by the endpoint fitting algorithm.

[0028] The performance parameters of the measurement range include signal-to-noise ratio and effective bits, which are monitored using a high-speed oscilloscope.

[0029] Within a certain ambient temperature range, the nonlinear return value and performance return value of each range are determined by the real-time INL, DNL and performance parameters of each range. The ranges with a nonlinear return value of 0 and a performance return value of 1 are called the marked ranges. The marked ranges are clustered to obtain the optimal linear range of the ADC in the ambient temperature range. The optimal linear range of the ADC in different ambient temperature ranges is obtained by this method.

[0030] It should be noted that when INL≤1LSB and DNL≤0.5LSB, the nonlinearity return value is 0; otherwise, the nonlinearity return value is 1. When the performance parameter values ​​meet the standard performance requirements of the ADC, the performance return value is 1; otherwise, the performance return value is 0.

[0031] The standard performance requirements for ADCs are specified by their manufacturers during production.

[0032] The analog signal judgment unit is used to obtain the current ambient temperature, match it with the ADC optimal linear interval matching library, obtain the current optimal linear interval of the ADC, and determine whether the analog signal falls into the current optimal linear interval of the ADC based on the information of the analog signal.

[0033] In a specific embodiment, the analog signal judgment unit performs the following process: the current optimal linear interval of the ADC is referred to as the marked optimal linear interval of the ADC, and the information of the current analog signal is obtained to determine whether the information of the analog signal falls within the marked optimal linear interval of the ADC.

[0034] It should be noted that the process involves retrieving the information requirements of the ADC's marked optimal linear interval from the database, obtaining the analog signal information after passing through the marked range, and determining whether it meets the requirements of the ADC's marked optimal linear interval. If it does, it means the analog signal information falls within the ADC's marked optimal linear interval; otherwise, it means the analog signal information does not fall within the ADC's marked optimal linear interval. For example, if the analog signal information after passing through the marked range is x, and the ADC's marked optimal linear interval requires the analog signal information to be x1-x2, then if x is within x1-x2, it means the analog signal information after passing through the marked range meets the ADC's marked optimal linear interval requirements; otherwise, it means the analog signal information after passing through the marked range does not meet the ADC's marked optimal linear interval requirements. This example is for illustrative purposes only and is not the only valid definition.

[0035] When the information of the analog signal does not fall within the optimal linear interval marked by the ADC, it means that the analog signal does not fall within the optimal linear interval of the current ADC.

[0036] When all information of the analog signal falls within the ADC's marked optimal linear interval, each monitoring moment before the current time is called a historical monitoring moment, and each historical monitoring moment where the characteristic parameters of the effective signal all fall within the ADC's marked optimal linear interval is called a marked historical monitoring moment. These are then clustered to obtain marked time periods. The duration of the marked time period is compared with a preset duration threshold. If the duration of the marked time period is less than the preset duration threshold, it means that the analog signal does not fall within the current ADC's optimal linear interval; otherwise, it means that the analog signal falls within the current ADC's optimal linear interval.

[0037] It should be noted that the preset duration threshold is set by the staff and is used to determine whether the analog signal falls within the optimal linear range of the ADC for an extended period of time.

[0038] The range position diagnostic unit is used to refer to the currently used range position as the marked range position, obtain the information of the marked range position, and diagnose whether the marked range position is invalid.

[0039] It should be noted that the information of the marked range includes the signal floor noise, signal-to-noise ratio and harmonic distortion of the signal sampled by the ADC at the marked range. The information of the marked range is monitored by instruments such as high-speed oscilloscopes, power analyzers and spectrum analyzers.

[0040] In a specific embodiment, the range position diagnostic unit performs the following process: monitoring the current ADC-sampled signal floor noise, signal-to-noise ratio, and harmonic distortion, and obtaining the limits of the ADC-sampled signal floor noise, signal-to-noise ratio, and harmonic distortion from the database under the health status of the marked range position, analyzing the health value of the marked range position, and if the health value of the marked range position is 1, it means that the marked range position has not failed, and if the health value of the marked range position is 0, it means that the marked range position has failed.

[0041] It should be noted that if the current ADC sampling signal floor noise is greater than the ADC sampling signal floor noise in the healthy state of the marked range, the current ADC sampling signal-to-noise ratio is less than the ADC sampling signal-to-noise ratio in the healthy state of the marked range, or the current ADC sampling harmonic distortion is greater than the ADC sampling harmonic distortion in the healthy state of the marked range, then the health value of the marked range is 0; otherwise, it means the health value of the marked range is 1.

[0042] It should also be noted that range setting failure means that the range setting is damaged and cannot be used.

[0043] The analog signal range switching module is used to switch the range based on the influence between the ranges when the analog signal does not fall within the optimal linear range of the ADC or when the diagnostic result of the currently used range is invalid.

[0044] In one specific embodiment, the analog signal range switching module includes a target range acquisition unit and a switching unit.

[0045] The target range acquisition unit is used to obtain each fixed range from the database and determine the target range based on the influence between each fixed range and the information of the current analog signal.

[0046] It should be noted that the fixed range settings are set by the manufacturer.

[0047] In a specific embodiment, A11, obtain the diagnostic results of each fixed range position, and refer to each fixed range position whose diagnostic result is that there is no failure as each effective range position.

[0048] A12. Obtain the information of the current analog signal. Based on the information of the current analog signal and each effective range, perform ADC sampling simulation and obtain the return value of each effective range. If the return value of each effective range is 0, select each initial effective range from each effective range and adjust it to obtain each marked effective range. Otherwise, the effective ranges with return values ​​of 1 are called the marked effective ranges.

[0049] It should be noted that, under a certain effective range, if the analog signal falls within the optimal linear range of the ADC, the return value of that effective range is 1; if the analog signal does not fall within the optimal linear range of the ADC, the return value of that effective range is 0. The return value of each effective range can be obtained in this way.

[0050] A13. Analyze the influence between different ranges under different operating conditions, and construct a range-influence table. Based on the range-influence table and the switching of each marked effective range, obtain the target range.

[0051] In the above, each initial effective range is selected and adjusted. The specific process is as follows: Under a certain effective range, during the ADC sampling simulation process, based on the information of the current analog signal, the ADC range interval into which the analog signal falls is obtained, and the difference between the ADC range interval and the optimal linear interval marked by the ADC is calculated. This difference is used as the mark difference value of the effective range. The mark difference value of each effective range is obtained in this way.

[0052] It should be noted that the range setting is used to obtain information about the amplified or reduced analog signal, and the range interval of the ADC that the analog signal falls into is determined based on this information. For example, during the simulation process, the real-time information of the analog signal is y, x, and w. After amplifying the analog signal to 2y, 2x, and 2w using this range setting, the range interval of the ADC that the analog signal falls into is compared. This example is for illustrative purposes only and is not the only applicable method.

[0053] It should also be noted that the difference between the median of the ADC range interval and the median of the optimal linear interval of the ADC marking is taken as the difference between the ADC range interval and the optimal linear interval of the ADC marking.

[0054] The marked difference of each effective range is compared with the preset difference threshold. Each effective range whose marked difference is less than the preset difference threshold is called the initial effective range.

[0055] It should be noted that the preset difference threshold is set by the staff to determine whether the deviation between the ADC range in which the analog signal falls and the optimal linear range marked by the ADC is too large.

[0056] In a certain initial effective range, the initial effective range is adjusted according to the set gradient, and ADC sampling simulation is performed. At the same time, the ADC range interval into which the simulated signal falls is obtained until the simulated signal falls into the ADC's marked optimal linear interval. The initial effective range at this time is obtained and is called the marked effective range. This method is used to adjust each initial effective range to obtain each marked effective range.

[0057] The above analysis of the influence between different ranges under different operating conditions is specifically carried out as follows: Select one range from the remaining ranges excluding the marked range and call it the main range. Call the other ranges the secondary ranges. Based on the switching status of each secondary range, set up a simulation group for each operating condition of the main range. In a certain simulation group, simulate the process of switching from the marked range to the main range. Record the nonlinear error of each range before and after the switch. Calculate the average fluctuation value of the nonlinear error and use it as the influence value of the main range on each secondary range under the operating condition of that range.

[0058] It should be noted that the switch combinations and operating conditions differ for each range setting. For example, if there are three range settings a, b, and c, the operating conditions include [a on, b on, and c on], [a on, b on, and c off], [a on, b off, and c off], [a off, b on, and c on], [a off, b off, and c on], [a off, b off, and c off], [a off, b off, and c on], and [a on, b off, and c on]. This example is for illustrative purposes only and is not the only possible scenario.

[0059] It should also be noted that the non-linear error of the range setting is obtained by using a high-precision digital multimeter.

[0060] Specifically, based on the nonlinear error of each range setting before switching and the nonlinear error of each range setting after switching, the difference in nonlinear error of each range setting is calculated, and the average value of the difference in nonlinear error of each range setting is calculated to obtain the average fluctuation value of the nonlinear error.

[0061] This method is used to determine the influence of each range on other ranges under different operating conditions, and this influence is taken as the influence of each range on other ranges under different operating conditions.

[0062] The specific process for obtaining the target range gear is as follows: Randomly select one valid marked range gear from all valid marked range gears. At this time, read the on / off status of other range gears to determine the current gear operating condition. Based on the current gear operating condition and the gear operating condition-influence table, obtain the influence value of the valid marked range gear on other range gears. In this way, obtain the influence value of each valid marked range gear on other range gears, compare them, and take the valid marked range gear with the smallest influence value on other range gears as the target range gear.

[0063] It should be noted that each range setting and its impact value on each range setting under each setting condition are stored one-to-one to form a range setting condition-impact table.

[0064] The switching unit is used to obtain the target range gear and switch the marked range gear to the target range gear.

[0065] The database is used to store the signal floor noise, signal-to-noise ratio, and harmonic distortion limits of DC samples under healthy conditions at different range levels, as well as each fixed range level.

[0066] This invention first analyzes the impact of different ambient temperature ranges on the optimal linear range of an ADC, obtaining the optimal linear range of the ADC under different ambient temperature ranges. Based on the current ambient temperature, it determines the optimal linear range of the ADC, judges whether the analog signal falls within the optimal linear range of the ADC and whether the current range is invalid. Then, by analyzing the influence between different ranges under different operating conditions, it obtains the target range and switches the current range to the target range, ensuring the effectiveness of range analysis and the accuracy of ADC sampling, as well as the rationality of range switching.

[0067] The examples described in this invention are not limited to the specific embodiments listed above. The examples are merely illustrative to facilitate understanding of the invention and do not constitute a limitation on the scope of protection of this invention. Any modifications, equivalent substitutions, etc., made within the spirit and principles of this invention should be included within the scope of protection.

[0068] The above description is merely an example and illustration of the concept of the present invention. Those skilled in the art can make various modifications or additions to the specific embodiments described or use similar methods to replace them, as long as they do not deviate from the concept of the invention or exceed the scope defined in this specification, they should all fall within the protection scope of the present invention.

Claims

1. A system for judging and switching the range of an analog signal with calibration and self-diagnosis functions, characterized in that, Includes the following modules: The analog signal acquisition module is used to set various monitoring times and monitor the analog signal information and ambient temperature at each monitoring time. The analog signal range analysis module is used to obtain the optimal linear range of the ADC based on the current ambient temperature, determine whether the analog signal falls within the optimal linear range of the ADC, and diagnose the currently used range setting. The analog signal range switching module is used to switch the range based on the influence between the ranges when the analog signal does not fall within the optimal linear range of the ADC or when the diagnostic result of the currently used range is invalid. The database is used to store the signal floor noise, signal-to-noise ratio and harmonic distortion limits of DC samples under healthy conditions at different ranges, as well as the fixed ranges.

2. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 1, characterized in that, The analog signal range analysis module includes an ADC optimal linear interval matching library construction unit, an analog signal judgment unit, and a range level diagnosis unit. The ADC optimal linear interval matching library construction unit is used to analyze the influence of different ambient temperature ranges on the optimal linear interval of the ADC, obtain the optimal linear interval of the ADC under different ambient temperature ranges, and store each ambient temperature range and its optimal linear interval of the ADC one-to-one to form the ADC optimal linear interval matching library. The analog signal judgment unit is used to obtain the current ambient temperature, match it with the ADC optimal linear interval matching library, obtain the current optimal linear interval of the ADC, and determine whether the analog signal falls into the current optimal linear interval of the ADC based on the information of the analog signal. The range position diagnostic unit is used to refer to the currently used range position as the marked range position, obtain the information of the marked range position, and diagnose whether the marked range position is invalid.

3. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 2, characterized in that, The specific process for obtaining the optimal linear range of the ADC under different ambient temperature ranges is as follows: Obtain the rated range of the ADC and divide it evenly into each range range. At the same time, set each ambient temperature range. Simulate the sampling of the ADC within each ambient temperature range. During the simulation, calculate the INL and DNL of each range range in real time and monitor the performance parameters of each range range in real time. Within a certain ambient temperature range, the nonlinear return value and performance return value of each range are determined by the real-time INL, DNL and performance parameters of each range. The ranges with a nonlinear return value of 0 and a performance return value of 1 are called the marked ranges. The marked ranges are clustered to obtain the optimal linear range of the ADC in the ambient temperature range. The optimal linear range of the ADC in different ambient temperature ranges is obtained by this method.

4. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 2, characterized in that, The analog signal judgment unit operates as follows: The current optimal linear interval of the ADC is called the marked optimal linear interval of the ADC, and the information of the current analog signal is obtained to determine whether the information of the analog signal falls within the marked optimal linear interval of the ADC. When the information of the analog signal does not fall within the optimal linear interval marked by the ADC, it means that the analog signal does not fall within the optimal linear interval of the current ADC. When all information of the analog signal falls within the ADC's marked optimal linear interval, each monitoring moment before the current time is called a historical monitoring moment, and each historical monitoring moment where the characteristic parameters of the effective signal all fall within the ADC's marked optimal linear interval is called a marked historical monitoring moment. These are then clustered to obtain marked time periods. The duration of the marked time period is compared with a preset duration threshold. If the duration of the marked time period is less than the preset duration threshold, it means that the analog signal does not fall within the current ADC's optimal linear interval; otherwise, it means that the analog signal falls within the current ADC's optimal linear interval.

5. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 2, characterized in that, The specific process of the range / gear diagnostic unit is as follows: Monitor the current ADC sampling signal floor noise, signal-to-noise ratio, and harmonic distortion, and obtain the limits of ADC sampling signal floor noise, signal-to-noise ratio, and harmonic distortion in the healthy state of the marked range from the database. Analyze the health value of the marked range. If the health value of the marked range is 1, it means that the marked range has not failed. If the health value of the marked range is 0, it means that the marked range has failed.

6. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 4, characterized in that, The analog signal range switching module includes a target range acquisition unit and a switching unit; The target range acquisition unit is used to obtain each fixed range from the database and determine the target range based on the influence between each fixed range and the information of the current analog signal. The switching unit is used to obtain the target range gear and switch the marked range gear to the target range gear.

7. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 6, characterized in that, The target range gear acquisition unit operates as follows: A11. Obtain the diagnostic results of each fixed range position. The fixed range positions with diagnostic results indicating no failure are referred to as the effective range positions. A12. Obtain the information of the current analog signal. Based on the information of the current analog signal and each effective range, perform ADC sampling simulation and obtain the return value of each effective range. If the return value of each effective range is 0, select each initial effective range from each effective range and adjust it to obtain each marked effective range. Otherwise, the effective ranges with return values ​​of 1 are called the marked effective ranges. A13. Analyze the influence between different ranges under different operating conditions, and construct a range-influence table. Based on the range-influence table and the switching of each marked effective range, obtain the target range.

8. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 7, characterized in that, Select and adjust the initial effective range settings as follows: Under a certain effective range, during the ADC sampling simulation process, based on the information of the current analog signal, the ADC range interval into which the analog signal falls is obtained, and the difference between the ADC range interval and the optimal linear interval marked by the ADC is calculated. This difference is used as the mark difference value of the effective range. The mark difference value of each effective range is obtained in this way. The marked difference of each effective range is compared with the preset difference threshold. Each effective range whose marked difference is less than the preset difference threshold is called the initial effective range. In a certain initial effective range, the initial effective range is adjusted according to the set gradient, and ADC sampling simulation is performed. At the same time, the ADC range interval into which the simulated signal falls is obtained until the simulated signal falls into the ADC's marked optimal linear interval. The initial effective range at this time is obtained and is called the marked effective range. This method is used to adjust each initial effective range to obtain each marked effective range.

9. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 7, characterized in that, The analysis of the influence between different range gears under different operating conditions is as follows: Select one range from the remaining ranges excluding the marked range and call it the main range. Call the other ranges the secondary ranges. Based on the switching status of each secondary range, set up a simulation group for each range condition of the main range. In a simulation group for a certain range condition, simulate the process of switching from the marked range to the main range. Record the nonlinear error of each range before the switch and the nonlinear error of each range after the switch. Calculate the average fluctuation value of the nonlinear error and use it as the influence value of the main range on each secondary range under the current range condition. This method is used to determine the influence of each range on other ranges under different operating conditions, and this influence is taken as the influence of each range on other ranges under different operating conditions.

10. The analog signal range judgment and switching system with calibration and self-diagnosis functions according to claim 9, characterized in that, The specific process for obtaining the target range is as follows: Randomly select one valid marked range from all valid marked ranges. At this time, read the on / off status of other ranges to determine the current range condition. Based on the current range condition and the range condition-influence table, obtain the influence value of the valid marked range on other ranges. Use this method to obtain the influence value of each valid marked range on other ranges and compare them. Select the valid marked range with the smallest influence value on other ranges as the target range.