An air pressure detection method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202311167070.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-08
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-09-08
AI Technical Summary
[0003]发明人发现相关技术中至少存在如下问题:对于空气枪这类吹/抽气类工具,依靠人的主观感受无法保证充气物的气压在合理范围内,因气压过大而打爆充气物或将充气物吸入空气枪内的情况时有发生,存在危险
[0010]另外,当所述实时气压大于第一预设气压值或小于第二预设气压值时,控制所述空气枪停止充气或吸气操作。可以预防人员的疏忽,自动预警并自动控制停止充气或吸气,进一步避免了充气物损坏造成资源损失的情况,进一步降低了空气枪的操作门槛。
Smart Images

Figure CN117419849B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial equipment, and in particular to a method, apparatus, electronic device and storage medium for air pressure detection. Background Technology
[0002] Air guns are commonly used inflation or deflation devices in general industry. Traditional pneumatic tools such as pneumatic tools, rock drills, pneumatic picks, pneumatic wrenches, and pneumatic sandblasting all require air guns. With the development of industrial processes, air guns have also been widely used in various application scenarios, such as automation devices, air-jet looms, tire inflation, and industrial control power (driving cylinders, pneumatic components), etc. Air guns are driven by motors, allowing them to inflate / de-inflate materials by inserting the nozzle into the material.
[0003] The inventors discovered at least the following problems in the related technology: For air guns and similar blowing / suction tools, relying on human subjective perception cannot guarantee that the air pressure of the inflated object is within a reasonable range. Incidents of excessive air pressure causing the inflated object to explode or be sucked into the air gun frequently occur, posing a danger. Furthermore, due to the motor-driven airflow and the lack of a one-way valve, air pressure cannot be directly detected through a pressure sensor. Summary of the Invention
[0004] The purpose of this invention is to provide a method, device, electronic equipment and storage medium for air pressure detection, so that the air gun can acquire the real-time air pressure of the object being inflated / evacuated in real time when it is in operation.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide an air pressure detection method, comprising: acquiring real-time wind speed collected by a wind speed sensor on an air gun; calculating the real-time air pressure of the object being inflated or evacuated by the air gun based on the real-time wind speed and Bernoulli's equation; and sending the real-time air pressure to a display for real-time display.
[0006] An embodiment of the present invention also provides an air pressure detection device, comprising: a wind speed acquisition module for acquiring real-time wind speed collected by a wind speed sensor on an air gun; an air pressure calculation module for calculating the real-time air pressure of the air gun's inflation or deflation object based on the real-time wind speed and Bernoulli's equation; and an air pressure display module for sending the real-time air pressure to a display for real-time display.
[0007] Embodiments of the present invention also provide an electronic device, comprising: 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the above-described barometric pressure detection method.
[0008] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the above-described air pressure detection method.
[0009] In this embodiment of the invention, the real-time wind speed collected by the anemometer on the air gun is obtained; the real-time air pressure of the object being inflated or deflated can then be calculated based on the real-time wind speed and Bernoulli's equation; and the real-time air pressure is sent to a display for real-time display. This solves the problem in related technologies where air guns cannot display the air pressure of the object being inflated in real time due to the lack of a one-way valve. This allows users to better judge the inflation level of the object based on the real-time displayed air pressure, significantly lowering the operational threshold of the air gun, avoiding resource loss due to damage to the object being inflated, and improving the user experience.
[0010] Furthermore, when the real-time air pressure is greater than a first preset air pressure value or less than a second preset air pressure value, the air gun is controlled to stop inflating or inhaling. This prevents human negligence, provides automatic warnings, and automatically controls the cessation of inflating or inhaling, further avoiding resource loss due to damage to the inflatable material and further lowering the operational threshold of the air gun.
[0011] Additionally, when the real-time wind speed is lower than the preset wind speed, an alarm signal is sent to the display. A decrease in wind speed indicates a significant change in the air pressure inside the inflatable material; sending an early warning at this time can further prevent damage to the inflatable material.
[0012] In addition, when the air gun inflates the object, while acquiring the real-time wind speed collected by the wind speed sensor on the air gun, the real-time current of the air gun is also detected. If the real-time current of the air gun increases by more than a preset current change range within a preset time, a compression indicator is displayed on the screen; the compression indicator indicates that the gas in the object being inflated is in a compressed state. Conversely, if the real-time current of the air gun does not increase by more than the preset current change range within the preset time, the compression indicator is not displayed on the screen. Further calibration can make the judgment of air pressure more accurate and improve the reliability of air pressure prediction.
[0013] In addition, the wind speed sensor on the air gun is installed at the air outlet of the air gun. At this time, the cross-sectional area of the air outlet is the same as the cross-sectional area of the air outlet of the gun head, which can obtain the air pressure value more accurately. Attached Figure Description
[0014] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0015] Figure 1 This is a flowchart of a barometric pressure detection method according to an embodiment of the present invention;
[0016] Figure 2 This is a schematic diagram of the structure of a pressure detection module according to an embodiment of the present invention;
[0017] Figure 3 This is a schematic diagram of an air gun pressure detection circuit structure according to an embodiment of the present invention;
[0018] Figure 4 This is a schematic diagram of the structure of a pressure detection device according to another embodiment of the present invention;
[0019] Figure 5 This is a schematic diagram of the structure of an electronic device according to another embodiment of the present invention. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details are presented in the various embodiments of the present invention to facilitate a better understanding of this application. However, the technical solutions claimed in this application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the various embodiments below is for ease of description and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined with and referenced by each other without contradiction.
[0021] One embodiment of the present invention relates to a pressure detection method, which can be applied to an air gun control unit, such as a microcontroller unit (MCU), or a terminal device such as a mobile phone or computer. It can connect to other devices via wired or wireless means. In this embodiment, the real-time wind speed collected by the wind speed sensor on the air gun is acquired; the real-time pressure of the object being inflated or deflated can then be calculated based on the real-time wind speed and Bernoulli's equation; and the real-time pressure is sent to an LCD display for real-time display. This solves the problem in related technologies where air guns lack a one-way valve, preventing the real-time display of the pressure of the object being inflated. This allows users to better judge the inflation level of the object based on the real-time displayed pressure, significantly lowering the operational threshold of the air gun, avoiding resource loss due to damage to the object being inflated, and improving the user experience. The implementation details of the pressure detection method of this embodiment are described below. The following details are provided for ease of understanding and are not essential for implementing this solution.
[0022] like Figure 1 As shown, in step 101, the air gun control unit acquires the real-time wind speed collected by the wind speed sensor on the air gun.
[0023] The air gun's control unit can be a microcontroller unit (MCU), which can be directly connected to other units used in the air pressure detection method of this application. The specific connection structure in this example is as follows: Figure 2 As shown, the wind speed sensor 201 sends the real-time wind speed it collects to the microcontroller unit (MCU) 202, which then calculates the air pressure and sends it to the LCD panel 203 for display. Since the wind speed sensor 201 can also send the wind speed it collects to the LCD panel 203 for display with the assistance of the microcontroller unit 202 or directly, it allows users to more intuitively grasp the current wind speed and judge the air pressure of the inflatable material based on their own experience.
[0024] In step 102, the air gun control unit calculates the real-time air pressure of the object being inflated or evacuated by the air gun based on the real-time wind speed and Bernoulli's equation.
[0025] Bernoulli's equation, a fundamental principle used in hydraulics before the establishment of the continuous medium theory equations in fluid mechanics, essentially states the conservation of the mechanical energy of a fluid: kinetic energy + gravitational potential energy + pressure potential energy = constant. Its most famous corollary is that in flow at constant height, a higher flow velocity corresponds to lower pressure.
[0026] At this point, Bernoulli's equation and known parameters can be used to predictively calculate the real-time air pressure of the air gun's inflation or deflation target. It should be noted that since Bernoulli's equation is derived from the conservation of mechanical energy, it is generally more applicable to ideal fluids with negligible viscosity and incompressibility. To make the calculation results more concise and accurate, a partial modification to Bernoulli's equation has been made. The real-time air pressure of the air gun's inflation or deflation target will be calculated based on the following Bernoulli equation:
[0027]
[0028] Where W is the real-time air pressure, v is the real-time wind speed, ρ is the preset air density, and C is a constant.
[0029] As airflow moves, its pressure changes with its velocity; a faster velocity results in lower pressure, while a slower velocity results in higher pressure.
[0030] In step 103, the air gun control unit sends the real-time air pressure to the LCD screen for real-time display, so as to achieve the purpose of air pressure detection of the inflatable object.
[0031] Furthermore, when the air gun's control unit detects that the calculated real-time air pressure is greater than a first preset air pressure value or less than a second preset air pressure value, it controls the air gun to stop the inflation or suction operation. Both the first and second preset air pressure values are pre-set safety air pressure values. If the air gun is inflating an object and detects that the current air pressure exceeds the safety value, it immediately stops inflating to prevent the object from exploding due to excessive pressure. If the air gun is suctioning an object and detects that the current air pressure is lower than the safety value, it immediately stops suction to prevent the object from being sucked into the air gun nozzle and damaging the object and the air gun motor.
[0032] Furthermore, when the real-time wind speed is lower than the preset wind speed, an alarm signal is sent to the LCD display. When the air gun is inflating an object and the internal air pressure of the object is high, the air blown out by the air gun will be affected by this internal air pressure, causing the wind speed to decrease. Similarly, when the air gun is sucking air from an object, if the internal air pressure of the object is low, the air speed will also be relatively slower due to the pressure effect. Detecting the air speed at the air outlet and triggering an alarm when the wind speed is lower than a certain value can also achieve the technical purpose of preventing over-inflation or the object being sucked into the air gun nozzle. The alarm signal here can be an indicator, an audible prompt, or a change in the font color of the wind speed displayed on the LCD screen. In short, any method that can serve as a warning can fall within the scope of alarm signal functionality.
[0033] In one example, when the air gun inflates an object, it simultaneously acquires the real-time wind speed from the anemometer on the air gun and detects the real-time current of the air gun. Since the current increases significantly when gas is compressed, if the real-time current of the air gun rises by more than a preset current change value within a preset time, a compression indicator is displayed on the LCD screen. This compression indicator indicates that the gas in the inflated object is in a compressed state. Conversely, if the real-time current of the air gun does not rise by more than the preset current change value within the preset time, the compression indicator is not displayed on the LCD screen. By monitoring current changes, it ensures that the gas inside the inflated object is indeed in a compressed state during inflation, providing more accurate pressure readings and improving the reliability of the device.
[0034] The wind speed sensor is mounted near the nozzle. In one example, the wind speed sensor on the air gun is mounted at the air outlet. In this case, the cross-sectional area of the air outlet is the same as the cross-sectional area of the nozzle head's air outlet, resulting in more accurate pressure readings.
[0035] In one example, the air pressure detection circuit is as follows: Figure 3 As shown in the diagram, the capacitor parameters are 0.1uF / 25V. The ground wire under the switch ensures the safety of the circuit. When the air gun needs to be inflated / evacuated, press the switch to turn on the air pressure detection module. The pin is the pin of the air gun control unit (which can be an MCU). Here, KEY is connected to one pin of the MCU. When the switch is not pressed, it means that KEY is in a high resistance state. When the switch is pressed, KEY is 0. Therefore, when the MCU detects 0 on this pin, it determines that the machine needs to enter the air pressure detection mode.
[0036] In this embodiment, the real-time wind speed collected by the anemometer on the air gun is acquired; the real-time air pressure of the object being inflated or deflated can then be calculated based on the real-time wind speed and Bernoulli's equation; and the real-time air pressure is sent to an LCD display for real-time display. This solves the problem in related technologies where air guns lack a one-way valve, preventing the real-time display of the air pressure of the object being inflated. This allows users to better judge the inflation level of the object based on the real-time displayed air pressure, significantly lowering the operational threshold of the air gun, avoiding resource loss due to damage to the inflated object, and improving the user experience.
[0037] The steps described above are for clarity only. In practice, they can be combined into one step or some steps can be broken down into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.
[0038] Another embodiment of the present invention relates to a pressure detection device, such as... Figure 4 As shown, it includes: a wind speed acquisition module 401, used to acquire the real-time wind speed collected by the wind speed sensor on the air gun; an air pressure calculation module 402, used to calculate the real-time air pressure of the air gun's inflation or deflation object based on the real-time wind speed and Bernoulli's equation; and an air pressure display module 403, used to send the real-time air pressure to an LCD display for real-time display.
[0039] In one example, the device further includes an automatic interruption module, used to control the air gun to stop inflation or intake operations when the real-time air pressure is greater than a first preset air pressure value or less than a second preset air pressure value.
[0040] In one example, the device further includes an alarm module for sending an alarm signal to the LCD display when the real-time wind speed is lower than a preset wind speed.
[0041] In one example, the device further includes a current warning module, used to detect the real-time current of the air gun while acquiring the real-time wind speed collected by the wind speed sensor on the air gun when the air gun is inflating the object; if the real-time current of the air gun increases by more than a preset current change value within a preset time, a compression indicator is displayed on the liquid crystal display; wherein the compression indicator indicates that the gas in the object being inflated is in a compressed state; conversely, if the real-time current of the air gun does not increase by more than the preset current change value within a preset time, the compression indicator is not displayed on the liquid crystal display.
[0042] In one example, calculating the real-time air pressure of the object being inflated or deflated by the air gun based on the real-time wind speed and Bernoulli's equation includes: based on the real-time wind speed and the following Bernoulli equation,
[0043]
[0044] The real-time air pressure of the object being inflated or deflated by the air gun is calculated; where W is the real-time air pressure, v is the real-time wind speed, ρ is the preset air density, and C is a constant.
[0045] In one example, the wind speed sensor on the air gun is mounted at the air outlet of the air gun.
[0046] In this embodiment, the real-time wind speed collected by the anemometer on the air gun is acquired; the real-time air pressure of the object being inflated or deflated can then be calculated based on the real-time wind speed and Bernoulli's equation; and the real-time air pressure is sent to an LCD display for real-time display. This solves the problem in related technologies where air guns lack a one-way valve, preventing the real-time display of the air pressure of the object being inflated. This allows users to better judge the inflation level of the object based on the real-time displayed air pressure, significantly lowering the operational threshold of the air gun, avoiding resource loss due to damage to the inflated object, and improving the user experience.
[0047] It is not difficult to see that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details mentioned in the above method embodiment are still valid in this embodiment, and will not be repeated here to reduce repetition. Accordingly, the relevant technical details mentioned in this embodiment can also be applied to the above method embodiment.
[0048] It is worth mentioning that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by this invention; however, this does not mean that other units are absent from this embodiment.
[0049] Another embodiment of the present invention relates to an electronic device, such as Figure 5 As shown, it includes at least one processor 501; and a memory 502 communicatively connected to the at least one processor; wherein the memory 502 stores instructions executable by the at least one processor 501, the instructions being executed by the at least one processor 501 to enable the at least one processor 501 to perform the air pressure detection method as described above.
[0050] The memory 502 and processor 501 are connected via a bus, which can include any number of interconnecting buses and bridges. The bus connects various circuits of one or more processors 501 and memory 502 together. The bus can also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by processor 501 is transmitted over a wireless medium via an antenna, which further receives data and transmits it to processor 501.
[0051] Processor 501 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory 502 can be used to store data used by processor 501 during operation.
[0052] Another embodiment of the present invention relates to a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the above-described method embodiments.
[0053] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0054] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.
Claims
1. A method for detecting air pressure, characterized in that, The air pressure detection method is used to control the air gun, and the air pressure detection method includes: The real-time wind speed is obtained from the wind speed sensor installed at the air outlet of the air gun; The real-time air pressure of the object being inflated or evacuated by the air gun is calculated based on the real-time wind speed and Bernoulli's equation. The real-time air pressure is sent to a display for real-time display. The air pressure detection method further includes: When the air gun inflates the object, the real-time wind speed collected by the wind speed sensor on the air gun is acquired, and the real-time current of the air gun is detected at the same time. If the real-time current of the air gun increases by more than a preset current change value within a preset time, a compression indicator will be displayed on the screen. The compression mark indicates that the gas in the inflatable object is in a compressed state; Conversely, if the real-time current of the air gun does not increase by more than the preset current change value within a preset time, the compression indicator will not be displayed on the screen.
2. The air pressure detection method according to claim 1, characterized in that, The method further includes: When the real-time air pressure is greater than the first preset air pressure value or less than the second preset air pressure value, the air gun is controlled to stop the inflation or intake operation.
3. The air pressure detection method according to any one of claims 1 to 2, characterized in that, The method further includes: When the real-time wind speed is lower than the preset wind speed, an alarm signal is sent to the display.
4. The air pressure detection method according to claim 1, characterized in that, The calculation of the real-time air pressure of the object being inflated or evacuated by the air gun based on the real-time wind speed and Bernoulli's equation includes: Based on the real-time wind speed and the following Bernoulli equation. The real-time air pressure of the object being inflated or deflated by the air gun is calculated. Where W is the real-time air pressure, v is the real-time wind speed, ρ is the preset air density, and C is a constant.
5. A barometric pressure detection device, characterized in that, The air pressure detection device is used to control the air gun, and the air pressure detection device includes: The wind speed acquisition module is used to acquire the real-time wind speed collected by the wind speed sensor installed at the air outlet of the air gun. The air pressure calculation module is used to calculate the real-time air pressure of the object being inflated or evacuated by the air gun based on the real-time wind speed and Bernoulli's equation. A barometric pressure display module is used to send the real-time barometric pressure to a display for real-time display. When the air gun inflates the object, the real-time wind speed collected by the wind speed sensor on the air gun is obtained, and the real-time current of the air gun is detected at the same time. If the real-time current of the air gun increases by more than a preset current change value within a preset time, a compression indicator will be displayed on the screen. The compression mark indicates that the gas in the inflatable object is in a compressed state; Conversely, if the real-time current of the air gun does not increase by more than the preset current change value within a preset time, the compression indicator will not be displayed on the screen.
6. The air pressure detection device according to claim 5, characterized in that, The device further includes: An automatic interruption module is used to control the air gun to stop inflation or intake operations when the real-time air pressure is greater than a first preset air pressure value or less than a second preset air pressure value.
7. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the barometric pressure detection method as described in any one of claims 1 to 4.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the air pressure detection method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Electric air pump control method and system
CN108626158A
Hand-held inflation gun
CN213298203U