WO2020107465A1 - Control method, unmanned aerial vehicle and computer-readable storage medium - Google Patents

Control method, unmanned aerial vehicle and computer-readable storage medium Download PDF

Info

Publication number
WO2020107465A1
WO2020107465A1 PCT/CN2018/118728 CN2018118728W WO2020107465A1 WO 2020107465 A1 WO2020107465 A1 WO 2020107465A1 CN 2018118728 W CN2018118728 W CN 2018118728W WO 2020107465 A1 WO2020107465 A1 WO 2020107465A1
Authority
WO
WIPO (PCT)
Prior art keywords
power supply
drone
power
main power
state
Prior art date
Application number
PCT/CN2018/118728
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 CN201880042068.2A priority Critical patent/CN110832737A/en
Priority to PCT/CN2018/118728 priority patent/WO2020107465A1/en
Publication of WO2020107465A1 publication Critical patent/WO2020107465A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B70/00Technologies for an efficient end-user side electric power management and consumption
    • Y02B70/30Systems integrating technologies related to power network operation and communication or information technologies for improving the carbon footprint of the management of residential or tertiary loads, i.e. smart grids as climate change mitigation technology in the buildings sector, including also the last stages of power distribution and the control, monitoring or operating management systems at local level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/20End-user application control systems

Definitions

  • the invention relates to the technical field of control, in particular to a control method, a drone and a computer-readable storage medium.
  • drones are widely used in military and civil fields, for example, drone plant maintenance and cultivation, drone aerial photography and drone forest fire monitoring, etc.
  • the power of the drone may be powered off due to various reasons (such as short circuit of the power supply, burnout, power supply impact, disconnection of the power supply line, etc.), which may cause the drone to crash. .
  • reasons such as short circuit of the power supply, burnout, power supply impact, disconnection of the power supply line, etc.
  • the state data at the time of the drone crash cannot be obtained, which makes it difficult for engineers and consumers to analyze the cause of the drone crash.
  • the embodiments of the present invention aim to provide a control method, a drone, and a computer-readable storage medium to record the state data of the drone when the power supply is in a power-off state.
  • the technical solution of the first aspect of the present invention improves a control method, which includes: detecting the power supply parameters of the main power supply when the main power supply is supplying power to the UAV; Power state; when it is determined that the main power supply is in the power-off state, obtain power from the backup power supply and record the status data of the drone; wherein, when the main power supply is in the power-off state, the backup power supply is triggered to supply power to the drone.
  • the technical solution of the second aspect of the present invention provides an unmanned aerial vehicle, the unmanned aerial vehicle including a processor, the processor is used to: when the main power supply to the drone, detect the power supply parameters of the main power supply; Whether the power supply is in the power-off state; when it is determined that the main power supply is in the power-off state, obtain power from the backup power supply and record the status data of the drone; wherein, when the main power supply is in the power-off state, the backup power supply is triggered to the drone powered by.
  • the technical solution of the third aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, which is characterized in that when the computer program is executed, the control method as provided in the first aspect of the embodiment of the present invention is implemented A step of.
  • the power supply parameters of the main power supply are detected to determine whether the main power supply is in a power-off state, and when it is determined that the main power supply is in a power-off state In the state, obtain power from the backup power supply and record the state data of the drone. In this way, engineers can efficiently and quickly troubleshoot the cause of the drone according to the recorded status data, which reduces the difficulty of troubleshooting the drone.
  • FIG. 1 shows a schematic diagram of a drone system according to an embodiment of the invention
  • FIG. 2 shows a schematic diagram of a control method according to an embodiment of the invention
  • FIG. 3 shows a schematic diagram of a control scheme according to an embodiment of the invention
  • FIG. 4 shows a schematic diagram of a control method according to another embodiment of the invention.
  • FIG. 5 shows a schematic diagram of a control method according to another embodiment of the invention.
  • FIG. 6 shows a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.
  • a component when a component is said to be “fixed” to another component, it can be directly on another component or it can also exist in a centered component. When a component is considered to be “connected” to another component, it can be directly connected to another component or there can be centered components at the same time.
  • the drone system 10 may include a control terminal 110 and a drone 120.
  • the drone 120 may be a single-rotor or multi-rotor drone. In some cases, the drone 120 may be a fixed-wing drone.
  • the drone 120 may include a power system 102, a control system 104, and a fuselage.
  • the fuselage may include a center frame and one or more arms connected to the center frame, and the one or more arms extend radially from the center frame.
  • the drone may also include a tripod, where the tripod is connected to the fuselage and used to support the landing of the drone.
  • the power system 102 may include one or more power components 1022.
  • the power components 1022 are used to provide flying power for the UAV 120, which enables the UAV 120 to achieve one or more degrees of freedom of movement.
  • the control system may include a processor 1042, a memory 1044, and a sensing system 1046.
  • the sensing system 1046 includes one or more types of sensors, wherein the sensing system 1046 can output and transmit sensing data to measure the state data of the drone 120.
  • the sensing system 1046 may include, for example, at least one of barometer, gyroscope, ultrasonic sensor, electronic compass, inertial measurement unit, visual sensor (monocular sensor or binocular sensor), global navigation satellite system, barometer, etc. Species.
  • the global navigation satellite system may be a global positioning system (Global Positioning System, GPS).
  • the processor 1042 is used to control various operations of the drone.
  • the processor 1042 may control the power components to realize the movement of the drone, and for another example, the processor 1042 may control the sensor system 1046 of the drone to collect data.
  • the sensing system 1046 may include an image acquisition device 1064.
  • the image acquisition device 1064 may be a device such as a camera or a video camera for capturing images.
  • the image acquisition device 1064 may communicate with the processor 1042 and Shoot under the control of 1042.
  • the drone 120 further includes a gimbal 106, and the gimbal 106 may include a motor 1062.
  • the gimbal 106 is used to carry the image acquisition device 1064, and the processor 1042 may control the motion of the gimbal 106 through the motor. It should be understood that the gimbal 106 may be independent of the drone 120, or may be a part of the drone 120.
  • the image acquisition device 1064 may be fixedly connected to the body of the drone 120.
  • the UAV 120 further includes a transmission device 112, and under the control of the processor 1042, the transmission device 112 may send the data collected by the sensing system 1046 to the control terminal 110.
  • the control terminal 110 may include a transmission device (not shown).
  • the transmission device of the control terminal may establish a wireless communication connection with the transmission device 112 of the drone 120.
  • the transmission device of the control terminal may receive the data sent by the transmission device 112.
  • the control The terminal 110 may also send control instructions to the drone 120 through its own transmission device.
  • the control terminal 110 may include a controller 1102 and a display device 1104.
  • the controller 1102 can control various operations of the control terminal.
  • the controller 1102 can control the transmission device to receive the data sent by the drone 120 through the transmission device 112, and for another example, the controller 1104 can control the display device 1104 to display the transmitted data, where the data can include the environment captured by the image acquisition device 1064 Image, posture information, position information, power information, etc.
  • the drone 120 also includes a battery system 108.
  • the battery system 108 may include a main power supply 1082 and a backup power supply 1084.
  • the main power supply 1082 is used to supply power to the drone 120, for example, the power component 102, the transmission device 112, and the gimbal 106.
  • Hardware electronic devices such as image acquisition equipment 1064 provide power.
  • any of the above controllers may include one or more processors, where the one or more processors may work individually or cooperatively.
  • the battery system 108 in this embodiment mainly includes a main power supply 1082 and a backup power supply 1084.
  • the default control system 104 is powered by the main power supply 1082 to realize the operation of the drone.
  • the control system 104 is powered by the backup power supply 1084 to achieve battery life, that is, to record the status data of the drone.
  • control method provided according to the embodiment of the present invention specifically includes:
  • step S202 when the main power supply supplies power to the drone, the power supply parameters of the main power supply are detected.
  • the execution subject of the control method may be a drone, and the drone includes a processor. Further, the execution subject of the method may be the processor.
  • the main power supply provides power to the drone.
  • the processor can detect the power supply parameters of the main power supply in real time. Further, the processor can detect the power supply status of the main power supply through its own acquisition module (such as ADC module). In some cases, the processor may also detect the power supply parameters of the main power supply by receiving sensor data output from a sensor that monitors the power supply status of the main power supply.
  • the power supply parameter may be any parameter related to the power supply state of the main power supply, for example, the power supply parameter may include one of voltage, current, power, power, voltage change rate, current change rate, and power change rate One or more.
  • Step S204 Determine whether the main power supply is in a power-off state according to the power supply parameters.
  • the main power supply may be in a power-down state due to various reasons and cannot normally supply power to the drone, and the processor needs to determine whether the main power supply is in the power-down state in real time. Further, after acquiring the power supply parameters of the main power supply, the processor can determine whether the main power supply is in a power-off state according to the power supply parameters of the main power supply, that is, the processor can determine whether the main power supply can normally control the unmanned power supply according to the power supply parameters Power supply.
  • Step S206 when it is determined that the main power source is in the power-off state, obtain power from the backup power source, and record the state data of the drone, wherein, when the main power source is in the power-off state, the backup power source is triggered to supply power to the drone.
  • the backup power supply when the main power supply supplies power to the drone, the backup power supply does not supply power to the drone.
  • the main power supply may charge the backup power supply.
  • the backup power supply is triggered to supply power to the drone.
  • a trigger circuit is provided in the drone, wherein the trigger circuit may be a circuit module different from the processor, when the main power supply is in a power-off state, the trigger circuit may trigger the backup power supply to no Man-machine power supply.
  • the processor may trigger the backup power supply to supply power to the drone, for example, the processor may trigger the backup power supply to the non-power supply by sending a trigger signal to the backup power supply.
  • Man-machine power supply When the main power supply is supplying power to the drone, the processor obtains power from the main power supply. When the main power supply is determined to be in a power-off state through the power supply parameters of the main power supply, the processor can obtain power from the backup power supply. The processor uses the power provided by the backup power source to record the status data of the drone.
  • the drone includes a memory, when the main power supply is in a power-off state, the memory can obtain power from a backup power supply, and the processor recording the state data of the drone may include: The state data of the man-machine is recorded in the memory.
  • the state data of the drone may include any data that reflects the working state of the drone, for example, the state data includes: power supply parameters of the main power supply, sensor data output by the sensor of the drone, unmanned At least one of the working states of the multiple functional components of the aircraft, the state data of the drone can be used for failure analysis of the drone.
  • the sensor data output by the sensor of the UAV includes one of speed, position, acceleration, angular velocity, altitude, flight trajectory, wind speed, wind direction, temperature, humidity, attitude, and captured image.
  • the functional components of the UAV may include communication components, navigation components, power components, heat dissipation components, main power supply, and so on.
  • the working state of the functional component may be information characterizing whether the functional component is working normally.
  • the power supply parameters of the main power supply are detected to determine whether the main power supply is in a power-off state, and when it is determined that the main power supply is in a power-off state, the power is obtained from the backup power supply and the drone is recorded State data, so that engineers can efficiently and quickly troubleshoot the cause of the drone according to the recorded state data, reducing the difficulty of troubleshooting the drone.
  • the backup power source is triggered to supply power to the sensor of the drone.
  • the state data of the drone includes the sensor data output by the sensor, and the state data of the drone is recorded, including: recording the output of the drone by the sensor. Sensory data.
  • the backup power supply when the main power supply is in the power-off state, the backup power supply is triggered to supply power to the UAV sensor, so that when the main power supply is in the power-off state, the UAV sensor can continue to work normally.
  • the sensor data output by the sensor of the UAV can reflect the working state of the UAV.
  • the processor can use the backup power to provide power to record the sensor data output by the sensor, so that the post-engineering personnel can use the recorded sensor data Perform failure analysis.
  • the senor includes a plurality of different types of sensors
  • recording the state data of the drone includes: recording the sensor data output by each type of the sensors of the plurality of different types of sensors according to a preset priority.
  • the stored power of the backup power supply may be limited, and may only be enough to power some sensors. Simultaneously recording the sensor data output by many different types of sensors may cause the power of the backup power source to be quickly consumed and result in unsuccessful recording of the sensor data. Therefore, the processor can set different priority levels for different types of sensors. By recording the sensor data output by each type of sensor in a variety of different types of sensors according to the preset priority, this can not only ensure important sensor output The sensor data is recorded, which is also helpful to reduce the power consumption of the processor when recording the sensor data.
  • recording the state data of the drone includes: recording the state data of the drone for a preset duration.
  • the processor may record the state data of the drone with a preset duration, where the preset duration may be given, for example, 10 seconds, 15 seconds, or 20 seconds, and so on.
  • the preset duration may be determined according to the remaining power of the backup power supply. When the remaining power is more, the preset duration may be set larger, and when the remaining power is less, the preset duration may be set smaller .
  • the backup power source does not provide power to the power components of the drone.
  • the amount of power that the backup power source can store is usually much less than the main power source. If the backup power source supplies power to the power component, the power component will quickly consume the power of the backup power source. This may cause the processor and/or sensor to fail to obtain sufficient power from the backup power source, which may result in the failure of the UAV's status data recording. Therefore, In order to ensure the integrity of the status data recorded by the processor, when the main power supply is in a power-off state, the backup power supply does not supply power to the power components of the drone.
  • the power components include components that can provide flying power for the UAV, such as motors, ESCs, engines, etc., but are not limited thereto.
  • detecting the power supply parameters of the main power supply includes: detecting power supply parameters of multiple power supply loops powered by the main power supply; determining whether the main power supply is in a power-off state according to the power supply parameters includes: determining according to the power supply parameters of the multiple power supply loops Whether the main power supply is in a power-off state.
  • the unmanned aerial vehicle includes a functional component that obtains power from a main power source, where the functional component includes a plurality of different types, and when the main power source supplies power to the functional component, a plurality of different power supply circuits are formed.
  • the processor can detect the power supply parameters of multiple power supply loops powered by the main power supply, and determine whether the main power supply is in a power-off state according to the power supply parameters of the multiple power supply loops. Further, the processor may determine whether the main power supply is in a power-off state by performing weighted calculations and voting calculations on the power supply parameters of multiple power supply loops. By detecting the power supply parameters of multiple power supply loops to jointly determine whether the main power supply is in a power-off state, the accuracy and reliability of detecting the power failure of the main power supply can be further improved.
  • the method further includes: detecting whether the main power supply is in a power-on state during or after recording status data; when the main power supply is in a power-up state, obtaining power from the main power supply; wherein, when the main power supply When in the power-on state, the main power supply is triggered to power the drone.
  • the main power supply may re-enter the power-up state for some reason.
  • the processor detects whether the main power supply is in the power-on state during the process of recording the status data or after recording the data, and when the main power supply is in the power-on state, the processor obtains power from the main power supply, and restores the main power supply to the drone in time Power supply. For example, if the main power supply of the UAV is powered down on the ground, it may be caused by voltage fluctuations. When or after the ground data is recorded, it is detected whether the main power supply is restored to the power-on state, and the main power supply standby, battery maintenance, and power can be continued.
  • the main power supply when the main power supply is powered down in the air, if the main power supply is detected, the processor obtains power from the main power supply, and the main power supply is triggered to supply power to the drone. , Which in turn reduces the possibility of the drone crashing or being lost.
  • the control method of the drone includes: step S402, when the main power supply is supplying power to the drone, detecting the power supply parameters of the main power supply; step S404, determining whether the main power supply is powered off (off) according to the power supply parameters If yes, go to step S406, if no, go to step S402; step S406, when the main power supply is powered on and the drone is in the air, obtain power from the main power supply and control the operation of the power components of the drone; step S408, record the status data of the drone, for example, synchronize SD (Secure Digital Memory) card data to back up the flight records of the specified parts; step S410, after completing the flight data synchronization, according to the power supply parameters Determine again whether the main power supply is still powered off (off).
  • SD Secure Digital Memory
  • step S412 If yes, go to step S412, if not, go to step S402; step S412, record the status data of the unmanned aircraft of the preset duration, and determine whether the maximum backup power supply is reached For the duration of power supply, if it is, step S414 is executed; if not, step S408 is executed; step S414, after the data is recorded, the standby power source is controlled to stop supplying power to the drone.
  • the control method of the drone includes: step S502, when the main power supply is supplying power to the drone, detecting the power supply parameters of the main power supply; step S504, determining whether the main power supply is powered off (off) according to the power supply parameters, If yes, go to step S506, if no, go to step S502; step S506, when the main power supply is powered on and the drone is in the air, obtain power from the main power supply and control the operation of the power components of the drone; step S508 , Record the status data of the drone, for example, synchronize the SD (Secure Digital Memory) card data to back up the operation records of the specified parts on the ground; Step S510, in the process of recording the status data or record After the data is completed, it is detected whether the main power supply is in the power-on state.
  • SD Secure Digital Memory
  • step S512 is executed; if not, step S516 is executed; step S512, the status data of the drone with a preset duration is recorded, and it is determined whether the standby power source is reached Maximum power supply duration, if yes, step S514 is executed, if not, step S508 is executed; step S514, after data is recorded, the standby power supply is controlled to stop supplying power to the drone; step S516, reset the drone's flight controller, For example, trigger the controller to perform a software reset.
  • obtaining power from the main power source includes: when the main power source is in the power-up state and the drone is on the ground, obtaining power from the main power source and resetting the drone's flight controller ; When the main power supply is powered on and the drone is on the ground, obtain power from the main power supply and control the operation of the power components of the drone.
  • the processor obtains power from the main power supply and resets the drone's flight controller.
  • the process The device obtains power from the main power source and controls the operation of the power components of the drone. Since there is no possibility of the UAV crashing on the ground, resetting the flight controller to make the UAV re-enter the standby state, enabling the UAV to take off or perform tasks in the reset state at any time, effectively reducing the main power off The impact of electricity on the reliability of drones.
  • the processor can obtain power from the main power supply, and the processor can control the power components of the drone to operate Man-machine provides flight power.
  • control method further includes: after the data is recorded, controlling the backup power source to stop supplying power to the drone.
  • the processor uses the circuit provided by the backup power supply to record the status data of the drone, it controls the backup power supply to stop supplying power to the drone, so that the electrical connection between the backup power supply and the drone can be disconnected to prevent the drone from falling.
  • the aircraft standby power supply is still electrically connected to the drone, this can protect the functional components on the drone.
  • an embodiment of the present invention further provides a drone 600, which includes: a processor 1042, a main power supply 1082, and a backup power supply 1084, where,
  • the processor 1042 is used to:
  • the power supply parameters of the main power supply 1082 are detected;
  • the backup power supply 1084 is triggered to supply power to the drone.
  • the backup power supply 1084 is triggered to supply power to the sensor of the drone, the state data of the drone includes the sensor data output by the sensor,
  • processor 1042 When the processor 1042 records the status data of the drone, it is specifically used to:
  • the senor includes multiple different types of sensors,
  • the processor 1042 records the status data of the drone, which is specifically used for:
  • the sensor data output by each of the plurality of different types of sensors is recorded according to a preset priority.
  • processor 1042 when the processor 1042 records the status data of the drone, it is specifically used to:
  • the backup power supply 1084 does not supply power to the power components of the drone.
  • the processor 1042 detects the power supply parameter of the main power supply 1082, it is specifically used to:
  • the processor 1042 determines whether the main power supply 1082 is in a power-down state according to the power supply parameter, it is specifically used to:
  • the main power supply 1082 is in a power-off state.
  • the processor 1042 is further configured to: during recording of the status data or after recording the data, detect whether the main power supply is in a power-on state;
  • the main power supply 1082 when the main power supply 1082 is in the power-on state, the main power supply 1082 is triggered to supply power to the drone.
  • the processor 1042 when the main power supply 1082 is in a power-on state, when obtaining power from the main power supply 1082, the processor 1042 is specifically configured to:
  • the processor 1042 is further configured to: after the data is recorded, control the backup power supply 1084 to stop supplying power to the drone.
  • the state data includes: at least one of power supply parameters of the main power supply 1082, sensor data output by a sensor of the drone, and working states of multiple functional components of the drone.
  • An embodiment of the present invention also provides a computer-readable storage medium.
  • the UAV is provided with a processor.
  • the computer-readable storage medium stores a control program. When the control program is executed by the processor, it is implemented as defined in any of the above embodiments. Control method steps.
  • any process or method description in the flowchart or otherwise described herein can be understood as representing executable instructions including one or more steps for implementing a specific logical function or process Modules, fragments, or parts of the code, and the scope of the preferred embodiment of the present invention includes additional implementations, which may not be in the order shown or discussed, including in a substantially simultaneous manner or in the reverse order according to the functions involved
  • the order to execute the functions should be understood by those skilled in the art to which the embodiments of the present invention belong.
  • a "computer-readable medium” may be any device that may contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
  • computer-readable media include the following: electrical connections (electronic devices) with one or more wires, portable computer cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary Process to obtain the program electronically and then store it in computer memory.
  • each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof.
  • multiple steps or methods may be implemented with software or firmware stored in memory and executed by a suitable instruction execution system.
  • a logic gate circuit for implementing a logic function on a data signal
  • PGA programmable gate arrays
  • FPGA field programmable gate arrays
  • a person of ordinary skill in the art can understand that all or part of the steps carried by the method in the above embodiments can be completed by instructing relevant hardware through a program.
  • the program can be stored in a computer-readable storage medium, and when the program is executed , Including one of the steps of the method embodiment or a combination thereof.
  • each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
  • the storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk.

Abstract

Disclosed are a control method, an unmanned aerial vehicle and a computer-readable storage medium. When a main power source is in a power-down state, a backup power source can be used to supply power to an unmanned aerial vehicle so as to record state data of the unmanned aerial vehicle. The state data can be used for analyzing and positioning a fault of the unmanned aerial vehicle, thereby improving the accuracy and reliability of fault cause analysis when the unmanned aerial vehicle is powered down abnormally, and reducing difficulty in troubleshooting the unmanned aerial vehicle. The control method comprises: when a main power source supplies power to an unmanned aerial vehicle, detecting a power supply parameter of the main power source (S202); according to an operation parameter signal, determining whether the main power source is in a power-down state (S204); and when it is determined that the main power source is in a power-down state, acquiring electricity from a backup power source, and recording state data of the unmanned aerial vehicle (S206), wherein when the main power source is in the power-down state, the backup power source is triggered to supply power to the unmanned aerial vehicle.

Description

控制方法、无人机和计算机可读存储介质Control method, drone and computer readable storage medium 技术领域Technical field
本发明涉及控制技术领域,尤其涉及一种控制方法、一种无人机和一种计算机可读存储介质。The invention relates to the technical field of control, in particular to a control method, a drone and a computer-readable storage medium.
背景技术Background technique
随着无人机技术的发展,无人机广泛应用于军用领域和民用领域,譬如,无人机植物养护培育、无人机航空拍摄和无人机森林火灾监控等等。With the development of drone technology, drones are widely used in military and civil fields, for example, drone plant maintenance and cultivation, drone aerial photography and drone forest fire monitoring, etc.
无人机在飞行的过程中,可能由于各种原因(例如电源短路、烧坏、电源被撞击、供电线路断开等等)使得无人机的电源处于掉电状态进而导致无人机坠机。目前,当出现这种无人机坠机事故时,无法获取无人机坠机时的状态数据,导致工程人员和消费者难以分析无人机的坠机原因。During the flight of the drone, the power of the drone may be powered off due to various reasons (such as short circuit of the power supply, burnout, power supply impact, disconnection of the power supply line, etc.), which may cause the drone to crash. . At present, when such a drone crash occurs, the state data at the time of the drone crash cannot be obtained, which makes it difficult for engineers and consumers to analyze the cause of the drone crash.
发明内容Summary of the invention
本发明的实施例旨在提供了一种控制方法、无人机和计算机可读存储介质,以在电源处于掉电状态时记录无人机的状态数据。The embodiments of the present invention aim to provide a control method, a drone, and a computer-readable storage medium to record the state data of the drone when the power supply is in a power-off state.
为了实现上述目的,本发明的第一方面的技术方案,提高了一种控制方法,包括:在主电源向无人机供电时,检测主电源的供电参数;根据供电参数确定主电源是否处于掉电状态;当确定主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据;其中,当主电源处于掉电状态时,备用电源被触发向无人机供电。In order to achieve the above object, the technical solution of the first aspect of the present invention improves a control method, which includes: detecting the power supply parameters of the main power supply when the main power supply is supplying power to the UAV; Power state; when it is determined that the main power supply is in the power-off state, obtain power from the backup power supply and record the status data of the drone; wherein, when the main power supply is in the power-off state, the backup power supply is triggered to supply power to the drone.
本发明的第二方面的技术方案提供了一种无人机,无人机包括处理器,处理器用于:在主电源向无人机供电时,检测主电源的供电参数;根据供电参数确定主电源是否处于掉电状态;当确定主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据;其中,当主电源处于掉电状态时,备用电源被触发向无人机供电。The technical solution of the second aspect of the present invention provides an unmanned aerial vehicle, the unmanned aerial vehicle including a processor, the processor is used to: when the main power supply to the drone, detect the power supply parameters of the main power supply; Whether the power supply is in the power-off state; when it is determined that the main power supply is in the power-off state, obtain power from the backup power supply and record the status data of the drone; wherein, when the main power supply is in the power-off state, the backup power supply is triggered to the drone powered by.
本发明的第三方面的技术方案,提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,计算机程序被执行时实现如本发明的实施例第一方面提供的控制方法的步骤。The technical solution of the third aspect of the present invention provides a computer-readable storage medium on which a computer program is stored, which is characterized in that when the computer program is executed, the control method as provided in the first aspect of the embodiment of the present invention is implemented A step of.
基于本发明实施例提供的控制方法、无人机、无人机和计算机可读存储介质,通过检测主电源的供电参数,以确定主电源是否处于掉电状态,并且当确定主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据。这样工程人员根据记录的状态数据高效且快速地排查无人机的故障原因,降低了对无人机的故障排查难度。Based on the control method, drone, drone, and computer-readable storage medium provided by the embodiments of the present invention, the power supply parameters of the main power supply are detected to determine whether the main power supply is in a power-off state, and when it is determined that the main power supply is in a power-off state In the state, obtain power from the backup power supply and record the state data of the drone. In this way, engineers can efficiently and quickly troubleshoot the cause of the drone according to the recorded status data, which reduces the difficulty of troubleshooting the drone.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明的实施例中的技术方案,下面将对实施例描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention For those of ordinary skill in the art, without paying creative labor, other drawings can be obtained based on these drawings.
图1示出了本发明的一个实施例的无人机系统的示意图;FIG. 1 shows a schematic diagram of a drone system according to an embodiment of the invention;
图2示出了本发明的一个实施例的控制方法的示意图;2 shows a schematic diagram of a control method according to an embodiment of the invention;
图3示出了本发明的一个实施例的控制方案的示意图;FIG. 3 shows a schematic diagram of a control scheme according to an embodiment of the invention;
图4示出了本发明的另一个实施例的控制方法的示意图;4 shows a schematic diagram of a control method according to another embodiment of the invention;
图5示出了本发明的另一个实施例的控制方法的示意图;5 shows a schematic diagram of a control method according to another embodiment of the invention;
图6示出了本发明的一个实施例的计算机可读存储介质的示意图。FIG. 6 shows a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明的实施例中的附图,对本发明的实施例中的技术方案进行清楚地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described clearly below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
需要说明的是,当组件被称为“固定于”另一个组件,它可以直接在另一个组件上或者也可以存在居中的组件。当一个组件被认为是“连接”另一个组件,它可以是直接连接到另一个组件或者可能同时存在居中组件。It should be noted that when a component is said to be "fixed" to another component, it can be directly on another component or it can also exist in a centered component. When a component is considered to be "connected" to another component, it can be directly connected to another component or there can be centered components 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 the present invention. The terminology used in the description of the present invention herein is for the purpose of describing specific embodiments, and is not intended to limit the present invention. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
下面结合附图,对本发明的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。The following describes some embodiments of the present invention in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and the features in the embodiments can be combined with each other.
如图1所示,无人机系统10可以包括控制终端110和无人机120。其中,无人机120可以单旋翼或者多旋翼无人机,在某些情况中,无人机120可以为固定翼无人机。As shown in FIG. 1, the drone system 10 may include a control terminal 110 and a drone 120. The drone 120 may be a single-rotor or multi-rotor drone. In some cases, the drone 120 may be a fixed-wing drone.
无人机120可以包括动力系统102、控制系统104和机身。其中,当无人机120具体为多旋翼无人机时,机身可以包括中心架以及与中心架连接的一个或多个机臂,一个或多个机臂呈辐射状从中心架延伸出。无人机还可以包括脚架,其中,脚架与机身连接,用于在无人机着陆时起支撑作用。The drone 120 may include a power system 102, a control system 104, and a fuselage. When the drone 120 is specifically a multi-rotor drone, the fuselage may include a center frame and one or more arms connected to the center frame, and the one or more arms extend radially from the center frame. The drone may also include a tripod, where the tripod is connected to the fuselage and used to support the landing of the drone.
动力系统102可以包括一个或多个动力部件1022,动力部件1022用于为无人机120提供飞行动力,该动力使得无人机120能够实现一个或多个自由度的运动。The power system 102 may include one or more power components 1022. The power components 1022 are used to provide flying power for the UAV 120, which enables the UAV 120 to achieve one or more degrees of freedom of movement.
控制系统可以包括处理器1042、存储器1044和传感系统1046。传感系统1046包括一种或者多种类型的传感器,其中,所述传感系统1046可以输出传输传感数据以测量无人机120的状态数据。其中,传感系统1046例如可以包括气压计、陀螺仪、超声传感器、电子罗盘、惯性测量单元、视觉传感器(单目传感器或者双目传感器)、全球导航卫星系统和气压计等传感器中的至少一种。例如,全球导航卫星系统可以是全球定位系统(Global Positioning System,GPS)。The control system may include a processor 1042, a memory 1044, and a sensing system 1046. The sensing system 1046 includes one or more types of sensors, wherein the sensing system 1046 can output and transmit sensing data to measure the state data of the drone 120. The sensing system 1046 may include, for example, at least one of barometer, gyroscope, ultrasonic sensor, electronic compass, inertial measurement unit, visual sensor (monocular sensor or binocular sensor), global navigation satellite system, barometer, etc. Species. For example, the global navigation satellite system may be a global positioning system (Global Positioning System, GPS).
处理器1042用于控制无人机的各种操作。例如,处理器1042可以控制动力部件以实现无人机的移动,再例如,处理器1042可以控制无人机的传感系统1046采集数据。The processor 1042 is used to control various operations of the drone. For example, the processor 1042 may control the power components to realize the movement of the drone, and for another example, the processor 1042 may control the sensor system 1046 of the drone to collect data.
在一些实施例中,传感系统1046可以包括图像采集设备1064,图像采集设备1064例如可以是照相机或摄像机等用于捕获图像的设备,图像 采集设备1064可以与处理器1042通信,并在处理器1042的控制下进行拍摄。In some embodiments, the sensing system 1046 may include an image acquisition device 1064. The image acquisition device 1064 may be a device such as a camera or a video camera for capturing images. The image acquisition device 1064 may communicate with the processor 1042 and Shoot under the control of 1042.
在一些实施例中,无人机120还包括云台106,云台106可以包括电机1062,云台106用于携带图像采集设备1064,处理器1042可以通过电机控制云台106的运动。应理解,云台106可以独立于无人机120,也可以为无人机120的一部分。在一些实施例中,图像采集设备1064可以固定连接在无人机120的机身上。In some embodiments, the drone 120 further includes a gimbal 106, and the gimbal 106 may include a motor 1062. The gimbal 106 is used to carry the image acquisition device 1064, and the processor 1042 may control the motion of the gimbal 106 through the motor. It should be understood that the gimbal 106 may be independent of the drone 120, or may be a part of the drone 120. In some embodiments, the image acquisition device 1064 may be fixedly connected to the body of the drone 120.
无人机120还包括传输设备112,在处理器1042的控制下,传输设备112可以将传感系统1046采集的数据发送到控制终端110。控制终端110可以包括传输设备(未示出),控制终端的传输设备可以与无人机120的传输设备112建立无线通信连接,控制终端的传输设备可以接收传输设备112发送的数据,另外,控制终端110还可以通过自身配置的传输设备向无人机120发送控制指令。The UAV 120 further includes a transmission device 112, and under the control of the processor 1042, the transmission device 112 may send the data collected by the sensing system 1046 to the control terminal 110. The control terminal 110 may include a transmission device (not shown). The transmission device of the control terminal may establish a wireless communication connection with the transmission device 112 of the drone 120. The transmission device of the control terminal may receive the data sent by the transmission device 112. In addition, the control The terminal 110 may also send control instructions to the drone 120 through its own transmission device.
控制终端110可以包括控制器1102和显示设备1104。控制器1102可以控制控制终端的各种操作。例如,控制器1102可以控制传输设备接收无人机120通过传输设备112发送的数据,再例如,控制器1104可以控制显示设备1104显示发送的数据,其中,数据可以包括图像采集设备1064捕捉的环境的图像、姿态信息、位置信息和电量信息等等。The control terminal 110 may include a controller 1102 and a display device 1104. The controller 1102 can control various operations of the control terminal. For example, the controller 1102 can control the transmission device to receive the data sent by the drone 120 through the transmission device 112, and for another example, the controller 1104 can control the display device 1104 to display the transmitted data, where the data can include the environment captured by the image acquisition device 1064 Image, posture information, position information, power information, etc.
另外,无人机120还包括电池系统108,电池系统108可以包括主电源1082和备用电源1084,默认采用主电源1082对无人机120供电,譬如,对动力部件102、传输设备112、云台106、图像采集设备1064等硬件电子器件进行供电。In addition, the drone 120 also includes a battery system 108. The battery system 108 may include a main power supply 1082 and a backup power supply 1084. By default, the main power supply 1082 is used to supply power to the drone 120, for example, the power component 102, the transmission device 112, and the gimbal 106. Hardware electronic devices such as image acquisition equipment 1064 provide power.
可以理解的是,上述任一控制器可以包括一个或多个处理器,其中,一个或多个处理器可以单独地或者协同地工作。It can be understood that any of the above controllers may include one or more processors, where the one or more processors may work individually or cooperatively.
应理解,上述对于无人机120的各组成部分的命名仅是出于标识的目的,并不应理解为对本发明的实施例的限制。It should be understood that the above naming of the components of the drone 120 is for identification purposes only, and should not be construed as limiting the embodiments of the present invention.
结合图1、图2和图3所示,本实施例中的电池系统108主要包括主电源1082和备用电源1084,默认控制系统104通过主电源1082供电实现无人机运行,在主电源1082处于掉电状态时,控制系统104通过备用电源1084 供电以实现续航,即记录无人机的状态数据。Referring to FIGS. 1, 2 and 3, the battery system 108 in this embodiment mainly includes a main power supply 1082 and a backup power supply 1084. The default control system 104 is powered by the main power supply 1082 to realize the operation of the drone. In the power-off state, the control system 104 is powered by the backup power supply 1084 to achieve battery life, that is, to record the status data of the drone.
如图2所示,根据本发明实施例提供的控制方法,具体包括:As shown in FIG. 2, the control method provided according to the embodiment of the present invention specifically includes:
步骤S202,在主电源向无人机供电时,检测主电源的供电参数。In step S202, when the main power supply supplies power to the drone, the power supply parameters of the main power supply are detected.
具体地,所述控制方法的执行主体可以是无人机,所述无人机包括处理器,进一步地,方法的执行主体可以是所述处理器。在无人机正常工作时,由主电源为无人机供电。主电源在对无人机供电的过程中,处理器可以实时地检测主电源的供电参数,进一步地,处理器可以通过自身配置的采集模块(例如ADC模块)来检测主电源的供电状态,在某些情况,处理器也可以通过接收监测主电源的供电状态的传感器输出的传感数据来检测主电源的供电参数。所述供电参数可以是与主电源的供电状态相关的任何参数,例如,所述供电参数可以包括电压、电流、电量、功率、电压的变化率、电流的变化率和电量的变化率中的一种或多种。Specifically, the execution subject of the control method may be a drone, and the drone includes a processor. Further, the execution subject of the method may be the processor. When the drone is working normally, the main power supply provides power to the drone. When the main power supply is supplying power to the UAV, the processor can detect the power supply parameters of the main power supply in real time. Further, the processor can detect the power supply status of the main power supply through its own acquisition module (such as ADC module). In some cases, the processor may also detect the power supply parameters of the main power supply by receiving sensor data output from a sensor that monitors the power supply status of the main power supply. The power supply parameter may be any parameter related to the power supply state of the main power supply, for example, the power supply parameter may include one of voltage, current, power, power, voltage change rate, current change rate, and power change rate One or more.
步骤S204,根据供电参数确定主电源是否处于掉电状态。Step S204: Determine whether the main power supply is in a power-off state according to the power supply parameters.
具体地,如前所述,主电源可以由于各种原因处于掉电状态而不能对无人机进行正常供电,处理器需要实时地确定主电源是否处于掉电状态。进一步地,处理器在获取到主电源的供电参数之后,可以根据主电源的供电参数来确定主电源是否处于掉电状态,即处理器可以根据供电参数来确定主电源能否正常地对无人机进行供电。Specifically, as mentioned above, the main power supply may be in a power-down state due to various reasons and cannot normally supply power to the drone, and the processor needs to determine whether the main power supply is in the power-down state in real time. Further, after acquiring the power supply parameters of the main power supply, the processor can determine whether the main power supply is in a power-off state according to the power supply parameters of the main power supply, that is, the processor can determine whether the main power supply can normally control the unmanned power supply according to the power supply parameters Power supply.
步骤S206,当确定主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据,其中,当主电源处于掉电状态时,备用电源被触发向无人机供电。Step S206, when it is determined that the main power source is in the power-off state, obtain power from the backup power source, and record the state data of the drone, wherein, when the main power source is in the power-off state, the backup power source is triggered to supply power to the drone.
具体地,在主电源向无人机供电时,备用电源不向无人机供电,在某些情况中,当主电源对无人机供电时,主电源可以对备用电源进行充电。当主电源处于掉电状态时,备用电源被触发向无人机进行供电。其中,在某些情况中,无人机中设置触发电路,其中,所述触发电路可以是不同于所述处理器的电路模块,当主电源处于掉电状态时,触发电路可以触发备用电源向无人机供电。在某些情况中,当所述处理器确定主电源处于掉电状态时,处理器可以触发备用电源向无人机供电,例如,处理器可以向备用电源发送触发信号的方式触发备用电源向无人机供电。在主电源对无人 机供电时,所述处理器从主电源获取电力,当通过所述主电源的供电参数确定主电源处于掉电状态时,所述处理器可以从备用电源获取电力,所述处理器利用备用电源提供的电力记录无人机的状态数据。进一步地,所述无人机包括存储器,当所述主电源处于掉电状态时,存储器可以从备用电源获取电力,所述处理器记录无人机的状态数据可以包括:处理器将所述无人机的状态数据记录到所述存储器中。其中,所述无人机的状态数据可以包括任何反应无人机的工作状态的数据,例如,所述状态数据包括:主电源的供电参数、无人机的传感器输出的传感数据、无人机的多个功能部件的工作状态中的至少一种,所述无人机的状态数据可以用于无人机的故障分析。其中,所述无人机的传感器输出的传感数据包括速度、位置、加速度、角速度、高度、飞行轨迹、风速、风向、温度、湿度、姿态、拍摄图像中的一种多种。无人机的功能部件可以包括通讯部件、导航部件、动力部件、散热部件、主电源等等。功能部件的工作状态可以是表征功能部件是否正常工作的信息。Specifically, when the main power supply supplies power to the drone, the backup power supply does not supply power to the drone. In some cases, when the main power supply supplies power to the drone, the main power supply may charge the backup power supply. When the main power supply is in a power-off state, the backup power supply is triggered to supply power to the drone. Among them, in some cases, a trigger circuit is provided in the drone, wherein the trigger circuit may be a circuit module different from the processor, when the main power supply is in a power-off state, the trigger circuit may trigger the backup power supply to no Man-machine power supply. In some cases, when the processor determines that the main power supply is in a power-off state, the processor may trigger the backup power supply to supply power to the drone, for example, the processor may trigger the backup power supply to the non-power supply by sending a trigger signal to the backup power supply. Man-machine power supply. When the main power supply is supplying power to the drone, the processor obtains power from the main power supply. When the main power supply is determined to be in a power-off state through the power supply parameters of the main power supply, the processor can obtain power from the backup power supply. The processor uses the power provided by the backup power source to record the status data of the drone. Further, the drone includes a memory, when the main power supply is in a power-off state, the memory can obtain power from a backup power supply, and the processor recording the state data of the drone may include: The state data of the man-machine is recorded in the memory. The state data of the drone may include any data that reflects the working state of the drone, for example, the state data includes: power supply parameters of the main power supply, sensor data output by the sensor of the drone, unmanned At least one of the working states of the multiple functional components of the aircraft, the state data of the drone can be used for failure analysis of the drone. Among them, the sensor data output by the sensor of the UAV includes one of speed, position, acceleration, angular velocity, altitude, flight trajectory, wind speed, wind direction, temperature, humidity, attitude, and captured image. The functional components of the UAV may include communication components, navigation components, power components, heat dissipation components, main power supply, and so on. The working state of the functional component may be information characterizing whether the functional component is working normally.
基于本发明实施例提供的控制方法,通过检测主电源的供电参数,以确定主电源是否处于掉电状态,并且当确定主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据,这样工程人员可以根据记录的状态数据高效且快速地排查无人机的故障原因,降低了对无人机的故障排查难度。Based on the control method provided by the embodiment of the present invention, the power supply parameters of the main power supply are detected to determine whether the main power supply is in a power-off state, and when it is determined that the main power supply is in a power-off state, the power is obtained from the backup power supply and the drone is recorded State data, so that engineers can efficiently and quickly troubleshoot the cause of the drone according to the recorded state data, reducing the difficulty of troubleshooting the drone.
在一些实施例中,备用电源被触发向无人机的传感器供电,无人机的状态数据包括传感器输出的传感数据,记录无人机的状态数据,包括:记录传感器输出的无人机的传感数据。In some embodiments, the backup power source is triggered to supply power to the sensor of the drone. The state data of the drone includes the sensor data output by the sensor, and the state data of the drone is recorded, including: recording the output of the drone by the sensor. Sensory data.
具体地,当主电源处于掉电状态时,备用电源被触发向无人机的传感器供电,这样在主电源处于掉电状态时,无人机的传感器可以继续正常工作。无人机的传感器输出的传感数据可以反映无人机的工作状态,处理器可以利用备用电源提供电力将传感器输出的传感数据记录下来,这样有利用后期工程人员利用记录下来的传感数据进行故障分析。Specifically, when the main power supply is in the power-off state, the backup power supply is triggered to supply power to the UAV sensor, so that when the main power supply is in the power-off state, the UAV sensor can continue to work normally. The sensor data output by the sensor of the UAV can reflect the working state of the UAV. The processor can use the backup power to provide power to record the sensor data output by the sensor, so that the post-engineering personnel can use the recorded sensor data Perform failure analysis.
在一些实施例中,传感器包括多种不同类型的传感器,记录无人机的状态数据包括:按照预设优先级记录多种不同类型的传感器中每一种类型 的传感器输出的传感数据。In some embodiments, the sensor includes a plurality of different types of sensors, and recording the state data of the drone includes: recording the sensor data output by each type of the sensors of the plurality of different types of sensors according to a preset priority.
具体地,由于不同类型的传感器能够从不同程度反映主电源掉电的原因或者无人机的其他故障,另外,备用电源的存储的电量可能是有限的,可能仅仅只够给一部分传感器供电,如果同时记录多种不同类型的传感器输出的传感数据,可能导致备用电源的电量被快速消耗进而导致传感数据记录不成功。因此,处理器可以为不同类型的传感器设置不同的优先级别,通过按照预设优先级记录多种不同类型的传感器中每一种类型的传感器输出的传感数据,这样不仅可以保证重要的传感器输出的传感数据被记录下来,也有利于降低处理器在记录传感数据时消耗的电量。Specifically, because different types of sensors can reflect the main power supply's power failure or other malfunctions of the drone from different degrees, in addition, the stored power of the backup power supply may be limited, and may only be enough to power some sensors. Simultaneously recording the sensor data output by many different types of sensors may cause the power of the backup power source to be quickly consumed and result in unsuccessful recording of the sensor data. Therefore, the processor can set different priority levels for different types of sensors. By recording the sensor data output by each type of sensor in a variety of different types of sensors according to the preset priority, this can not only ensure important sensor output The sensor data is recorded, which is also helpful to reduce the power consumption of the processor when recording the sensor data.
在一些实施例中,记录无人机的状态数据,包括:记录预设时长的无人机的状态数据。In some embodiments, recording the state data of the drone includes: recording the state data of the drone for a preset duration.
具体地,处理器可以记录预设时长的无人机的状态数据,其中,预设时长可以是给定的,例如10秒、15秒或20秒等等。在某些情况中,所述预设时长可以是根据备用电源的剩余电量确定的,当剩余电量较多时,预设时长可以设置较大,当剩余电量较少时,预设时长可以设置较小。Specifically, the processor may record the state data of the drone with a preset duration, where the preset duration may be given, for example, 10 seconds, 15 seconds, or 20 seconds, and so on. In some cases, the preset duration may be determined according to the remaining power of the backup power supply. When the remaining power is more, the preset duration may be set larger, and when the remaining power is less, the preset duration may be set smaller .
在一些实施例中,备用电源不向无人机的动力部件供电。In some embodiments, the backup power source does not provide power to the power components of the drone.
具体地,备用电源能够存储的电量通常远少于主电源。若备用电源向动力部件供电,动力部件将快速地消耗备用电源的电力,这样可能导致处理器和/或传感器不能从备用电源得到足够的电力,进而导致无人机的状态数据记录失败,因此,为了保证处理器记录的状态数据的完整性,当主电源处于掉电状态时,备用电源不向无人机的动力部件供电。Specifically, the amount of power that the backup power source can store is usually much less than the main power source. If the backup power source supplies power to the power component, the power component will quickly consume the power of the backup power source. This may cause the processor and/or sensor to fail to obtain sufficient power from the backup power source, which may result in the failure of the UAV's status data recording. Therefore, In order to ensure the integrity of the status data recorded by the processor, when the main power supply is in a power-off state, the backup power supply does not supply power to the power components of the drone.
其中,动力部件包括能够为无人机提供飞行动力的部件,例如电机、电调、发动机等等,但不限于此。Among them, the power components include components that can provide flying power for the UAV, such as motors, ESCs, engines, etc., but are not limited thereto.
在一些实施例中,检测主电源的供电参数包括:检测由主电源供电的多个供电回路的供电参数;根据供电参数确定主电源是否处于掉电状态包括:根据多个供电回路的供电参数确定主电源是否处于掉电状态。In some embodiments, detecting the power supply parameters of the main power supply includes: detecting power supply parameters of multiple power supply loops powered by the main power supply; determining whether the main power supply is in a power-off state according to the power supply parameters includes: determining according to the power supply parameters of the multiple power supply loops Whether the main power supply is in a power-off state.
具体地,无人机包括从主电源获取电力的功能部件,其中,功能部件包括多种不同的类型,主电源为功能部件供电时形成多个不同的供电回路。为了准备地确定主电源是否处于掉电状态,处理器可以检测由主电源供电 的多个供电回路的供电参数,并根据多个供电回路的供电参数确定主电源是否处于掉电状态。进一步地,处理器可以对多个供电回路的供电参数进行加权计算、投票计算等方式来确定主电源是否处于掉电状态。通过检测多个供电回路的供电参数来共同地确定主电源是否处于掉电状态,能够进一步地提高检测主电源掉电的准确性和可靠性。Specifically, the unmanned aerial vehicle includes a functional component that obtains power from a main power source, where the functional component includes a plurality of different types, and when the main power source supplies power to the functional component, a plurality of different power supply circuits are formed. In order to determine whether the main power supply is in a power-off state, the processor can detect the power supply parameters of multiple power supply loops powered by the main power supply, and determine whether the main power supply is in a power-off state according to the power supply parameters of the multiple power supply loops. Further, the processor may determine whether the main power supply is in a power-off state by performing weighted calculations and voting calculations on the power supply parameters of multiple power supply loops. By detecting the power supply parameters of multiple power supply loops to jointly determine whether the main power supply is in a power-off state, the accuracy and reliability of detecting the power failure of the main power supply can be further improved.
在一些实施例中,方法还包括:在记录状态数据的过程中或者记录完数据之后,检测主电源是否处于上电状态;当主电源处于上电状态时,从主电源获取电力;其中,当主电源处于上电状态时,主电源被触发为无人机供电。In some embodiments, the method further includes: detecting whether the main power supply is in a power-on state during or after recording status data; when the main power supply is in a power-up state, obtaining power from the main power supply; wherein, when the main power supply When in the power-on state, the main power supply is triggered to power the drone.
具体地,在某些情况中,主电源在处于掉电状态之后,可能由于某种原因,主电源可能重新进入上电状态。处理器在记录状态数据的过程中或者记录完数据之后,检测主电源是否处于上电状态,并当主电源处于上电状态时,处理器从主电源获取电力,以及时恢复主电源对无人机的供电。譬如,无人机在地面发生主电源掉电,可能由于电压波动导致,而在记录地面数据时或完成后,检测主电源是否恢复上电状态,可以继续执行主电源的待机、电池维护和电量均衡等,但不限于此,又如,无人机在空中发生主电源掉电时,如果在检测到主电源上电后,处理器从主电源获取电能,主电源被触发向无人机供电,进而降低了无人机坠毁或丢失的可能性。Specifically, in some cases, after the main power supply is in the power-down state, the main power supply may re-enter the power-up state for some reason. The processor detects whether the main power supply is in the power-on state during the process of recording the status data or after recording the data, and when the main power supply is in the power-on state, the processor obtains power from the main power supply, and restores the main power supply to the drone in time Power supply. For example, if the main power supply of the UAV is powered down on the ground, it may be caused by voltage fluctuations. When or after the ground data is recorded, it is detected whether the main power supply is restored to the power-on state, and the main power supply standby, battery maintenance, and power can be continued. Balance, etc., but not limited to this, as another example, when the main power supply is powered down in the air, if the main power supply is detected, the processor obtains power from the main power supply, and the main power supply is triggered to supply power to the drone. , Which in turn reduces the possibility of the drone crashing or being lost.
下面结合图4和图5对上述具体步骤进行具体说明:The specific steps above are described in detail with reference to FIGS. 4 and 5:
如图4所示,无人机的控制方法包括:步骤S402,在主电源向无人机供电时,检测主电源的供电参数;步骤S404,根据供电参数确定主电源是否掉电(关闭)状态,若是,则执行步骤S406,若否,则执行步骤S402;步骤S406,当主电源处于上电状态且无人机处于空中时,从主电源获取电力,并控制无人机的动力部件运行;步骤S408,记录无人机的状态数据,譬如,同步SD(Secure Digital Memory Card,基于半导体快闪记忆器)卡数据以备份指定部件的飞行记录;步骤S410,在完成飞行数据同步后,根据供电参数再次判断主电源是否仍然掉电(关闭),若是,则执行步骤S412,若否,则执行步骤S402;步骤S412,记录预设时长的无人机的状态数据,并判断是否达到备用电源的最大供电时长,若是,则 执行步骤S414,若否,则执行步骤S408;步骤S414,当记录完数据后,控制备用电源停止向无人机供电。As shown in FIG. 4, the control method of the drone includes: step S402, when the main power supply is supplying power to the drone, detecting the power supply parameters of the main power supply; step S404, determining whether the main power supply is powered off (off) according to the power supply parameters If yes, go to step S406, if no, go to step S402; step S406, when the main power supply is powered on and the drone is in the air, obtain power from the main power supply and control the operation of the power components of the drone; step S408, record the status data of the drone, for example, synchronize SD (Secure Digital Memory) card data to back up the flight records of the specified parts; step S410, after completing the flight data synchronization, according to the power supply parameters Determine again whether the main power supply is still powered off (off). If yes, go to step S412, if not, go to step S402; step S412, record the status data of the unmanned aircraft of the preset duration, and determine whether the maximum backup power supply is reached For the duration of power supply, if it is, step S414 is executed; if not, step S408 is executed; step S414, after the data is recorded, the standby power source is controlled to stop supplying power to the drone.
如图5所示,无人机的控制方法包括:步骤S502,在主电源向无人机供电时,检测主电源的供电参数;步骤S504,根据供电参数确定主电源是否掉电(关闭),若是,则执行步骤S506,若否,则执行步骤S502;步骤S506,当主电源处于上电状态且无人机处于空中时,从主电源获取电力,并控制无人机的动力部件运行;步骤S508,记录无人机的状态数据,譬如,同步SD(Secure Digital Memory Card,基于半导体快闪记忆器)卡数据以备份指定部件在地面的运行记录;步骤S510,在记录状态数据的过程中或者记录完数据之后,检测主电源是否处于上电状态,若是,则执行步骤S512,若否,则执行步骤S516;步骤S512,记录预设时长的无人机的状态数据,并判断是否达到备用电源的最大供电时长,若是,则执行步骤S514,若否,则执行步骤S508;步骤S514,当记录完数据后,控制备用电源停止向无人机供电;步骤S516,复位无人机的飞行控制器,譬如,触发控制器执行软件重置。As shown in FIG. 5, the control method of the drone includes: step S502, when the main power supply is supplying power to the drone, detecting the power supply parameters of the main power supply; step S504, determining whether the main power supply is powered off (off) according to the power supply parameters, If yes, go to step S506, if no, go to step S502; step S506, when the main power supply is powered on and the drone is in the air, obtain power from the main power supply and control the operation of the power components of the drone; step S508 , Record the status data of the drone, for example, synchronize the SD (Secure Digital Memory) card data to back up the operation records of the specified parts on the ground; Step S510, in the process of recording the status data or record After the data is completed, it is detected whether the main power supply is in the power-on state. If yes, step S512 is executed; if not, step S516 is executed; step S512, the status data of the drone with a preset duration is recorded, and it is determined whether the standby power source is reached Maximum power supply duration, if yes, step S514 is executed, if not, step S508 is executed; step S514, after data is recorded, the standby power supply is controlled to stop supplying power to the drone; step S516, reset the drone's flight controller, For example, trigger the controller to perform a software reset.
在一些实施例中,当主电源处于上电状态时,从主电源获取电力包括:当主电源处于上电状态且无人机处于地面时,从主电源获取电力,并复位无人机的飞行控制器;当主电源处于上电状态且无人机处于地面时,从主电源获取电力,并控制无人机的动力部件运行。In some embodiments, when the main power source is in the power-on state, obtaining power from the main power source includes: when the main power source is in the power-up state and the drone is on the ground, obtaining power from the main power source and resetting the drone's flight controller ; When the main power supply is powered on and the drone is on the ground, obtain power from the main power supply and control the operation of the power components of the drone.
具体地,当主电源处于上电状态且无人机处于地面时,处理器从主电源获取电力,并复位无人机的飞行控制器,当主电源处于上电状态且无人机处于地面时,处理器从主电源获取电力,并控制无人机的动力部件运行。由于无人机在地面不存在坠毁的可能性,因此,复位飞行控制器以使无人机重新进入待机状态,使无人机能够随时以复位状态起飞或执行任务,有效地降低了主电源掉电对无人机可靠性的影响。当无人机在空中时,若主电源处于上电状态,主电源被触发向无人机供电,处理器可以从主电源获取电力,所述处理器可以控制无人机的动力部件运行以为无人机提供飞行动力。Specifically, when the main power supply is powered on and the drone is on the ground, the processor obtains power from the main power supply and resets the drone's flight controller. When the main power supply is powered on and the drone is on the ground, the process The device obtains power from the main power source and controls the operation of the power components of the drone. Since there is no possibility of the UAV crashing on the ground, resetting the flight controller to make the UAV re-enter the standby state, enabling the UAV to take off or perform tasks in the reset state at any time, effectively reducing the main power off The impact of electricity on the reliability of drones. When the drone is in the air, if the main power supply is powered on, the main power supply is triggered to supply power to the drone, the processor can obtain power from the main power supply, and the processor can control the power components of the drone to operate Man-machine provides flight power.
在一些实施例中,控制方法还包括:当记录完数据后,控制备用电源 停止向无人机供电。In some embodiments, the control method further includes: after the data is recorded, controlling the backup power source to stop supplying power to the drone.
具体地,无人机在飞行过程中,当主电源处于掉电状态时,无人机极有可能会发生坠机。当处理器利用备用电源提供的电路记录完无人机的状态数据之后控制备用电源停止向无人机供电,这样可以断开备用电源与无人机的电性连接,避免出现无人机在坠机时备用电源还与无人机保持电性连接的情况,这样可以保护无人机上的功能部件。Specifically, during the flight of the drone, when the main power supply is in a power-off state, the drone is likely to crash. After the processor uses the circuit provided by the backup power supply to record the status data of the drone, it controls the backup power supply to stop supplying power to the drone, so that the electrical connection between the backup power supply and the drone can be disconnected to prevent the drone from falling. When the aircraft standby power supply is still electrically connected to the drone, this can protect the functional components on the drone.
如图6所示,本发明实施例还提供一种无人机600,其特征在于,包括:处理器1042、主电源1082和备用电源1084,其中,As shown in FIG. 6, an embodiment of the present invention further provides a drone 600, which includes: a processor 1042, a main power supply 1082, and a backup power supply 1084, where,
所述处理器1042用于:The processor 1042 is used to:
在确定所述主电源1082向无人机供电时,检测所述主电源1082的供电参数;When it is determined that the main power supply 1082 supplies power to the drone, the power supply parameters of the main power supply 1082 are detected;
根据所述供电参数确定所述主电源1082是否处于掉电状态;Determine whether the main power supply 1082 is in a power-down state according to the power supply parameters;
当确定所述主电源1082处于掉电状态时,从备用电源1084获取电力,并记录无人机的状态数据;When it is determined that the main power supply 1082 is in a power-off state, obtain power from the backup power supply 1084, and record the status data of the drone;
其中,当所述主电源1082处于掉电状态时,备用电源1084被触发向所述无人机供电。Wherein, when the main power supply 1082 is in a power-off state, the backup power supply 1084 is triggered to supply power to the drone.
可选地,所述备用电源1084被触发向无人机的传感器供电,所述无人机的状态数据包括所述传感器输出的传感数据,Optionally, the backup power supply 1084 is triggered to supply power to the sensor of the drone, the state data of the drone includes the sensor data output by the sensor,
所述处理器1042记录无人机的状态数据时,具体用于:When the processor 1042 records the status data of the drone, it is specifically used to:
记录所述传感器输出的无人机的传感数据。Record the sensor data of the UAV output by the sensor.
可选地,所述传感器包括多种不同类型的传感器,Optionally, the sensor includes multiple different types of sensors,
所述处理器1042记录无人机的状态数据,具体用于:The processor 1042 records the status data of the drone, which is specifically used for:
按照预设优先级记录所述多种不同类型的传感器中每一种类型的传感器输出的传感数据。The sensor data output by each of the plurality of different types of sensors is recorded according to a preset priority.
可选地,所述处理器1042记录无人机的状态数据时,具体用于:Optionally, when the processor 1042 records the status data of the drone, it is specifically used to:
记录预设时长的无人机的状态数据。Record the status data of the UAV with preset duration.
可选地,所述备用电源1084不向无人机的动力部件供电。Optionally, the backup power supply 1084 does not supply power to the power components of the drone.
可选地,所述处理器1042检测所述主电源1082的供电参数时,具体用于:Optionally, when the processor 1042 detects the power supply parameter of the main power supply 1082, it is specifically used to:
检测由所述主电源1082供电的多个供电回路的供电参数;Detecting power supply parameters of multiple power supply loops powered by the main power supply 1082;
所述处理器1042根据所述供电参数确定所述主电源1082是否处于掉电状态时,具体用于:When the processor 1042 determines whether the main power supply 1082 is in a power-down state according to the power supply parameter, it is specifically used to:
根据所述多个供电回路的供电参数确定所述主电源1082是否处于掉电状态。According to the power supply parameters of the multiple power supply circuits, it is determined whether the main power supply 1082 is in a power-off state.
可选地,所述处理器1042还用于:在记录所述状态数据的过程中或者记录完所述数据之后,检测所述主电源是否处于上电状态;Optionally, the processor 1042 is further configured to: during recording of the status data or after recording the data, detect whether the main power supply is in a power-on state;
当所述主电源1082处于上电状态时,从所述主电源1082获取电力;When the main power supply 1082 is in a power-on state, obtain power from the main power supply 1082;
其中,当所述主电源1082处于上电状态时,所述主电源1082被触发为无人机供电。Wherein, when the main power supply 1082 is in the power-on state, the main power supply 1082 is triggered to supply power to the drone.
可选地,当所述主电源1082处于上电状态时,从所述主电源1082获取电力时,所述处理器1042具体用于:Optionally, when the main power supply 1082 is in a power-on state, when obtaining power from the main power supply 1082, the processor 1042 is specifically configured to:
当所述主电源1082处于上电状态且所述无人机处于地面时,从所述主电源1082获取电力,并复位无人机的飞行控制器;When the main power supply 1082 is in the power-on state and the drone is on the ground, obtain power from the main power supply 1082 and reset the flight controller of the drone;
当所述主电源1082处于上电状态且所述无人机处于空中时,从所述主电源1082获取电力,并控制所述无人机的动力部件运行。When the main power supply 1082 is in the power-on state and the drone is in the air, power is obtained from the main power supply 1082 and the power components of the drone are controlled to operate.
可选地,所述处理器1042还用于:当记录完数据后,控制所述备用电源1084停止向无人机供电。Optionally, the processor 1042 is further configured to: after the data is recorded, control the backup power supply 1084 to stop supplying power to the drone.
可选地,所述状态数据包括:主电源1082的供电参数、无人机的传感器输出的传感数据、无人机的多个功能部件的工作状态中的至少一种。Optionally, the state data includes: at least one of power supply parameters of the main power supply 1082, sensor data output by a sensor of the drone, and working states of multiple functional components of the drone.
本发明的实施例还提供了一种计算机可读存储介质,无人机上设有处理器,计算机可读存储介质中存储有控制程序,控制程序被处理器执行时实现如上任一实施例限定的控制方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium. The UAV is provided with a processor. The computer-readable storage medium stores a control program. When the control program is executed by the processor, it is implemented as defined in any of the above embodiments. Control method steps.
进一步地,可以理解的是,流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本发明的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本发明的实施例所属技术领域的技术人员所理解。Further, it can be understood that any process or method description in the flowchart or otherwise described herein can be understood as representing executable instructions including one or more steps for implementing a specific logical function or process Modules, fragments, or parts of the code, and the scope of the preferred embodiment of the present invention includes additional implementations, which may not be in the order shown or discussed, including in a substantially simultaneous manner or in the reverse order according to the functions involved The order to execute the functions should be understood by those skilled in the art to which the embodiments of the present invention belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowchart or otherwise described herein, for example, can be regarded as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices, or equipment (such as computer-based systems, systems including processors, or other systems that can fetch and execute instructions from instruction execution systems, devices, or equipment) Or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that may contain, store, communicate, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples of computer-readable media (non-exhaustive list) include the following: electrical connections (electronic devices) with one or more wires, portable computer cartridges (magnetic devices), random access memory (RAM), Read only memory (ROM), erasable and editable read only memory (EPROM or flash memory), fiber optic devices, and portable compact disk read only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, because, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary Process to obtain the program electronically and then store it in computer memory.
应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that each part of the present invention may be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods may be implemented with software or firmware stored in memory and executed by a suitable instruction execution system. For example, if it is implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: a logic gate circuit for implementing a logic function on a data signal Discrete logic circuits, dedicated integrated circuits with appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。A person of ordinary skill in the art can understand that all or part of the steps carried by the method in the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium, and when the program is executed , Including one of the steps of the method embodiment or a combination thereof.
此外,在本发明各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软 件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk.
以上仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims (21)

  1. 一种控制方法,应用于无人机,其中,所述无人机包括主电源和备用电源,其特征在于,包括:A control method applied to a drone, wherein the drone includes a main power supply and a backup power supply, and is characterized by including:
    在所述主电源向无人机供电时,检测所述主电源的供电参数;When the main power supply supplies power to the drone, the power supply parameters of the main power supply are detected;
    根据所述供电参数确定所述主电源是否处于掉电状态;Determine whether the main power supply is in a power-off state according to the power supply parameter;
    当确定所述主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据;When it is determined that the main power supply is in a power-off state, obtain power from the backup power supply, and record the status data of the drone;
    其中,当所述主电源处于掉电状态时,备用电源被触发向所述无人机供电。Wherein, when the main power supply is in a power-off state, the backup power supply is triggered to supply power to the drone.
  2. 根据权利要求1所述的方法,其特征在于,所述备用电源被触发向无人机的传感器供电,所述无人机的状态数据包括所述传感器输出的传感数据,The method according to claim 1, wherein the backup power source is triggered to supply power to the sensor of the drone, and the state data of the drone includes sensor data output by the sensor,
    所述记录无人机的状态数据,包括:The recording status data of the drone includes:
    记录所述传感器输出的无人机的传感数据。Record the sensor data of the UAV output by the sensor.
  3. 根据权利要求2所述的方法,其特征在于,所述传感器包括多种不同类型的传感器,The method according to claim 2, wherein the sensor includes a plurality of different types of sensors,
    所述记录无人机的状态数据包括:The recorded status data of the drone includes:
    按照预设优先级记录所述多种不同类型的传感器中每一种类型的传感器输出的传感数据。The sensor data output by each of the plurality of different types of sensors is recorded according to a preset priority.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,The method according to any one of claims 1 to 3, characterized in that
    所述记录无人机的状态数据,包括:The recording status data of the drone includes:
    记录预设时长的无人机的状态数据。Record the status data of the UAV with preset duration.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述备用电源不向无人机的动力部件供电。The method according to any one of claims 1 to 4, wherein the backup power source does not supply power to the power components of the drone.
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,The method according to any one of claims 1 to 5, characterized in that
    所述检测所述主电源的供电参数包括:The detecting the power supply parameters of the main power supply includes:
    检测由所述主电源供电的多个供电回路的供电参数;Detecting power supply parameters of multiple power supply loops powered by the main power supply;
    所述根据所述供电参数确定所述主电源是否处于掉电状态包括:The determining whether the main power supply is in a power-off state according to the power supply parameters includes:
    根据所述多个供电回路的供电参数确定所述主电源是否处于掉电状态。It is determined whether the main power supply is in a power-off state according to power supply parameters of the multiple power supply loops.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 6, wherein the method further comprises:
    在记录所述状态数据的过程中或者记录完所述数据之后,检测所述主电源是否处于上电状态;During the process of recording the status data or after recording the data, detecting whether the main power supply is in a power-on state;
    当所述主电源处于上电状态时,从所述主电源获取电力;When the main power supply is in a power-on state, obtain power from the main power supply;
    其中,当所述主电源处于上电状态时,所述主电源被触发为无人机供电。Wherein, when the main power supply is in the power-on state, the main power supply is triggered to supply power to the drone.
  8. 根据权利要求7所述的方法,其特征在于,所述当所述主电源处于上电状态时,从所述主电源获取电力包括:The method according to claim 7, wherein the obtaining power from the main power source when the main power source is in a power-up state includes:
    当所述主电源处于上电状态且所述无人机处于地面时,从所述主电源获取电力,并复位无人机的飞行控制器;When the main power supply is powered on and the drone is on the ground, obtain power from the main power supply and reset the flight controller of the drone;
    当所述主电源处于上电状态且所述无人机处于空中时,从所述主电源获取电力,并控制所述无人机的动力部件运行。When the main power supply is in the power-on state and the drone is in the air, power is obtained from the main power supply, and the power components of the drone are controlled to operate.
  9. 根据权利要求1至8中任一项所述的方法,所述方法还包括:当记录完数据后,控制所述备用电源停止向无人机供电。The method according to any one of claims 1 to 8, further comprising: after the data is recorded, controlling the standby power source to stop supplying power to the drone.
  10. 根据权利要求1至9中任一项所述的方法,其特征在于,所述状态数据包括:主电源的供电参数、无人机的传感器输出的传感数据、无人机的多个功能部件的工作状态中的至少一种。The method according to any one of claims 1 to 9, wherein the status data includes: power supply parameters of the main power supply, sensor data output by the sensor of the drone, and multiple functional components of the drone At least one of the working states.
  11. 一种无人机,其特征在于,包括:处理器、主电源和备用电源,其中,A drone is characterized by comprising: a processor, a main power supply and a backup power supply, wherein,
    所述处理器用于:The processor is used for:
    在确定所述主电源向无人机供电时,检测所述主电源的供电参数;When determining that the main power supply supplies power to the drone, detect the power supply parameters of the main power supply;
    根据所述供电参数确定所述主电源是否处于掉电状态;Determine whether the main power supply is in a power-off state according to the power supply parameter;
    当确定所述主电源处于掉电状态时,从备用电源获取电力,并记录无人机的状态数据;When it is determined that the main power supply is in a power-off state, obtain power from the backup power supply, and record the status data of the drone;
    其中,当所述主电源处于掉电状态时,备用电源被触发向所述无人机供电。Wherein, when the main power supply is in a power-off state, the backup power supply is triggered to supply power to the drone.
  12. 根据权利要求11所述的无人机,其特征在于,所述备用电源被 触发向无人机的传感器供电,所述无人机的状态数据包括所述传感器输出的传感数据,The drone according to claim 11, wherein the backup power source is triggered to supply power to the sensor of the drone, and the state data of the drone includes the sensor data output by the sensor,
    所述处理器记录无人机的状态数据时,具体用于:When the processor records the status data of the drone, it is specifically used to:
    记录所述传感器输出的无人机的传感数据。Record the sensor data of the UAV output by the sensor.
  13. 根据权利要求12所述的无人机,其特征在于,所述传感器包括多种不同类型的传感器,The unmanned aerial vehicle according to claim 12, characterized in that the sensor includes a plurality of different types of sensors,
    所述处理器记录无人机的状态数据,具体用于:The processor records the status data of the drone, which is specifically used for:
    按照预设优先级记录所述多种不同类型的传感器中每一种类型的传感器输出的传感数据。The sensor data output by each of the plurality of different types of sensors is recorded according to a preset priority.
  14. 根据权利要求11至13中任一项所述的无人机,其特征在于,The drone according to any one of claims 11 to 13, characterized in that
    所述处理器记录无人机的状态数据时,具体用于:When the processor records the status data of the drone, it is specifically used to:
    记录预设时长的无人机的状态数据。Record the status data of the UAV with preset duration.
  15. 根据权利要求11至14中任一项所述的无人机,其特征在于,The drone according to any one of claims 11 to 14, characterized in that
    所述备用电源不向无人机的动力部件供电。The standby power supply does not supply power to the power components of the UAV.
  16. 根据权利要求11至15中任一项所述的无人机,其特征在于,The drone according to any one of claims 11 to 15, characterized in that
    所述处理器检测所述主电源的供电参数时,具体用于:When the processor detects the power supply parameter of the main power supply, it is specifically used to:
    检测由所述主电源供电的多个供电回路的供电参数;Detecting power supply parameters of multiple power supply loops powered by the main power supply;
    所述处理器根据所述供电参数确定所述主电源是否处于掉电状态时,具体用于:When the processor determines whether the main power supply is in a power-off state according to the power supply parameter, it is specifically used to:
    根据所述多个供电回路的供电参数确定所述主电源是否处于掉电状态。It is determined whether the main power supply is in a power-off state according to power supply parameters of the multiple power supply loops.
  17. 根据权利要求11至16中任一项所述的无人机,其特征在于,The drone according to any one of claims 11 to 16, wherein
    所述处理器还用于:在记录所述状态数据的过程中或者记录完所述数据之后,检测所述主电源是否处于上电状态;The processor is further configured to detect whether the main power supply is in a power-on state during the process of recording the status data or after recording the data;
    当所述主电源处于上电状态时,从所述主电源获取电力;When the main power supply is in a power-on state, obtain power from the main power supply;
    其中,当所述主电源处于上电状态时,所述主电源被触发为无人机供电。Wherein, when the main power supply is in the power-on state, the main power supply is triggered to supply power to the drone.
  18. 根据权利要求17所述的无人机,其特征在于,The UAV according to claim 17, characterized in that
    当所述主电源处于上电状态时,从所述主电源获取电力时,所述处理器具体用于:When the main power supply is in the power-on state, when the power is obtained from the main power supply, the processor is specifically used to:
    当所述主电源处于上电状态且所述无人机处于地面时,从所述主电源获取电力,并复位无人机的飞行控制器;When the main power supply is powered on and the drone is on the ground, obtain power from the main power supply and reset the flight controller of the drone;
    当所述主电源处于上电状态且所述无人机处于空中时,从所述主电源获取电力,并控制所述无人机的动力部件运行。When the main power supply is in the power-on state and the drone is in the air, power is obtained from the main power supply, and the power components of the drone are controlled to operate.
  19. 根据权利要求11至18中任一项所述的无人机,所述处理器还用于:当记录完数据后,控制所述备用电源停止向无人机供电。The drone according to any one of claims 11 to 18, the processor is further configured to: after the data is recorded, control the standby power source to stop supplying power to the drone.
  20. 根据权利要求11至19中任一项所述的无人机,其特征在于,所述状态数据包括:主电源的供电参数、无人机的传感器输出的传感数据、无人机的多个功能部件的工作状态中的至少一种。The drone according to any one of claims 11 to 19, wherein the state data includes: power supply parameters of the main power supply, sensor data output by the sensor of the drone, and multiple At least one of the working states of the functional component.
  21. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被执行时,实现如权利要求1至10中任一项所述的控制方法的步骤。A computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed, the steps of the control method according to any one of claims 1 to 10 are realized.
PCT/CN2018/118728 2018-11-30 2018-11-30 Control method, unmanned aerial vehicle and computer-readable storage medium WO2020107465A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880042068.2A CN110832737A (en) 2018-11-30 2018-11-30 Control method, unmanned aerial vehicle and computer-readable storage medium
PCT/CN2018/118728 WO2020107465A1 (en) 2018-11-30 2018-11-30 Control method, unmanned aerial vehicle and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/118728 WO2020107465A1 (en) 2018-11-30 2018-11-30 Control method, unmanned aerial vehicle and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2020107465A1 true WO2020107465A1 (en) 2020-06-04

Family

ID=69547509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/118728 WO2020107465A1 (en) 2018-11-30 2018-11-30 Control method, unmanned aerial vehicle and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN110832737A (en)
WO (1) WO2020107465A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116280230B (en) * 2023-03-17 2024-02-23 昆山亿飞航空智能科技有限公司 Continuous energy protection device for power output interruption of unmanned aerial vehicle

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102738890A (en) * 2012-06-18 2012-10-17 浙江大学 Power supply system of remote sensing platform of unmanned plane
CN204947710U (en) * 2015-08-24 2016-01-06 深圳市诺亚星辰科技开发有限公司 Unmanned plane power-off landing-gear
US20160039300A1 (en) * 2014-08-08 2016-02-11 SZ DJI Technology Co., Ltd Systems and methods for uav battery power backup
CN106716776A (en) * 2016-02-26 2017-05-24 深圳市大疆创新科技有限公司 Unmanned aerial vehicle, and power supply system, method and device thereof
CN107305393A (en) * 2016-04-20 2017-10-31 比亚迪股份有限公司 Unmanned plane and its control method
CN107623374A (en) * 2016-07-14 2018-01-23 深圳光启空间技术有限公司 Redundant power and its method of supplying power to and device for UAS
CN108306410A (en) * 2017-12-22 2018-07-20 成都才智圣有科技有限责任公司 Unmanned plane powers off landing-gear
CN207851538U (en) * 2018-02-07 2018-09-11 河北卓蓝科技有限公司 Unmanned Aerial Vehicle Data acquires and return device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440211B (en) * 2013-07-28 2016-04-20 浙江大学 Unmanned plane during flying datalogger and detection of power loss and RAM data guard method
CN104803002A (en) * 2014-01-23 2015-07-29 桂林鑫鹰电子科技有限公司 Unmanned aerial vehicle redundant power supply device
CN205864058U (en) * 2016-07-14 2017-01-04 深圳光启空间技术有限公司 Redundant power for UAS
CN106300638B (en) * 2016-08-30 2019-11-12 株洲中车时代电气股份有限公司 A kind of low-voltage power down overrun control and control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102738890A (en) * 2012-06-18 2012-10-17 浙江大学 Power supply system of remote sensing platform of unmanned plane
US20160039300A1 (en) * 2014-08-08 2016-02-11 SZ DJI Technology Co., Ltd Systems and methods for uav battery power backup
CN204947710U (en) * 2015-08-24 2016-01-06 深圳市诺亚星辰科技开发有限公司 Unmanned plane power-off landing-gear
CN106716776A (en) * 2016-02-26 2017-05-24 深圳市大疆创新科技有限公司 Unmanned aerial vehicle, and power supply system, method and device thereof
CN107305393A (en) * 2016-04-20 2017-10-31 比亚迪股份有限公司 Unmanned plane and its control method
CN107623374A (en) * 2016-07-14 2018-01-23 深圳光启空间技术有限公司 Redundant power and its method of supplying power to and device for UAS
CN108306410A (en) * 2017-12-22 2018-07-20 成都才智圣有科技有限责任公司 Unmanned plane powers off landing-gear
CN207851538U (en) * 2018-02-07 2018-09-11 河北卓蓝科技有限公司 Unmanned Aerial Vehicle Data acquires and return device

Also Published As

Publication number Publication date
CN110832737A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110027709B (en) Automatic unmanned aerial vehicle system
US20180229842A1 (en) Systems and methods for execution of recovery actions on an unmanned aerial vehicle
WO2018058672A1 (en) Control method and device for unmanned aerial vehicle, and unmanned aerial vehicle
WO2020143677A1 (en) Flight control method and flight control system
CN108780321B (en) Method, device, system, and computer-readable storage medium for device pose adjustment
EP3635950B1 (en) Imaging device, camera-equipped drone, and mode control method, and program
WO2017185363A1 (en) Method, apparatus, and system for controlling unmanned aerial vehicle
WO2019061159A1 (en) Method and device for locating faulty photovoltaic panel, and unmanned aerial vehicle
US20230419843A1 (en) Unmanned aerial vehicle dispatching method, server, base station, system, and readable storage medium
WO2019227287A1 (en) Data processing method and device for unmanned aerial vehicle
WO2021088683A1 (en) Method for adjusting self-discharge cycle of battery, and unmanned aerial vehicle
KR20210034266A (en) Unmanned aerial vehicle and method to perform diagnostic flight before mission flying
US11575832B2 (en) Imaging device, camera-mounted drone, mode control method, and program
CN113260939A (en) Unmanned aerial vehicle control method, terminal device, unmanned aerial vehicle and storage medium
JP2019028712A (en) Guidance method, guidance device, and guidance system of flying body
US11816472B2 (en) Unmanned aerial vehicle updater
WO2019227330A1 (en) Emulation method and device for unmanned aerial vehicle
JP2020140726A (en) Flight management server of unmanned flying object and flight management system
WO2020107465A1 (en) Control method, unmanned aerial vehicle and computer-readable storage medium
JP2023164746A (en) Work plan making system
Wong et al. Low cost unmanned aerial vehicle monitoring using smart phone technology
KR102561295B1 (en) Drone battery replacement support method for seamless power supply and device therefor
WO2020118500A1 (en) Control method, control system, computer readable storage medium, and flyable device
WO2021087724A1 (en) Control method, control device, movable platform, and control system
McClure A Low-Cost Search-and-Rescue Drone Platform

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: 18941785

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: 18941785

Country of ref document: EP

Kind code of ref document: A1