WO2022183659A1 - Switching circuit, switching circuit control method, and aircraft - Google Patents

Switching circuit, switching circuit control method, and aircraft Download PDF

Info

Publication number
WO2022183659A1
WO2022183659A1 PCT/CN2021/106103 CN2021106103W WO2022183659A1 WO 2022183659 A1 WO2022183659 A1 WO 2022183659A1 CN 2021106103 W CN2021106103 W CN 2021106103W WO 2022183659 A1 WO2022183659 A1 WO 2022183659A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
aircraft
circuit
electrically connected
flight
Prior art date
Application number
PCT/CN2021/106103
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
Priority claimed from CN202110232158.1A external-priority patent/CN112904706A/en
Priority claimed from CN202120456044.0U external-priority patent/CN214751375U/en
Application filed by 广东汇天航空航天科技有限公司 filed Critical 广东汇天航空航天科技有限公司
Publication of WO2022183659A1 publication Critical patent/WO2022183659A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems

Definitions

  • the present invention relates to the technical field of integrated circuits, and more particularly, to a switch circuit, a method for controlling the switch circuit, and an aircraft.
  • the current aircraft are basically powered by electricity. If the aircraft is powered off when it is working in the air, the consequences will be disastrous. However, the current aircraft cannot guarantee that the aircraft will not be powered off when it is in flight, resulting in There are safety hazards when the aircraft is working.
  • the present invention proposes a switch circuit, a method for controlling the switch circuit, and an aircraft to solve or partially solve the above problems.
  • an embodiment of the present invention provides a switch circuit, which is applied to an aircraft, and the switch circuit includes a flight state detection circuit, a power switch, a safety switch, and a switch control circuit.
  • the flight state detection circuit is used to detect whether the aircraft is in flight state
  • the power switch is electrically connected to the power supply of the aircraft
  • the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft, respectively
  • the switch control circuit is respectively connected to the flight state detection circuit, the power switch and the The safety switch is electrically connected for keeping the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply and the load are always connected.
  • an embodiment of the present invention provides a switch circuit control method.
  • the switch circuit control method is applied to the switch circuit of the first aspect.
  • the switch circuit control method includes: a flight state detection circuit detects whether the aircraft is in a flight state; a switch control circuit When the aircraft is in flight state, keep the safety switch closed, so that when the aircraft is in flight state, the power supply is connected to the load.
  • an embodiment of the present invention provides an aircraft, where the aircraft includes a memory and a processor, where the processor is configured to execute the method of the first aspect.
  • the switch circuit, the switch circuit control method and the aircraft provided by the embodiments of the present invention are composed of a flight state detection circuit, a power switch, a safety switch and a switch control circuit, wherein the flight state detection circuit is used to detect whether the aircraft is in a flight state , the power switch is electrically connected to the power supply of the aircraft; the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft; the switch control circuit is electrically connected to the flight state detection circuit, the power switch and the safety switch, respectively, for when the aircraft is in the flight state, Keep the safety switch closed, so that when the aircraft is in flight, the power supply and the load are always connected, so as to ensure that the power supply can always supply power to the load when the aircraft is in flight, avoiding the situation of load power failure, and effectively improving the aircraft's working time. security.
  • FIG. 1 shows a schematic structural diagram of a switch circuit provided according to an embodiment of the present invention.
  • FIG. 2 shows a schematic structural diagram of a switch circuit provided according to another embodiment of the present invention.
  • FIG. 3 shows a schematic structural diagram of a switch control circuit provided according to an embodiment of the present invention.
  • FIG. 4 shows a schematic structural diagram of a switch control circuit provided according to another embodiment of the present invention.
  • FIG. 5 shows a schematic structural diagram of a switch control circuit provided according to yet another embodiment of the present invention.
  • Fig. 6 shows a schematic structural diagram of a switch control circuit provided according to still another embodiment of the present invention.
  • FIG. 7 shows a flowchart of a method for controlling a switch circuit according to an embodiment of the present invention.
  • FIG. 8 shows a flowchart of the method S120 in the switch circuit control method provided in FIG. 7 according to the present invention.
  • FIG. 9 shows a flowchart of a method for controlling a switch circuit according to another embodiment of the present invention.
  • FIG. 10 shows a functional block diagram of a high-switch circuit control device provided by an embodiment of the present invention.
  • FIG. 11 shows a structural block diagram of an aircraft provided by an embodiment of the present invention.
  • FIG. 12 shows a storage medium for storing or carrying a program code for implementing a switching circuit control method according to an embodiment of the present invention according to an embodiment of the present invention.
  • aircraft technology has been widely used in various fields, such as unmanned aerial vehicles used for aerial photography in daily life, aircraft used for sowing seeds from the air in the agricultural field, Human aircraft, etc.
  • Most of these various aircrafts are driven by electricity, which means that the stable power supply of the power supply is the guarantee for the normal operation of the aircraft. If the aircraft is powered off in the air, it will directly crash. It may cause serious safety accident.
  • a switch circuit, a switch circuit control method, and an aircraft in the embodiments of the present invention are proposed.
  • the power supply of the aircraft and the load of the aircraft can be kept in constant communication, thereby ensuring that when the aircraft is in the flight state, The power supply can always supply power to the load, avoiding the situation of load power failure, and effectively improving the safety of the aircraft during operation.
  • FIG. 1 shows a schematic structural diagram of a switch circuit provided by an embodiment of the present invention.
  • the switch circuit 100 can be applied to an aircraft, which includes but is not limited to a multi-rotor aircraft, a jet aircraft, and the like.
  • the switch circuit 100 may include: a flight state detection circuit 110, a power switch 120, a safety switch 130, and a switch control circuit 140, wherein: the flight state detection circuit 110 is used to detect whether the aircraft is in a flight state; the power switch 120 and the aircraft's The power supply 210 is electrically connected; the safety switch 130 is electrically connected to the power supply 210 of the aircraft and the load 220 of the aircraft; the switch control circuit 140 is electrically connected to the flight state detection circuit 110 , the power switch 120 and the safety switch 130 respectively, and is used when the aircraft When in the flying state, keep the safety switch 130 closed, so that when the aircraft is in the flying state, the power supply 210 and the load 220 are always connected.
  • the flight state detection circuit 110 is used to detect whether the aircraft is in a flight state
  • the power supply 210 is electrically connected
  • the safety switch 130 is electrically connected to the power supply 210 of the aircraft and the load 220 of the aircraft
  • the switch control circuit 140 is electrical
  • the power supply 210 of the aircraft may be installed on the aircraft; it may not be installed on the aircraft. When the power supply 210 is not installed on the aircraft, the power supply 210 is connected to the aircraft through a line. Alternatively, the power source 210 of the aircraft may be a battery pack. The power supply 210 of the aircraft is mainly used to supply power to the load 220 of the aircraft, provide the flight power of the aircraft, and make various functions of the aircraft work normally.
  • the load 220 of the aircraft may be a power unit of the aircraft. Taking a multi-rotor aircraft as an example, the load 220 may be a motor of the multi-rotor aircraft. devices, communication devices, etc.
  • the switch control circuit 140 can also be used to control the opening and closing of the safety switch 130 according to the state of the power switch 120 when the aircraft is not in flight, so as to disconnect or connect the power supply 210 and the load 220 of the aircraft.
  • the switch 120 and the safety switch 130 of the aircraft are both turned off. At this time, there is no communication between the power supply 210 and the load 220 of the aircraft, and the aircraft is not working and is located on the ground. Not in flight either.
  • the power switch 120 When the aircraft receives the turn-on command, the power switch 120 is closed. If the power switch 120 is closed and the flight state detection circuit 110 detects that the aircraft is not in the flight state, the switch control circuit 140 controls the safety switch 130 to close. At this time, the power supply 210 of the aircraft can communicate with the load 220 of the aircraft through the closed safety switch 130 , the aircraft starts to work.
  • the switch control circuit 140 keeps the safety switch 130 closed, so that when the aircraft is in the flight state, the power supply 210 is always connected to the load 220. At this time, no matter whether the power switch 120 is in the closed state or the open state, it will not affect the working state of the safety switch 130, and the safety switch 130 will always be in the closed state, so as to prevent the user from accidentally touching the aircraft when the aircraft is in the flying state. Turning off the power switch 120 results in a situation in which the aircraft is powered off.
  • the flight state detection circuit 110 detects that the aircraft is not in the flight state, and the switch control circuit 140 can restore the function of the power switch 120. At this time, if the power switch 120 is disconnected, the switch control circuit 140 Then, the safety switch 130 is controlled to be turned off, thereby disconnecting the communication between the power source 210 and the load 220, and the aircraft stops working.
  • the switch circuit 100 is composed of a flight state detection circuit 110, a power switch 120, a safety switch 130 and a switch control circuit 140, wherein the flight state detection circuit 110 is used to detect whether the aircraft is in a flight state, and the power supply
  • the switch 120 is electrically connected to the power supply 210 of the aircraft
  • the safety switch 130 is electrically connected to the power supply 210 of the aircraft and the load 220 of the aircraft
  • the switch control circuit 140 is electrically connected to the flight state detection circuit 110, the power switch 120 and the safety switch 130, respectively, for When the aircraft is in the flight state, keep the safety switch 130 closed, so that the power source 210 is connected to the load 220 when the aircraft is in the flight state.
  • the switch control circuit 140 can be used when the aircraft is not in the In the flight state, the state of the safety switch 130 is controlled according to the state of the power switch 120, so as to safely turn on and off the aircraft; it is also possible to keep the safety switch 130 closed when the aircraft is in the flight state, that is, the power switch 120 is closed.
  • the state does not affect the state of the safety switch 130, thereby avoiding the situation that the load 220 is powered off due to the user's mistaken touch on the power switch 120 when the aircraft is in flight, effectively improving the safety of the aircraft during operation.
  • the flight state detection circuit 110 may include: a ranging module 111 and a flight control module 112, wherein the ranging module 111 is used to detect the distance between the aircraft and the ground;
  • the distance module 111 is electrically connected to the switch control circuit 140 for determining whether the aircraft is in a flying state according to the distance between the aircraft and the ground, and generating different signals according to whether the aircraft is in a flying state, and outputting the signal to the switch control circuit 140 .
  • the ranging module may include one or more combinations of ranging sensors such as ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and lidar ranging sensors.
  • ranging sensors such as ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and lidar ranging sensors.
  • the ranging module can collect the distance between the aircraft and the ground in real time to obtain distance information.
  • the flight control module 112 receives the distance information, and determines whether the distance information exceeds the distance threshold. If the distance information exceeds the distance threshold, it is determined that the aircraft is in a flying state. If the distance does not exceed the distance threshold, it is determined that the aircraft is not in a flying state.
  • the flight control module 112 determines that the aircraft is in the flight state, it can output flight information (eg, a low level) that is used to indicate that the aircraft is in the flight state.
  • the switch control circuit 140 receives the flight information, it can adjust the Safety switch 130 controls.
  • the distance threshold can be used to determine whether the aircraft is in the air or on the ground or close to the ground. Generally, when the aircraft is in the air, it is in the flying state, and when it is on the ground or close to the ground, it is not in the flying state, so it can be effectively used. , Accurately determine whether the aircraft is in flight state. As an example, for example, if the distance threshold is 20 cm, if the distance information is 100 cm, it can be determined that the aircraft is in a flying state, and the flight control module 112 can output flight information. If the distance information is 10cm, it can be determined that the aircraft is not in a flying state.
  • the flight state detection circuit 110 is formed by the ranging module and the flight control module 112, so that whether the aircraft is in the flight state can be determined according to the distance between the aircraft and the ground collected by the ranging module 111, which improves the Accuracy and efficiency of flight status judgment.
  • the flight state detection circuit 110 may include a communication module and a flight control module 112 .
  • the communication module is used for receiving flight state control instructions for the aircraft; the flight control module 112 is electrically connected to the communication module and the switch control circuit 140 respectively, and is used to determine whether the aircraft is in flight state according to the flight state control instructions.
  • the communication module may include one or more combinations of communication modules such as a 4G communication module, a 5G communication module, and a Bluetooth communication module.
  • the flight state control command may be a control command for controlling the flight of the aircraft (eg, control commands for controlling the aircraft to ascend, descend, turn, accelerate, decelerate, etc.).
  • the user can send the flight state control command to the aircraft through the control terminal to make the aircraft enter the flight state. Therefore, if the flight control module receives the flight state control command through the communication module, the flight state control command can be combined with the flight state control command. Specify the flight state control command for matching. If it matches, it can be determined that the aircraft is in flight state.
  • the flight state control command when determining whether the flight state control command matches the designated flight state control command, it can be determined whether the flight state control command includes the designated flight state control command, and if so, then determine the flight state control command and the designated flight state control command. match.
  • the designated flight state control command includes a first control command and a second control command
  • the flight state control command received by the flight control module includes at least one of the first control command and the second control command
  • the specified flight state control instruction includes the first control instruction and the second control instruction
  • the flight state control instruction received by the flight control module includes the first control instruction and the second control instruction
  • the flight state can be determined.
  • the control command matches the specified flight state control command.
  • control terminal may be a remote controller of an aircraft, a smart phone, or a personal computer (eg, a tablet computer, a notebook computer), or the like.
  • the flight status detection circuit 110 may have both a ranging module 111 and a communication module. If the flight control module 112 does not receive a flight status control command through the communication module, the distance measurement module 111 obtains the distance between the aircraft and the ground. distance, and determine whether the aircraft is in flight state according to the distance. Thus, it is more accurate and flexible to judge whether the aircraft is in flight state.
  • the flight status detection circuit is formed by the communication module and the flight control module.
  • the flight state control command it can be quickly and effectively judged whether the aircraft is in the flight state according to the flight state control command.
  • the flight state detection circuit 110 may include an acceleration sensor and a flight control module 112, and the flight control module 112 is electrically connected to the acceleration sensor and the switch control circuit 140, respectively.
  • the acceleration sensor can collect the acceleration information of the aircraft in real time. After receiving the acceleration information, the flight control module 112 can obtain the acceleration change of the aircraft in a specified direction (such as above the aircraft) according to the acceleration information. If the acceleration If the variation is greater than the acceleration variation threshold, it can be determined that the aircraft is in a flying state.
  • the specified direction may be one direction or multiple directions, which is not limited here.
  • the flight state detection circuit 110 is formed by the acceleration sensor and the flight control module 112, When the flight control module 112 receives the acceleration information of the aircraft through the acceleration sensor, it can accurately and effectively determine whether the aircraft is in a flying state according to the acceleration information of the aircraft.
  • the flight state detection circuit 110 may also be composed of a speed sensor and a flight control module 112, and the flight control module 112 may be electrically connected to the speed sensor and the switch control circuit 140, respectively.
  • the flight control module 112 can collect the speed of the aircraft in a specified direction through a speed sensor, and if the speed in the specified direction is not 0, it can be determined that the aircraft is in a flying state.
  • the switch circuit 100 further includes:
  • the resistance circuit 150 the first end of the resistance circuit 150 is electrically connected to the power supply 210 and the first end of the safety switch 130 respectively, the second end of the resistance circuit 150 is respectively electrically connected to the first end of the power switch 120 and the switch control circuit 140,
  • the second end of the safety switch 130 is electrically connected to the load 220 , the second end of the power switch 120 is grounded, and the first end of the power switch 120 is electrically connected to the power source 210 and the power switch 120 respectively.
  • the resistor circuit 150 may include one or more resistors, and when the resistor circuit 150 includes multiple resistors, the multiple resistors may be connected in series or/and in parallel to form a resistor circuit with a specified resistance value.
  • the switch control circuit 140 may be a logic gate circuit, and the logic gate circuit may determine the output level signal according to the input level signal.
  • the switch circuit 140 includes a first input terminal, a second input terminal and an output terminal; the first input terminal is electrically connected to the first terminal of the power switch 120; the second input terminal is connected to the flight state detection circuit 110 is electrically connected; the output terminal is electrically connected to the safety switch 130, the output terminal outputs a high level when the first input terminal is at a high level, and when the second input terminal is at a high level, so that the safety switch is turned off open, and when the second input terminal is at a low level, output a low level to close the safety switch.
  • the state and output signal relationship among the power switch 120 , the flight control module 112 , the switch control circuit 140 and the safety switch 130 in the switch circuit 100 may be as shown in Table 1:
  • the switch control circuit 140 can have two inputs, one input from the power switch 120 (hereinafter referred to as the first input), and the other input from the flight control module 112 (hereinafter referred to as the second input).
  • the flight control module 112 can output different level signals according to whether the aircraft is in a flying state. As shown in FIG. 2 , when the safety switch 130 is closed, the current of the power supply 210 flows to the ground through the resistance circuit, which is equivalent to the first input being low level. At this time, if the aircraft is not in the flying state, the output of the flight control module 112 is high. level, that is, the second input is a high level, the switch control circuit 140 can output a low level, so that the safety switch 130 is closed, and the power supply 210 can supply power to the load 220, thereby making the aircraft work and enter the flying state.
  • the flight control module 112 When the aircraft enters the flight state, the flight control module 112 outputs a low level. At this time, no matter whether the power switch 120 is open or closed, the switch control circuit 140 will only output a low level to keep the safety switch 130 closed and the aircraft is in In the flight state, the power source 210 can supply power to the load 220 . This can avoid the situation that the user accidentally touches the power switch 120 after the aircraft takes off and the power source 210 is turned off.
  • the switch control circuit 140 includes: a first diode V1 , a second diode V2 and a first resistor R1 , wherein: the first diode V1 The negative electrode is electrically connected to the first end of the power switch 120; the negative electrode of the second diode V2 is electrically connected to the flight state detection circuit 110; the first end of the first resistor R1 is electrically connected to the circuit power supply VCC, and the first end of the first resistor R1 is electrically connected to the circuit power VCC.
  • the two terminals are respectively electrically connected to the anode of the first diode V1 , the anode of the second diode V2 and the safety switch 130 , wherein the circuit power supply VCC is used to supply power to the switch control circuit 140 .
  • the first resistor R1 may be 10K ⁇ .
  • the cathode of the first diode V1 is the first input terminal IN1
  • the cathode of the second diode V2 is the first input terminal IN2
  • the anode of the first diode V1 and the second diode V2 The junction of the positive electrode of the first resistor R1 and the second end of the first resistor R1 leads to the output end OUT.
  • Table 1 When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal OUT is at a low level.
  • the output terminal OUT is at a high level.
  • the output terminal OUT is at a low level.
  • the switch control circuit 140 includes: a first Schottky diode V3 , a second Schottky diode V4 and a second resistor R2 , wherein: the first Schottky diode V3 The cathode of the diode V3 is electrically connected to the first end of the power switch 120; the cathode of the second Schottky diode V4 is electrically connected to the flight state detection circuit 110; the first end of the second resistor R2 is electrically connected to the circuit power supply VCC, the second The second end of the resistor R2 is respectively electrically connected to the anode of the first Schottky diode V3 , the anode of the second Schottky diode V4 and the safety switch 130 , wherein the circuit power VCC is used to supply power to the switch control circuit 140 .
  • the second resistor R2 may be 10K ⁇ .
  • the first Schottky diode V3 The cathode of the diode V3 is electrically
  • the cathode of the first Schottky diode V3 is the first input terminal IN1
  • the cathode of the second Schottky diode V4 is the first input terminal IN2
  • the anode of the first Schottky diode V3 the cathode of the second Schottky diode V3
  • the junction of the anode of the Turkey diode V4 and the second end of the second resistor R2 leads to the output end DT_Ctrl.
  • Table 1 When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal DT_Ctrl is at a low level.
  • the output terminal DT_Ctrl When the first input terminal IN1 is at a high level and the second input terminal IN2 is at a high level, the output terminal DT_Ctrl is at a high level. When the second input terminal IN2 is at a low level, the output terminal DT_Ctrl is at a low level.
  • the switch control circuit 140 includes: a first MOS transistor V5, a second MOS transistor V6 and a third resistor R3, a first MOS transistor V5 and a second MOS transistor V6 All are P-type MOS transistors, wherein: the gate of the first MOS transistor V5 is electrically connected to the first end of the power switch 120, the drain of the first MOS transistor V5 is grounded; the gate of the second MOS transistor V6 is connected to the flight state detection The circuit 110 is electrically connected, and the drain of the second MOS transistor V6 is grounded; the first end of the third resistor R3 is electrically connected to the circuit power supply VCC, and the second end of the third resistor R3 is respectively connected to the source of the first MOS transistor V5, the second end of the third resistor R3 The source of the MOS transistor V6 is electrically connected to the safety switch 130 , wherein the circuit power supply VCC is used to supply power to the switch control circuit 140 .
  • the third resistor R3 is P-type MOS transistors, wherein
  • the gate of the first MOS transistor V5 is the first input terminal IN1
  • the gate of the second MOS transistor V6 is the second input terminal IN2
  • the second terminal of the third resistor R3 and the source of the first MOS transistor V5
  • the junction of the sources of the second MOS transistor V6 leads to the output terminal OUT.
  • Table 1 When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal OUT is at a low level. When the first input terminal IN1 is at a high level and the second input terminal IN2 is at a high level, the output terminal OUT is at a high level. When the second input terminal IN2 is at a low level, the output terminal OUT is at a low level.
  • the switch control circuit 140 includes: a chip U6, the chip U6 may specifically include MC14081BDG, and the first input end of the chip U6, that is, the pin IN1A, can be connected with the power switch
  • the first terminal of 120 is electrically connected to the second input terminal of the chip U6, that is, the pin IN2A can be electrically connected to the flight state detection circuit 110, and specifically can be electrically connected to the output terminal of the flight control module 112, and the output terminal of the chip U6 can be electrically connected.
  • the terminal, that is, the pin OUTA may be electrically connected with the safety switch 130 .
  • the chip U6 can realize the signal processing shown in Table 1.
  • the switch control circuit 140 can also be other logic gate circuits, and the logic gate circuit can realize the signal processing shown in Table 1.
  • the specific circuit structure This is not limited.
  • the switch circuit 100 may further include a failure feedback circuit, which may be used to determine whether the power switch 120 can work normally when the aircraft is in flight, and the failure feedback circuit may be connected to the power switch 120 and the power switch 120. between the switch control circuit 140 .
  • the failure feedback circuit can detect whether there is current between the power switch 120 and the switch control circuit 140. If the power switch 120 is closed , the failure feedback circuit detects that there is no current between the power switch 120 and the switch control circuit 140, and determines that the power switch 120 fails, and if there is current, determines that the power switch 120 is normal.
  • failure feedback circuit detects the current between the power switch 120 and the switch control circuit 140 when the power switch 120 is switched off, it is determined that the power switch 120 fails.
  • the failure feedback circuit can feed back failure information to the user's terminal device to remind the user that the power switch 120 fails.
  • the failure feedback circuit may include a processing device, a current detection device, and a communication device
  • the current detection device may be connected between the power switch 120 and the switch control circuit 140
  • the processing device may be electrically connected to the current detection device and the communication device, respectively
  • the processing device detects that there is no current through the current detection device and the communication device receives the closing instruction from the user, it generates failure information, and sends the failure information to the user's terminal equipment through the communication device.
  • the processing device detects that there is current through the current detection device and the communication device receives the closing command from the user, it generates normal reminder information, and sends the normal reminder information to the user's terminal equipment through the communication device to remind the user of the power The switch works fine.
  • the switch circuit of this embodiment will temporarily turn off the function of the power switch when the aircraft is in flight, the user cannot easily know whether the power switch is abnormal.
  • the switch circuit can also include a failure feedback circuit, which can be used to judge whether the power switch of the aircraft can work normally when the aircraft is in flight, so as to timely remind the user whether the power switch fails to ensure that the user can safely Control the aircraft.
  • FIG. 7 shows a switch circuit control method provided by an embodiment of the present invention. The method can be applied to the switch circuit of the above-mentioned embodiment, and the switch circuit control method may include:
  • the flight state detection circuit detects whether the aircraft is in a flight state.
  • the flight state detection circuit may include a ranging module for acquiring distance information between the aircraft and the ground, and a flight control module for receiving the distance information, the flight control module may determine whether the distance information exceeds a distance threshold , if it exceeds, it can be determined that the aircraft is in the flying state, if not, it can be determined that the aircraft is not in the flying state.
  • the switch control circuit keeps the safety switch closed when the aircraft is in the flight state, so that when the aircraft enters the flight state, the power supply and the load are always connected.
  • S120 may include the following steps:
  • the switch control circuit controls the opening and closing of the safety switch according to the state of the power switch, so as to disconnect or connect the aircraft power supply with the load.
  • the switch control circuit keeps the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply is connected to the load.
  • the user can turn on or turn off the aircraft through the power switch only when the aircraft is not in the flying state (equivalent to when the aircraft is on the ground).
  • the load and power supply are guaranteed by closing the safety switch.
  • the connectivity between them can ensure that the aircraft can take off and land safely and will not be powered off when in the air.
  • FIG. 9 shows a switch circuit control method provided by an embodiment of the present invention.
  • the method can be applied to the switch circuit of the above-mentioned embodiment, and is specifically applied to the switch control circuit of the switch circuit.
  • the switch circuit control method can be include:
  • S210 Acquire the flight state information collected by the flight state detection circuit and the working state of the power switch.
  • the flight state information may include first flight information for indicating that the aircraft is in a flight state and second flight information for indicating that the aircraft is not in a flight state.
  • the working state of the power switch may include an open state and a closed state.
  • the switch control circuit When the switch control circuit receives the second flight information and the power switch is in a closed state, it can generate a first control command and send the first control command to the safety switch to instruct the safety switch to close.
  • the switch control circuit When the switch control circuit receives the first flight information, it can generate a second control command, and send the second control command to the safety switch to instruct the safety switch to remain closed.
  • FIG. 10 shows a switch circuit control apparatus 400 provided by an embodiment of the present invention, which is applied to the switch circuit of the above-mentioned embodiment, and is specifically applied to a switch control circuit.
  • the switch circuit control apparatus 400 includes: an information acquisition module 410, The first control module 420 and the second control circuit 430 . in:
  • the information acquisition module 410 is used for acquiring the flight state information collected by the flight state detection circuit and the working state of the power switch.
  • the first control module 420 is configured to control the safety switch to be closed if it is determined according to the flight state information that the aircraft is not in the flight state and the power switch is in the closed state.
  • the second control circuit 430 is configured to control the safety switch to close if it is determined according to the flight state information that the aircraft is in a flight state.
  • the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical or otherwise.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
  • FIG. 11 shows a structural block diagram of an aircraft provided by an embodiment of the present invention.
  • the aircraft 500 may be the aircraft 500 capable of running the program in the aforementioned embodiments.
  • Aircraft 500 in the present invention may include one or more of the following components: processor 510, memory 520, and one or more programs, wherein one or more programs may be stored in memory 520 and configured to be executed by one or more programs.
  • the processors 510 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • Processor 510 may include one or more processing cores.
  • the processor 510 uses various interfaces and lines to connect various parts of the entire aircraft 500, and executes the aircraft by running or executing the instructions, programs, code sets or instruction sets stored in the memory 520, and calling the data stored in the memory 520. 500 of various functions and processing data.
  • the processor 510 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 510 may integrate one or a combination of a central processing unit 510 (Central Processing Unit, CPU), a graphics processor 510 (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used for rendering and drawing of the display content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 510, and is implemented by a communication chip alone.
  • the processor 510 may be equivalent to the switch control circuit in FIG. 1 .
  • the memory 520 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 520 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above method embodiments, and the like.
  • the storage data area can also store data (such as positioning information, working state parameters, and driving record data) created by the aircraft in use.
  • the aircraft may also include:
  • the flight state detection circuit 530 is electrically connected to the processor 510 for detecting whether the aircraft is in a flight state.
  • a safety switch 540 is electrically connected to the processor 510, and the safety switch 540 can turn on the power supply of the aircraft and the load 220 when it is closed, and de-energize the load 220 of the aircraft when it is turned off.
  • FIG. 12 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present invention.
  • the computer-readable medium 600 stores program codes 610, and the program codes 610 can be invoked by the processor to execute the methods described in the above method embodiments.
  • the computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium includes a non-transitory computer-readable storage medium.
  • a computer-readable storage medium has storage space for program code to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products.
  • the program code may, for example, be compressed in a suitable form.
  • the switch circuit, the switch circuit control method, and the aircraft provided by the embodiments of the present invention are composed of a flight state detection circuit, a power switch, a safety switch, and a switch control circuit, wherein: the flight state detection circuit is used to detect Whether the aircraft is in flight state, the power switch is electrically connected to the power supply of the aircraft; the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft; the switch control circuit is electrically connected to the flight state detection circuit, the power switch and the safety switch respectively, and is used when the aircraft When in flight, keep the safety switch closed, so that when the aircraft is in flight, the power supply is connected to the load.
  • the switch control circuit can be used when the aircraft is not in flight state.
  • the state of the safety switch is controlled by the state of the power switch, so as to safely turn on and off the aircraft; it is also possible to keep the safety switch closed when the aircraft is in flight state, that is, the state of the power switch does not affect the state of the safety switch, thus avoiding the aircraft In the flight state, the load is powered off due to the user's mistaken touch on the power switch, which effectively improves the safety of the aircraft during operation.
  • the switch circuit of this embodiment can achieve the above effects by only introducing a safety switch and a switch control circuit on the basis of the circuit structure of the original aircraft, avoids excessive changes to the circuit structure of the aircraft, and is not only easy to install, but also low in cost , can be widely used.

Abstract

A switching circuit, a switching circuit control method and an aircraft, which relate to the technical field of integrated circuits. The switching circuit (100) consists of a flight state detection circuit (110), a power switch (120), a safety switch (130) and a switch control circuit (140), wherein the flight state detection circuit (110) is used for detecting whether the aircraft is in a flight state; the power switch (120) is electrically connected to a power source (210) of the aircraft; the safety switch (130) is respectively electrically connected to the power source (210) of the aircraft and a load (220) of the aircraft; and the switch control circuit (140) is respectively electrically connected to the flight state detection circuit (110), the power switch (120) and the safety switch (130), so as to keep the safety switch (130) closed when the aircraft is in the flight state, so that the power source (210) is always in communication with the load (220) when the aircraft is in the flight state, and then it is ensured that the power source (210) can always supply power to the load (220) when the aircraft is in the flight state, thereby avoiding the situation of the load (220) being powered off, and in turn effectively improving the safety of the aircraft when in operation.

Description

开关电路、开关电路控制方法以及飞行器Switch circuit, switch circuit control method, and aircraft
本申请要求在2021年03月02日提交中国专利局、申请号为202110232158.1、申请名称为“开关电路、开关电路控制方法以及飞行器”的中国专利申请的优先权,以及要求在2021年03月02日提交中国专利局、申请号为202120456044.0、申请名称为“开关电路”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on March 2, 2021 with the application number 202110232158.1 and the application title is "Switch Circuit, Switch Circuit Control Method and Aircraft", and claims on March 02, 2021 The priority of the Chinese patent application with the application number 202120456044.0 and the application title "Switching Circuit" filed with the China Patent Office on 2021, the entire contents of which are incorporated in this application by reference.
技术领域technical field
本发明涉及集成电路技术领域,更具体地,涉及一种开关电路、开关电路控制方法以及飞行器。The present invention relates to the technical field of integrated circuits, and more particularly, to a switch circuit, a method for controlling the switch circuit, and an aircraft.
背景技术Background technique
随着飞行器技术的不断发展,越来越多的飞行器被应用到各个领域,例如民用、工程领域等等。With the continuous development of aircraft technology, more and more aircraft are applied to various fields, such as civil, engineering and so on.
目前的飞行器基本上都是通过电力驱动,如果飞行器在空中工作时出现断电的情况,那么后果将不堪设想,然而,目前的飞行器却无法较好地保证飞行器在处于飞行状态不会断电,导致飞行器在工作时存在安全隐患。The current aircraft are basically powered by electricity. If the aircraft is powered off when it is working in the air, the consequences will be disastrous. However, the current aircraft cannot guarantee that the aircraft will not be powered off when it is in flight, resulting in There are safety hazards when the aircraft is working.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本发明提出了一种开关电路、开关电路控制方法以及飞行器,以解决或部分解决上述问题。In view of the above problems, the present invention proposes a switch circuit, a method for controlling the switch circuit, and an aircraft to solve or partially solve the above problems.
第一方面,本发明实施例提供了一种开关电路,该开关电路应用于飞行器,该开关电路包括飞行状态检测电路、电源开关、安全开关以及开关控制电路。其中:飞行状态检测电路用于检测飞行器是否处于飞行状态,电源开关与飞行器的电源电连接安全开关分别与飞行器的电源和飞行器的负载电连接;开关控制电路分别与飞行状态检测电路、电源开关以及安全开关电连接,用于当飞行器处于飞行状态时,保持安全开关闭合,以使飞行器处于飞行状态时,电源与负载始终连通。In a first aspect, an embodiment of the present invention provides a switch circuit, which is applied to an aircraft, and the switch circuit includes a flight state detection circuit, a power switch, a safety switch, and a switch control circuit. Among them: the flight state detection circuit is used to detect whether the aircraft is in flight state, the power switch is electrically connected to the power supply of the aircraft, the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft, respectively; the switch control circuit is respectively connected to the flight state detection circuit, the power switch and the The safety switch is electrically connected for keeping the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply and the load are always connected.
第二方面,本发明实施例提供了开关电路控制方法,该开关电路控制方法应用于第一方面的开关电路,该开关电路控制方法包括:飞行状态检测电路检测飞行器是否处于飞行状态;开关控制电路在飞行器处于飞行状态时,保持安全开关闭合,以使飞行器处于飞行状态时,电源与负载连通。In a second aspect, an embodiment of the present invention provides a switch circuit control method. The switch circuit control method is applied to the switch circuit of the first aspect. The switch circuit control method includes: a flight state detection circuit detects whether the aircraft is in a flight state; a switch control circuit When the aircraft is in flight state, keep the safety switch closed, so that when the aircraft is in flight state, the power supply is connected to the load.
第三方面,本发明实施例提供了一种飞行器,该飞行器包括存储器及处理器,该处理器用于执行第一方面的方法。In a third aspect, an embodiment of the present invention provides an aircraft, where the aircraft includes a memory and a processor, where the processor is configured to execute the method of the first aspect.
本发明实施例提供的开关电路、开关电路控制方法以及飞行器,该开关电路通过飞行状态检测电路、电源开关、安全开关以及开关控制电路组成,其中:飞行状态检测电路用于检测飞行器是否处于飞行状态,电源开关与飞行器的电源电连接安全开关分别与飞行器的电源和飞行器的负载电连接;开关控制电路分别与飞行状态检测电路、电源开关以及安全开关电连接,用于当飞行器处于飞行状态时,保持安全开关闭合,以使飞行器处于飞行状态时,电源与负载始终连通,从而确保飞行器在飞行状态时,电源始终能给负载供电,避免了出现负载断电的情况,有效提升了飞行器在工作时的安全性。The switch circuit, the switch circuit control method and the aircraft provided by the embodiments of the present invention are composed of a flight state detection circuit, a power switch, a safety switch and a switch control circuit, wherein the flight state detection circuit is used to detect whether the aircraft is in a flight state , the power switch is electrically connected to the power supply of the aircraft; the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft; the switch control circuit is electrically connected to the flight state detection circuit, the power switch and the safety switch, respectively, for when the aircraft is in the flight state, Keep the safety switch closed, so that when the aircraft is in flight, the power supply and the load are always connected, so as to ensure that the power supply can always supply power to the load when the aircraft is in flight, avoiding the situation of load power failure, and effectively improving the aircraft's working time. security.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained from these drawings without creative effort.
图1示出了根据本发明一个实施例提供的开关电路的结构示意图。FIG. 1 shows a schematic structural diagram of a switch circuit provided according to an embodiment of the present invention.
图2示出了根据本发明另一个实施例提供的开关电路的结构示意图。FIG. 2 shows a schematic structural diagram of a switch circuit provided according to another embodiment of the present invention.
图3示出了根据本发明一个实施例提供的开关控制电路的结构示意图。FIG. 3 shows a schematic structural diagram of a switch control circuit provided according to an embodiment of the present invention.
图4示出了根据本发明另一个实施例提供的开关控制电路的结构示意图。FIG. 4 shows a schematic structural diagram of a switch control circuit provided according to another embodiment of the present invention.
图5示出了根据本发明又一个实施例提供的开关控制电路的结构示意图。FIG. 5 shows a schematic structural diagram of a switch control circuit provided according to yet another embodiment of the present invention.
图6示出了根据本发明再一个实施例提供的开关控制电路的结构示意 图。Fig. 6 shows a schematic structural diagram of a switch control circuit provided according to still another embodiment of the present invention.
图7示出了根据本发明一个实施例提供的开关电路控制方法流程图。FIG. 7 shows a flowchart of a method for controlling a switch circuit according to an embodiment of the present invention.
图8示出了根据本发明图7提供的开关电路控制方法中S120的方法流程图。FIG. 8 shows a flowchart of the method S120 in the switch circuit control method provided in FIG. 7 according to the present invention.
图9示出了根据本发明另一个实施例提供的开关电路控制方法流程图。FIG. 9 shows a flowchart of a method for controlling a switch circuit according to another embodiment of the present invention.
图10示出了本发明实施例提供的高开关电路控制装置的功能模块图。FIG. 10 shows a functional block diagram of a high-switch circuit control device provided by an embodiment of the present invention.
图11示出了本发明实施例提供的飞行器的结构框图。FIG. 11 shows a structural block diagram of an aircraft provided by an embodiment of the present invention.
图12示出了本发明实施例的用于保存或者携带实现根据本发明实施例的开关电路控制方法的程序代码的存储介质。FIG. 12 shows a storage medium for storing or carrying a program code for implementing a switching circuit control method according to an embodiment of the present invention according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
飞行器技术作为当前最为热门的技术之一,已经被广泛地应用在了各个领域,例如现在日常生活中用于航拍的无人机飞行器、在农业领域用于从空中进行播种的飞行器、用于载人的飞行器等等。而这些各种各样的飞行器大多都采用电力驱动,这就意味着,电源的稳定供电是飞行器正常工作的保证,如果飞行器在空中的出现断电情况,则会直接出现坠机的情况,极可能造成严重的安全事故。As one of the most popular technologies at present, aircraft technology has been widely used in various fields, such as unmanned aerial vehicles used for aerial photography in daily life, aircraft used for sowing seeds from the air in the agricultural field, Human aircraft, etc. Most of these various aircrafts are driven by electricity, which means that the stable power supply of the power supply is the guarantee for the normal operation of the aircraft. If the aircraft is powered off in the air, it will directly crash. It may cause serious safety accident.
目前的大多飞行器的电源开关只有一个,电源开关直接连接在负载和电源之间,飞行器在飞行过程中的断电,往往是由于用户误触碰到了电源开关,使电源开关断开而导致的。在飞行器处于飞行状态时避免因用户的误触碰而导致飞行器断电,可以确保飞行器在工作时的安全性。Most of the current aircraft have only one power switch, which is directly connected between the load and the power supply. The power failure of the aircraft during flight is often caused by the user accidentally touching the power switch and disconnecting the power switch. When the aircraft is in flight state, the power failure of the aircraft due to the user's accidental touch can be avoided, which can ensure the safety of the aircraft during operation.
针对于上述问题,提出了本发明实施例中的开关电路、开关电路控制方法以及飞行器,当飞行器处于飞行状态时,可以保持飞行器的电源与飞行器的负载始终连通,从而确保飞行器在飞行状态时,电源始终能给负载供电,避免了出现负载断电的情况,有效提升了飞行器在工作时的安全性。In view of the above problems, a switch circuit, a switch circuit control method, and an aircraft in the embodiments of the present invention are proposed. When the aircraft is in the flight state, the power supply of the aircraft and the load of the aircraft can be kept in constant communication, thereby ensuring that when the aircraft is in the flight state, The power supply can always supply power to the load, avoiding the situation of load power failure, and effectively improving the safety of the aircraft during operation.
请参阅图1,图1示出了本发明一个实施例提供的开关电路的结构示意图,该开关电路100可以应用于飞行器,该飞行器包括但不限于多旋翼飞行 器、喷气式飞行器等。Please refer to FIG. 1, which shows a schematic structural diagram of a switch circuit provided by an embodiment of the present invention. The switch circuit 100 can be applied to an aircraft, which includes but is not limited to a multi-rotor aircraft, a jet aircraft, and the like.
该开关电路100可以包括:飞行状态检测电路110、电源开关120、安全开关130以及开关控制电路140,其中:该飞行状态检测电路110用于检测飞行器是否处于飞行状态;该电源开关120与飞行器的电源210电连接;该安全开关130分别与飞行器的电源210和飞行器的负载220电连接;该开关控制电路140分别与飞行状态检测电路110、电源开关120以及安全开关130电连接,用于当飞行器处于飞行状态时,保持安全开关130闭合,以使飞行器处于飞行状态时,电源210与负载220始终连通。The switch circuit 100 may include: a flight state detection circuit 110, a power switch 120, a safety switch 130, and a switch control circuit 140, wherein: the flight state detection circuit 110 is used to detect whether the aircraft is in a flight state; the power switch 120 and the aircraft's The power supply 210 is electrically connected; the safety switch 130 is electrically connected to the power supply 210 of the aircraft and the load 220 of the aircraft; the switch control circuit 140 is electrically connected to the flight state detection circuit 110 , the power switch 120 and the safety switch 130 respectively, and is used when the aircraft When in the flying state, keep the safety switch 130 closed, so that when the aircraft is in the flying state, the power supply 210 and the load 220 are always connected.
其中,飞行器的电源210可以设置在飞行器上;也可以不设置在飞行器上,当电源210不设置在飞行器上时,该电源210通过线路与飞行器连接。可选地,飞行器的电源210可以为电池包。其中,飞行器的电源210主要用于为飞行器的负载220进行供电,提供飞行器的飞行动力、使飞行器的各功能正常工作等。The power supply 210 of the aircraft may be installed on the aircraft; it may not be installed on the aircraft. When the power supply 210 is not installed on the aircraft, the power supply 210 is connected to the aircraft through a line. Alternatively, the power source 210 of the aircraft may be a battery pack. The power supply 210 of the aircraft is mainly used to supply power to the load 220 of the aircraft, provide the flight power of the aircraft, and make various functions of the aircraft work normally.
其中,飞行器的负载220可以为飞行器的动力装置,以多旋翼飞行器为例,负载220可以为多旋翼飞行器的电机,可选地,飞行器的负载220还可以包括飞行器上搭载的照明装置、图像采集装置、通讯装置等等。The load 220 of the aircraft may be a power unit of the aircraft. Taking a multi-rotor aircraft as an example, the load 220 may be a motor of the multi-rotor aircraft. devices, communication devices, etc.
可以理解的是,飞行器处于飞行状态是指飞行器在空中飞行时的状态,飞行器不处于飞行状态可以是指飞行器处于地面的状态。在实际应用中,开关控制电路140还可以用于当飞行器不处于飞行状态时,根据电源开关120的状态控制安全开关130开合,以使飞行器的电源210与负载220断开或者连通。作为一种示例,当飞行器处于初始状态时,飞行器的电源开关120和安全开关130均为断开状态,此时,飞行器的电源210和负载220之间没有连通,飞行器没有工作,位于地面,因此也没有处于飞行状态。当飞行器接收到开启指令时,电源开关120闭合。若电源开关120闭合且飞行状态检测电路110检测到飞行器不处于飞行状态,则开关控制电路140控制安全开关130闭合,此时,飞行器的电源210可以通过闭合的安全开关130与飞行器的负载220连通,飞行器开始工作。It can be understood that the fact that the aircraft is in a flying state refers to a state in which the aircraft is flying in the air, and that the aircraft is not in a flying state may refer to a state that the aircraft is on the ground. In practical applications, the switch control circuit 140 can also be used to control the opening and closing of the safety switch 130 according to the state of the power switch 120 when the aircraft is not in flight, so as to disconnect or connect the power supply 210 and the load 220 of the aircraft. As an example, when the aircraft is in the initial state, the power switch 120 and the safety switch 130 of the aircraft are both turned off. At this time, there is no communication between the power supply 210 and the load 220 of the aircraft, and the aircraft is not working and is located on the ground. Not in flight either. When the aircraft receives the turn-on command, the power switch 120 is closed. If the power switch 120 is closed and the flight state detection circuit 110 detects that the aircraft is not in the flight state, the switch control circuit 140 controls the safety switch 130 to close. At this time, the power supply 210 of the aircraft can communicate with the load 220 of the aircraft through the closed safety switch 130 , the aircraft starts to work.
当飞行器工作并升空后,飞行状态检测电路110检测到飞行器处于飞行 状态时,开关控制电路140保持安全开关130闭合,以使飞行器处于飞行状态时,电源210始终与负载220连通。此时,无论电源开关120是闭合状态还是断开状态都不会影响到安全开关130的工作状态,安全开关130会一直处于闭合状态,从而避免用户在飞行器处于飞行状态时,因误触碰而断开电源开关120,导致飞行器断电的情况。When the aircraft works and takes off, when the flight state detection circuit 110 detects that the aircraft is in the flight state, the switch control circuit 140 keeps the safety switch 130 closed, so that when the aircraft is in the flight state, the power supply 210 is always connected to the load 220. At this time, no matter whether the power switch 120 is in the closed state or the open state, it will not affect the working state of the safety switch 130, and the safety switch 130 will always be in the closed state, so as to prevent the user from accidentally touching the aircraft when the aircraft is in the flying state. Turning off the power switch 120 results in a situation in which the aircraft is powered off.
当飞行器从空中降落到地面后,飞行状态检测电路110则检测到飞行器不处于飞行状态时,开关控制电路140可以恢复电源开关120的作用,此时,若电源开关120断开,开关控制电路140则控制安全开关130断开,从而断开电源210与负载220的连通,让飞行器停止工作。After the aircraft lands from the air to the ground, the flight state detection circuit 110 detects that the aircraft is not in the flight state, and the switch control circuit 140 can restore the function of the power switch 120. At this time, if the power switch 120 is disconnected, the switch control circuit 140 Then, the safety switch 130 is controlled to be turned off, thereby disconnecting the communication between the power source 210 and the load 220, and the aircraft stops working.
可见,在本实施例中,该开关电路100通过飞行状态检测电路110、电源开关120、安全开关130以及开关控制电路140组成,其中:飞行状态检测电路110用于检测飞行器是否处于飞行状态,电源开关120与飞行器的电源210电连接安全开关130分别与飞行器的电源210和飞行器的负载220电连接;开关控制电路140分别与飞行状态检测电路110、电源开关120以及安全开关130电连接,用于当飞行器处于飞行状态时,保持安全开关130闭合,以使飞行器处于飞行状态时,电源210与负载220连通。由于电源210和负载220之间通过安全开关130连接,而安全开关130由开关控制电路140根据电源开关120的工作状态和飞行状态检测电路110的检测情况控制,开关控制电路140可以在飞行器不处于飞行状态时,根据电源开关120的状态来控制安全开关130的状态,从而起到安全开启和关闭飞行器的作用;还可以在飞行器处于飞行状态时,始终保持安全开关130闭合,即电源开关120的状态不影响安全开关130的状态,从而避免了飞行器处于飞行状态时,因用户对电源开关120的误触碰而导致负载220断电的情况,有效提升了飞行器在工作时的安全性。It can be seen that in this embodiment, the switch circuit 100 is composed of a flight state detection circuit 110, a power switch 120, a safety switch 130 and a switch control circuit 140, wherein the flight state detection circuit 110 is used to detect whether the aircraft is in a flight state, and the power supply The switch 120 is electrically connected to the power supply 210 of the aircraft; the safety switch 130 is electrically connected to the power supply 210 of the aircraft and the load 220 of the aircraft; the switch control circuit 140 is electrically connected to the flight state detection circuit 110, the power switch 120 and the safety switch 130, respectively, for When the aircraft is in the flight state, keep the safety switch 130 closed, so that the power source 210 is connected to the load 220 when the aircraft is in the flight state. Since the power source 210 and the load 220 are connected through the safety switch 130, and the safety switch 130 is controlled by the switch control circuit 140 according to the working state of the power switch 120 and the detection condition of the flight state detection circuit 110, the switch control circuit 140 can be used when the aircraft is not in the In the flight state, the state of the safety switch 130 is controlled according to the state of the power switch 120, so as to safely turn on and off the aircraft; it is also possible to keep the safety switch 130 closed when the aircraft is in the flight state, that is, the power switch 120 is closed. The state does not affect the state of the safety switch 130, thereby avoiding the situation that the load 220 is powered off due to the user's mistaken touch on the power switch 120 when the aircraft is in flight, effectively improving the safety of the aircraft during operation.
其中,如图2所示,飞行状态检测电路110可以包括:测距模块111和飞控模块112,其中,测距模块111用于检测飞行器与地面之间的距离;飞控模块112分别与测距模块111和开关控制电路140电连接,用于根据飞行器与地面之间的距离确定飞行器是否处于飞行状态,并根据飞行器是否处于 飞行状态生成不同的信号,且将该信号输出至开关控制电路140。Wherein, as shown in FIG. 2, the flight state detection circuit 110 may include: a ranging module 111 and a flight control module 112, wherein the ranging module 111 is used to detect the distance between the aircraft and the ground; The distance module 111 is electrically connected to the switch control circuit 140 for determining whether the aircraft is in a flying state according to the distance between the aircraft and the ground, and generating different signals according to whether the aircraft is in a flying state, and outputting the signal to the switch control circuit 140 .
可选地,测距模块可以包括超声波测距传感器、红外测距传感器、激光测距传感器、激光雷达测距传感器等测距传感器中的一种或多种组合。Optionally, the ranging module may include one or more combinations of ranging sensors such as ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and lidar ranging sensors.
在实际应用中,在飞行器开始工作后,测距模块可以实时采集飞行器与地面之间的距离,得到距离信息。飞控模块112则接收该距离信息,并判断该距离信息是否超过距离阈值,若该距离信息超过距离阈值,则确定飞行器处于飞行状态。若该距离没有超过距离阈值,则确定飞行器不处于飞行状态。另外,当飞控模块112确定飞行器处于飞行状态时,可以输出用于表征飞行器处于飞行状态的飞行信息(如低电平),当开关控制电路140接收到该飞行信息时,可以依据该信息对安全开关130进行控制。In practical applications, after the aircraft starts to work, the ranging module can collect the distance between the aircraft and the ground in real time to obtain distance information. The flight control module 112 receives the distance information, and determines whether the distance information exceeds the distance threshold. If the distance information exceeds the distance threshold, it is determined that the aircraft is in a flying state. If the distance does not exceed the distance threshold, it is determined that the aircraft is not in a flying state. In addition, when the flight control module 112 determines that the aircraft is in the flight state, it can output flight information (eg, a low level) that is used to indicate that the aircraft is in the flight state. When the switch control circuit 140 receives the flight information, it can adjust the Safety switch 130 controls.
可以理解的是,距离阈值可以用来判断飞行器是处于空中还是处于地面或接近地面,由于一般在飞行器处于空中时,为飞行状态,在处于地面或接近地面时,不为飞行状态,从而可以有效、准确判断飞行器是否处于飞行状态。作为一种示例,例如距离阈值为20cm,若距离信息为100cm,则可以确定飞行器处于飞行状态,飞控模块112可以输出飞行信息。若距离信息为10cm,则可以确定飞行器不处于飞行状态。It can be understood that the distance threshold can be used to determine whether the aircraft is in the air or on the ground or close to the ground. Generally, when the aircraft is in the air, it is in the flying state, and when it is on the ground or close to the ground, it is not in the flying state, so it can be effectively used. , Accurately determine whether the aircraft is in flight state. As an example, for example, if the distance threshold is 20 cm, if the distance information is 100 cm, it can be determined that the aircraft is in a flying state, and the flight control module 112 can output flight information. If the distance information is 10cm, it can be determined that the aircraft is not in a flying state.
可见,在本实施方式中,通过测距模块和飞控模块112构成飞行状态检测电路110,从而能够根据测距模块111采集的飞行器与地面之间的距离来判断飞行器是否处于飞行状态,提升了飞行状态的判断准确性、效率。It can be seen that in this embodiment, the flight state detection circuit 110 is formed by the ranging module and the flight control module 112, so that whether the aircraft is in the flight state can be determined according to the distance between the aircraft and the ground collected by the ranging module 111, which improves the Accuracy and efficiency of flight status judgment.
在一些实施方式中,飞行状态检测电路110可以包括通讯模块和飞控模块112。其中,通讯模块,用于接收针对飞行器的飞行状态控制指令;飞控模块112分别与通讯模块和开关控制电路140电连接,用于根据飞行状态控制指令确定飞行器是否处于飞行状态。可选地,通讯模块可以包括4G通讯模块、5G通讯模块、蓝牙通讯模块等通讯模块中的一种或多种组合。In some embodiments, the flight state detection circuit 110 may include a communication module and a flight control module 112 . The communication module is used for receiving flight state control instructions for the aircraft; the flight control module 112 is electrically connected to the communication module and the switch control circuit 140 respectively, and is used to determine whether the aircraft is in flight state according to the flight state control instructions. Optionally, the communication module may include one or more combinations of communication modules such as a 4G communication module, a 5G communication module, and a Bluetooth communication module.
其中,飞行状态控制指令可以为用于控制飞行器飞行时的控制指令(如控制飞行器上升、下降、转向、加速、减速等控制指令)。Wherein, the flight state control command may be a control command for controlling the flight of the aircraft (eg, control commands for controlling the aircraft to ascend, descend, turn, accelerate, decelerate, etc.).
在实际应用中,用户可以通过控制终端向飞行器发送飞行状态控制指令,以使飞行器进入飞行状态,因此,若飞控模块通过通讯模块接收到该飞 行状态控制指令,可以将该飞行状态控制指令与指定飞行状态控制指令进行匹配,若匹配,则可以确定该飞行器处于飞行状态。In practical applications, the user can send the flight state control command to the aircraft through the control terminal to make the aircraft enter the flight state. Therefore, if the flight control module receives the flight state control command through the communication module, the flight state control command can be combined with the flight state control command. Specify the flight state control command for matching. If it matches, it can be determined that the aircraft is in flight state.
可选地,在确定飞行状态控制指令与指定飞行状态控制指令是否匹配时,可以判断飞行状态控制指令中是否包括指定飞行状态控制指令,若包括,则确定飞行状态控制指令与指定飞行状态控制指令匹配。作为一种示例,若指定飞行状态控制指令包括第一控制指令和第二控制指令,当飞控模块接收到的飞行状态控制指令包含第一控制指令和第二控制指令中至少一个时,可以确定飞行状态控制指令与指定飞行状态控制指令匹配。作为另一种示例,若指定飞行状态控制指令包括第一控制指令和第二控制指令,当飞控模块接收到的飞行状态控制指令包含第一控制指令和第二控制指令时,可以确定飞行状态控制指令与指定飞行状态控制指令匹配。Optionally, when determining whether the flight state control command matches the designated flight state control command, it can be determined whether the flight state control command includes the designated flight state control command, and if so, then determine the flight state control command and the designated flight state control command. match. As an example, if the designated flight state control command includes a first control command and a second control command, when the flight state control command received by the flight control module includes at least one of the first control command and the second control command, it can be determined that The flight state control command matches the specified flight state control command. As another example, if the specified flight state control instruction includes the first control instruction and the second control instruction, when the flight state control instruction received by the flight control module includes the first control instruction and the second control instruction, the flight state can be determined. The control command matches the specified flight state control command.
可选地,控制终端可以是飞行器的遥控器、也可是智能手机、还可以是个人电脑(如平板电脑、笔记本电脑)等等。Optionally, the control terminal may be a remote controller of an aircraft, a smart phone, or a personal computer (eg, a tablet computer, a notebook computer), or the like.
可选地,飞行状态检测电路110可以同时具有测距模块111和通讯模块,若飞控模块112通过通讯模块没有接收到飞行状态控制指令时,则通过测距模块111获取飞行器与地面之间的距离,并根据该距离来确定飞行器是否处于飞行状态。从而更准确、灵活地判断飞行器是否处于飞行状态。Optionally, the flight status detection circuit 110 may have both a ranging module 111 and a communication module. If the flight control module 112 does not receive a flight status control command through the communication module, the distance measurement module 111 obtains the distance between the aircraft and the ground. distance, and determine whether the aircraft is in flight state according to the distance. Thus, it is more accurate and flexible to judge whether the aircraft is in flight state.
考虑到用户可以直接通过控制终端向飞行器发送飞行状态控制指令,以使飞行器进入飞行状态,在本实施例中,通过通讯模块和飞控模块构成飞行状态检测电路,当飞控模块通过通讯模块接收到飞行状态控制指令时,可以根据飞行状态控制指令快捷、有效地判断出飞行器是否处于飞行状态。Considering that the user can directly send the flight status control command to the aircraft through the control terminal to make the aircraft enter the flight status, in this embodiment, the flight status detection circuit is formed by the communication module and the flight control module. When the flight state control command is reached, it can be quickly and effectively judged whether the aircraft is in the flight state according to the flight state control command.
在另一些实施方式中,飞行状态检测电路110可以包括加速度传感器以及飞控模块112,飞控模块112分别与加速度传感器以及开关控制电路140电连接。In other embodiments, the flight state detection circuit 110 may include an acceleration sensor and a flight control module 112, and the flight control module 112 is electrically connected to the acceleration sensor and the switch control circuit 140, respectively.
在实际应用中,加速度传感器可以实时采集飞行器的加速度信息,飞控模块112在接收到该加速度信息后可以根据该加速度信息得到飞行器在指定方向上(如飞行器上方)的加速度变化量,若该加速度变化量大于加速度变化量阈值,则可以确定飞行器处于飞行状态。其中,指定方向可以为一个方 向,也可以为多个方向,在此不做限定。In practical applications, the acceleration sensor can collect the acceleration information of the aircraft in real time. After receiving the acceleration information, the flight control module 112 can obtain the acceleration change of the aircraft in a specified direction (such as above the aircraft) according to the acceleration information. If the acceleration If the variation is greater than the acceleration variation threshold, it can be determined that the aircraft is in a flying state. The specified direction may be one direction or multiple directions, which is not limited here.
考虑到飞行器在飞行状态下通常会做出一些飞行动作时,其在一定方向上的加速度变化量会发生改变,在本实施方式中,通过加速度传感器和飞控模块112构成飞行状态检测电路110,当飞控模块112通过加速度传感器接收到飞行器的加速度信息时,可以根据飞行器的加速度信息准确、有效地判断出飞行器是否处于飞行状态。Considering that when the aircraft usually performs some flight actions in the flight state, its acceleration change in a certain direction will change, in this embodiment, the flight state detection circuit 110 is formed by the acceleration sensor and the flight control module 112, When the flight control module 112 receives the acceleration information of the aircraft through the acceleration sensor, it can accurately and effectively determine whether the aircraft is in a flying state according to the acceleration information of the aircraft.
可选地,飞行状态检测电路110还可以由速度传感器和飞控模块112构成,飞控模块112可以分别与速度传感器和开关控制电路140电连接。其中,飞控模块112可以通过速度传感器采集飞行器在指定方向上的速度,若该指定方向上的速度不为0,则可以确定飞行器处于飞行状态。Optionally, the flight state detection circuit 110 may also be composed of a speed sensor and a flight control module 112, and the flight control module 112 may be electrically connected to the speed sensor and the switch control circuit 140, respectively. The flight control module 112 can collect the speed of the aircraft in a specified direction through a speed sensor, and if the speed in the specified direction is not 0, it can be determined that the aircraft is in a flying state.
请再次参阅图2,在一些实施方式中,开关电路100还包括:Referring to FIG. 2 again, in some embodiments, the switch circuit 100 further includes:
电阻电路150,电阻电路150的第一端分别与电源210和安全开关130的第一端电连接,电阻电路150的第二端分别与电源开关120的第一端和开关控制电路140电连接,安全开关130的第二端与负载220电连接,电源开关120的第二端接地,电源开关120的第一端为分别与电源210和电源开关120电连接的一端。可选地,电阻电路150可以包括一个或多个电阻,当电阻电路150包括多个电阻时,多个电阻可以相互串联或/和并联以形成一个指定电阻值的电阻电路。The resistance circuit 150, the first end of the resistance circuit 150 is electrically connected to the power supply 210 and the first end of the safety switch 130 respectively, the second end of the resistance circuit 150 is respectively electrically connected to the first end of the power switch 120 and the switch control circuit 140, The second end of the safety switch 130 is electrically connected to the load 220 , the second end of the power switch 120 is grounded, and the first end of the power switch 120 is electrically connected to the power source 210 and the power switch 120 respectively. Optionally, the resistor circuit 150 may include one or more resistors, and when the resistor circuit 150 includes multiple resistors, the multiple resistors may be connected in series or/and in parallel to form a resistor circuit with a specified resistance value.
在实际应用中,其中,开关控制电路140可以为逻辑门电路,逻辑门电路该可以根据输入的电平信号确定输出的电平信号。可选地,该开关电路140包括第一输入端、第二输入端以及输出端;该第一输入端与该电源开关120的第一端电连接;该第二输入端与该飞行状态检测电路110电连接;该输出端与该安全开关130电连接,该输出端在该第一输入端为高电平,该第二输入端为高电平时,输出高电平,以使该安全开关断开,以及在该第二输入端为低电平时,输出低电平,以使该安全开关闭合。具体地,开关电路100中电源开关120、飞控模块112、开关控制电路140以及安全开关130之间的状态以及输出信号关系可以如表1所示:In practical applications, the switch control circuit 140 may be a logic gate circuit, and the logic gate circuit may determine the output level signal according to the input level signal. Optionally, the switch circuit 140 includes a first input terminal, a second input terminal and an output terminal; the first input terminal is electrically connected to the first terminal of the power switch 120; the second input terminal is connected to the flight state detection circuit 110 is electrically connected; the output terminal is electrically connected to the safety switch 130, the output terminal outputs a high level when the first input terminal is at a high level, and when the second input terminal is at a high level, so that the safety switch is turned off open, and when the second input terminal is at a low level, output a low level to close the safety switch. Specifically, the state and output signal relationship among the power switch 120 , the flight control module 112 , the switch control circuit 140 and the safety switch 130 in the switch circuit 100 may be as shown in Table 1:
Figure PCTCN2021106103-appb-000001
Figure PCTCN2021106103-appb-000001
Figure PCTCN2021106103-appb-000002
Figure PCTCN2021106103-appb-000002
表1Table 1
根据表1可知,开关控制电路140可以有两路输入,一路输入来自与电源开关120(以下可称第一输入),另一路输入来自于飞控模块112(以下可称第二输入)。其中,飞控模块112可以根据飞行器是否处于飞行状态输出不同的电平信号。如图2所示,当安全开关130闭合时,电源210的电流通过电阻电路流向地,相当于第一输入为低电平,此时,若飞行器不处于飞行状态,则飞控模块112输出高电平,即第二输入为高电平,开关控制电路140则可以输出低电平,以使安全开关130状态闭合,让电源210给负载220供电,进而使得飞行器工作并进入飞行状态。According to Table 1, the switch control circuit 140 can have two inputs, one input from the power switch 120 (hereinafter referred to as the first input), and the other input from the flight control module 112 (hereinafter referred to as the second input). The flight control module 112 can output different level signals according to whether the aircraft is in a flying state. As shown in FIG. 2 , when the safety switch 130 is closed, the current of the power supply 210 flows to the ground through the resistance circuit, which is equivalent to the first input being low level. At this time, if the aircraft is not in the flying state, the output of the flight control module 112 is high. level, that is, the second input is a high level, the switch control circuit 140 can output a low level, so that the safety switch 130 is closed, and the power supply 210 can supply power to the load 220, thereby making the aircraft work and enter the flying state.
当飞行器进入飞行状态时,飞控模块112输出低电平,此时无论电源开关120是断开还是闭合,开关控制电路140都只会输出低电平,以保持安全开关130闭合,让飞行器在飞行状态下,电源210能够为负载220供电。这就能避免用户在飞行器起飞后误触碰电源开关120而导致电源210关断的情况出现。When the aircraft enters the flight state, the flight control module 112 outputs a low level. At this time, no matter whether the power switch 120 is open or closed, the switch control circuit 140 will only output a low level to keep the safety switch 130 closed and the aircraft is in In the flight state, the power source 210 can supply power to the load 220 . This can avoid the situation that the user accidentally touches the power switch 120 after the aircraft takes off and the power source 210 is turned off.
在本实施方式中,如图3所示,可选地,开关控制电路140包括:第一二极管V1、第二二极管V2以及第一电阻R1,其中:第一二极管V1的负极与电源开关120的第一端电连接;第二二极管V2的负极与飞行状态检测电路110电连接;第一电阻R1的第一端与电路电源VCC电连接,第一电阻 R1的第二端分别与第一二极管V1的正极、第二二极管V2的正极和安全开关130电连接,其中,电路电源VCC用于对开关控制电路140进行供电。可选地,第一电阻R1可以为10KΩ。In this embodiment, as shown in FIG. 3 , optionally, the switch control circuit 140 includes: a first diode V1 , a second diode V2 and a first resistor R1 , wherein: the first diode V1 The negative electrode is electrically connected to the first end of the power switch 120; the negative electrode of the second diode V2 is electrically connected to the flight state detection circuit 110; the first end of the first resistor R1 is electrically connected to the circuit power supply VCC, and the first end of the first resistor R1 is electrically connected to the circuit power VCC. The two terminals are respectively electrically connected to the anode of the first diode V1 , the anode of the second diode V2 and the safety switch 130 , wherein the circuit power supply VCC is used to supply power to the switch control circuit 140 . Optionally, the first resistor R1 may be 10KΩ.
在实际应用中,第一二极管V1的负极为第一输入端IN1,第二二极管V2的负极为第一输入端IN2,第一二极管V1的正极、第二二极管V2的正极以及第一电阻R1的第二端的交结处引出为输出端OUT。以下结合表1进行说明,当第一输入端IN1为低电平,第二输入端IN2为高电平时,输出端OUT为低电平。当第一输入端IN1为高电平,第二输入端IN2为高电平时,输出端OUT为高电平。当第二输入端IN2为低电平时,输出端OUT为低电平。In practical applications, the cathode of the first diode V1 is the first input terminal IN1, the cathode of the second diode V2 is the first input terminal IN2, the anode of the first diode V1 and the second diode V2 The junction of the positive electrode of the first resistor R1 and the second end of the first resistor R1 leads to the output end OUT. The following description will be given with reference to Table 1. When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal OUT is at a low level. When the first input terminal IN1 is at a high level and the second input terminal IN2 is at a high level, the output terminal OUT is at a high level. When the second input terminal IN2 is at a low level, the output terminal OUT is at a low level.
在本实施方式中,如图4所示,可选地,开关控制电路140包括:第一肖特基二极管V3、第二肖特基二极管V4以及第二电阻R2,其中:第一肖特基二极管V3的负极与电源开关120的第一端电连接;第二肖特基二极管V4的负极与飞行状态检测电路110电连接;第二电阻R2的第一端与电路电源VCC电连接,第二电阻R2的第二端分别与第一肖特基二极管V3的正极、第二肖特基二极管V4的正极和安全开关130电连接,其中,电路电源VCC用于对开关控制电路140进行供电。可选地,第二电阻R2可以为10KΩ。可选地,第一肖特基二极管V3和第二肖特基二极管V4可以包括BAT54A。In this embodiment, as shown in FIG. 4 , optionally, the switch control circuit 140 includes: a first Schottky diode V3 , a second Schottky diode V4 and a second resistor R2 , wherein: the first Schottky diode V3 The cathode of the diode V3 is electrically connected to the first end of the power switch 120; the cathode of the second Schottky diode V4 is electrically connected to the flight state detection circuit 110; the first end of the second resistor R2 is electrically connected to the circuit power supply VCC, the second The second end of the resistor R2 is respectively electrically connected to the anode of the first Schottky diode V3 , the anode of the second Schottky diode V4 and the safety switch 130 , wherein the circuit power VCC is used to supply power to the switch control circuit 140 . Optionally, the second resistor R2 may be 10KΩ. Optionally, the first Schottky diode V3 and the second Schottky diode V4 may include BAT54A.
在实际应用中,第一肖特基二极管V3的负极为第一输入端IN1,第二肖特基二极管V4的负极为第一输入端IN2,第一肖特基二极管V3的正极、第二肖特基二极管V4的正极以及第二电阻R2的第二端的交结处引出为输出端DT_Ctrl。以下结合表1进行说明,当第一输入端IN1为低电平,第二输入端IN2为高电平时,输出端DT_Ctrl为低电平。当第一输入端IN1为高电平,第二输入端IN2为高电平时,输出端DT_Ctrl为高电平。当第二输入端IN2为低电平时,输出端DT_Ctrl为低电平。In practical applications, the cathode of the first Schottky diode V3 is the first input terminal IN1, the cathode of the second Schottky diode V4 is the first input terminal IN2, the anode of the first Schottky diode V3, the cathode of the second Schottky diode V3 The junction of the anode of the Turkey diode V4 and the second end of the second resistor R2 leads to the output end DT_Ctrl. The following description will be given with reference to Table 1. When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal DT_Ctrl is at a low level. When the first input terminal IN1 is at a high level and the second input terminal IN2 is at a high level, the output terminal DT_Ctrl is at a high level. When the second input terminal IN2 is at a low level, the output terminal DT_Ctrl is at a low level.
在本实施方式中,如图5所示,可选地,开关控制电路140包括:第一MOS管V5、第二MOS管V6以及第三电阻R3,第一MOS管V5和第二MOS管V6均为P型MOS管,其中:第一MOS管V5的栅极与电源开关 120的第一端电连接,第一MOS管V5的漏极接地;第二MOS管V6的栅极与飞行状态检测电路110电连接,第二MOS管V6的漏极接地;第三电阻R3第一端与电路电源VCC电连接,第三电阻R3的第二端分别与第一MOS管V5的源极、第二MOS管V6的源极和安全开关130电连接,其中,电路电源VCC用于对开关控制电路140进行供电。可选地,第三电阻R3可以为10KΩ。In this embodiment, as shown in FIG. 5, optionally, the switch control circuit 140 includes: a first MOS transistor V5, a second MOS transistor V6 and a third resistor R3, a first MOS transistor V5 and a second MOS transistor V6 All are P-type MOS transistors, wherein: the gate of the first MOS transistor V5 is electrically connected to the first end of the power switch 120, the drain of the first MOS transistor V5 is grounded; the gate of the second MOS transistor V6 is connected to the flight state detection The circuit 110 is electrically connected, and the drain of the second MOS transistor V6 is grounded; the first end of the third resistor R3 is electrically connected to the circuit power supply VCC, and the second end of the third resistor R3 is respectively connected to the source of the first MOS transistor V5, the second end of the third resistor R3 The source of the MOS transistor V6 is electrically connected to the safety switch 130 , wherein the circuit power supply VCC is used to supply power to the switch control circuit 140 . Optionally, the third resistor R3 may be 10KΩ.
在实际应用中,第一MOS管V5的栅极为第一输入端IN1,第二MOS管V6的栅极为第二输入端IN2,第三电阻R3的第二端、第一MOS管V5的源极、第二MOS管V6的源极的交结处引出输出端OUT。以下结合表1进行说明,当第一输入端IN1为低电平,第二输入端IN2为高电平时,输出端OUT为低电平。当第一输入端IN1为高电平,第二输入端IN2为高电平时,输出端OUT为高电平。当第二输入端IN2为低电平时,输出端OUT为低电平。In practical applications, the gate of the first MOS transistor V5 is the first input terminal IN1, the gate of the second MOS transistor V6 is the second input terminal IN2, the second terminal of the third resistor R3, and the source of the first MOS transistor V5 , The junction of the sources of the second MOS transistor V6 leads to the output terminal OUT. The following description will be given with reference to Table 1. When the first input terminal IN1 is at a low level and the second input terminal IN2 is at a high level, the output terminal OUT is at a low level. When the first input terminal IN1 is at a high level and the second input terminal IN2 is at a high level, the output terminal OUT is at a high level. When the second input terminal IN2 is at a low level, the output terminal OUT is at a low level.
在本实施方式中,如图6所示,可选地,开关控制电路140包括:芯片U6,该芯片U6具体可以包括MC14081BDG,该芯片U6的第一输入端,即引脚IN1A可以与电源开关120的第一端电连接,该芯片U6的第二输入端,即引脚IN2A可以与飞行状态检测电路110电连接,具体可以是与飞控模块112的输出端电连接,该芯片U6的输出端,即引脚OUTA可以与安全开关130电连接。其中,该芯片U6可以实现如表1所示的信号处理。In this embodiment, as shown in FIG. 6 , optionally, the switch control circuit 140 includes: a chip U6, the chip U6 may specifically include MC14081BDG, and the first input end of the chip U6, that is, the pin IN1A, can be connected with the power switch The first terminal of 120 is electrically connected to the second input terminal of the chip U6, that is, the pin IN2A can be electrically connected to the flight state detection circuit 110, and specifically can be electrically connected to the output terminal of the flight control module 112, and the output terminal of the chip U6 can be electrically connected. The terminal, that is, the pin OUTA, may be electrically connected with the safety switch 130 . Among them, the chip U6 can realize the signal processing shown in Table 1.
可以理解的是,开关控制电路140除了上述实施例提供的电路或芯片以外,还可以是其他的逻辑门电路,该逻辑门电路能够实现如表1所示的信号处理即可,具体的电路结构在此不做限定。It can be understood that, in addition to the circuits or chips provided in the above embodiments, the switch control circuit 140 can also be other logic gate circuits, and the logic gate circuit can realize the signal processing shown in Table 1. The specific circuit structure This is not limited.
在一些实施方式中,该开关电路100还可以包括失效反馈电路,该失效反馈电路可以用于判断飞行器在飞行状态下,电源开关120是否能正常工作,该失效反馈电路可以连接于电源开关120和开关控制电路140之间。当飞行器处于飞行状态下,用户可以通过终端设备断开或闭合电源开关120,此时失效反馈电路则可以检测电源开关120和开关控制电路140之间是否有电流,若在电源开关120开关闭合时,失效反馈电路检测到电源开关120和开 关控制电路140之间没有电流,则确定电源开关120失效,若有电流,则确定电源开关120正常。若在电源开关120开关断开时,失效反馈电路检测到电源开关120和开关控制电路140之间电流,则确定电源开关120失效。当电源开关120失效时,失效反馈电路可以反馈失效信息到用户的终端设备,以提醒用户电源开关120失效。In some embodiments, the switch circuit 100 may further include a failure feedback circuit, which may be used to determine whether the power switch 120 can work normally when the aircraft is in flight, and the failure feedback circuit may be connected to the power switch 120 and the power switch 120. between the switch control circuit 140 . When the aircraft is in flight, the user can open or close the power switch 120 through the terminal device. At this time, the failure feedback circuit can detect whether there is current between the power switch 120 and the switch control circuit 140. If the power switch 120 is closed , the failure feedback circuit detects that there is no current between the power switch 120 and the switch control circuit 140, and determines that the power switch 120 fails, and if there is current, determines that the power switch 120 is normal. If the failure feedback circuit detects the current between the power switch 120 and the switch control circuit 140 when the power switch 120 is switched off, it is determined that the power switch 120 fails. When the power switch 120 fails, the failure feedback circuit can feed back failure information to the user's terminal device to remind the user that the power switch 120 fails.
可选地,失效反馈电路可以包括处理装置、电流检测装置以及通讯装置,电流检测装置可以连接在电源开关120和开关控制电路140之间,处理装置可以分别与电流检测装置和通讯装置电连接,当处理装置在通过电流检测装置检测到没有电流且通讯装置接收到用户发出的闭合指令时,生成失效信息,并将该失效信息再通过通讯装置发送到用户的终端设备。当处理装置在通过电流检测装置检测到有电流且通讯装置接收到用户发出的闭合指令时,生成正常提醒信息,并将该正常提醒信息再通过通讯装置发送到用户的终端设备,以提醒用户电源开关工作正常。Optionally, the failure feedback circuit may include a processing device, a current detection device, and a communication device, the current detection device may be connected between the power switch 120 and the switch control circuit 140, and the processing device may be electrically connected to the current detection device and the communication device, respectively, When the processing device detects that there is no current through the current detection device and the communication device receives the closing instruction from the user, it generates failure information, and sends the failure information to the user's terminal equipment through the communication device. When the processing device detects that there is current through the current detection device and the communication device receives the closing command from the user, it generates normal reminder information, and sends the normal reminder information to the user's terminal equipment through the communication device to remind the user of the power The switch works fine.
考虑到本实施例的开关电路在飞行器处于飞行状态下将暂时关闭电源开关的功能,此时用户无法容易知道电源开关是否出现异常,如果出现异常那么在飞行器降落时可能存在安全隐患,在本实施方式中,通过开关电路还可以包括失效反馈电路,该失效反馈电路可以用于判断飞行器在飞行状态下,电源开关是否能正常工作,从而能够及时提醒用户电源开关是否失效,以确保用户能够安全地控制飞行器。Considering that the switch circuit of this embodiment will temporarily turn off the function of the power switch when the aircraft is in flight, the user cannot easily know whether the power switch is abnormal. In the method, the switch circuit can also include a failure feedback circuit, which can be used to judge whether the power switch of the aircraft can work normally when the aircraft is in flight, so as to timely remind the user whether the power switch fails to ensure that the user can safely Control the aircraft.
请参阅图7,图7示出了本发明一个实施例提供的开关电路控制方法,该方法可以应用于上述实施例的开关电路,该开关电路控制方法可以包括:Please refer to FIG. 7. FIG. 7 shows a switch circuit control method provided by an embodiment of the present invention. The method can be applied to the switch circuit of the above-mentioned embodiment, and the switch circuit control method may include:
S110,飞行状态检测电路检测飞行器是否处于飞行状态。S110, the flight state detection circuit detects whether the aircraft is in a flight state.
在一些实施方式中,飞行状态检测电路可以包括用于获取飞行器与地面之间的距离信息的测距模块,以及用于接收距离信息的飞控模块,飞控模块可以判断距离信息是否超过距离阈值,若超过,则可以确定飞行器处于飞行状态,若不超过,则可以确定飞行器不处于飞行状态。In some embodiments, the flight state detection circuit may include a ranging module for acquiring distance information between the aircraft and the ground, and a flight control module for receiving the distance information, the flight control module may determine whether the distance information exceeds a distance threshold , if it exceeds, it can be determined that the aircraft is in the flying state, if not, it can be determined that the aircraft is not in the flying state.
S120,开关控制电路在飞行器处于飞行状态时,保持安全开关闭合,以使飞行器进入飞行状态时,电源与负载始终连通。S120, the switch control circuit keeps the safety switch closed when the aircraft is in the flight state, so that when the aircraft enters the flight state, the power supply and the load are always connected.
在一些实施方式中,如图8所示,S120可以包括如下步骤:In some embodiments, as shown in FIG. 8 , S120 may include the following steps:
S121,开关控制电路在飞行器不处于飞行状态时,根据所述电源开关的状态控制安全开关开合,以使飞行器电源与所述负载断开或者连通。S121 , when the aircraft is not in the flying state, the switch control circuit controls the opening and closing of the safety switch according to the state of the power switch, so as to disconnect or connect the aircraft power supply with the load.
S122,开关控制电路在飞行器处于飞行状态时,保持安全开关闭合,以使飞行器处于飞行状态时,电源与负载连通。S122, the switch control circuit keeps the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply is connected to the load.
在本实施方式中,通过只有在飞行器不处于飞行状态下(相当于与飞行器处于地面时)用户才能通过电源开关开启或关闭飞行器,在飞行器处于飞行状态下,由安全开关的闭合保证负载与电源之间的连通,从而能够保证飞行器能安全起飞、降落以及处于空中时不会断电。In this embodiment, the user can turn on or turn off the aircraft through the power switch only when the aircraft is not in the flying state (equivalent to when the aircraft is on the ground). When the aircraft is in the flying state, the load and power supply are guaranteed by closing the safety switch. The connectivity between them can ensure that the aircraft can take off and land safely and will not be powered off when in the air.
请参阅图9,图9示出了本发明一个实施例提供的开关电路控制方法,该方法可以应用于上述实施例的开关电路,具体应用于开关电路的开关控制电路,该开关电路控制方法可以包括:Please refer to FIG. 9. FIG. 9 shows a switch circuit control method provided by an embodiment of the present invention. The method can be applied to the switch circuit of the above-mentioned embodiment, and is specifically applied to the switch control circuit of the switch circuit. The switch circuit control method can be include:
S210,获取飞行状态检测电路采集的飞行状态信息以及电源开关的工作状态。S210: Acquire the flight state information collected by the flight state detection circuit and the working state of the power switch.
其中,飞行状态信息可以包括用于表征飞行器处于飞行状态的第一飞行信息和用于表针飞行器不处于飞行状态的第二飞行信息。The flight state information may include first flight information for indicating that the aircraft is in a flight state and second flight information for indicating that the aircraft is not in a flight state.
电源开关的工作状态可以包括断开状态和闭合状态。The working state of the power switch may include an open state and a closed state.
S220,若根据飞行状态信息确定飞行器不处于飞行状态,且所述电源开关为闭合状态,则控制安全开关闭合。S220, if it is determined according to the flight state information that the aircraft is not in the flight state and the power switch is in the closed state, control the safety switch to be closed.
当开关控制电路接收到第二飞行信息,且电源开关为闭合状态时,则可以生成第一控制指令,并将第一控制指令发送至安全开关以指示安全开关闭合。When the switch control circuit receives the second flight information and the power switch is in a closed state, it can generate a first control command and send the first control command to the safety switch to instruct the safety switch to close.
S230,若根据飞行状态信息确定飞行器处于飞行状态,则保持安全开关闭合。S230, if it is determined according to the flight state information that the aircraft is in a flight state, keep the safety switch closed.
当开关控制电路接收到第一飞行信息时,则可以生成第二控制指令,并将第二控制指令发送至安全开关以指示安全开关保持闭合。When the switch control circuit receives the first flight information, it can generate a second control command, and send the second control command to the safety switch to instruct the safety switch to remain closed.
请参阅图10,其示出了本发明实施例提供的开关电路控制装置400,应用于上述实施例的开关电路,具体应用于开关控制电路,该开关电路控制装 置400包括:信息获取模块410、第一控制模块420以及第二控制电路430。其中:Please refer to FIG. 10 , which shows a switch circuit control apparatus 400 provided by an embodiment of the present invention, which is applied to the switch circuit of the above-mentioned embodiment, and is specifically applied to a switch control circuit. The switch circuit control apparatus 400 includes: an information acquisition module 410, The first control module 420 and the second control circuit 430 . in:
信息获取模块410,用于获取飞行状态检测电路采集的飞行状态信息以及电源开关的工作状态。The information acquisition module 410 is used for acquiring the flight state information collected by the flight state detection circuit and the working state of the power switch.
第一控制模块420,用于若根据飞行状态信息确定飞行器不处于飞行状态,且所述电源开关为闭合状态,则控制安全开关闭合。The first control module 420 is configured to control the safety switch to be closed if it is determined according to the flight state information that the aircraft is not in the flight state and the power switch is in the closed state.
第二控制电路430,用于若根据飞行状态信息确定飞行器处于飞行状态,则控制安全开关闭合。The second control circuit 430 is configured to control the safety switch to close if it is determined according to the flight state information that the aircraft is in a flight state.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the above-described devices and modules, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本发明所提供的几个实施例中,所显示或讨论的模块相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In several embodiments provided by the present invention, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be electrical, mechanical or otherwise.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules.
请参考图11,其示出了本发明实施例提供的一种飞行器的结构框图。该飞行器500可以是前述实施例中能够运行程序的飞行器500。本发明中的飞行器500可以包括一个或多个如下部件:处理器510、存储器520、以及一个或多个程序,其中一个或多个程序可以被存储在存储器520中并被配置为由一个或多个处理器510执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 11 , which shows a structural block diagram of an aircraft provided by an embodiment of the present invention. The aircraft 500 may be the aircraft 500 capable of running the program in the aforementioned embodiments. Aircraft 500 in the present invention may include one or more of the following components: processor 510, memory 520, and one or more programs, wherein one or more programs may be stored in memory 520 and configured to be executed by one or more programs The processors 510 execute, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
处理器510可以包括一个或者多个处理核。处理器510利用各种接口和线路连接整个飞行器500内的各个部分,通过运行或执行存储在存储器520内的指令、程序、代码集或指令集,以及调用存储在存储器520内的数据,执行飞行器500的各种功能和处理数据。可选地,处理器510可以采用数字 信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器510可集成中央处理器510(Central Processing Unit,CPU)、图像处理器510(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器510中,单独通过一块通信芯片进行实现。 Processor 510 may include one or more processing cores. The processor 510 uses various interfaces and lines to connect various parts of the entire aircraft 500, and executes the aircraft by running or executing the instructions, programs, code sets or instruction sets stored in the memory 520, and calling the data stored in the memory 520. 500 of various functions and processing data. Optionally, the processor 510 may adopt at least one of a digital signal processing (Digital Signal Processing, DSP), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and a Programmable Logic Array (Programmable Logic Array, PLA). A hardware form is implemented. The processor 510 may integrate one or a combination of a central processing unit 510 (Central Processing Unit, CPU), a graphics processor 510 (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used for rendering and drawing of the display content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 510, and is implemented by a communication chip alone.
其中,处理器510可以相当于图1中的开关控制电路。The processor 510 may be equivalent to the switch control circuit in FIG. 1 .
存储器520可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器520可用于存储指令、程序、代码、代码集或指令集。存储器520可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令、用于实现上述各个方法实施例的指令等。存储数据区还可以存储飞行器在使用中所创建的数据(比如定位信息、工作状态参数、行驶记录数据)等。The memory 520 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Memory 520 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 520 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above method embodiments, and the like. The storage data area can also store data (such as positioning information, working state parameters, and driving record data) created by the aircraft in use.
请再次参阅图11,该飞行器还可以包括:Referring again to Figure 11, the aircraft may also include:
飞行状态检测电路530,该飞行状态检测电路530与该处理器510电连接,用于检测飞行器是否处于飞行状态。The flight state detection circuit 530 is electrically connected to the processor 510 for detecting whether the aircraft is in a flight state.
安全开关540,该安全开关540与该处理器510电连接,且该安全开关540可以在闭合时接通飞行器的电源和负载220,在断开时,使飞行器的负载220断电。A safety switch 540 is electrically connected to the processor 510, and the safety switch 540 can turn on the power supply of the aircraft and the load 220 when it is closed, and de-energize the load 220 of the aircraft when it is turned off.
请参阅图12,其示出了本发明实施例提供的一种计算机可读存储介质的结构框图。该计算机可读介质600中存储有程序代码610,程序代码610可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 12 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present invention. The computer-readable medium 600 stores program codes 610, and the program codes 610 can be invoked by the processor to execute the methods described in the above method embodiments.
计算机可读存储介质600可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读存储介质包括非瞬时性计算机可读介质(non-transitory  computer-readable storage medium)。计算机可读存储介质具有执行上述方法中的任何方法步骤的程序代码的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码可以例如以适当形式进行压缩。The computer-readable storage medium 600 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. A computer-readable storage medium has storage space for program code to perform any of the method steps in the above-described methods. These program codes can be read from or written to one or more computer program products. The program code may, for example, be compressed in a suitable form.
综上所述,本发明实施例提供的开关电路、开关电路控制方法以及飞行器,该开关电路通过飞行状态检测电路、电源开关、安全开关以及开关控制电路组成,其中:飞行状态检测电路用于检测飞行器是否处于飞行状态,电源开关与飞行器的电源电连接安全开关分别与飞行器的电源和飞行器的负载电连接;开关控制电路分别与飞行状态检测电路、电源开关以及安全开关电连接,用于当飞行器处于飞行状态时,保持安全开关闭合,以使飞行器处于飞行状态时,电源与负载连通。由于电源和负载之间通过安全开关连接,而安全开关由开关控制电路根据电源开关的工作状态和飞行状态检测电路的检测情况控制,开关控制电路可以在飞行器不处于飞行状态时,根据电源开关的状态来控制安全开关的状态,从而起到安全开启和关闭飞行器的作用;还可以在飞行器处于飞行状态时,始终保持安全开关闭合,即电源开关的状态不影响安全开关的状态,从而避免了飞行器处于飞行状态时,因用户对电源开关的误触碰而导致负载断电的情况,有效提升了飞行器在工作时的安全性。另外,本实施例的开关电路可以在原有飞行器的电路结构基础上仅引入安全开关和开关控制电路即可实现上述效果,避免了对飞行器电路结构的过大改动,不仅安装方便,而且成本较低,能够被广泛应用。To sum up, the switch circuit, the switch circuit control method, and the aircraft provided by the embodiments of the present invention are composed of a flight state detection circuit, a power switch, a safety switch, and a switch control circuit, wherein: the flight state detection circuit is used to detect Whether the aircraft is in flight state, the power switch is electrically connected to the power supply of the aircraft; the safety switch is electrically connected to the power supply of the aircraft and the load of the aircraft; the switch control circuit is electrically connected to the flight state detection circuit, the power switch and the safety switch respectively, and is used when the aircraft When in flight, keep the safety switch closed, so that when the aircraft is in flight, the power supply is connected to the load. Since the power supply and the load are connected through a safety switch, and the safety switch is controlled by the switch control circuit according to the working state of the power switch and the detection condition of the flight state detection circuit, the switch control circuit can be used when the aircraft is not in flight state. The state of the safety switch is controlled by the state of the power switch, so as to safely turn on and off the aircraft; it is also possible to keep the safety switch closed when the aircraft is in flight state, that is, the state of the power switch does not affect the state of the safety switch, thus avoiding the aircraft In the flight state, the load is powered off due to the user's mistaken touch on the power switch, which effectively improves the safety of the aircraft during operation. In addition, the switch circuit of this embodiment can achieve the above effects by only introducing a safety switch and a switch control circuit on the basis of the circuit structure of the original aircraft, avoids excessive changes to the circuit structure of the aircraft, and is not only easy to install, but also low in cost , can be widely used.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: it can still be The technical solutions described in the foregoing embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not drive the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (14)

  1. 一种开关电路,其特征在于,应用于飞行器,包括:A switch circuit, characterized in that, applied to an aircraft, comprising:
    飞行状态检测电路,所述飞行状态检测电路用于检测所述飞行器是否处于飞行状态;a flight state detection circuit, the flight state detection circuit is used to detect whether the aircraft is in a flight state;
    电源开关,所述电源开关与所述飞行器的电源电连接;a power switch, the power switch is electrically connected to the power supply of the aircraft;
    安全开关,所述安全开关分别与所述飞行器的电源和所述飞行器的负载电连接;以及a safety switch electrically connected to the power supply of the aircraft and the load of the aircraft, respectively; and
    开关控制电路,所述开关控制电路分别与所述飞行状态检测电路、所述电源开关以及所述安全开关电连接,用于当所述飞行器处于飞行状态时,保持所述安全开关闭合,以使所述飞行器处于飞行状态时,所述电源与所述负载始终连通。A switch control circuit, the switch control circuit is electrically connected to the flight state detection circuit, the power switch and the safety switch respectively, and is used for keeping the safety switch closed when the aircraft is in the flight state, so as to make the safety switch closed. When the aircraft is in a flying state, the power supply and the load are always connected.
  2. 根据权利要求1所述的开关电路,其特征在于,所述开关电路还包括:The switch circuit according to claim 1, wherein the switch circuit further comprises:
    电阻电路,所述电阻电路的第一端分别与所述电源和所述安全开关的第一端电连接,所述电阻电路的第二端分别与所述电源开关的第一端和所述开关控制电路电连接,所述安全开关的第二端与所述负载电连接,所述电源开关的第二端接地,所述电源开关的第一端为分别与所述电源和所述电源开关电连接的一端。A resistance circuit, the first end of the resistance circuit is electrically connected to the power supply and the first end of the safety switch respectively, and the second end of the resistance circuit is respectively connected to the first end of the power switch and the switch The control circuit is electrically connected, the second end of the safety switch is electrically connected to the load, the second end of the power switch is grounded, and the first end of the power switch is electrically connected to the power supply and the power switch respectively. one end of the connection.
  3. 根据权利要求2所述的开关电路,其特征在于,所述开关电路包括第一输入端、第二输入端以及输出端;The switch circuit according to claim 2, wherein the switch circuit comprises a first input terminal, a second input terminal and an output terminal;
    所述第一输入端与所述电源开关的第一端电连接;the first input terminal is electrically connected to the first terminal of the power switch;
    所述第二输入端与所述飞行状态检测电路电连接;the second input terminal is electrically connected to the flight state detection circuit;
    所述输出端与所述安全开关电连接,所述输出端在所述第一输入端为高电平,所述第二输入端为高电平时,输出高电平,以使所述安全开关断开,以及在所述第二输入端为低电平时,输出低电平,以使所述安全开关闭合。The output terminal is electrically connected to the safety switch, and the output terminal outputs a high level when the first input terminal is at a high level and when the second input terminal is at a high level, so that the safety switch disconnected, and when the second input terminal is at a low level, a low level is output to close the safety switch.
  4. 根据权利要求2所述的开关电路,其特征在于,所述开关控制电路包括:第一二极管、第二二极管以及第一电阻,The switch circuit according to claim 2, wherein the switch control circuit comprises: a first diode, a second diode and a first resistor,
    所述第一二极管的负极与所述电源开关的第一端电连接;The cathode of the first diode is electrically connected to the first end of the power switch;
    所述第二二极管的负极与所述飞行状态检测电路电连接;The cathode of the second diode is electrically connected to the flight state detection circuit;
    所述第一电阻的第一端与电路电源电连接,所述第一电阻的第二端分别 与所述第一二极管的正极、所述第二二极管的正极和所述安全开关电连接,其中,所述电路电源用于对所述开关控制电路进行供电。The first end of the first resistor is electrically connected to the circuit power supply, and the second end of the first resistor is respectively connected to the anode of the first diode, the anode of the second diode and the safety switch an electrical connection, wherein the circuit power supply is used to power the switch control circuit.
  5. 根据权利要求2所述的开关电路,其特征在于,所述开关控制电路包括:第一肖特基二极管、第二肖特基二极管以及第二电阻,The switch circuit according to claim 2, wherein the switch control circuit comprises: a first Schottky diode, a second Schottky diode and a second resistor,
    所述第一肖特基二极管的负极与所述电源开关的第一端电连接;The cathode of the first Schottky diode is electrically connected to the first end of the power switch;
    所述第二肖特基二极管的负极与所述飞行状态检测电路电连接;The cathode of the second Schottky diode is electrically connected to the flight state detection circuit;
    所述第二电阻的第一端与电路电源电连接,所述第二电阻的第二端分别与所述第一肖特基二极管的正极、所述第二肖特基二极管的正极和所述安全开关电连接,其中,所述电路电源用于对所述开关控制电路进行供电。The first end of the second resistor is electrically connected to the circuit power supply, and the second end of the second resistor is respectively connected to the anode of the first Schottky diode, the anode of the second Schottky diode and the The safety switch is electrically connected, wherein the circuit power supply is used to power the switch control circuit.
  6. 根据权利要求2所述的开关电路,其特征在于,所述开关控制电路包括:第一MOS管、第二MOS管以及第三电阻,所述第一MOS管和所述第二MOS管均为P型MOS管,The switch circuit according to claim 2, wherein the switch control circuit comprises: a first MOS transistor, a second MOS transistor and a third resistor, and the first MOS transistor and the second MOS transistor are both P-type MOS tube,
    所述第一MOS管的栅极与所述电源开关的第一端电连接,所述第一MOS管的漏极接地;the gate of the first MOS transistor is electrically connected to the first end of the power switch, and the drain of the first MOS transistor is grounded;
    所述第二MOS管的栅极与所述飞行状态检测电路电连接,所述第二MOS管的漏极接地;The gate of the second MOS transistor is electrically connected to the flight state detection circuit, and the drain of the second MOS transistor is grounded;
    所述第三电阻第一端与电路电源电连接,所述第三电阻的第二端分别与所述第一MOS管的源极、所述第二MOS管的源极和所述安全开关电连接,其中,所述电路电源用于对所述开关控制电路进行供电。The first end of the third resistor is electrically connected to the circuit power supply, and the second end of the third resistor is respectively electrically connected to the source of the first MOS transistor, the source of the second MOS transistor and the safety switch. connected, wherein the circuit power supply is used to power the switch control circuit.
  7. 根据权利要求2所述的开关电路,其特征在于,所述开关电路包括芯片MC14081BDG,The switch circuit according to claim 2, wherein the switch circuit comprises a chip MC14081BDG,
    所述芯片MC14081BDG的第一输入端与所述电源开关的第一端电连接;The first input end of the chip MC14081BDG is electrically connected to the first end of the power switch;
    所述芯片MC14081BDG的第二输入端与所述飞行状态检测电路电连接;The second input end of the chip MC14081BDG is electrically connected to the flight state detection circuit;
    所述芯片MC14081BDG的输出端与所述安全开关电连接。The output end of the chip MC14081BDG is electrically connected with the safety switch.
  8. 根据权利要求1至7任一项所述的开关电路,其特征在于,所述飞行状态检测电路,包括测距模块和飞控模块,The switch circuit according to any one of claims 1 to 7, wherein the flight state detection circuit comprises a ranging module and a flight control module,
    所述测距模块用于检测所述飞行器与地面之间的距离;The ranging module is used to detect the distance between the aircraft and the ground;
    所述飞控模块分别与所述测距模块和所述开关控制电路电连接,用于根据所述飞行器与地面之间的距离确定所述飞行器是否处于飞行状态。The flight control module is respectively electrically connected with the ranging module and the switch control circuit, and is used for determining whether the aircraft is in a flying state according to the distance between the aircraft and the ground.
  9. 根据权利要求8所述的开关电路,其特征在于,所述测距模块包括超声波测距传感器、红外测距传感器、激光测距传感器、激光雷达测距传感器中的一种或多种组合。The switch circuit according to claim 8, wherein the ranging module comprises one or more combinations of ultrasonic ranging sensors, infrared ranging sensors, laser ranging sensors, and lidar ranging sensors.
  10. 根据权利要求1至7任一项所述的开关电路,其特征在于,所述飞行状态检测电路,包括通讯模块和飞控模块,The switch circuit according to any one of claims 1 to 7, wherein the flight state detection circuit comprises a communication module and a flight control module,
    所述通讯模块,用于接收针对所述飞行器的飞行状态控制指令;the communication module, configured to receive a flight state control instruction for the aircraft;
    所述飞控模块分别与所述通讯模块和所述开关控制电路电连接,用于根据所述飞行状态控制指令确定所述飞行器是否处于飞行状态。The flight control module is respectively electrically connected to the communication module and the switch control circuit, and is used for determining whether the aircraft is in a flight state according to the flight state control instruction.
  11. 根据权利要求1至7任一项所述的开关电路,其特征在于,所述开关控制电路还用于:The switch circuit according to any one of claims 1 to 7, wherein the switch control circuit is further used for:
    当所述飞行器不处于飞行状态时,根据所述电源开关的状态控制所述安全开关开合,以使所述飞行器的电源与所述负载断开或者连通。When the aircraft is not in a flying state, the safety switch is controlled to open and close according to the state of the power switch, so as to disconnect or connect the power supply of the aircraft to the load.
  12. 一种开关电路控制方法,其特征在于,应用于如权利要求1至7任一项所述的开关电路,所述方法包括:A switch circuit control method, characterized in that, applied to the switch circuit according to any one of claims 1 to 7, the method comprising:
    所述飞行状态检测电路检测所述飞行器是否处于飞行状态;The flight state detection circuit detects whether the aircraft is in a flight state;
    所述开关控制电路在所述飞行器处于飞行状态时,保持所述安全开关闭合,以使所述飞行器处于飞行状态时,所述电源与所述负载始终连通。The switch control circuit keeps the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply and the load are always connected.
  13. 根据权利要求12所述的方法,其特征在于,所述开关控制电路在所述飞行器处于飞行状态时,保持所述安全开关闭合,以使所述飞行器处于飞行状态时,所述电源与所述负载连通,包括:The method according to claim 12, wherein the switch control circuit keeps the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply and the Load connectivity, including:
    所述开关控制电路在所述飞行器不处于飞行状态时,根据所述电源开关的状态控制所述安全开关开合,以使所述飞行器的电源与所述负载断开或者连通;The switch control circuit controls the opening and closing of the safety switch according to the state of the power switch when the aircraft is not in a flying state, so as to disconnect or connect the power supply of the aircraft with the load;
    所述开关控制电路在所述飞行器处于飞行状态时,保持所述安全开关闭 合,以使所述飞行器处于飞行状态时,所述电源与所述负载连通。The switch control circuit keeps the safety switch closed when the aircraft is in a flying state, so that when the aircraft is in a flying state, the power supply is connected to the load.
  14. 一种飞行器,其特征在于,包括:An aircraft, characterized in that, comprising:
    一个或多个处理器;one or more processors;
    存储器;memory;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中被配置为由所述一个或多个处理器执行,所述一个或多个应用程序配置用于执行权利要求12或13所述的方法。one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs are configured to execute a right The method of claim 12 or 13.
PCT/CN2021/106103 2021-03-02 2021-07-13 Switching circuit, switching circuit control method, and aircraft WO2022183659A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110232158.1A CN112904706A (en) 2021-03-02 2021-03-02 Switching circuit, switching circuit control method and aircraft
CN202120456044.0 2021-03-02
CN202110232158.1 2021-03-02
CN202120456044.0U CN214751375U (en) 2021-03-02 2021-03-02 Switching circuit

Publications (1)

Publication Number Publication Date
WO2022183659A1 true WO2022183659A1 (en) 2022-09-09

Family

ID=83154867

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/106103 WO2022183659A1 (en) 2021-03-02 2021-07-13 Switching circuit, switching circuit control method, and aircraft

Country Status (1)

Country Link
WO (1) WO2022183659A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9828107B1 (en) * 2014-08-25 2017-11-28 Stc.Unm Redundant component and intelligent computerized control system for multi-rotor VTOL aircraft
US20190086463A1 (en) * 2017-09-19 2019-03-21 Drone Racing League, Inc. Wireless power initiated aircraft test system
CN111258241A (en) * 2018-12-03 2020-06-09 北京华航无线电测量研究所 Wireless transmission startup and shutdown control device for aircraft data recording equipment
CN111682644A (en) * 2020-06-08 2020-09-18 朗星无人机系统有限公司 Power management system based on manned and unmanned modification
CN111886771A (en) * 2019-03-28 2020-11-03 深圳市大疆创新科技有限公司 Method, circuit and device for managing power supply
CN112904706A (en) * 2021-03-02 2021-06-04 广东汇天航空航天科技有限公司 Switching circuit, switching circuit control method and aircraft

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9828107B1 (en) * 2014-08-25 2017-11-28 Stc.Unm Redundant component and intelligent computerized control system for multi-rotor VTOL aircraft
US20190086463A1 (en) * 2017-09-19 2019-03-21 Drone Racing League, Inc. Wireless power initiated aircraft test system
CN111258241A (en) * 2018-12-03 2020-06-09 北京华航无线电测量研究所 Wireless transmission startup and shutdown control device for aircraft data recording equipment
CN111886771A (en) * 2019-03-28 2020-11-03 深圳市大疆创新科技有限公司 Method, circuit and device for managing power supply
CN111682644A (en) * 2020-06-08 2020-09-18 朗星无人机系统有限公司 Power management system based on manned and unmanned modification
CN112904706A (en) * 2021-03-02 2021-06-04 广东汇天航空航天科技有限公司 Switching circuit, switching circuit control method and aircraft

Similar Documents

Publication Publication Date Title
US20220035436A1 (en) Usb interface circuit and method for low power operation
ES2745043T3 (en) Charge control method, charge control device and terminal
US9146606B2 (en) Computer and waking method thereof
CN105334865A (en) Battery monitor-based flight control method and flight control device
CN112904706A (en) Switching circuit, switching circuit control method and aircraft
CN205353767U (en) Unmanned aerial vehicle
CN105337374A (en) Method for prolonging power supply time
US20120042183A1 (en) Apparatus for adjusting computer power mode
WO2022183659A1 (en) Switching circuit, switching circuit control method, and aircraft
CN214751375U (en) Switching circuit
CN207516929U (en) Switching on and shutting down control circuit and mobile terminal
CN102723693B (en) Load protection circuit and method for electric tool
US20140308994A1 (en) Level jump reset ic design circuit
US11146088B2 (en) Power control circuit and power control method
CN105098854B (en) Charging method and electronic device
CN105353967A (en) Method and apparatus for turning on camera function of mobile terminal
CN113721508B (en) Power-on and power-off time sequence control device and method
CN216816805U (en) Wake-up circuit, detection circuit, control guide circuit, chip and vehicle
CN102810840B (en) Voltage protection system
CN211349294U (en) Power supply control device and electronic apparatus
US20130061030A1 (en) System capable of booting through a universal serial bus device and method thereof
US10521682B1 (en) Apparatus and method for controlling object detection
CN103988429B (en) Output of pulse signal device
CN113287080A (en) Extending processor performance
CN205491383U (en) Light control device

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

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

Country of ref document: EP

Kind code of ref document: A1