WO2021258258A1 - Flow meter calibration method, apparatus and device, and storage medium - Google Patents

Flow meter calibration method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2021258258A1
WO2021258258A1 PCT/CN2020/097484 CN2020097484W WO2021258258A1 WO 2021258258 A1 WO2021258258 A1 WO 2021258258A1 CN 2020097484 W CN2020097484 W CN 2020097484W WO 2021258258 A1 WO2021258258 A1 WO 2021258258A1
Authority
WO
WIPO (PCT)
Prior art keywords
state
fluid
pump
pipeline
flow meter
Prior art date
Application number
PCT/CN2020/097484
Other languages
French (fr)
Chinese (zh)
Inventor
胡德琪
常子敬
吴帆
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/097484 priority Critical patent/WO2021258258A1/en
Priority to CN202080032220.6A priority patent/CN113795733A/en
Priority to JP2022519796A priority patent/JP2023500779A/en
Priority to PCT/CN2020/124876 priority patent/WO2021083282A1/en
Publication of WO2021258258A1 publication Critical patent/WO2021258258A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F25/00Testing or calibration of apparatus for measuring volume, volume flow or liquid level or for metering by volume

Definitions

  • This application relates to the field of flow meters, and in particular to a calibration method, device, equipment and storage medium of a flow meter.
  • the zero point of the flowmeter means that the output value of the flowmeter should be zero when the input value of the flowmeter is at the starting point of the range azimuth (that is, when the object to be measured has no flow, the flow should be zero).
  • the true flow rate of the object to be measured is often zero, but the output value of the flowmeter is not zero. This situation is called the zero point of the flowmeter. Inaccurate, will lead to flow calculation errors.
  • temperature compensation or medium characteristic compensation
  • medium characteristic compensation to compensate the flowmeter by detecting the temperature change of the environment in which the flowmeter is located, so as to perform zero point calibration.
  • the embodiments of the application provide a flow meter calibration method, device, equipment and storage medium, so that when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to perform automatic calibration in time, thereby eliminating Flow calculation error.
  • an embodiment of the present application provides a method for calibrating a flow meter, including: acquiring the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; if the state of the fluid in the pipeline indicates When the fluid is in a non-flowing state, the flow value of the flow meter is obtained; if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value, the flow meter is controlled to perform zero point calibration.
  • the obtaining the state of the fluid in the pipeline includes: obtaining the state of the pump, the state of the pump includes a working state and a non-working state, the pump is arranged on the pipeline; if the pump If the state of indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, it is determined that the fluid is in a flowing state.
  • the acquiring the state of the pump includes: acquiring a first control instruction sent to the pump, the first control instruction including an opening instruction and a closing instruction; if the first control instruction is an opening instruction , It is determined that the state of the pump is a working state; if the first control instruction is a shutdown instruction, it is determined that the state of the pump is a non-working state.
  • the acquiring the state of the fluid in the pipeline includes: acquiring current liquid level information of a supply device connected to the pipeline; determining the current liquid level information and the last acquired liquid level information Whether the liquid level difference of the liquid level information is within the preset liquid level difference range; if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; if the liquid level difference is not within the preset liquid level difference range, Assuming that the liquid level difference is within the range, it is determined that the fluid is in a flowing state.
  • the method before the acquiring the state of the pump, the method further includes: receiving a second control instruction sent by an external device, where the second control instruction is used to control the state of the pump; The second control command controls the state of the pump.
  • the second control instruction is sent by the external device every predetermined time.
  • the second control instruction is sent by the external device at a predetermined time.
  • the external device is a terminal device
  • the second control instruction is generated according to user operation information on the terminal device.
  • the acquiring the state of the fluid in the pipeline includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; if the current time is a predetermined time point, then Obtain the state of the fluid in the pipeline.
  • the preset difference value is zero; the controlling the flow meter to perform zero point calibration includes: calibrating the current flow value of the flow meter to zero point.
  • the preset difference is non-zero; the controlling the flow meter to perform zero point calibration includes: calibrating the current flow value of the flow meter so that the current flow value of the flow meter is equal to the zero point The difference of is within the preset difference range.
  • an embodiment of the present application provides a flow meter calibration device, including: an acquisition module for acquiring the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and if the tube The state of the fluid in the circuit indicates that the fluid is in a non-flowing state, and the flow value of the flow meter is obtained; the control module is used to control the flow meter if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value.
  • the flowmeter is zero-point calibrated.
  • the acquiring module includes: an acquiring unit for acquiring the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline; and the determining unit is configured to: If the state of indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; and if the state of the pump indicates that the pump is currently in a working state, then it is determined that the fluid is in a flowing state.
  • the acquiring module includes: an acquiring unit, configured to acquire a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a shutdown instruction; and a determining unit, configured to: If it is an on instruction, it is determined that the state of the pump is an operating state; and if the first control instruction is an off instruction, it is determined that the state of the pump is a non-operating state.
  • the acquiring module includes: an acquiring unit, configured to acquire current liquid level information of a supply device, which is connected to the pipeline; and a determining unit, configured to determine the current liquid level information and the last acquired liquid level information Whether the liquid level difference of the liquid level information is within the preset liquid level difference range; and if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; if the liquid level difference is not Within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  • the device further includes: a receiving module, configured to receive a second control instruction sent by an external device, the second control instruction being used to control the state of the pump; the control module, further configured to The second control command controls the state of the pump.
  • the second control instruction is sent by the external device every predetermined time.
  • the second control instruction is sent by the external device at a predetermined time.
  • the external device is a terminal device
  • the second control instruction is generated according to user operation information on the terminal device.
  • the acquiring module includes: an acquiring unit for acquiring current time information; a determining unit for determining whether the current time is a predetermined time point according to the current time information; and if the current time is a predetermined time Click to obtain the state of the fluid in the pipeline.
  • the preset difference value is zero; the control module includes a calibration unit configured to calibrate the current flow value of the flow meter to a zero point.
  • the preset difference value is non-zero;
  • the control module includes: a calibration unit configured to calibrate the current flow value of the flow meter so that the current flow value of the flow meter is different from the zero point The value is within the preset difference range.
  • an embodiment of the present application provides a flow meter calibration device, including: a processor and a memory, the memory is used to store instructions, and the processor calls the instructions stored in the memory to implement the following operations: get The state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, obtaining the flow rate value of the flowmeter ; If the difference between the flow value of the flowmeter and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration.
  • the processor when it obtains the state of the fluid in the pipeline, it specifically includes: obtaining the state of the pump.
  • the state of the pump includes a working state and a non-working state, and the pump is set at the On the pipeline; if the state of the pump indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, it is determined that the fluid is in Flow state.
  • the processor when it obtains the working state of the pump, it specifically includes: obtaining a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; If a control command is a start command, it is determined that the state of the pump is a working state; if the first control command is a close command, it is determined that the state of the pump is a non-working state.
  • the processor when the processor acquires the state of the fluid in the pipeline, it specifically includes: acquiring current liquid level information of a supply device connected to the pipeline; and determining the current liquid level information Whether the liquid level difference with the level information obtained last time is within the preset liquid level difference range; if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  • the device further includes: a communication interface for receiving a second control instruction sent by an external device, the second control instruction for instructing the processor to control the state of the pump; the processing The device is also used to control the state of the pump according to the second control instruction.
  • the second control instruction is sent by the external device every predetermined time.
  • the second control instruction is sent by the external device at a predetermined time.
  • the external device is a terminal device
  • the second control instruction is generated according to user operation information on the terminal device.
  • the processor when the processor acquires the state of the fluid in the pipeline, it specifically includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; if the current time is At a predetermined point in time, the state of the fluid in the pipeline is acquired.
  • the preset difference value is zero; when the processor controls the flow meter to perform zero point calibration, it specifically includes: calibrating the current flow value of the flow meter to the zero point.
  • the preset difference is non-zero; when the processor controls the flowmeter to perform zero-point calibration, it specifically includes: calibrating the current flow value of the flowmeter, so that the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
  • an embodiment of the present application provides a spraying device, including: a supply device for providing fluid used for spraying; a pump, connected to the supply device through a pipeline, for drawing fluid from the supply device , And delivered to the spray head; the spray head is used to spray the fluid; the flow meter is used to detect the flow in the pipeline; the calibration equipment as described in the third aspect is connected to the pipeline for According to the flow rate detected by the flow meter, it is determined whether the flow meter needs to be zero-point calibrated, and when the flow meter needs to be zero-point calibrated, the flow meter is controlled to perform the zero-point calibration.
  • an embodiment of the present application provides an unmanned aerial vehicle, which is characterized by including: a fuselage; a power system installed on the fuselage for providing flight power; the spraying device as described in the fourth aspect; flight control The system is communicatively connected with the power system, and is used to control the flight of the UAV.
  • an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
  • the flow meter calibration method, device, equipment and storage medium provided in this embodiment obtain the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in In the non-flowing state, the flow value of the flowmeter is obtained; if the difference between the flow value of the flowmeter and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
  • Figure 1 is a schematic structural diagram of a spray device provided by an embodiment of the application.
  • FIG. 3 is a schematic structural diagram of a spray device provided by another embodiment of the application.
  • FIG. 4 is a schematic diagram of the connection between the spraying device and the control device provided by an embodiment of the application;
  • FIG. 5 is a schematic diagram of a display interface of an external device provided by an embodiment of the application.
  • Fig. 6 is a schematic structural diagram of a flow meter calibration device provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a flow meter calibration device provided by an embodiment of the application.
  • Fig. 8 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application.
  • 60 calibration device; 61: acquisition module; 611: acquisition unit;
  • 612 determining unit
  • 62 control module
  • 621 calibration unit
  • a component when referred to as being "fixed to” another component, it can be directly on the other component or a centered component may also exist. When a component is considered to be “connected” to another component, it can be directly connected to the other component or there may be a centered component at the same time.
  • Fig. 1 is a schematic structural diagram of a spray device provided by an embodiment of the present application.
  • the spraying device includes: a supply device 11, a pump 12, a spray head 13, a flow meter 14, and a control device 15; wherein the supply device 11, the pump 12 and the spray head 13 are connected in turn by pipelines, and the flow meter 14 is provided On the pipeline, the flow meter 14 is communicatively connected to the control device 15.
  • the flow meter 14 and the control device 15 may be in a wired communication connection or a wireless communication connection, which is not specifically limited in this embodiment.
  • the flow meter 14 can be arranged on the pipeline between the supply device 11 and the pump 12, but this embodiment is not limited to the arrangement of the flow meter 14 on the pipeline between the supply device 11 and the pump 12.
  • Other positions on the pipeline, as long as the position can monitor the flow in the pipeline, are within the scope of this application.
  • the supply device 11 is used to provide the fluid used for spraying; optionally, the supply device 11 includes a water tank, which is used to provide a medicament obtained by mixing water and pesticide in a certain ratio;
  • the pump 12 is connected to the supply device 11 and is used to extract fluid from the supply device 11 and deliver it to the spray head 13;
  • the nozzle 13 is used to spray fluid
  • the flow meter 14 is used to detect the flow in the pipeline and send it to the control device 15;
  • the control device 15 is used for controlling the flow rate in the pipeline according to the flow rate detected by the flow meter 14.
  • this application obtains the flow value of the flow meter 14 when there is no flow in the pipeline, and then determines whether the zero point value of the flow meter 14 is accurate according to the flow value, and if it is not accurate, control
  • the flow meter 14 performs a zero point calibration.
  • Fig. 2 is a flowchart of a flow meter calibration method provided by an embodiment of the application. As shown in Figure 2, the method in this embodiment may include:
  • the execution subject of the method in this embodiment may be the control device as shown in FIG. 1.
  • the state of fluid includes non-flowing state and flowing state; non-flowing state can be understood as a static state, in the non-flowing state, the actual flow rate in the pipeline is 0; in the flowing state, the actual flow rate in the pipeline is non-zero .
  • control device After the control device obtains the state of the fluid in the pipeline, it can determine whether it is necessary to obtain the current flow value of the flowmeter according to the state of the fluid in the pipeline. If the control device determines that the fluid in the pipeline is currently in a static state according to the state of the fluid in the pipeline, the current flow value of the flowmeter is obtained from the flowmeter.
  • the step of obtaining the current flow value may not be performed.
  • the control device can determine whether the flow meter needs to be calibrated according to the current flow value. If the control device determines that the flowmeter needs to be calibrated according to the current flow value, it sends a calibration instruction to the flowmeter, and the calibration instruction is used to control the flowmeter to automatically perform zero point calibration.
  • the flowmeter can automatically perform zero-point calibration using an existing zero-point calibration algorithm, which will not be repeated in this embodiment.
  • This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
  • control device in the process of acquiring the state of the fluid in the pipeline, can acquire the state of the fluid in the pipeline through the state of the components in the spraying device.
  • the component may be a pump as shown in Figure 1.
  • the pump provides power for the spraying device in a spraying scene.
  • the control device can obtain the working state of the pump and determine the state of the fluid in the pipeline according to the working state of the pump. Among them, if the pump is in a working state, it can be determined that the fluid in the pipeline is in a flowing state at this time, and if the pump is in a non-working state, it can be determined that the fluid in the pipeline is in a static state at this time.
  • the working state of the pump is controlled by the control device, and the control device can send a first control instruction to the pump to control the pump to turn on or off.
  • the first control command includes an opening command and a closing command.
  • the control device can call its own sent command to determine whether the control command sent to the pump at the nearest time from the current moment is the opening command or the closing command; if the control device sends the pump to the pump If the control command sent is a start command, the control device can determine that the state of the pump is working. On the contrary, if the control command sent by the control device to the pump is a close command, the control device can determine that the state of the pump is not working. state.
  • the component can also be a supply device as shown in FIG. 1.
  • the control device can obtain the liquid level information of the supply device at different times, and determine whether the liquid level of the fluid in the supply device has changed according to the liquid level information at different times, so as to determine the state of the fluid in the pipeline.
  • obtaining the state of the fluid in the pipeline includes:
  • a level gauge 32 can be provided in the supply device 31 to measure the level information of the fluid in the supply device 31, and the control device 15 obtains the status of the supply device 31 from the level gauge 32. Liquid level information at different moments.
  • the time interval for the control device to obtain the two liquid level information can be longer.
  • the specific time interval can be set by those skilled in the art according to actual needs, and this embodiment does not specifically limit it here.
  • the current liquid level information is the liquid level information acquired at the current moment
  • the liquid level information acquired last time is the liquid level information acquired at the previous moment.
  • the preset liquid level difference can be set to zero.
  • the measurement information of the liquid level gauge may have a certain deviation, or other factors may cause the liquid level information value obtained twice to be unequal in a static state, but the difference between the two is within a small range . Therefore, the preset liquid level difference can be set to a small non-zero value, such as 1.
  • those skilled in the art can set the preset liquid level difference according to actual needs, which is not specifically limited in this embodiment.
  • liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state.
  • liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  • a2-a4 includes: determining whether the level difference between the current level information and the level information obtained last time is 0; if the level difference is 0, determine the fluid In a non-flowing state; if the liquid level difference is not 0, it is determined that the fluid is in a non-flowing state.
  • a2-a4 includes: determining whether the level difference between the current level information and the level information obtained last time is less than a non-zero value; if the level difference is less than non-zero Value, it is determined that the fluid is in a non-flowing state; if the liquid level difference is greater than or equal to a non-zero value, it is determined that the fluid is in a non-flowing state.
  • the control device may also send a control instruction to the pump to control the pump to be in a non-working state before acquiring the flow value of the flow meter, and then acquire the flow value of the flow meter.
  • control device may send a shutdown instruction to the pump at a predetermined time point to control the fluid in the pipeline to be in a static state at the predetermined time point.
  • the state of the pump can also be controlled by an external device.
  • the control device 41 receives a second control instruction sent by the external device 42, where the second control instruction is used to instruct the control device 41 to control the state of the pump 43, so that the control device 41 can control the state of the pump 43 according to the second control instruction. , Control the state of the pump 43.
  • the external device 42 includes one or more of a remote control, a smart phone, a desktop computer, a laptop computer, a server, and a wearable device (watch, bracelet).
  • the user may perform an operation on the external device to send the second control instruction to the control device.
  • a button 52 is set on the display interface of the external device 51. After the user clicks the button 52, the step of sending a second control instruction to the control device 41 is executed. .
  • a program can also be set inside the external device, so that the external device automatically sends the second control instruction to the control device, avoiding manual operation by the user.
  • the external device sends the second control instruction to the external device every predetermined time.
  • the external device can send a second control instruction to the control device every 6 hours, 12 hours, or 24 hours.
  • the control device After the control device receives the second control instruction, it sends a shutdown instruction to the pump to control the pump to be in a non-working state and make the pipe The fluid in the road is at rest.
  • the external device sends the second control instruction to the control device at a predetermined time point.
  • the external device can send a second control instruction to the control device at 12 o'clock every evening.
  • the control device After the control device receives the second control instruction, it sends a shutdown instruction to the pump to control the pump to be in a non-working state and make the fluid in the pipeline be in a non-working state. Stationary state.
  • the control device can calibrate the current flow value of the flow meter to the zero point during the process of controlling the flow meter to perform zero point calibration.
  • the zero point of the flowmeter is affected by the environment.
  • the zero point of the flowmeter may not be an absolute zero value. Therefore, the calibration value can be set to a non-zero value, that is, the current flow value of the flowmeter is calibrated to make the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
  • the embodiment of the present application provides a calibration device for a flow meter.
  • Fig. 6 is a structural diagram of a flow meter calibration device provided by an embodiment of the application.
  • the flow meter calibration device may be the control device in the foregoing embodiment, or a component (such as a chip or a circuit) of the control device.
  • the flow meter calibration device provided in the embodiment of the present application can execute the processing flow provided in the embodiment of the flow meter calibration method. As shown in FIG.
  • the flow meter calibration device 60 includes: an acquisition module 61 and a control module 62;
  • the module 61 is used to obtain the state of the fluid in the pipeline, and the state of the fluid includes a non-flowing state and a flowing state; and if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, obtain the flow meter
  • the control module 62 is used to control the flow meter to perform zero point calibration if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value.
  • the acquiring module 61 includes: an acquiring unit 611, configured to acquire the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline; and the determining unit 612 is configured to: If the state of the pump indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; and if the state of the pump indicates that the pump is currently in a working state, then it is determined that the fluid is in a flowing state.
  • the obtaining module 61 includes: an obtaining unit 611, configured to obtain a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; and a determining unit 612, configured to: If a control instruction is an on instruction, it is determined that the state of the pump is a working state; and if the first control instruction is an off instruction, it is determined that the state of the pump is a non-working state.
  • the acquiring module 61 includes: an acquiring unit 611, configured to acquire current liquid level information of a supply device, which is connected to the pipeline; and a determining unit 612, configured to determine the current liquid level information and the upper Whether the liquid level difference of the liquid level information obtained at one time is within the preset liquid level difference range; and if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; If the level difference is not within the preset level difference range, it is determined that the fluid is in a flowing state.
  • the device 60 further includes: a receiving module 63, configured to receive a second control instruction sent by an external device, the second control instruction being used to control the state of the pump; the control module 62 also It is used to control the state of the pump according to the second control instruction.
  • a receiving module 63 configured to receive a second control instruction sent by an external device, the second control instruction being used to control the state of the pump
  • the control module 62 also It is used to control the state of the pump according to the second control instruction.
  • the second control instruction is sent by the external device every predetermined time.
  • the second control instruction is sent by the external device at a predetermined time.
  • the external device is a terminal device
  • the second control instruction is generated according to user operation information on the terminal device.
  • the acquiring module 61 includes: an acquiring unit 611, configured to acquire current time information; a determining unit 612, configured to determine whether the current time is a predetermined time point according to the current time information; and if the current time When it is a predetermined time point, the state of the fluid in the pipeline is acquired.
  • the preset difference value is zero;
  • the control module 62 includes: a calibration unit 621, configured to calibrate the current flow value of the flow meter to a zero point.
  • the preset difference value is non-zero;
  • the control module 62 includes: a calibration unit 621, configured to calibrate the current flow value of the flowmeter so that the current flow value of the flowmeter is equal to the zero point The difference of is within the preset difference range.
  • This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
  • the embodiment of the application provides a flow meter calibration device.
  • Fig. 7 is a structural diagram of a flow meter calibration device provided by an embodiment of the application; the flow meter calibration device may be the control device in the foregoing embodiment.
  • the flow meter calibration device provided in the embodiment of the present application can execute the processing flow provided in the flow meter calibration method embodiment.
  • the flow meter calibration device 70 includes a memory 71 and a processor 72. 71 is used to store instructions.
  • the processor 72 calls the instructions stored in the memory to implement the following operations: obtain the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and The state of the fluid in the pipeline indicates that the fluid is in a non-flowing state, then the flow value of the flow meter is acquired; if the difference between the flow value of the flow meter and the zero point exceeds a preset difference, the flow is controlled
  • the meter performs zero point calibration.
  • the processor 72 when it obtains the state of the fluid in the pipeline, it specifically includes: obtaining the state of the pump.
  • the state of the pump includes a working state and a non-working state. On the pipeline; if the state of the pump indicates that the pump is currently in a non-working state, determine that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, determine the fluid In a fluid state.
  • the processor 72 when the processor 72 acquires the working status of the pump, it specifically includes: acquiring a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; if the If the first control instruction is an on instruction, it is determined that the state of the pump is a working state; if the first control instruction is an off instruction, it is determined that the state of the pump is a non-operating state.
  • the processor 72 when the processor 72 acquires the state of the fluid in the pipeline, it specifically includes: acquiring current liquid level information of a supply device connected to the pipeline; and determining the current liquid level Whether the level difference between the information and the level information obtained last time is within the preset level difference range; if the level difference is within the preset level difference range, it is determined that the fluid is in a non-flowing state; If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  • the calibration device 70 further includes: a communication interface 73, configured to receive a second control instruction sent by an external device, the second control instruction being used to instruct the processor to control the state of the pump;
  • the processor 72 is further configured to control the state of the pump according to the second control instruction.
  • the second control instruction is sent by the external device every predetermined time.
  • the second control instruction is sent by the external device at a predetermined time.
  • the external device is a terminal device
  • the second control instruction is generated according to user operation information on the terminal device.
  • the processor 72 when the processor 72 acquires the state of the fluid in the pipeline, it specifically includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; When it is a predetermined time point, the state of the fluid in the pipeline is acquired.
  • the preset difference is zero; when the processor 72 controls the flow meter to perform zero point calibration, it specifically includes: calibrating the current flow value of the flow meter to the zero point.
  • the preset difference is non-zero; when the processor 72 controls the flowmeter to perform zero-point calibration, it specifically includes: calibrating the current flow value of the flowmeter so that the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
  • This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
  • FIG. 8 is a structural diagram of an unmanned aerial vehicle provided by an embodiment of the application.
  • the unmanned aerial vehicle 80 includes a fuselage, a power system, a spray device, and a flight control system 81.
  • the power system includes at least one of the following Species: motors, propellers, and electronic governors.
  • the power system is installed on the fuselage to provide flight power; the flight control system 81 is in communication with the power system and is used to control the flight of the unmanned aerial vehicle;
  • the unmanned aerial vehicle may be an agricultural plant protection machine.
  • the spraying device shown in FIG. 1 is set on the agricultural plant protection machine and is used to spray pesticides on crops at high altitude.
  • the spraying device of this embodiment can also be applied to other scenarios with pipeline flow, such as equipment with pipeline transportation capabilities.
  • the unmanned aerial vehicle of the embodiment shown in FIG. 8 can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
  • This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
  • this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the flowmeter calibration method described in the foregoing embodiment.
  • the device includes a spraying device
  • the equipment includes a flowmeter calibration device and an unmanned aerial vehicle.
  • the disclosed device and method can be implemented in other ways.
  • the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
  • the above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium.
  • the above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute the method described in the various embodiments of this application. Part of the steps.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Abstract

A flow meter calibration method, apparatus and device, and a storage medium. Said method comprises: acquiring the state of a fluid in a pipeline (S201), the state of the fluid comprising a non-flowing state and a flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, acquiring a flow value of a flow meter (14) (S202); and if the difference between the flow value of the flow meter (14) and zero exceeds a preset difference, controlling the flow meter (14) to perform zero calibration (S203). In cases where the fluid in the pipeline is stationary, it is determined whether to perform zero calibration on the flow meter (14) according to the current flow value of the flow meter (14), and in cases where the calibration is required, the flow meter (14) is controlled to perform zero calibration, so that in cases where the pipeline has no actual flow but the flow meter (14) outputs a flow value, the flow meter is controlled to perform automatic calibration in time, eliminating a flow calculation error.

Description

流量计的校准方法、装置、设备及存储介质Calibration method, device, equipment and storage medium of flowmeter 技术领域Technical field
本申请涉及流量计领域,尤其涉及一种流量计的校准方法、装置、设备及存储介质。This application relates to the field of flow meters, and in particular to a calibration method, device, equipment and storage medium of a flow meter.
背景技术Background technique
流量计的零点是指流量计输入值在量程方位起点(即待测对象实际没有流量,流量应为零)时的输出值应为零。然而,由于构成流量计的元件在温度、检测介质属性变化等内外因素,常常会导致待测对象的真实流量为零,但是流量计输出值却不为零,这种情形称为流量计的零点不准,会导致流量计算误差。The zero point of the flowmeter means that the output value of the flowmeter should be zero when the input value of the flowmeter is at the starting point of the range azimuth (that is, when the object to be measured has no flow, the flow should be zero). However, due to internal and external factors such as temperature, changes in the properties of the detection medium and other internal and external factors that make up the flowmeter, the true flow rate of the object to be measured is often zero, but the output value of the flowmeter is not zero. This situation is called the zero point of the flowmeter. Inaccurate, will lead to flow calculation errors.
现在常用的方案是采用温度补偿(或介质特性补偿),即通过检测流量计所处环境的温度变化来对流量计进行补偿,从而进行零点校准。The commonly used solution now is to use temperature compensation (or medium characteristic compensation), that is, to compensate the flowmeter by detecting the temperature change of the environment in which the flowmeter is located, so as to perform zero point calibration.
但是,温度补偿关系不明确,常常会导致校准不准确。However, the temperature compensation relationship is not clear, which often leads to inaccurate calibration.
发明内容Summary of the invention
本申请实施例提供一种流量计的校准方法、装置、设备及存储介质,以在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差。The embodiments of the application provide a flow meter calibration method, device, equipment and storage medium, so that when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to perform automatic calibration in time, thereby eliminating Flow calculation error.
第一方面,本申请实施例提供一种流量计的校准方法,包括:获取管路内流体的状态,所述流体的状态包括非流动状态和流动状态;若所述管路内流体的状态指示所述流体处于非流动状态,获取所述流量计的流量值;若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。In a first aspect, an embodiment of the present application provides a method for calibrating a flow meter, including: acquiring the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; if the state of the fluid in the pipeline indicates When the fluid is in a non-flowing state, the flow value of the flow meter is obtained; if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value, the flow meter is controlled to perform zero point calibration.
可选的,所述获取所述管路内流体的状态,包括:获取泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。Optionally, the obtaining the state of the fluid in the pipeline includes: obtaining the state of the pump, the state of the pump includes a working state and a non-working state, the pump is arranged on the pipeline; if the pump If the state of indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, it is determined that the fluid is in a flowing state.
可选的,所述获取所述泵的状态,包括:获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。Optionally, the acquiring the state of the pump includes: acquiring a first control instruction sent to the pump, the first control instruction including an opening instruction and a closing instruction; if the first control instruction is an opening instruction , It is determined that the state of the pump is a working state; if the first control instruction is a shutdown instruction, it is determined that the state of the pump is a non-working state.
可选的,所述获取所述管路内流体的状态,包括:获取供给装置的当前液位信息,所述供给装置连接至所述管路;确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。Optionally, the acquiring the state of the fluid in the pipeline includes: acquiring current liquid level information of a supply device connected to the pipeline; determining the current liquid level information and the last acquired liquid level information Whether the liquid level difference of the liquid level information is within the preset liquid level difference range; if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; if the liquid level difference is not within the preset liquid level difference range, Assuming that the liquid level difference is within the range, it is determined that the fluid is in a flowing state.
可选的,所述获取所述泵的状态之前,所述方法还包括:接收外部设备发送的第二控制指令,所述第二控制指令用于对所述泵的状态进行控制;根据所述第二控制指令,控制所述泵的状态。Optionally, before the acquiring the state of the pump, the method further includes: receiving a second control instruction sent by an external device, where the second control instruction is used to control the state of the pump; The second control command controls the state of the pump.
可选的,所述第二控制指令是所述外部设备每隔预定时间发送的。Optionally, the second control instruction is sent by the external device every predetermined time.
可选的,所述第二控制指令是所述外部设备在预定时间点发送的。Optionally, the second control instruction is sent by the external device at a predetermined time.
可选的,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。Optionally, the external device is a terminal device, and the second control instruction is generated according to user operation information on the terminal device.
可选的,所述获取所述管路内流体的状态,包括:获取当前时间信息;根据所述当前时间信息,确定当前时间是否为预定时间点;若所述当前时间为预定时间点,则获取所述管路内流体的状态。Optionally, the acquiring the state of the fluid in the pipeline includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; if the current time is a predetermined time point, then Obtain the state of the fluid in the pipeline.
可选的,所述预设差值为零;所述控制所述流量计进行零点校准,包括:将所述流量计的当前流量值校准至零点。Optionally, the preset difference value is zero; the controlling the flow meter to perform zero point calibration includes: calibrating the current flow value of the flow meter to zero point.
可选的,所述预设差值为非零;所述控制所述流量计进行零点校准,包括:对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Optionally, the preset difference is non-zero; the controlling the flow meter to perform zero point calibration includes: calibrating the current flow value of the flow meter so that the current flow value of the flow meter is equal to the zero point The difference of is within the preset difference range.
第二方面,本申请实施例提供一种流量计的校准装置,包括:获取模块,用于获取管路内流体的状态,所述流体的状态包括非流动状态和流动状态;以及若所述管路内流体的状态指示所述流体处于非流动状态,获取所述流量计的流量值;控制模块,用于若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。In a second aspect, an embodiment of the present application provides a flow meter calibration device, including: an acquisition module for acquiring the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and if the tube The state of the fluid in the circuit indicates that the fluid is in a non-flowing state, and the flow value of the flow meter is obtained; the control module is used to control the flow meter if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value. The flowmeter is zero-point calibrated.
可选的,获取模块包括:获取单元,用于获取泵的状态,所述泵的状 态包括工作状态和非工作状态,所述泵设置在所述管路上;确定单元,用于若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;以及若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。Optionally, the acquiring module includes: an acquiring unit for acquiring the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline; and the determining unit is configured to: If the state of indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; and if the state of the pump indicates that the pump is currently in a working state, then it is determined that the fluid is in a flowing state.
可选的,获取模块包括:获取单元,用于获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;确定单元,用于若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;以及若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。Optionally, the acquiring module includes: an acquiring unit, configured to acquire a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a shutdown instruction; and a determining unit, configured to: If it is an on instruction, it is determined that the state of the pump is an operating state; and if the first control instruction is an off instruction, it is determined that the state of the pump is a non-operating state.
可选的,获取模块包括:获取单元,用于获取供给装置的当前液位信息,所述供给装置连接至所述管路;确定单元,用于确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;以及若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。Optionally, the acquiring module includes: an acquiring unit, configured to acquire current liquid level information of a supply device, which is connected to the pipeline; and a determining unit, configured to determine the current liquid level information and the last acquired liquid level information Whether the liquid level difference of the liquid level information is within the preset liquid level difference range; and if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; if the liquid level difference is not Within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
可选的,该装置还包括:接收模块,用于接收外部设备发送的第二控制指令,所述第二控制指令用于对所述泵的状态进行控制;所述控制模块,还用于根据所述第二控制指令,控制所述泵的状态。Optionally, the device further includes: a receiving module, configured to receive a second control instruction sent by an external device, the second control instruction being used to control the state of the pump; the control module, further configured to The second control command controls the state of the pump.
可选的,所述第二控制指令是所述外部设备每隔预定时间发送的。Optionally, the second control instruction is sent by the external device every predetermined time.
可选的,所述第二控制指令是所述外部设备在预定时间点发送的。Optionally, the second control instruction is sent by the external device at a predetermined time.
可选的,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。Optionally, the external device is a terminal device, and the second control instruction is generated according to user operation information on the terminal device.
可选的,所述获取模块包括:获取单元,用于获取当前时间信息;确定单元,用于根据所述当前时间信息,确定当前时间是否为预定时间点;以及若所述当前时间为预定时间点,则获取所述管路内流体的状态。Optionally, the acquiring module includes: an acquiring unit for acquiring current time information; a determining unit for determining whether the current time is a predetermined time point according to the current time information; and if the current time is a predetermined time Click to obtain the state of the fluid in the pipeline.
可选的,所述预设差值为零;所述控制模块包括:校准单元,用于将所述流量计的当前流量值校准至零点。Optionally, the preset difference value is zero; the control module includes a calibration unit configured to calibrate the current flow value of the flow meter to a zero point.
可选的,所述预设差值为非零;所述控制模块包括:校准单元,用于对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Optionally, the preset difference value is non-zero; the control module includes: a calibration unit configured to calibrate the current flow value of the flow meter so that the current flow value of the flow meter is different from the zero point The value is within the preset difference range.
第三方面,本申请实施例提供一种流量计的校准设备,包括:处理器和存储器,所述存储器用于存储指令,所述处理器调用所述存储器存储的 指令用于实现以下操作:获取所述管路内流体的状态,所述流体的状态包括非流动状态和流动状态;以及若所述管路内流体的状态指示所述流体处于非流动状态,则获取所述流量计的流量值;若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。In a third aspect, an embodiment of the present application provides a flow meter calibration device, including: a processor and a memory, the memory is used to store instructions, and the processor calls the instructions stored in the memory to implement the following operations: get The state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, obtaining the flow rate value of the flowmeter ; If the difference between the flow value of the flowmeter and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration.
可选的,所述处理器在获取所述管路内流体的状态时,具体包括:获取所述泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。Optionally, when the processor obtains the state of the fluid in the pipeline, it specifically includes: obtaining the state of the pump. The state of the pump includes a working state and a non-working state, and the pump is set at the On the pipeline; if the state of the pump indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, it is determined that the fluid is in Flow state.
可选的,所述处理器在获取所述泵的工作状态时,具体包括:获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。Optionally, when the processor obtains the working state of the pump, it specifically includes: obtaining a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; If a control command is a start command, it is determined that the state of the pump is a working state; if the first control command is a close command, it is determined that the state of the pump is a non-working state.
可选的,所述处理器在获取所述管路内流体的状态时,具体包括:获取供给装置的当前液位信息,所述供给装置连接至所述管路;确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。Optionally, when the processor acquires the state of the fluid in the pipeline, it specifically includes: acquiring current liquid level information of a supply device connected to the pipeline; and determining the current liquid level information Whether the liquid level difference with the level information obtained last time is within the preset liquid level difference range; if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
可选的,所述装置还包括:通信接口,用于接收外部设备发送的第二控制指令,所述第二控制指令用于指示所述处理器对所述泵的状态进行控制;所述处理器,还用于根据所述第二控制指令,控制所述泵的状态。Optionally, the device further includes: a communication interface for receiving a second control instruction sent by an external device, the second control instruction for instructing the processor to control the state of the pump; the processing The device is also used to control the state of the pump according to the second control instruction.
可选的,所述第二控制指令是所述外部设备每隔预定时间发送的。Optionally, the second control instruction is sent by the external device every predetermined time.
可选的,所述第二控制指令是所述外部设备在预定时间点发送的。Optionally, the second control instruction is sent by the external device at a predetermined time.
可选的,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。Optionally, the external device is a terminal device, and the second control instruction is generated according to user operation information on the terminal device.
可选的,所述处理器在获取所述管路内流体的状态时,具体包括:获取当前时间信息;根据所述当前时间信息,确定当前时间是否为预定时间点;若所述当前时间为预定时间点,则获取所述管路内流体的状态。Optionally, when the processor acquires the state of the fluid in the pipeline, it specifically includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; if the current time is At a predetermined point in time, the state of the fluid in the pipeline is acquired.
可选的,所述预设差值为零;所述处理器在控制所述流量计进行零点校准时,具体包括:将所述流量计的当前流量值校准至零点。Optionally, the preset difference value is zero; when the processor controls the flow meter to perform zero point calibration, it specifically includes: calibrating the current flow value of the flow meter to the zero point.
可选的,所述预设差值为非零;所述处理器在控制所述流量计进行零点校准时,具体包括:对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Optionally, the preset difference is non-zero; when the processor controls the flowmeter to perform zero-point calibration, it specifically includes: calibrating the current flow value of the flowmeter, so that the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
第四方面,本申请实施例提供一种喷洒装置,包括:供给装置,用于提供喷洒所使用的流体;泵,通过管路与所述供给装置连接,用于从所述供给装置中抽取流体,并输送至喷头;所述喷头,用于将所述流体进行喷洒;流量计,用于检测所述管路中的流量;如第三方面所述的校准设备,连接至管路,用于根据所述流量计检测的流量确定是否需要对所述流量计进行零点校准,以及在需要对所述流量计进行零点校准的情况下,控制所述流量计进行零点校准。In a fourth aspect, an embodiment of the present application provides a spraying device, including: a supply device for providing fluid used for spraying; a pump, connected to the supply device through a pipeline, for drawing fluid from the supply device , And delivered to the spray head; the spray head is used to spray the fluid; the flow meter is used to detect the flow in the pipeline; the calibration equipment as described in the third aspect is connected to the pipeline for According to the flow rate detected by the flow meter, it is determined whether the flow meter needs to be zero-point calibrated, and when the flow meter needs to be zero-point calibrated, the flow meter is controlled to perform the zero-point calibration.
第五方面,本申请实施例提供无人飞行器,其特征在于,包括:机身;动力系统,安装在所述机身,用于提供飞行动力;如第四方面所述的喷洒装置;飞行控制系统,与所述动力系统通讯连接,用于控制所述无人机飞行。In a fifth aspect, an embodiment of the present application provides an unmanned aerial vehicle, which is characterized by including: a fuselage; a power system installed on the fuselage for providing flight power; the spraying device as described in the fourth aspect; flight control The system is communicatively connected with the power system, and is used to control the flight of the UAV.
第六方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现第一方面所述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the method described in the first aspect.
本实施例提供的流量计的校准方法、装置、设备及存储介质,通过获取管路内流体的状态,其中,流体的状态包括非流动状态和流动状态;若管路内流体的状态指示流体处于非流动状态,则获取流量计的流量值;若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。从而实现在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差,简单易实现。且本实施例不需要额外的硬件设备,不会增加成本。The flow meter calibration method, device, equipment and storage medium provided in this embodiment obtain the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in In the non-flowing state, the flow value of the flowmeter is obtained; if the difference between the flow value of the flowmeter and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
附图说明Description of the drawings
图1为本申请实施例提供的喷洒装置的结构示意图;Figure 1 is a schematic structural diagram of a spray device provided by an embodiment of the application;
图2为本申请实施例提供的流量计的校准方法的流程图;2 is a flowchart of a flow meter calibration method provided by an embodiment of the application;
图3为本申请另一实施例提供的喷洒装置的结构示意图;3 is a schematic structural diagram of a spray device provided by another embodiment of the application;
图4为本申请实施例提供的喷洒装置与控制装置连接的示意图;4 is a schematic diagram of the connection between the spraying device and the control device provided by an embodiment of the application;
图5为本申请实施例提供的外部设备的显示界面的示意图;FIG. 5 is a schematic diagram of a display interface of an external device provided by an embodiment of the application;
图6为本申请实施例提供的流量计的校准装置的结构示意图;Fig. 6 is a schematic structural diagram of a flow meter calibration device provided by an embodiment of the application;
图7为本申请实施例提供的流量计的校准设备的结构示意图;FIG. 7 is a schematic structural diagram of a flow meter calibration device provided by an embodiment of the application;
图8为本申请实施例提供的无人飞行器的结构示意图。Fig. 8 is a schematic structural diagram of an unmanned aerial vehicle provided by an embodiment of the application.
附图标记:Reference signs:
11:供给装置;      12:泵;    13:喷头;    14:流量计;      15:11: supply device; 12: pump; 13: nozzle; 14: flowmeter; 15:
控制装置;Control device
31:供给装置;      32:液位计;31: Supply device; 32: Level gauge;
41:控制装置;      42:外部设备;      43:泵;41: control device; 42: external equipment; 43: pump;
51:外部设备;      52:按钮;51: external equipment; 52: button;
60:校准装置;      61:获取模块;      611:获取单元;60: calibration device; 61: acquisition module; 611: acquisition unit;
612:确定单元;     62:控制模块;      621:校准单元;612: determining unit; 62: control module; 621: calibration unit;
63:接收模块;63: receiving module;
70:校准设备;      71:存储器;   72:处理器;     73:通信接口70: calibration equipment; 71: memory; 72: processor; 73: communication interface
80:无人飞行器;    81:飞行控制系统。80: Unmanned aerial vehicle; 81: Flight control system.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is referred to as being "fixed to" another component, it can be directly on the other component or a centered component may also exist. When a component is considered to be "connected" to another component, it can be directly connected to the other component or there may be a centered component at the same time.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。本文所使用的术语“及/或”包括一个或多个相关的所列项目的任意的和所有的组合。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field of this application. The terminology used in the specification of the application herein is only for the purpose of describing specific embodiments, and is not intended to limit the application. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
图1是本申请实施例提供的一种喷洒装置的结构示意图。如图1所示,该喷洒装置包括:供给装置11、泵12、喷头13、流量计14、控制装置15;其中,供给装置11、泵12和喷头13依次通过管路连接,流量计14设置在管路上,流量计14通信连接至控制装置15。Fig. 1 is a schematic structural diagram of a spray device provided by an embodiment of the present application. As shown in Figure 1, the spraying device includes: a supply device 11, a pump 12, a spray head 13, a flow meter 14, and a control device 15; wherein the supply device 11, the pump 12 and the spray head 13 are connected in turn by pipelines, and the flow meter 14 is provided On the pipeline, the flow meter 14 is communicatively connected to the control device 15.
可选的,流量计14与控制装置15可以是有线通信连接,也可以是无线通信连接,本实施例对此不做具体限定。Optionally, the flow meter 14 and the control device 15 may be in a wired communication connection or a wireless communication connection, which is not specifically limited in this embodiment.
可选的,流量计14可以设置在供给装置11和泵12之间的管路上,但本实施例不限于将流量计14设置在供给装置11和泵12之间的管路上,还可以是设置在管路上其它位置,只要能够对管路内流量进行监测的位置,都在本申请的范围之内。Optionally, the flow meter 14 can be arranged on the pipeline between the supply device 11 and the pump 12, but this embodiment is not limited to the arrangement of the flow meter 14 on the pipeline between the supply device 11 and the pump 12. Other positions on the pipeline, as long as the position can monitor the flow in the pipeline, are within the scope of this application.
其中,供给装置11,用于提供喷洒所使用的流体;可选的,供给装置11包括水箱,用于提供将水和农药进行一定比例混合得到的药剂;Wherein, the supply device 11 is used to provide the fluid used for spraying; optionally, the supply device 11 includes a water tank, which is used to provide a medicament obtained by mixing water and pesticide in a certain ratio;
泵12,与供给装置11连接,用于从供给装置11中抽取流体,并输送至喷头13;The pump 12 is connected to the supply device 11 and is used to extract fluid from the supply device 11 and deliver it to the spray head 13;
喷头13,用于将流体进行喷洒;The nozzle 13 is used to spray fluid;
流量计14,用于检测管路中的流量,并发送至控制装置15;The flow meter 14 is used to detect the flow in the pipeline and send it to the control device 15;
控制装置15,用于根据流量计14检测的流量控制管路中的流量。The control device 15 is used for controlling the flow rate in the pipeline according to the flow rate detected by the flow meter 14.
在上述过程中,若流量计14的零点值发生较大偏差,就会导致流量计14检测的流量不准确,进而影响控制装置15对管路中流量的控制精度。In the above process, if the zero point value of the flow meter 14 has a large deviation, the flow rate detected by the flow meter 14 will be inaccurate, which will affect the control accuracy of the control device 15 on the flow in the pipeline.
为了解决相关技术的如上技术问题,本申请通过在管路没有流量的情况下,获取流量计14的流量值,进而根据该流量值确定流量计14的零点值是否准确,若不准确,则控制流量计14进行零点校准。In order to solve the above technical problems of the related technology, this application obtains the flow value of the flow meter 14 when there is no flow in the pipeline, and then determines whether the zero point value of the flow meter 14 is accurate according to the flow value, and if it is not accurate, control The flow meter 14 performs a zero point calibration.
下面以具体的实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
本申请实施例提供一种流量计的校准方法。图2为本申请实施例提供的流量计的校准方法的流程图。如图2所示,本实施例中的方法,可以包括:The embodiment of the present application provides a method for calibrating a flow meter. Fig. 2 is a flowchart of a flow meter calibration method provided by an embodiment of the application. As shown in Figure 2, the method in this embodiment may include:
S201、获取管路内流体的状态。S201: Obtain the state of the fluid in the pipeline.
本实施例方法的执行主体可以是如图1所示的控制装置。其中,流体的状态包括非流动状态和流动状态;非流动状态可以理解为静止状态,在 非流动状态下,管路内的实际流量为0;流动状态下,管路内的实际流量为非0。The execution subject of the method in this embodiment may be the control device as shown in FIG. 1. Among them, the state of fluid includes non-flowing state and flowing state; non-flowing state can be understood as a static state, in the non-flowing state, the actual flow rate in the pipeline is 0; in the flowing state, the actual flow rate in the pipeline is non-zero .
S202、若管路内流体的状态指示流体处于非流动状态,获取流量计的流量值。S202: If the state of the fluid in the pipeline indicates that the fluid is in a non-flowing state, obtain the flow rate value of the flowmeter.
控制装置获取到管路内流体的状态之后,可以根据管路内流体的状态确定是否需要获取流量计的当前流量值。若控制装置根据管路内流体的状态确定管路内流体当前处于静止状态,则从流量计获取流量计的当前流量值。After the control device obtains the state of the fluid in the pipeline, it can determine whether it is necessary to obtain the current flow value of the flowmeter according to the state of the fluid in the pipeline. If the control device determines that the fluid in the pipeline is currently in a static state according to the state of the fluid in the pipeline, the current flow value of the flowmeter is obtained from the flowmeter.
可选的,若控制装置根据管路内流体的状态确定管路内流体当前处于流动状态,则可以不执行获取当前流量值的步骤。Optionally, if the control device determines that the fluid in the pipeline is currently in a flowing state according to the state of the fluid in the pipeline, the step of obtaining the current flow value may not be performed.
S203、若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。S203: If the difference between the flow value of the flowmeter and the zero point exceeds the preset difference, control the flowmeter to perform zero point calibration.
控制装置在获取到流量计的当前流量值之后,可以根据当前流量值确定流量计是否需要校准。若控制装置根据当前流量值确定流量计需要校准,则发送校准指令至流量计,该校准指令用于控制流量计自动进行零点校准。After obtaining the current flow value of the flow meter, the control device can determine whether the flow meter needs to be calibrated according to the current flow value. If the control device determines that the flowmeter needs to be calibrated according to the current flow value, it sends a calibration instruction to the flowmeter, and the calibration instruction is used to control the flowmeter to automatically perform zero point calibration.
在零点校准过程中,流量计可以采用已有的零点校准算法自动进行零点校准,本实施例在此不再赘述。During the zero-point calibration process, the flowmeter can automatically perform zero-point calibration using an existing zero-point calibration algorithm, which will not be repeated in this embodiment.
本实施例通过获取管路内流体的状态,其中,流体的状态包括非流动状态和流动状态;若管路内流体的状态指示流体处于非流动状态,则获取流量计的流量值;若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。从而实现在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差,简单易实现。且本实施例不需要额外的硬件设备,不会增加成本。This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
其中,控制装置在获取管路内流体的状态的过程中,可以通过喷洒装置中组件的状态获取管路内流体的状态。Wherein, in the process of acquiring the state of the fluid in the pipeline, the control device can acquire the state of the fluid in the pipeline through the state of the components in the spraying device.
在一种可选的实施方式中,该组件可以是如图1所示的泵,泵在喷洒场景中为喷洒装置提供动力,当泵工作的情况下,流体就在管路内流动,当泵不工作的情况下,流体就在管路内静止,或者管路内没有流体。根据这一原理,控制装置可以通过获取泵的工作状态,并根据泵的工作状态确 定管路内流体的状态。其中,若泵处于工作状态,则可以确定此时管路内流体处于流动状态,若泵处于非工作状态,则确定此时管路内流体处于静止状态。In an alternative embodiment, the component may be a pump as shown in Figure 1. The pump provides power for the spraying device in a spraying scene. When the pump is working, the fluid flows in the pipeline. When it is not working, the fluid is still in the pipeline, or there is no fluid in the pipeline. According to this principle, the control device can obtain the working state of the pump and determine the state of the fluid in the pipeline according to the working state of the pump. Among them, if the pump is in a working state, it can be determined that the fluid in the pipeline is in a flowing state at this time, and if the pump is in a non-working state, it can be determined that the fluid in the pipeline is in a static state at this time.
本实施例中,泵的工作状态受控制装置控制,控制装置可以向泵发送第一控制指令控制泵开启或者关闭。其中,第一控制指令包括开启指令和关闭指令,控制装置可以调用自身的已发送指令,从而确定距离当前时刻的最近时刻向泵发送的控制指令是否为开启指令或关闭指令;若控制装置向泵发送的控制指令为开启指令,则控制装置据此可以确定泵的状态为工作状态,反之,若控制装置向泵发送的控制指令为关闭指令,则控制装置据此可以确定泵的状态为非工作状态。In this embodiment, the working state of the pump is controlled by the control device, and the control device can send a first control instruction to the pump to control the pump to turn on or off. Among them, the first control command includes an opening command and a closing command. The control device can call its own sent command to determine whether the control command sent to the pump at the nearest time from the current moment is the opening command or the closing command; if the control device sends the pump to the pump If the control command sent is a start command, the control device can determine that the state of the pump is working. On the contrary, if the control command sent by the control device to the pump is a close command, the control device can determine that the state of the pump is not working. state.
在另一种可选的实施方式中,该组件还可以是如图1所示的供给装置,在外界没有为供给装置注入流体的情况下,若管路内流体处于流动状态,则供给装置中流体的液位就会相应减少,若管路内流体处于静止状态,则供给装置中流体的液位保持不变。根据这一原理,控制装置可以获取供给装置在不同时刻的液位信息,并根据不同时刻的液位信息确定供给装置中流体的液位是否发生变化,从而确定管路内流体的状态。具体的,获取管路内流体的状态,包括:In another alternative embodiment, the component can also be a supply device as shown in FIG. 1. In the case where no fluid is injected into the supply device from the outside, if the fluid in the pipeline is in a flowing state, the supply device The fluid level will be reduced accordingly. If the fluid in the pipeline is at a standstill, the fluid level in the supply device will remain unchanged. According to this principle, the control device can obtain the liquid level information of the supply device at different times, and determine whether the liquid level of the fluid in the supply device has changed according to the liquid level information at different times, so as to determine the state of the fluid in the pipeline. Specifically, obtaining the state of the fluid in the pipeline includes:
a1、获取供给装置的当前液位信息。a1. Obtain the current liquid level information of the supply device.
本实施例中,如图3所示,可以在供给装置31中设置一液位计32,用于测量供给装置31内流体的液位信息,控制装置15从液位计32获取供给装置31在不同时刻的液位信息。In this embodiment, as shown in FIG. 3, a level gauge 32 can be provided in the supply device 31 to measure the level information of the fluid in the supply device 31, and the control device 15 obtains the status of the supply device 31 from the level gauge 32. Liquid level information at different moments.
需要说明的是,为了避免管路内流体流速较低,导致供给装置内液位信息变化慢,可以使控制装置获取两次液位信息的时间间隔较长。具体的时间间隔,本领域技术人员可以根据实际需求进行设置,本实施例在此不做具体限定。It should be noted that, in order to avoid the low flow rate of the fluid in the pipeline, resulting in slow changes in the liquid level information in the supply device, the time interval for the control device to obtain the two liquid level information can be longer. The specific time interval can be set by those skilled in the art according to actual needs, and this embodiment does not specifically limit it here.
a2、确定当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内。a2. Determine whether the liquid level difference between the current liquid level information and the liquid level information obtained last time is within the preset liquid level difference range.
其中,当前液位信息是当前时刻获取的液位信息,上一次获取的液位信息是上一时刻获取的液位信息。Among them, the current liquid level information is the liquid level information acquired at the current moment, and the liquid level information acquired last time is the liquid level information acquired at the previous moment.
可选的,预设液位差可以设置为0。然而实际应用中,由于液位计的测量信息可能存在一定偏差,或者其它因素导致在静止状态下,两次获取的液位信息值不相等,但是二者的差值在一个较小的范围内。因而,可以将预设液位差设置为较小的非0值,例如1。其中,本领域技术人员可以根据实际需求设置预设液位差,本实施例在此不做具体限定。Optionally, the preset liquid level difference can be set to zero. However, in practical applications, the measurement information of the liquid level gauge may have a certain deviation, or other factors may cause the liquid level information value obtained twice to be unequal in a static state, but the difference between the two is within a small range . Therefore, the preset liquid level difference can be set to a small non-zero value, such as 1. Among them, those skilled in the art can set the preset liquid level difference according to actual needs, which is not specifically limited in this embodiment.
a3、若液位差在预设液位差范围内,则确定流体处于非流动状态。a3. If the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state.
a4、若液位差不在预设液位差范围内,则确定流体处于流动状态。a4. If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
可选的,若预设液位差为0,则a2-a4包括:确定当前液位信息和上一次获取的液位信息的液位差是否为0;若液位差为0,则确定流体处于非流动状态;若液位差不为0,则确定流体处于非流动状态。Optionally, if the preset level difference is 0, a2-a4 includes: determining whether the level difference between the current level information and the level information obtained last time is 0; if the level difference is 0, determine the fluid In a non-flowing state; if the liquid level difference is not 0, it is determined that the fluid is in a non-flowing state.
可选的,若预设液位差为非0,则a2-a4包括:确定当前液位信息和上一次获取的液位信息的液位差是否小于非0值;若液位差小于非0值,则确定流体处于非流动状态;若液位差大于或等于非0值,则确定流体处于非流动状态。Optionally, if the preset level difference is non-zero, a2-a4 includes: determining whether the level difference between the current level information and the level information obtained last time is less than a non-zero value; if the level difference is less than non-zero Value, it is determined that the fluid is in a non-flowing state; if the liquid level difference is greater than or equal to a non-zero value, it is determined that the fluid is in a non-flowing state.
可选的,由于本实施例获取流量计流量值的步骤需要在管路内流体处于静止状态下执行,而如上述实施例介绍,泵的工作状态受控制装置控制。因而,控制装置还可以在获取流量计的流量值之前,向泵发送控制指令,以控制泵处于非工作状态,之后再获取流量计的流量值。Optionally, since the step of obtaining the flow rate value of the flowmeter in this embodiment needs to be performed when the fluid in the pipeline is in a static state, as described in the foregoing embodiment, the working state of the pump is controlled by the control device. Therefore, the control device may also send a control instruction to the pump to control the pump to be in a non-working state before acquiring the flow value of the flow meter, and then acquire the flow value of the flow meter.
其中,控制装置可以在预定时间点,向泵发送关闭指令,控制管路内流体在预定时间点处于静止状态。Among them, the control device may send a shutdown instruction to the pump at a predetermined time point to control the fluid in the pipeline to be in a static state at the predetermined time point.
可选的,泵的状态还可以由外部设备控制。如图4所示,控制装置41接收外部设备42发送的第二控制指令,其中,第二控制指令用于指示控制装置41对泵43的状态进行控制,进而使控制装置41根据第二控制指令,控制泵43的状态。Optionally, the state of the pump can also be controlled by an external device. As shown in FIG. 4, the control device 41 receives a second control instruction sent by the external device 42, where the second control instruction is used to instruct the control device 41 to control the state of the pump 43, so that the control device 41 can control the state of the pump 43 according to the second control instruction. , Control the state of the pump 43.
可选的,外部设备42包括遥控器、智能手机、台式电脑、膝上型电脑、服务器、穿戴式设备(手表、手环)中的一种或多种。Optionally, the external device 42 includes one or more of a remote control, a smart phone, a desktop computer, a laptop computer, a server, and a wearable device (watch, bracelet).
可选的,用户可以在外部设备上进行操作,以向控制装置发送第二控制指令。例如,如图5所示,以外部设备是智能手机为例,在外部设备51的显示界面上设置一按钮52,用户点击该按钮52后,则执行向控制装置41发送 第二控制指令的步骤。Optionally, the user may perform an operation on the external device to send the second control instruction to the control device. For example, as shown in FIG. 5, taking the external device as a smart phone as an example, a button 52 is set on the display interface of the external device 51. After the user clicks the button 52, the step of sending a second control instruction to the control device 41 is executed. .
当然,也可以在外部设备内部设置一程序,从而使外部设备自动向控制装置发送第二控制指令,避免用户手动操作。Of course, a program can also be set inside the external device, so that the external device automatically sends the second control instruction to the control device, avoiding manual operation by the user.
在一种可选的实施方式中,可以设置为由外部设备每隔预定时间向外部设备发送第二控制指令。例如,外部设备可以每间隔6小时、12小时或24小时向控制装置发送第二控制指令,控制装置接收到第二控制指令后,向泵发送关闭指令,以控制泵处于非工作状态,使管路中的流体处于静止状态。In an optional implementation manner, it may be configured that the external device sends the second control instruction to the external device every predetermined time. For example, the external device can send a second control instruction to the control device every 6 hours, 12 hours, or 24 hours. After the control device receives the second control instruction, it sends a shutdown instruction to the pump to control the pump to be in a non-working state and make the pipe The fluid in the road is at rest.
在另一种可选的实施方式中,还可以设置为由外部设备在预定时间点向控制装置发送第二控制指令。例如,外部设备可以在每天晚上12点向控制装置发送第二控制指令,控制装置接收到第二控制指令后,向泵发送关闭指令,以控制泵处于非工作状态,使管路中的流体处于静止状态。In another optional implementation manner, it may also be configured that the external device sends the second control instruction to the control device at a predetermined time point. For example, the external device can send a second control instruction to the control device at 12 o'clock every evening. After the control device receives the second control instruction, it sends a shutdown instruction to the pump to control the pump to be in a non-working state and make the fluid in the pipeline be in a non-working state. Stationary state.
在上述实施例的基础上,控制装置在控制流量计进行零点校准的过程中,可以将流量计的当前流量值校准至零点。然而,实际应用中,流量计的零点受环境影响,通常流量计的零点可能不是绝对零值,因而还可以设置校准值为非0值,即对流量计的当前流量值进行校准,使流量计的当前流量值与零点的差值位于预设差值范围内。On the basis of the foregoing embodiment, the control device can calibrate the current flow value of the flow meter to the zero point during the process of controlling the flow meter to perform zero point calibration. However, in actual applications, the zero point of the flowmeter is affected by the environment. Generally, the zero point of the flowmeter may not be an absolute zero value. Therefore, the calibration value can be set to a non-zero value, that is, the current flow value of the flowmeter is calibrated to make the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
本申请实施例提供一种流量计的校准装置。图6为本申请实施例提供的流量计的校准装置的结构图,该流量计的校准装置可以是上述实施例中的控制装置,或控制装置的部件(例如芯片或者电路)。本申请实施例提供的流量计的校准装置可以执行流量计的校准方法实施例提供的处理流程,如图6所示,流量计的校准装置60包括:获取模块61和控制模块62;其中,获取模块61,用于获取管路内流体的状态,所述流体的状态包括非流动状态和流动状态;以及若所述管路内流体的状态指示所述流体处于非流动状态,获取所述流量计的流量值;控制模块62,用于若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。The embodiment of the present application provides a calibration device for a flow meter. Fig. 6 is a structural diagram of a flow meter calibration device provided by an embodiment of the application. The flow meter calibration device may be the control device in the foregoing embodiment, or a component (such as a chip or a circuit) of the control device. The flow meter calibration device provided in the embodiment of the present application can execute the processing flow provided in the embodiment of the flow meter calibration method. As shown in FIG. 6, the flow meter calibration device 60 includes: an acquisition module 61 and a control module 62; The module 61 is used to obtain the state of the fluid in the pipeline, and the state of the fluid includes a non-flowing state and a flowing state; and if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, obtain the flow meter The control module 62 is used to control the flow meter to perform zero point calibration if the difference between the flow value of the flow meter and the zero point exceeds a preset difference value.
可选的,获取模块61包括:获取单元611,用于获取泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;确定单元612,用于若所述泵的状态指示所述泵当前处于非工作状态,则确定所 述流体处于非流动状态;以及若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。Optionally, the acquiring module 61 includes: an acquiring unit 611, configured to acquire the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline; and the determining unit 612 is configured to: If the state of the pump indicates that the pump is currently in a non-working state, it is determined that the fluid is in a non-flowing state; and if the state of the pump indicates that the pump is currently in a working state, then it is determined that the fluid is in a flowing state.
可选的,获取模块61包括:获取单元611,用于获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;确定单元612,用于若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;以及若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。Optionally, the obtaining module 61 includes: an obtaining unit 611, configured to obtain a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; and a determining unit 612, configured to: If a control instruction is an on instruction, it is determined that the state of the pump is a working state; and if the first control instruction is an off instruction, it is determined that the state of the pump is a non-working state.
可选的,获取模块61包括:获取单元611,用于获取供给装置的当前液位信息,所述供给装置连接至所述管路;确定单元612,用于确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;以及若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。Optionally, the acquiring module 61 includes: an acquiring unit 611, configured to acquire current liquid level information of a supply device, which is connected to the pipeline; and a determining unit 612, configured to determine the current liquid level information and the upper Whether the liquid level difference of the liquid level information obtained at one time is within the preset liquid level difference range; and if the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state; If the level difference is not within the preset level difference range, it is determined that the fluid is in a flowing state.
可选的,该装置60还包括:接收模块63,用于接收外部设备发送的第二控制指令,所述第二控制指令用于对所述泵的状态进行控制;所述控制模块62,还用于根据所述第二控制指令,控制所述泵的状态。Optionally, the device 60 further includes: a receiving module 63, configured to receive a second control instruction sent by an external device, the second control instruction being used to control the state of the pump; the control module 62 also It is used to control the state of the pump according to the second control instruction.
可选的,所述第二控制指令是所述外部设备每隔预定时间发送的。Optionally, the second control instruction is sent by the external device every predetermined time.
可选的,所述第二控制指令是所述外部设备在预定时间点发送的。Optionally, the second control instruction is sent by the external device at a predetermined time.
可选的,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。Optionally, the external device is a terminal device, and the second control instruction is generated according to user operation information on the terminal device.
可选的,所述获取模块61包括:获取单元611,用于获取当前时间信息;确定单元612,用于根据所述当前时间信息,确定当前时间是否为预定时间点;以及若所述当前时间为预定时间点,则获取所述管路内流体的状态。Optionally, the acquiring module 61 includes: an acquiring unit 611, configured to acquire current time information; a determining unit 612, configured to determine whether the current time is a predetermined time point according to the current time information; and if the current time When it is a predetermined time point, the state of the fluid in the pipeline is acquired.
可选的,所述预设差值为零;所述控制模块62包括:校准单元621,用于将所述流量计的当前流量值校准至零点。Optionally, the preset difference value is zero; the control module 62 includes: a calibration unit 621, configured to calibrate the current flow value of the flow meter to a zero point.
可选的,所述预设差值为非零;所述控制模块62包括:校准单元621,用于对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Optionally, the preset difference value is non-zero; the control module 62 includes: a calibration unit 621, configured to calibrate the current flow value of the flowmeter so that the current flow value of the flowmeter is equal to the zero point The difference of is within the preset difference range.
本申请实施例提供的流量计的校准装置的具体原理和实现方式均与上述实施例类似,此处不再赘述。The specific principles and implementation manners of the flowmeter calibration device provided in the embodiments of the present application are similar to the foregoing embodiments, and will not be repeated here.
本实施例通过获取管路内流体的状态,其中,流体的状态包括非流动状态和流动状态;若管路内流体的状态指示流体处于非流动状态,则获取流量计的流量值;若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。从而实现在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差,简单易实现。且本实施例不需要额外的硬件设备,不会增加成本。This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
本申请实施例提供一种流量计的校准设备。图7为本申请实施例提供的流量计的校准设备的结构图;该流量计的校准设备可以是上述实施例中的控制装置。本申请实施例提供的流量计的校准设备可以执行流量计的校准方法实施例提供的处理流程,如图7所示,该流量计的校准设备70包括:存储器71和处理器72,所述存储器71用于存储指令,所述处理器72调用所述存储器存储的指令用于实现以下操作:获取所述管路内流体的状态,所述流体的状态包括非流动状态和流动状态;以及若所述管路内流体的状态指示所述流体处于非流动状态,则获取所述流量计的流量值;若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。The embodiment of the application provides a flow meter calibration device. Fig. 7 is a structural diagram of a flow meter calibration device provided by an embodiment of the application; the flow meter calibration device may be the control device in the foregoing embodiment. The flow meter calibration device provided in the embodiment of the present application can execute the processing flow provided in the flow meter calibration method embodiment. As shown in FIG. 7, the flow meter calibration device 70 includes a memory 71 and a processor 72. 71 is used to store instructions. The processor 72 calls the instructions stored in the memory to implement the following operations: obtain the state of the fluid in the pipeline, the state of the fluid includes a non-flowing state and a flowing state; and The state of the fluid in the pipeline indicates that the fluid is in a non-flowing state, then the flow value of the flow meter is acquired; if the difference between the flow value of the flow meter and the zero point exceeds a preset difference, the flow is controlled The meter performs zero point calibration.
可选的,所述处理器72在获取所述管路内流体的状态时,具体包括:获取所述泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。Optionally, when the processor 72 obtains the state of the fluid in the pipeline, it specifically includes: obtaining the state of the pump. The state of the pump includes a working state and a non-working state. On the pipeline; if the state of the pump indicates that the pump is currently in a non-working state, determine that the fluid is in a non-flowing state; if the state of the pump indicates that the pump is currently in a working state, determine the fluid In a fluid state.
可选的,所述处理器72在获取所述泵的工作状态时,具体包括:获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。Optionally, when the processor 72 acquires the working status of the pump, it specifically includes: acquiring a first control instruction sent to the pump, where the first control instruction includes an opening instruction and a closing instruction; if the If the first control instruction is an on instruction, it is determined that the state of the pump is a working state; if the first control instruction is an off instruction, it is determined that the state of the pump is a non-operating state.
可选的,所述处理器72在获取所述管路内流体的状态时,具体包括:获取供给装置的当前液位信息,所述供给装置连接至所述管路;确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态; 若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。Optionally, when the processor 72 acquires the state of the fluid in the pipeline, it specifically includes: acquiring current liquid level information of a supply device connected to the pipeline; and determining the current liquid level Whether the level difference between the information and the level information obtained last time is within the preset level difference range; if the level difference is within the preset level difference range, it is determined that the fluid is in a non-flowing state; If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
可选的,所述校准设备70还包括:通信接口73,用于接收外部设备发送的第二控制指令,所述第二控制指令用于指示所述处理器对所述泵的状态进行控制;所述处理器72,还用于根据所述第二控制指令,控制所述泵的状态。Optionally, the calibration device 70 further includes: a communication interface 73, configured to receive a second control instruction sent by an external device, the second control instruction being used to instruct the processor to control the state of the pump; The processor 72 is further configured to control the state of the pump according to the second control instruction.
可选的,所述第二控制指令是所述外部设备每隔预定时间发送的。Optionally, the second control instruction is sent by the external device every predetermined time.
可选的,所述第二控制指令是所述外部设备在预定时间点发送的。Optionally, the second control instruction is sent by the external device at a predetermined time.
可选的,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。Optionally, the external device is a terminal device, and the second control instruction is generated according to user operation information on the terminal device.
可选的,所述处理器72在获取所述管路内流体的状态时,具体包括:获取当前时间信息;根据所述当前时间信息,确定当前时间是否为预定时间点;若所述当前时间为预定时间点,则获取所述管路内流体的状态。Optionally, when the processor 72 acquires the state of the fluid in the pipeline, it specifically includes: acquiring current time information; determining whether the current time is a predetermined time point according to the current time information; When it is a predetermined time point, the state of the fluid in the pipeline is acquired.
可选的,所述预设差值为零;所述处理器72在控制所述流量计进行零点校准时,具体包括:将所述流量计的当前流量值校准至零点。Optionally, the preset difference is zero; when the processor 72 controls the flow meter to perform zero point calibration, it specifically includes: calibrating the current flow value of the flow meter to the zero point.
可选的,所述预设差值为非零;所述处理器72在控制所述流量计进行零点校准时,具体包括:对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Optionally, the preset difference is non-zero; when the processor 72 controls the flowmeter to perform zero-point calibration, it specifically includes: calibrating the current flow value of the flowmeter so that the flowmeter The difference between the current flow value and the zero point is within the preset difference range.
本申请实施例提供的流量计的校准设备的具体原理和实现方式均与图2所示实施例类似,此处不再赘述。The specific principles and implementation manners of the flowmeter calibration device provided in the embodiment of the present application are similar to those in the embodiment shown in FIG. 2 and will not be repeated here.
本实施例通过获取管路内流体的状态,其中,流体的状态包括非流动状态和流动状态;若管路内流体的状态指示流体处于非流动状态,则获取流量计的流量值;若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。从而实现在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差,简单易实现。且本实施例不需要额外的硬件设备,不会增加成本。This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
本申请实施例提供一种无人飞行器。图8为本申请实施例提供的无人飞行器的结构图,如图8所示,无人飞行器80包括:机身、动力系统、喷洒装置和飞行控制系统81,所述动力系统包括如下至少一种:电机、螺旋桨和电子调速器,动力系统安装在所述机身,用于提供飞行动力;飞行 控制系统81与所述动力系统通讯连接,用于控制所述无人飞行器飞行;The embodiment of the present application provides an unmanned aerial vehicle. FIG. 8 is a structural diagram of an unmanned aerial vehicle provided by an embodiment of the application. As shown in FIG. 8, the unmanned aerial vehicle 80 includes a fuselage, a power system, a spray device, and a flight control system 81. The power system includes at least one of the following Species: motors, propellers, and electronic governors. The power system is installed on the fuselage to provide flight power; the flight control system 81 is in communication with the power system and is used to control the flight of the unmanned aerial vehicle;
在本申请的一个应用场景中,该无人飞行器可以是农业植保机,如图1所示的喷洒装置设置在农业植保机上,用于对农作物进行高空喷洒农药。当然,本实施例的喷洒装置也可以应用于其他具有管道流量的场景,例如具有管道运输能力的设备。In an application scenario of the present application, the unmanned aerial vehicle may be an agricultural plant protection machine. The spraying device shown in FIG. 1 is set on the agricultural plant protection machine and is used to spray pesticides on crops at high altitude. Of course, the spraying device of this embodiment can also be applied to other scenarios with pipeline flow, such as equipment with pipeline transportation capabilities.
图8所示实施例的无人飞行器可用于执行上述方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The unmanned aerial vehicle of the embodiment shown in FIG. 8 can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar, and will not be repeated here.
本实施例通过获取管路内流体的状态,其中,流体的状态包括非流动状态和流动状态;若管路内流体的状态指示流体处于非流动状态,则获取流量计的流量值;若流量计的流量值与零点的差值超出预设差值,则控制流量计进行零点校准。从而实现在管路没有实际流量,然而流量计却有流量值输出的情况下,控制流量计及时进行自动校准,从而消除流量计算误差,简单易实现。且本实施例不需要额外的硬件设备,不会增加成本。This embodiment obtains the state of the fluid in the pipeline, where the state of the fluid includes the non-flowing state and the flowing state; if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, the flow value of the flowmeter is obtained; if the flowmeter is If the difference between the flow value and the zero point exceeds the preset difference, the flowmeter is controlled to perform zero point calibration. In this way, when there is no actual flow in the pipeline, but the flow meter has a flow value output, the flow meter is controlled to be automatically calibrated in time, thereby eliminating flow calculation errors, which is simple and easy to implement. In addition, this embodiment does not require additional hardware equipment and does not increase the cost.
另外,本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行以实现上述实施例所述的流量计的校准方法。In addition, this embodiment also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the flowmeter calibration method described in the foregoing embodiment.
需要说明的是,本申请的流量计的校准方法、装置、设备及存储介质中,装置包括喷洒装置,设备包括流量计的校准设备和无人飞行器。It should be noted that, in the flowmeter calibration method, device, equipment and storage medium of the present application, the device includes a spraying device, and the equipment includes a flowmeter calibration device and an unmanned aerial vehicle.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元 中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The above-mentioned software functional unit is stored in a storage medium and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) execute the method described in the various embodiments of this application. Part of the steps. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used as an example. In practical applications, the above-mentioned functions can be allocated by different functional modules as required, that is, the device The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not repeated here.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. Scope.

Claims (25)

  1. 一种流量计的校准方法,其特征在于,包括:A method for calibrating a flow meter is characterized in that it comprises:
    获取管路内流体的状态,所述流体的状态包括非流动状态和流动状态;Acquiring the state of the fluid in the pipeline, and the state of the fluid includes a non-flowing state and a flowing state;
    若所述管路内流体的状态指示所述流体处于非流动状态,获取所述流量计的流量值;If the state of the fluid in the pipeline indicates that the fluid is in a non-flowing state, obtain the flow value of the flowmeter;
    若所述流量计的流量值与零点的差值超出预设差值,控制所述流量计进行零点校准。If the difference between the flow value of the flow meter and the zero point exceeds the preset difference value, the flow meter is controlled to perform zero point calibration.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述管路内流体的状态,包括:The method according to claim 1, wherein said acquiring the state of the fluid in the pipeline comprises:
    获取泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;Acquiring the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline;
    若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;If the state of the pump indicates that the pump is currently in a non-working state, determining that the fluid is in a non-flowing state;
    若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。If the state of the pump indicates that the pump is currently working, it is determined that the fluid is in a flowing state.
  3. 根据权利要求2所述的方法,其特征在于,所述获取所述泵的状态,包括:The method according to claim 2, wherein the acquiring the state of the pump comprises:
    获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;Acquiring a first control instruction sent to the pump, where the first control instruction includes a turn-on instruction and a turn-off instruction;
    若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;If the first control instruction is an on instruction, it is determined that the state of the pump is a working state;
    若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。If the first control instruction is a shutdown instruction, it is determined that the state of the pump is a non-working state.
  4. 根据权利要求1所述的方法,其特征在于,所述获取所述管路内流体的状态,包括:The method according to claim 1, wherein said acquiring the state of the fluid in the pipeline comprises:
    获取供给装置的当前液位信息,所述供给装置连接至所述管路;Acquiring current liquid level information of a supply device, which is connected to the pipeline;
    确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;Determining whether the liquid level difference between the current liquid level information and the liquid level information obtained last time is within a preset liquid level difference range;
    若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;If the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state;
    若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  5. 根据权利要求2或3所述的方法,其特征在于,所述获取所述泵的状态之前,所述方法还包括:The method according to claim 2 or 3, characterized in that, before the acquiring the state of the pump, the method further comprises:
    接收外部设备发送的第二控制指令,所述第二控制指令用于对所述泵的状态进行控制;Receiving a second control instruction sent by an external device, where the second control instruction is used to control the state of the pump;
    根据所述第二控制指令,控制所述泵的状态。According to the second control command, the state of the pump is controlled.
  6. 根据权利要求5所述的方法,其特征在于,所述第二控制指令是所述外部设备每隔预定时间发送的。The method according to claim 5, wherein the second control instruction is sent by the external device every predetermined time.
  7. 根据权利要求5所述的方法,其特征在于,所述第二控制指令是所述外部设备在预定时间点发送的。The method according to claim 5, wherein the second control instruction is sent by the external device at a predetermined time.
  8. 根据权利要求5所述的方法,其特征在于,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。The method according to claim 5, wherein the external device is a terminal device, and the second control instruction is generated based on user operation information on the terminal device.
  9. 根据权利要求1-4任一项所述的方法,其特征在于,所述获取所述管路内流体的状态,包括:The method according to any one of claims 1 to 4, wherein the acquiring the state of the fluid in the pipeline comprises:
    获取当前时间信息;Get current time information;
    根据所述当前时间信息,确定当前时间是否为预定时间点;According to the current time information, determine whether the current time is a predetermined time point;
    若所述当前时间为预定时间点,则获取所述管路内流体的状态。If the current time is a predetermined time point, the state of the fluid in the pipeline is acquired.
  10. 根据权利要求1-4任一项所述的方法,其特征在于,所述预设差值为零;所述控制所述流量计进行零点校准,包括:The method according to any one of claims 1 to 4, wherein the preset difference value is zero; and the controlling the flow meter to perform zero point calibration comprises:
    将所述流量计的当前流量值校准至零点。Calibrate the current flow value of the flowmeter to zero.
  11. 根据权利要求10所述的方法,其特征在于,所述预设差值为非零;The method according to claim 10, wherein the preset difference is non-zero;
    所述控制所述流量计进行零点校准,包括:The controlling the flow meter to perform zero point calibration includes:
    对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Calibrate the current flow value of the flowmeter so that the difference between the current flow value of the flowmeter and the zero point is within the preset difference range.
  12. 一种流量计的校准设备,其特征在于,所述设备包括:处理器和存储器,所述存储器用于存储指令,所述处理器调用所述存储器存储的指令用于实现以下操作:A flow meter calibration device, characterized in that the device includes a processor and a memory, the memory is used to store instructions, and the processor calls the instructions stored in the memory to implement the following operations:
    获取管路内流体的状态,所述流体的状态包括非流动状态和流动状态;以及若所述管路内流体的状态指示所述流体处于非流动状态,则获取所述流量计的流量值;Acquiring the state of the fluid in the pipeline, the state of the fluid including a non-flowing state and a flowing state; and if the state of the fluid in the pipeline indicates that the fluid is in the non-flowing state, acquiring the flow value of the flowmeter;
    若所述流量计的流量值与零点的差值超出预设差值,则控制所述流量计进行零点校准。If the difference between the flow value of the flow meter and the zero point exceeds the preset difference value, the flow meter is controlled to perform zero point calibration.
  13. 根据权利要求12所述的设备,其特征在于,所述处理器在获取所述管路内流体的状态时,具体用于:The device according to claim 12, wherein the processor is specifically configured to:
    获取所述泵的状态,所述泵的状态包括工作状态和非工作状态,所述泵设置在所述管路上;Acquiring the state of the pump, the state of the pump including a working state and a non-working state, and the pump is arranged on the pipeline;
    若所述泵的状态指示所述泵当前处于非工作状态,则确定所述流体处于非流动状态;If the state of the pump indicates that the pump is currently in a non-working state, determining that the fluid is in a non-flowing state;
    若所述泵的状态指示所述泵当前处于工作状态,则确定所述流体处于流动状态。If the state of the pump indicates that the pump is currently working, it is determined that the fluid is in a flowing state.
  14. 根据权利要求13所述的设备,其特征在于,所述处理器在获取所述泵的工作状态时,具体用于:The device according to claim 13, wherein the processor is specifically configured to:
    获取向所述泵发送的第一控制指令,所述第一控制指令包括开启指令和关闭指令;Acquiring a first control instruction sent to the pump, where the first control instruction includes a turn-on instruction and a turn-off instruction;
    若所述第一控制指令为开启指令,则确定所述泵的状态为工作状态;If the first control instruction is an on instruction, it is determined that the state of the pump is a working state;
    若所述第一控制指令为关闭指令,则确定所述泵的状态为非工作状态。If the first control instruction is a shutdown instruction, it is determined that the state of the pump is a non-working state.
  15. 根据权利要求12所述的设备,其特征在于,所述处理器在获取所述管路内流体的状态时,具体用于:The device according to claim 12, wherein the processor is specifically configured to:
    获取供给装置的当前液位信息,所述供给装置连接至所述管路;Acquiring current liquid level information of a supply device, which is connected to the pipeline;
    确定所述当前液位信息和上一次获取的液位信息的液位差是否在预设液位差范围内;Determining whether the liquid level difference between the current liquid level information and the liquid level information obtained last time is within a preset liquid level difference range;
    若所述液位差在预设液位差范围内,则确定所述流体处于非流动状态;If the liquid level difference is within the preset liquid level difference range, it is determined that the fluid is in a non-flowing state;
    若所述液位差不在预设液位差范围内,则确定所述流体处于流动状态。If the liquid level difference is not within the preset liquid level difference range, it is determined that the fluid is in a flowing state.
  16. 根据权利要求13或14所述的设备,其特征在于,所述设备还包括:The device according to claim 13 or 14, wherein the device further comprises:
    通信接口,用于接收外部设备发送的第二控制指令,所述第二控制指令用于指示所述处理器对所述泵的状态进行控制;A communication interface, configured to receive a second control instruction sent by an external device, where the second control instruction is used to instruct the processor to control the state of the pump;
    所述处理器,还用于根据所述第二控制指令,控制所述泵的状态。The processor is further configured to control the state of the pump according to the second control instruction.
  17. 根据权利要求16所述的设备,其特征在于,所述第二控制指令是所述外部设备每隔预定时间发送的。The device according to claim 16, wherein the second control instruction is sent by the external device every predetermined time.
  18. 根据权利要求16所述的设备,其特征在于,所述第二控制指令是所述外部设备在预定时间点发送的。The device according to claim 16, wherein the second control instruction is sent by the external device at a predetermined time.
  19. 根据权利要求16所述的设备,其特征在于,所述外部设备为终端设备,所述第二控制指令是根据用户在所述终端设备上的操作信息生成的。The device according to claim 16, wherein the external device is a terminal device, and the second control instruction is generated based on user operation information on the terminal device.
  20. 根据权利要求12-15任一项所述的设备,其特征在于,所述处理器在获取所述管路内流体的状态时,具体用于:The device according to any one of claims 12-15, wherein the processor is specifically configured to: when acquiring the state of the fluid in the pipeline:
    获取当前时间信息;Get current time information;
    根据所述当前时间信息,确定当前时间是否为预定时间点;According to the current time information, determine whether the current time is a predetermined time point;
    若所述当前时间为预定时间点,则获取所述管路内流体的状态。If the current time is a predetermined time point, the state of the fluid in the pipeline is acquired.
  21. 根据权利要求12-15任一项所述的设备,其特征在于,所述预设差值为零;所述处理器在控制所述流量计进行零点校准时,具体包括:The device according to any one of claims 12-15, wherein the preset difference is zero; when the processor controls the flow meter to perform zero point calibration, it specifically includes:
    将所述流量计的当前流量值校准至零点。Calibrate the current flow value of the flowmeter to zero.
  22. 根据权利要求12-15任一项所述的设备,其特征在于,所述预设差值为非零;所述处理器在控制所述流量计进行零点校准时,具体用于:The device according to any one of claims 12-15, wherein the preset difference is non-zero; when the processor controls the flow meter to perform zero point calibration, it is specifically configured to:
    对所述流量计的当前流量值进行校准,使所述流量计的当前流量值与零点的差值位于所述预设差值范围内。Calibrate the current flow value of the flowmeter so that the difference between the current flow value of the flowmeter and the zero point is within the preset difference range.
  23. 一种喷洒装置,其特征在于,包括:A spraying device, characterized in that it comprises:
    供给装置,用于提供喷洒所使用的流体;The supply device is used to provide the fluid used for spraying;
    泵,通过管路与所述供给装置连接,用于从所述供给装置中抽取流体,并输送至喷头;A pump, connected to the supply device through a pipeline, for pumping fluid from the supply device and delivering it to the spray head;
    所述喷头,用于将所述流体进行喷洒;The spray head is used to spray the fluid;
    流量计,用于检测所述管路中的流量;Flow meter, used to detect the flow rate in the pipeline;
    如权利要求12-22任一项所述的校准设备,连接至管路,用于根据所述流量计检测的流量确定是否需要对所述流量计进行零点校准,以及在需要对所述流量计进行零点校准的情况下,控制所述流量计进行零点校准。The calibration device according to any one of claims 12-22, connected to a pipeline, for determining whether the flow meter needs to be zero-calibrated according to the flow rate detected by the flow meter, and when the flow meter needs to be zero-calibrated In the case of performing zero point calibration, control the flow meter to perform zero point calibration.
  24. 一种无人飞行器,其特征在于,包括:An unmanned aerial vehicle, characterized in that it includes:
    机身;body;
    动力系统,安装在所述机身,用于提供飞行动力;The power system is installed on the fuselage to provide flight power;
    如权利要求23所述的喷洒装置;The spray device of claim 23;
    飞行控制系统,与所述动力系统通讯连接,用于控制所述无人机飞行。The flight control system is in communication connection with the power system and is used to control the flight of the drone.
  25. 一种计算机可读存储介质,其特征在于,其上存储有计算机程序, 所述计算机程序被处理器执行以实现如权利要求1-11任一项所述的方法。A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1-11.
PCT/CN2020/097484 2019-10-31 2020-06-22 Flow meter calibration method, apparatus and device, and storage medium WO2021258258A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2020/097484 WO2021258258A1 (en) 2020-06-22 2020-06-22 Flow meter calibration method, apparatus and device, and storage medium
CN202080032220.6A CN113795733A (en) 2020-06-22 2020-06-22 Flowmeter calibration method, device, equipment and storage medium
JP2022519796A JP2023500779A (en) 2019-10-31 2020-10-29 Correction method, mobile platform, and computer program
PCT/CN2020/124876 WO2021083282A1 (en) 2019-10-31 2020-10-29 Calibration method, mobile platform, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/097484 WO2021258258A1 (en) 2020-06-22 2020-06-22 Flow meter calibration method, apparatus and device, and storage medium

Publications (1)

Publication Number Publication Date
WO2021258258A1 true WO2021258258A1 (en) 2021-12-30

Family

ID=79181449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/097484 WO2021258258A1 (en) 2019-10-31 2020-06-22 Flow meter calibration method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN113795733A (en)
WO (1) WO2021258258A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116754054A (en) * 2023-08-23 2023-09-15 上海扬基电子科技有限公司 Calibrating method and system for oil detection flowmeter

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266158A (en) * 2007-03-13 2008-09-17 横河电机株式会社 Electromagnetic flowmeter and zero point measurement method thereof
EP2565594A1 (en) * 2011-07-11 2013-03-06 Invensys Systems, Inc. Coriolis flowmeter with zero checking feature
CN106679770A (en) * 2016-11-22 2017-05-17 重庆川仪自动化股份有限公司 Mass calibration system and method for mass flow meter
CN206223265U (en) * 2016-11-22 2017-06-06 重庆川仪自动化股份有限公司 The quality demarcation system of mass flowmenter
CN207147598U (en) * 2017-05-27 2018-03-27 四川锦美环保股份有限公司 A kind of device of bubbling liquid-level meter calibration instrument zero point
CN108507645A (en) * 2018-05-28 2018-09-07 拓攻(南京)机器人有限公司 The calibration factor of unmanned plane flow meter determines method, calibration method and device
CN108613719A (en) * 2018-04-19 2018-10-02 徐州鑫宇光伏科技有限公司 The calibration method and device of flowmeter
CN209027642U (en) * 2018-12-13 2019-06-25 大连麦森哲科技有限公司 A kind of electromagnetic flowmeter means for correcting

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4715491B2 (en) * 2005-12-12 2011-07-06 株式会社タツノ・メカトロニクス Coriolis mass flow meter
JP6216601B2 (en) * 2013-10-09 2017-10-18 旭有機材株式会社 Flow control device
JP6732119B2 (en) * 2016-10-04 2020-07-29 マイクロ モーション インコーポレイテッド Flowmeter calibration method and apparatus related to the method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101266158A (en) * 2007-03-13 2008-09-17 横河电机株式会社 Electromagnetic flowmeter and zero point measurement method thereof
EP2565594A1 (en) * 2011-07-11 2013-03-06 Invensys Systems, Inc. Coriolis flowmeter with zero checking feature
CN106679770A (en) * 2016-11-22 2017-05-17 重庆川仪自动化股份有限公司 Mass calibration system and method for mass flow meter
CN206223265U (en) * 2016-11-22 2017-06-06 重庆川仪自动化股份有限公司 The quality demarcation system of mass flowmenter
CN207147598U (en) * 2017-05-27 2018-03-27 四川锦美环保股份有限公司 A kind of device of bubbling liquid-level meter calibration instrument zero point
CN108613719A (en) * 2018-04-19 2018-10-02 徐州鑫宇光伏科技有限公司 The calibration method and device of flowmeter
CN108507645A (en) * 2018-05-28 2018-09-07 拓攻(南京)机器人有限公司 The calibration factor of unmanned plane flow meter determines method, calibration method and device
CN209027642U (en) * 2018-12-13 2019-06-25 大连麦森哲科技有限公司 A kind of electromagnetic flowmeter means for correcting

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116754054A (en) * 2023-08-23 2023-09-15 上海扬基电子科技有限公司 Calibrating method and system for oil detection flowmeter
CN116754054B (en) * 2023-08-23 2023-11-14 上海扬基电子科技有限公司 Calibrating method and system for oil detection flowmeter

Also Published As

Publication number Publication date
CN113795733A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN107004345B (en) Control method, unmanned plane and remote control equipment
CN107438751B (en) Method and device for detecting flying height and unmanned aerial vehicle
WO2021258258A1 (en) Flow meter calibration method, apparatus and device, and storage medium
WO2021087736A1 (en) Water pump flow rate control method, water pump control system, and agricultural unmanned aerial vehicle
US10705543B2 (en) Mass flow controller and controller algorithm
CN112304436A (en) Method, apparatus, electronic device, and medium for creating temperature correction model
CN113219505B (en) Method, device and equipment for acquiring GPS coordinates for vehicle-road cooperative tunnel scene
CN109341836B (en) Method and device for calibrating symmetrical platform
US20210010854A1 (en) Systems and methods for scale calibration
CN116168090B (en) Equipment parameter calibration method and device
CN115979262B (en) Positioning method, device and equipment of aircraft and storage medium
KR102055055B1 (en) Electronic Flow Meter and The Measurement Error Correcting Methode
WO2020082349A1 (en) High-precision unmanned aerial vehicle flight path measurement system and machine-readable storage medium
CN207440657U (en) A kind of high-precision twin-constant-current that can be adjusted in real time
EP3844590B1 (en) Mass flow controller, controller algorithm, and set point filter
CN115468552A (en) Fiber-optic gyroscope data acquisition method and system
WO2021083282A1 (en) Calibration method, mobile platform, and computer-readable storage medium
CN110462532B (en) Method and system for automatically calibrating measurement circuit
US11048389B2 (en) Customizable multi-function display
CN115603849B (en) Multi-sensor trigger control method, device, equipment and storage medium
US9170602B1 (en) Calibrating a high-speed clock signal generated using a processor internal to the electronic authentication device without using a crystal oscillator
US10929574B2 (en) Integrated standardized metrology system (ISMetS)
US11340105B2 (en) Method of operating a liquid-level transmitter device and implementation thereof
CN115439556A (en) Parameter calibration method, device, equipment and storage medium for road side sensor
US20200019138A1 (en) Field Instrument and Instrument Control Method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20942050

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20942050

Country of ref document: EP

Kind code of ref document: A1