Zero calibration and detection method, device and system for hot wire flow sensor and medium
By collecting and adjusting the zero point AD value of the hot wire flow sensor in real time, the problem of reduced measurement accuracy of the hot wire flow sensor is solved and high accuracy of flow monitoring is achieved.
Patent Information
- Application Number
- CN202410768771.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-17
AI Technical Summary
After the hot wire flow sensor is used for a period of time, due to the reduction in heat radiation capability, the measurement accuracy decreases, the zero point value is inconsistent, and the DAC bridge cannot reach balance, resulting in a large deviation in flow monitoring.
By collecting the zero AD value of the hot wire flow sensor in real time, determine whether the difference between it and the target zero AD value is within the target deviation range. If not, adjust the DAC bridge balance logic to achieve balance and ensure that the zero AD value is within the target deviation. within the range.
The measurement accuracy of the hot wire flow sensor is improved to ensure the accuracy of flow monitoring.
Smart Images

Figure CN118654752A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of testing technology, and in particular to a hot wire flow sensor zero calibration and detection method, device, system and medium. Background Art
[0002] Since the hot wire flow sensor eliminates mechanical sensing parts, it has the advantages of high measurement accuracy, fast response speed, small intake resistance and no wear. However, after a period of use, the hot wire surface of the hot wire flow sensor is contaminated by dust in the air, and the heat radiation capacity is reduced, which affects the measurement accuracy. The difference of the hot wire flow sensor itself leads to inconsistent zero point value deviation of the hot wire flow sensor, the DAC circuit bridge cannot reach balance, and different temperatures will cause the zero point value to change, resulting in large deviation of the monitored flow.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a hot wire flow sensor zeroing and detection method, device, system and medium, aiming to solve the problem that the hot wire flow sensor has large flow deviation due to changes in zero point data, which affects the measurement accuracy.
[0005] The technical solution of the present invention is as follows:
[0006] A hot wire flow sensor zero calibration method, comprising:
[0007] Real-time collection of the zero-point AD value of the hot-wire flow sensor;
[0008] Determine whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range;
[0009] If the difference is not within the target deviation range, determining whether the DAC bridge balance needs to be adjusted;
[0010] If the DAC bridge balance needs to be adjusted, the DAC bridge is adjusted according to the bridge balance logic until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
[0011] In one embodiment, before the real-time acquisition of the zero AD value of the hot wire flow sensor, the method includes:
[0012] Initializing the relevant parameters of the hot wire flow sensor zero calibration;
[0013] The DAC bridge of the hot wire flow sensor is controlled to set the DAC bridge to a bridge value corresponding to the maximum current of zero calibration.
[0014] In one embodiment, the real-time acquisition of the zero AD value of the hot wire flow sensor includes:
[0015] The zero-point AD value of the main hot-wire flow sensor and the zero-point AD value of the auxiliary hot-wire flow sensor are collected in real time.
[0016] In one embodiment, if the difference is not within the target deviation range, determining whether the DAC bridge balance needs to be adjusted includes:
[0017] Obtaining a preset safety current DAC bridge threshold of the hot wire flow sensor;
[0018] Determine whether the current DAC bridge exceeds the safe current DAC bridge threshold;
[0019] If the current DAC bridge does not exceed the threshold, the DAC bridge balance needs to be adjusted;
[0020] If the current DAC bridge exceeds the threshold, there is no need to adjust the DAC bridge balance and confirm that the zero calibration has failed.
[0021] In one embodiment, the bridge balancing logic specifically includes:
[0022] When the zero-point AD value is greater than the target zero-point AD value, the current of the hot-wire flow sensor is reduced by controlling the DAC bridge to dynamically increase, and the DAC bridge is adjusted to achieve balance;
[0023] When the zero-point AD value is less than the target zero-point AD value, the current of the hot-wire flow sensor is increased by controlling the DAC bridge to dynamically decrease, and the DAC bridge is adjusted to achieve balance.
[0024] A hot wire flow sensor detection method, comprising:
[0025] When the power switch and heating switch of the hot wire flow sensor are turned off, initialization is performed;
[0026] When the power switch of the hot wire flow sensor is turned on, the hot wire flow sensor is detected according to the hot wire flow sensor detection logic to determine whether the hot wire flow sensor is abnormal;
[0027] If the hot wire flow sensor has no abnormality, the heating switch of the hot wire flow sensor is turned on, and the pre-stored zero calibration data is called to control the current of the hot wire flow sensor, and the hot wire flow sensor is monitored according to the hot wire flow sensor monitoring logic;
[0028] If the hot wire flow sensor has an abnormality, it is processed according to the safety policy;
[0029] The zero calibration data is obtained by zero calibration using the hot wire flow sensor zero calibration method described above.
[0030] In one embodiment, the hot wire flow sensor detection logic includes:
[0031] Hot wire flow sensor power supply detection logic, hot wire flow sensor circuit detection logic and hot wire flow sensor switch detection logic.
[0032] A hot wire flow sensor zero calibration device, the device comprising:
[0033] Data acquisition module, used to collect the zero AD value of the hot wire flow sensor in real time;
[0034] A difference judgment module is used to judge whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range;
[0035] A balance judgment module, used for judging whether the DAC bridge balance needs to be adjusted if the difference is not within the target deviation range;
[0036] The balance adjustment module is used to adjust the DAC bridge according to the bridge balance logic if the DAC bridge balance needs to be adjusted, until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
[0037] A hot wire flow sensor zeroing system, the system comprising at least one processor; and,
[0038] a memory communicatively connected to the at least one processor; wherein,
[0039] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the above-mentioned hot wire flow sensor zero calibration method.
[0040] A non-volatile computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the above-mentioned hot wire flow sensor zeroing method.
[0041] Beneficial effects: The present invention discloses a hot wire flow sensor zero calibration and detection method, device, system and medium. Compared with the prior art, the embodiments of the present invention determine that the zero point AD value of the hot wire flow sensor is not within the target deviation range, and dynamically adjust the DAC bridge to achieve balance, so that the zero point AD value of the hot wire flow sensor is within the target deviation range, thereby completing the zero calibration of the hot wire flow sensor and improving the measurement accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:
[0043] Figure 1 A flow chart of a hot wire flow sensor zero calibration method provided by an embodiment of the present invention;
[0044] Figure 2 A flow chart of a hot wire flow sensor detection method provided by an embodiment of the present invention;
[0045] Figure 3 A schematic diagram of the functional modules of a hot wire flow sensor zero calibration device provided by an embodiment of the present invention;
[0046] Figure 4 A schematic diagram of the hardware structure of a hot wire flow sensor zeroing system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. The embodiments of the present invention are described below in conjunction with the accompanying drawings.
[0048] See also Figure 1 , Figure 1 The following is a flow chart of an embodiment of the hot wire flow sensor zero calibration method provided by the present invention. Figure 1 As shown, the method comprises the following steps:
[0049] S101, collecting the zero point AD value of the hot wire flow sensor in real time;
[0050] S102, determining whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range;
[0051] S103: If the difference is not within the target deviation range, determine whether the DAC bridge balance needs to be adjusted;
[0052] S104, if the DAC bridge balance needs to be adjusted, the DAC bridge is adjusted according to the bridge balance logic until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
[0053] In this embodiment, the zero AD value of the hot wire flow sensor is collected in real time, and the zero AD value of the hot wire flow sensor is compared with the target zero AD value to determine whether the difference between the zero AD value of the hot wire flow sensor and the target zero AD value is within the target deviation range. If the difference is not within the target deviation range, the current state of the hot wire flow sensor is identified within the target deviation range to determine whether the DAC bridge at this time needs to be adjusted. If it is determined that the DAC bridge balance needs to be adjusted, the DAC bridge is adjusted according to the bridge balance logic until the difference between the zero AD value and the target zero AD value is within the target deviation range. The hot wire flow sensor is zeroed. If the difference is within the target deviation range, it is determined that the zeroing is successful, and the zeroing-related data after the hot wire flow sensor is successfully zeroed is stored in the specified address storage. By adjusting the bridge balance, the hot wire flow sensor is zeroed, which solves the problem of needing to adjust the DAC bridge balance every time.
[0054] In one embodiment, before step S101, the following steps are included:
[0055] Initializing the relevant parameters of the hot wire flow sensor zero calibration, wherein the relevant parameters include a DAC bridge and a current;
[0056] The DAC bridge of the hot wire flow sensor is controlled to set the DAC bridge to a bridge value corresponding to the maximum current of zero calibration.
[0057] In this embodiment, before zeroing the hot wire flow sensor, the corresponding hot wire flow sensor zeroing related variables are initialized, then the switch of the hot wire flow sensor is turned on, the DAC bridge of the hot wire flow sensor is controlled, and the DAC bridge is set to the bridge value corresponding to the maximum current of zeroing. The voltage is applied to the hot wire flow sensor to generate current, and the hot wire flow sensor is stabilized for a period of time to perform high-temperature heating to clean impurities on the surface of the hot wire flow sensor, thereby avoiding the influence of impurities on the zeroing of the hot wire flow sensor.
[0058] In one embodiment, the step S101 includes:
[0059] The zero-point AD value of the main hot-wire flow sensor and the zero-point AD value of the auxiliary hot-wire flow sensor are collected in real time.
[0060] In this embodiment, the zero point AD value of the main hot wire flow sensor and the zero point AD value of the auxiliary hot wire flow sensor are collected in real time, and the differences between the zero point AD value of the main hot wire flow sensor and the zero point AD value of the auxiliary hot wire flow sensor and the target zero point AD value need to be calculated and judged respectively, and both the zero point AD value of the main hot wire flow sensor and the zero point AD value of the auxiliary hot wire flow sensor need to comply with the adjustment DAC bridge logic, and the difference with the target zero point AD value must be within the target difference range.
[0061] In one embodiment, the step S103 includes:
[0062] Obtaining a preset safety current DAC bridge threshold of the hot wire flow sensor;
[0063] Determine whether the current DAC bridge exceeds the safe current DAC bridge threshold;
[0064] If the current DAC bridge does not exceed the threshold, the DAC bridge balance needs to be adjusted;
[0065] If the current DAC bridge exceeds the threshold, there is no need to adjust the DAC bridge balance and confirm that the zero calibration has failed.
[0066] In this embodiment, the safety current DAC threshold of the hot wire flow sensor is pre-set, and then based on the current DAC bridge, it is determined whether the current DAC bridge exceeds the safety current DAC bridge threshold. If the current DAC bridge does not exceed the bridge threshold, the DAC bridge needs to be dynamically adjusted according to the bridge balance logic. If the current DAC bridge exceeds the bridge threshold, there is no need to adjust the bridge balance, and it is confirmed that the hot wire flow sensor has failed to be zeroed, so as to achieve accurate zeroing of the hot wire flow sensor.
[0067] In one embodiment, the bridge balancing logic specifically includes:
[0068] When the zero-point AD value is greater than the target zero-point AD value, the current of the hot-wire flow sensor is reduced by controlling the DAC bridge to dynamically increase, and the DAC bridge is adjusted to achieve balance;
[0069] When the zero-point AD value is less than the target zero-point AD value, the current of the hot-wire flow sensor is increased by controlling the DAC bridge to dynamically decrease, and the DAC bridge is adjusted to achieve balance.
[0070] In this embodiment, the zero-point AD value is compared to see whether it is within the target deviation range, and the current state of the hot wire flow sensor is identified within the target deviation range, that is, whether the DAC bridge of the current hot wire flow sensor needs to be adjusted for balance. The logic for adjusting the DAC bridge is to compare the zero-point AD value with the target zero-point AD value. When the zero-point AD value is greater than the target zero-point AD value, the DAC bridge is dynamically increased to reduce the current of the hot wire flow sensor and adjust the bridge to balance; when the zero-point AD value is less than the target zero-point AD value, the DAC bridge is dynamically reduced to increase the current of the hot wire flow sensor and adjust the bridge to balance.
[0071] Another embodiment of the present invention also provides a flow chart of a hot wire flow sensor detection method, such as Figure 2 As shown, the method comprises the following steps:
[0072] S201, when the power switch and heating switch of the hot wire flow sensor are turned off, initialization is performed;
[0073] S202, when the power switch of the hot wire flow sensor is turned on, the hot wire flow sensor is detected according to the hot wire flow sensor detection logic to determine whether the hot wire flow sensor is abnormal;
[0074] S203, if the hot wire flow sensor has no abnormality, turning on the heating switch of the hot wire flow sensor, calling the pre-stored zero calibration data to control the current of the hot wire flow sensor, and monitoring the hot wire flow sensor according to the hot wire flow sensor monitoring logic;
[0075] S204: If the hot wire flow sensor has an abnormality, process it according to the safety policy.
[0076] In this embodiment, the power switch and heating switch of the hot wire flow sensor are turned off to initialize the detection of the hot wire flow sensor. Then the power switch of the hot wire flow sensor is turned on, and the power supply, circuit and switch are respectively detected according to the detection logic of the hot wire flow sensor to determine whether the hot wire flow sensor is abnormal. If the hot wire flow sensor is abnormal, it is processed according to the security strategy. If the hot wire flow sensor is not abnormal, the heating switch of the hot wire flow sensor is turned on, and the pre-stored zeroing data is called to control the current of the hot wire flow sensor, wherein the zeroing data uses the hot wire flow sensor zeroing method to store the data of the specified address after zeroing. And the hot wire flow sensor is monitored according to the hot wire flow sensor monitoring logic. The connection status of the hot wire sensor is detected in real time to ensure that the hot wire sensor can be unplugged and connected in the middle of the process. The hot wire sensor does not perform the hot wire sensor flow monitoring function when it is not connected and short-circuited. Real-time detection of whether the hot wire sensor is overcurrent, turning off the power switch and heating switch in the case of overcurrent can timely detect abnormalities in the hot wire flow sensor and prevent the hot wire sensor from burning out.
[0077] In one embodiment, the hot wire flow sensor detection logic includes:
[0078] Hot wire flow sensor power supply detection logic, hot wire flow sensor circuit detection logic and hot wire flow sensor switch detection logic.
[0079] In this embodiment, the power supply detection logic of the hot wire flow sensor is specifically to turn on the power switch of the hot wire flow sensor, check whether the power supply voltage is normal, and turn off the power switch of the hot wire flow sensor under abnormal circumstances. The hot wire flow sensor circuit detection logic includes the hot wire flow sensor MOS tube circuit detection logic and the hot wire flow sensor DAC circuit detection logic. Among them, the hot wire flow sensor MOS tube circuit detection logic is specifically to turn on the power switch of the hot wire flow sensor, detect whether the reference voltage of the DAC connected to the MOS tube is normal, and turn off the power switch of the hot wire flow sensor and perform alarm processing when the MOS tube is detected to be short-circuited; the hot wire flow sensor DAC circuit detection logic is specifically to first set the value of the DAC bridge to 4090, and then detect whether the voltage output by the DAC bridge is normal, and turn off the power switch and heating switch of the hot wire flow sensor when the voltage value output by the DAC circuit is detected to be abnormal. The hot wire flow sensor switch detection logic is to turn on the heating switch of the hot wire flow sensor when the above detection logic is normal, and determine whether the hot wire flow sensor is connected. If it is not connected, an alarm will be issued without abnormal processing. If it is connected, it will determine whether the hot wire flow sensor is short-circuited. If the real-time flow sensor is short-circuited, abnormal processing will be performed and an alarm will be issued. The problem of hot wire flow sensors being easily burned out is solved through detection logic.
[0080] Another embodiment of the present invention further provides a hot wire flow sensor zero calibration device, such as Figure 3 As shown, the device comprises:
[0081] The data acquisition module 11 is used to collect the zero AD value of the hot wire flow sensor in real time;
[0082] A difference judgment module 12 is used to judge whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range;
[0083] A balance judgment module 13 is used to judge whether the DAC bridge balance needs to be adjusted if the difference is not within the target deviation range;
[0084] The balance adjustment module 14 is used to adjust the DAC bridge according to the bridge balance logic if the DAC bridge balance needs to be adjusted, until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
[0085] The module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions, which are more suitable for the execution process of zeroing the hot wire flow sensor than the program. For the specific implementation of each module, please refer to the corresponding method embodiment above, which will not be repeated here.
[0086] Another embodiment of the present invention further provides a hot wire flow sensor zeroing system, such as Figure 4 As shown, the system 10 includes:
[0087] One or more processors 110 and memory 120, Figure 4 A processor 110 is used as an example for description. The processor 110 and the memory 120 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0088] The processor 110 is used to complete various control logics of the system 10, and it can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component, or any combination of these components. In addition, the processor 110 can also be any traditional processor, microprocessor or state machine. The processor 110 can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP and / or any other such configuration.
[0089] The memory 120 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions corresponding to the hot wire flow sensor zeroing method in the embodiment of the present invention. The processor 110 executes various functional applications and data processing of the system 10 by running the non-volatile software programs, instructions and units stored in the memory 120, that is, the hot wire flow sensor zeroing method in the above method embodiment is implemented.
[0090] The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the system 10, etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 120 may optionally include a memory remotely arranged relative to the processor 110, and these remote memories may be connected to the system 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0091] One or more units are stored in the memory 120, and when executed by one or more processors 110, perform the hot wire flow sensor zeroing method in any of the above method embodiments, for example, perform the above described Figure 1 The method comprises steps S101 to S104.
[0092] An embodiment of the present invention provides a non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, to execute the above-described Figure 1 The method comprises steps S101 to S104.
[0093] As an example, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.
[0094] It should be noted that there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present invention, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0095] In summary, the present invention discloses a hot wire flow sensor zero calibration and detection method, device, system and medium, the method: real-time acquisition of the zero AD value of the hot wire flow sensor; judging whether the difference between the zero AD value of the hot wire flow sensor and the target zero AD value is within the target deviation range; if the difference is not within the target deviation range, judging whether it is necessary to adjust the DAC bridge balance; if it is necessary to adjust the DAC bridge balance, adjusting the DAC bridge according to the bridge balance logic until the difference between the zero AD value and the target zero AD value is within the target deviation range to complete the hot wire flow sensor zero calibration. When judging that the zero AD value of the hot wire flow sensor is not within the target deviation range, the DAC bridge is dynamically adjusted to achieve balance, so that the zero AD value of the hot wire flow sensor is within the target deviation range, the hot wire flow sensor is zeroed, and the measurement accuracy is improved.
[0096] What has been described in this specification and the accompanying drawings includes examples that can provide hot wire flow sensor zeroing and detection methods, devices, systems and media. Of course, it is not possible to describe every conceivable combination of elements and / or methods for the purpose of describing the various features of the present disclosure, but it can be recognized that many other combinations and permutations of the disclosed features are possible. Therefore, it is obvious that various modifications can be made to the present disclosure without departing from the scope or spirit of the present disclosure. In addition, or in an alternative, other embodiments of the present disclosure may be obvious from consideration of this specification and the accompanying drawings and from the practice of the present disclosure as presented herein. It is intended that the examples set forth in this specification and the accompanying drawings are considered to be illustrative and not restrictive in all respects. Although specific terms are employed herein, they are used in a general and descriptive sense and are not used for limiting purposes.
Claims
1. A method for zeroing a hot wire flow sensor. It is characterized in that include: Real-time collection of the zero-point AD value of the hot-wire flow sensor; Determine whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range; If the difference is not within the target deviation range, determining whether the DAC bridge balance needs to be adjusted; If the DAC bridge balance needs to be adjusted, the DAC bridge is adjusted according to the bridge balance logic until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
2. The hot wire flow sensor zero calibration method according to claim 1, It is characterized in that Before the real-time acquisition of the zero AD value of the hot wire flow sensor, the method includes: Initializing the relevant parameters of the hot wire flow sensor zero calibration; The DAC bridge of the hot wire flow sensor is controlled to set the DAC bridge to a bridge value corresponding to the maximum current of zero calibration.
3. The hot wire flow sensor zero calibration method according to claim 1, It is characterized in that The real-time acquisition of the zero AD value of the hot wire flow sensor includes: The zero-point AD value of the main hot-wire flow sensor and the zero-point AD value of the auxiliary hot-wire flow sensor are collected in real time.
4. The hot wire flow sensor zero calibration method according to claim 1, It is characterized in that If the difference is not within the target deviation range, determining whether the DAC bridge balance needs to be adjusted includes: Obtaining a preset safety current DAC bridge threshold of the hot wire flow sensor; Determine whether the current DAC bridge exceeds the safe current DAC bridge threshold; If the current DAC bridge does not exceed the threshold, the DAC bridge balance needs to be adjusted; If the current DAC bridge exceeds the threshold, there is no need to adjust the DAC bridge balance and confirm that the zero calibration has failed.
5. The hot wire flow sensor zero calibration method according to claim 1, It is characterized in that The bridge balancing logic specifically includes: When the zero-point AD value is greater than the target zero-point AD value, the current of the hot-wire flow sensor is reduced by controlling the DAC bridge to dynamically increase, and the DAC bridge is adjusted to achieve balance; When the zero-point AD value is less than the target zero-point AD value, the current of the hot-wire flow sensor is increased by controlling the DAC bridge to dynamically decrease, and the DAC bridge is adjusted to achieve balance.
6. A hot wire flow sensor detection method, It is characterized in that include: When the power switch and heating switch of the hot wire flow sensor are turned off, initialization is performed; When the power switch of the hot wire flow sensor is turned on, the hot wire flow sensor is detected according to the hot wire flow sensor detection logic to determine whether the hot wire flow sensor is abnormal; If the hot wire flow sensor has no abnormality, the heating switch of the hot wire flow sensor is turned on, and the pre-stored zero calibration data is called to control the current of the hot wire flow sensor, and the hot wire flow sensor is monitored according to the hot wire flow sensor monitoring logic; If the hot wire flow sensor has an abnormality, it is processed according to the safety policy; The zero calibration data is obtained by zeroing using the hot wire flow sensor zeroing method as described in any one of claims 1 to 5.
7. The hot wire flow sensor detection method according to claim 6, It is characterized in that The hot wire flow sensor detection logic includes: Hot wire flow sensor power supply detection logic, hot wire flow sensor circuit detection logic and hot wire flow sensor switch detection logic.
8. A hot wire flow sensor zero calibration device, It is characterized in that The device comprises: Data acquisition module, used to collect the zero AD value of the hot wire flow sensor in real time; A difference judgment module is used to judge whether the difference between the zero point AD value of the hot wire flow sensor and the target zero point AD value is within a target deviation range; A balance judgment module, used for judging whether the DAC bridge balance needs to be adjusted if the difference is not within the target deviation range; The balance adjustment module is used to adjust the DAC bridge according to the bridge balance logic if the DAC bridge balance needs to be adjusted, until the difference between the zero point AD value and the target zero point AD value is within the target deviation range to complete the zero calibration of the hot wire flow sensor.
9. A hot wire flow sensor zeroing system, It is characterized in that The system includes at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the hot wire flow sensor zeroing method according to any one of claims 1 to 5.
10. A non-volatile computer-readable storage medium, It is characterized in that The non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the hot wire flow sensor zeroing method according to any one of claims 1 to 5.
