Load control device, unmanned aerial vehicle, unmanned aerial vehicle control system and load control method
By using load control devices in drones, processing modules and switching modules are used in conjunction with each other, the problems of high hardware costs and maintenance complexity of drones are solved, and more economical and simplified load control is achieved.
Patent Information
- Application Number
- CN202011451540.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-09
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2040-12-09
AI Technical Summary
The existing drones have high hardware costs and high maintenance complexity, mainly due to the need to design multiple electronic speed regulators to match the loads of different motors.
A load control device is provided, including a processing module and a switching module. After connecting the load, the switching module inputs an electrical signal corresponding to the load to the processing module. The processing module determines the load type based on the electrical signal and outputs a matching control signal.
Save hardware costs and reduce maintenance complexity by reducing the need for multiple load control devices.
Smart Images

Figure CN112506223B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of unmanned aerial vehicles (UAVs), and more specifically, to a load control device, an unmanned aerial vehicle (UAV), an unmanned aerial vehicle (UAV) control system, and a load control method. Background Art
[0002] With the rapid development of drone technology, drones are widely used in more and more fields. For example, in the field of vegetation protection, drones can be used in agricultural scenarios such as vegetation spraying and vegetation sowing.
[0003] At present, since drones are used in many agricultural scenarios, drones are usually equipped with multiple motors. Due to the differences in motor loads and motor working environments, it is often necessary to design multiple electronic speed regulators for matching. The electronic speed regulator is used to adjust the speed of the motor.
[0004] However, the use of multiple electronic speed controllers results in higher hardware costs for the UAV and higher maintenance complexity. Summary of the invention
[0005] The purpose of this application is to provide a load control device, a UAV, a UAV control system and a load control method to address the deficiencies in the above-mentioned prior art, so as to solve the problems of high hardware cost and high maintenance complexity of UAVs in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a load control device, including: a processing module and a switching module;
[0008] The output end of the switching module is connected to the input end of the processing module;
[0009] The input end of the switching module is used to connect the load;
[0010] The output end of the processing module is used to connect the load;
[0011] The switching module is used to input an electrical signal corresponding to the load to the processing module after being connected to the load;
[0012] The processing module is used to determine the type of the load according to the electrical signal input by the switching module, and output a control signal matching the type of the load.
[0013] In an optional implementation, the switching module includes: a switch unit;
[0014] The output end of the switch unit is connected to the input end of the processing module;
[0015] The input end of the switch unit is connected to the load;
[0016] The grounding terminal of the switch unit is grounded;
[0017] The power supply terminal of the switch unit is connected to the voltage terminal.
[0018] In an optional implementation, the switching module further includes: a first resistor and a second resistor;
[0019] The first resistor is arranged between the power supply terminal of the switch unit and the ground terminal of the switch unit;
[0020] The second resistor is arranged between the input end of the switch unit and the output end of the switch unit.
[0021] In an optional implementation, the switching module is specifically used to:
[0022] After the load is connected, the switch unit is turned on or off under the action of the load, and the electrical signal is input to the processing module accordingly.
[0023] In an optional implementation, the input end of the processing module includes: a first interface;
[0024] The processing module is specifically used for:
[0025] A logic value corresponding to the electrical signal is obtained based on the first interface analysis, the type of the load is determined according to the logic value, and a control signal matching the type of the load is output.
[0026] In an optional implementation, the input end of the processing module includes: a second interface;
[0027] The processing module is specifically used for:
[0028] A sampled voltage value of the electrical signal is obtained based on sampling of the second interface, the type of the load is determined according to the sampled voltage value, and a control signal matching the type of the load is output.
[0029] In a second aspect, another embodiment of the present application provides a drone, comprising: a load control device as described in any one of the first aspects.
[0030] In an optional embodiment, the load includes: a spraying device and a spreading device.
[0031] In a third aspect, another embodiment of the present application provides a drone control system, comprising: the drone and a control terminal as described in any one of the second aspects;
[0032] The control terminal is in communication connection with the drone;
[0033] The control terminal is used to send a control instruction to the UAV, and the control instruction is used to instruct to start the target load;
[0034] The drone is used to connect the input end of the switching module in the load control device to the target load and connect the output end of the processing module in the load control device to the target load according to the control instruction.
[0035] In a fourth aspect, another embodiment of the present application provides a load control method, which is applied to the load control device according to any one of the first aspects, and the method includes:
[0036] Receiving the electrical signal formed after connecting the load;
[0037] determining the type of the load according to the electrical signal;
[0038] A control signal matching the type of the load is output.
[0039] In an optional implementation manner, determining the type of the load according to the electrical signal includes:
[0040] Analyzing the electrical signal to obtain a logic value corresponding to the electrical signal;
[0041] The type of the load is determined according to the logic value.
[0042] In an optional implementation manner, determining the type of the load according to the electrical signal includes:
[0043] Sampling the electrical signal to obtain a sampled voltage value of the electrical signal;
[0044] The type of the load is determined according to the sampled voltage value.
[0045] The present application discloses a load control device, a drone, a drone control system, and a load control method, which belong to the field of drone technology, wherein the load control device includes: a processing module and a switching module, wherein the output end of the switching module is connected to the input end of the processing module, the input end of the switching module is used to connect the load, the output end of the processing module is used to connect the load, the switching module is used to input an electrical signal corresponding to the load to the processing module after the load is connected, the processing module is used to determine the type of the load according to the electrical signal input by the switching module, and output a control signal matching the type of the load. The present application inputs an electrical signal corresponding to the load to the processing module according to the different connected loads, and the processing module can output a control signal matching the load type according to the input electrical signal. Compared with the prior art, multiple load control devices are not required, which not only saves hardware costs, but also reduces maintenance complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0047] Figure 1 A schematic diagram of the structure of an existing drone provided in an embodiment of the present application is shown;
[0048] Figure 2 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 1 ;
[0049] Figure 3 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 2 ;
[0050] Figure 4 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 3 ;
[0051] Figure 5 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 4 ;
[0052] Figure 6 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 5 ;
[0053] Figure 7 A schematic diagram of the structure of a drone provided in an embodiment of the present application is shown;
[0054] Figure 8A schematic diagram of the structure of a drone control system provided in an embodiment of the present application is shown;
[0055] Fig. 9 A flow chart of a load control method provided in an embodiment of the present application is shown.
[0056] Reference numerals:
[0057] 10- load control device; 20- drone; 30- drone control system; 40- control terminal.
[0058] 100 - processing module; 200 - switching module; 300 - load; 210 - switch unit; 220 - first resistor; 230 - second resistor; 110 - first interface; 120 - second interface. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0060] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0061] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0062] In the description of the present application, the terms “first”, “second”, “third”, etc. are only used to distinguish the descriptions and should not be understood as indicating or implying relative importance.
[0063] In the description of this application, "connection" and / or "connected" should be understood as "electrical connection", "communication connection", etc. if the connected and / or "connected" circuits, modules, units, etc. have electrical signals or data transmission with each other.
[0064] With the rapid development of drone technology, drones are widely used in more and more fields. In the field of vegetation protection, plant protection drones can be used in agricultural scenarios such as vegetation spraying and vegetation sowing. Usually, users can send control commands to plant protection drones through the control terminal. The plant protection drones can perform corresponding agricultural operations such as spraying and sowing according to the received control commands.
[0065] Of course, the control instruction may also carry execution parameters, which may include, for example, a spraying interval, the amount of liquid sprayed each time, a sowing interval, the amount of crop seeds sown each time, and the like.
[0066] Figure 1 The structure diagram of the existing drone provided by the embodiment of the present application is shown as follows: Figure 1 As shown, the existing UAV includes multiple electronic speed regulators and loads matched with each electronic speed regulator, wherein the multiple electronic speed regulators are respectively recorded as electronic speed regulator 1, electronic speed regulator 2...electronic speed regulator n, and the loads matched with each electronic speed regulator are respectively recorded as load 1, load 2...load n.
[0067] Among them, the electronic speed controller is referred to as ESC, which is used to adjust the speed of the motor. Usually, according to the different motors, the electronic speed controller can be divided into brushed ESC and brushless ESC.
[0068] The loads matched with each electronic speed regulator may include a spraying device, a sowing device, etc., wherein the spraying device includes a spraying motor, which is used to spray liquid to the area where the crops are located under the action of the spraying motor. The liquid may include pesticides, herbicides, etc., and the sowing device includes a sowing motor. The sowing circuit is used to sow crop seeds, etc. to the designated area under the action of the sowing motor.
[0069] It can be seen from this that existing drones need to use multiple electronic speed regulators, which results in high hardware costs for drones and high maintenance complexity.
[0070] Based on this, the present application provides a load control device, which can input an electrical signal corresponding to the load into the processing module according to the different connected loads. The processing module can output a control signal matching the load type according to the input electrical signal, which not only saves hardware costs but also reduces maintenance complexity.
[0071] The contents disclosed in this application are described in detail below with reference to several specific embodiments.
[0072] Figure 2 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 1 ,like Figure 2As shown, the load control device 10 includes: a processing module 100 and a switching module 200, the output end OUT of the switching module 200 is connected to the input end IN of the processing module 100, the input end IN of the switching module 200 is used to connect the load, the output end OUT of the processing module 100 is used to connect the load 300, the switching module 200 is used to input an electrical signal corresponding to the load 300 to the processing module 100 after connecting the load 300, the processing module 100 is used to determine the type of the load 300 according to the electrical signal input by the switching module 200, and output a control signal matching the type of the load 300.
[0073] The load control device 10 may be an electronic speed regulator.
[0074] Among them, the load 300 may include a spraying device and a sowing device. The spraying device may include a spraying motor, which is used to spray liquid to the area where the crops are located under the action of the spraying motor. The liquid may include pesticides, herbicides, etc. The sowing device includes a sowing motor, and the sowing circuit is used to sow crop seeds, etc. to the designated area under the action of the sowing motor.
[0075] Of course, the above description is only based on the example that the load 300 includes a spraying device and a spreading device. In actual applications, the load 300 includes but is not limited to the above two types.
[0076] The input terminal IN of the switching module 200 is used to connect the load 300, and the output terminal OUT of the switching module 200 is connected to the input terminal IN of the processing module 100. The switching module 200 is used to input an electrical signal corresponding to the load 300 to the processing module 100 after connecting the load 300. That is to say, when different types of loads 300 are connected, the switching module 200 can output electrical signals of different sizes. In this way, the switching module 200 can input an electrical signal corresponding to the load 300 to the processing module 100.
[0077] It should be noted that the connected load 300 can be determined based on the received control instructions, that is, the user can remotely operate the control terminal to send control instructions to the load control device 10, and the load control device 10 can make the switching module 200 connect to the corresponding load 300 according to the received control instructions, wherein the control instructions may include the type of load 300.
[0078] The processing module 100 may be an electronic speed regulator, the output end OUT of the processing module 100 is used to connect the load 300, the input end IN of the processing module 100 is connected to the output end OUT of the switching module 200, the load 300 is connected to the switching module 200, and an electrical signal corresponding to the load 300 is input to the processing module 100. The processing module 100 may determine the type of the load 300 connected to the switching module 200 according to the electrical signal, and output a control signal matching the type of the load 300 to control the load 300 to perform a corresponding operation, that is, different types of loads 300 may correspond to an electrical signal range, for example, the electrical signal range [0V, 0.5V] corresponds to load 1, and the electrical signal range [3.0V, 3.3V] corresponds to load 2, then the processing module 100 may determine the type of the load 300 according to the electrical signal input by the switching module 200, the type of the load 300 may be, for example, a spraying device, and then output a control signal matching the type of the load 300, that is, output a control signal matching the spraying device to control the spraying device to spray liquid to the area where the crops are located.
[0079] The load control device of this embodiment includes a processing module and a switching module. The output end of the switching module is connected to the input end of the processing module. The input end of the switching module is used to connect the load. The output end of the processing module is used to connect the load. The switching module is used to input an electrical signal corresponding to the load to the processing module after connecting the load. The processing module is used to determine the type of the load according to the electrical signal input by the switching module, and output a control signal matching the type of the load. In this embodiment, the electrical signal corresponding to the load is input to the processing module according to the different connected loads. The processing module can output a control signal matching the load type according to the input electrical signal. Compared with the prior art, multiple load control devices are not required, which not only saves hardware costs but also reduces maintenance complexity.
[0080] exist Figure 2 Based on the examples, Figure 3 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 2 ,like Figure 3 As shown, the switching module 200 includes: a switch unit 210, the output end OUT of the switch unit 210 is connected to the input end IN of the processing module 100, the input end IN of the switch unit 210 is connected to the load 300, the ground end G of the switch unit 210 is grounded, and the power supply end V of the switch unit 210 is connected to the voltage end.
[0081] The input terminal IN of the switching module 200 is the input terminal IN of the switch unit 210 , and the output terminal OUT of the switching module 200 is the output terminal OUT of the switch unit 210 .
[0082] The input terminal IN of the switch unit 210 is connected to the load 300, the ground terminal G of the switch unit 210 is grounded, and the power supply terminal V of the switch unit 210 is connected to the voltage terminal. In this way, when the switch unit 210 is connected to different loads 300, different electrical signals can be output; the output terminal OUT of the switch unit 210 is connected to the input terminal IN of the processing module 100, and the output terminal OUT of the switch unit 210 can output an electrical signal corresponding to the load 300. The processing module 100 can determine the type of the load 300 according to the electrical signal input by the switch unit 210, and then output a control signal matching the type of the load 300. Through such a design, only one load control device 10 is needed to control different types of loads 300, which not only saves hardware costs but also reduces maintenance complexity.
[0083] In an optional implementation, the switching module 200 is specifically used for:
[0084] After the load 300 is connected, the switch unit 210 is turned on or off under the action of the load 300 , and an electrical signal is input to the processing module 100 accordingly.
[0085] That is to say, when the input terminal IN of the switch unit 210 is connected to different loads 300, the switch unit 210 can be automatically turned on or off under the action of the load 300. Since the output terminal OUT of the switch unit 210 is connected to the input terminal IN of the processing module 100, the input terminal IN of the switch unit 210 is connected to the load 300, the ground terminal G of the switch unit 210 is grounded, and the power supply terminal V of the switch unit 210 is connected to the voltage terminal V, then different electrical signals can be output when the switch unit 210 is turned on or off.
[0086] refer to Figure 3 , taking the load 300 including a spraying device and a sowing device, and the power supply end of the switch unit 210 connected to the 3.3V voltage end as an example, the voltage detection point is recorded as P. If the spraying device is connected, the switch unit 210 can be closed, then the voltage of the voltage detection point P can be 3.3V, and accordingly, the output end of the switch unit 210 can be a voltage of 3.3V. The voltage of the input end of the processing module 100 is 3.3V, then the processing module 100 can determine the type of load 300 corresponding to the input 3.3V according to the preset electrical signal range, and output a control signal matching the type of load 300, that is, output a control signal corresponding to the spraying device.
[0087] Similarly, if a spreading device is connected, the switch unit 210 can be open, and the voltage at the voltage detection point P can be 0V. Correspondingly, the output end of the switch unit 210 can be a voltage of 0V, and the voltage at the input end of the processing module 100 is 0V. Then the processing module 100 can preset the electrical signal range, determine the type of load 300 corresponding to the input 0V, and output a control signal matching the type of load 300, that is, output a control signal corresponding to the spreading device.
[0088] The load control device of this embodiment, the switching module includes: a switch unit, the output end of the switch unit is connected to the input end of the processing module, the input end of the switch unit is connected to the load, the ground end of the switch unit is grounded, and the power supply end of the switch unit is connected to the voltage end. This embodiment switches the switch unit to input different electrical signals to the processing module, and then the processing module can output a control signal matching the load type according to the input electrical signal. Compared with the prior art, multiple load control devices are not required, which not only saves hardware costs but also reduces maintenance complexity.
[0089] exist Figure 3 Based on the examples, Figure 4 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 3 ,like Figure 4 As shown, the switching module 200 also includes: a first resistor 220 and a second resistor 230, the first resistor 220 is arranged between the power supply terminal V of the switch unit 210 and the ground terminal G of the switch unit 210, and the second resistor 230 is arranged between the input terminal IN of the switch unit 210 and the output terminal OUT of the switch unit 210.
[0090] That is, one end of the first resistor 220 is connected to the ground terminal G of the switch unit 210, the other end of the first resistor is connected to the power supply terminal V of the switch unit 210, one end of the second resistor 230 is connected to the input terminal IN of the switch unit 210, and the other end of the second resistor 230 is connected to the output terminal OUT of the switch unit 210.
[0091] When different loads 300 are connected, the switch unit 210 can be turned on or off, thus resulting in Figure 3 The voltage values of the voltage detection points shown are different, and accordingly, the electrical signal at the input terminal IN of the processing module 100 is also different. Since the voltage at the voltage detection point may fluctuate, for example, fluctuate between 0V-1V, causing the electrical signal at the input terminal of the processing module 100 to fluctuate, a second resistor 230 can be set at the input terminal IN of the switch unit 210 and the output terminal OUT of the switch unit 210. The second resistor 230 plays a role of current limiting and filtering, thereby reducing the fluctuation of the electrical signal at the input terminal of the processing module 100.
[0092] The first resistor 220 may be a pull-up resistor, which plays a role in current limiting and circuit protection.
[0093] As an example, the resistance of the first resistor 220 may be 1 ohm, and the resistance of the second resistor 230 may be 10 kilo-ohms. In practical applications, the specific resistances of the first resistor 220 and the second resistor 230 may be selected according to actual conditions, and this embodiment does not specifically limit this.
[0094] In the load control device of this embodiment, the switching module further includes: a first resistor and a second resistor, wherein the first resistor is arranged between the power supply end of the switch unit and the ground end of the switch unit, and the second resistor is arranged between the input end of the switch unit and the output end of the switch unit. This can not only reduce voltage fluctuations, but also protect the circuit.
[0095] exist Figure 4 Based on the examples, Figure 5 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 4 ,like Figure 5 As shown, the input terminal IN of the processing module 100 includes: a first interface 110 .
[0096] The processing module 100 is specifically used for:
[0097] The logic value corresponding to the electrical signal is obtained based on the analysis of the first interface 110 , the type of the load 300 is determined according to the logic value, and a control signal matching the type of the load 300 is output.
[0098] Among them, the logical value corresponding to the electrical signal can be 0 or 1, that is, when different types of loads 300 are connected, the switch unit 210 can be opened or closed to output an electrical signal corresponding to the load 300. The processing module 100 can parse the electrical signal based on the first interface 110 to obtain the logical value corresponding to the electrical signal, determine the type of load 300 according to the logical value obtained by parsing, and output a control signal matching the type of load 300.
[0099] It should be noted that if the load 300 includes two types, the processing module 100 can pre-set the correspondence between the load 300 type and its corresponding logical value. For example, the logical value corresponding to the spraying device is set to 1, and the logical value corresponding to the spreading device is set to 0. Then, when the load 300 is connected, the switch unit 210 transmits the electrical signal corresponding to the load 300 to the processing module 100. The processing module 100 can parse the electrical signal based on the first interface 110 to obtain the logical value corresponding to the electrical signal, and determine the type of load 300 according to the pre-set correspondence between the load 300 type and its corresponding logical value, and then output a control signal that matches the type of load 300.
[0100] Optionally, the processing module 100 may include, for example, a microcontroller unit (MCU).
[0101] refer to Figure 3 , taking the load 300 including a spraying device and a sowing device, the power supply end of the switch unit 210 is connected to the 3.3V voltage end, the logic value corresponding to the spraying device is set to 1, and the logic value corresponding to the sowing device is set to 0 as an example, the voltage detection point is recorded as P, if the spraying device is connected, the switch unit 210 can be automatically closed, then the voltage of the voltage detection point P can be 3.3V, the switch unit 210 outputs a 3.3V voltage, the output end of the switch unit 210 is connected to the input end of the MCU, and the input end of the MCU includes: a first interface (GPIO_Input) 110, then the MCU can parse the first interface 110 to obtain a logic value corresponding to the electrical signal of 1, determine the type of the load 300 as a spraying device according to the logic value, and output a control signal matching the spraying device.
[0102] Similarly, if a spreading device is connected, the switch unit 210 can be automatically opened, and the voltage at the voltage detection point P can be 0V. Correspondingly, the output end of the switch unit 210 can be a voltage of 0V. Then the MCU can parse the electrical signal based on the first interface 110 to obtain a logical value of 0 corresponding to the electrical signal, determine that the type of load 300 is a spreading device according to the logical value, and output a control signal that matches the spreading device.
[0103] It should be noted that the first interface 110 of the processing module 100 can parse the electrical signal output by the switch unit 210 into a corresponding logical value according to the preset electrical signal range and the parsing rules of the logical value. For the preset electrical signal range and the parsing rules of the logical value, please refer to the relevant description in the prior art, which will not be repeated here.
[0104] In the load control device of this embodiment, the input end of the processing module includes: a first interface, and the processing module is specifically used to: obtain a logical value corresponding to the electrical signal based on the first interface analysis, determine the type of the load according to the logical value, and output a control signal matching the type of the load. In this embodiment, according to the different connected loads, the logical value corresponding to the load is input to the processing module, and the processing module can determine the type of the load according to the logical value, and output a control signal matching the type of the load. Compared with the prior art, multiple load control devices are not required, which not only saves hardware costs, but also reduces maintenance complexity.
[0105] exist Figure 4 Based on the examples, Figure 6 The structure of the load control device provided in the embodiment of the present application is shown in FIG. Figure 5 ,like Figure 6As shown, the input end of the processing module 100 includes: a second interface 120 .
[0106] The processing module 100 is specifically used to obtain a sampled voltage value of the electrical signal based on sampling of the second interface 120 , determine the type of the load 300 according to the sampled voltage value, and output a control signal matching the type of the load 300 .
[0107] Among them, the second interface 120 of the processing module 100 can be an interface with an analog-to-digital converter (ADC) sampling function. When different types of loads 300 are connected, the switch unit 210 can be turned on or off to output an electrical signal corresponding to the load 300. The processing module 100 can obtain a sampled voltage value of the electrical signal based on the sampling of the second interface 120, determine the type of the load 300 according to the sampled voltage value, and output a control signal matching the type of the load 300.
[0108] It should be noted that the processing module 100 can pre-set the corresponding relationship between the load 300 type and its corresponding sampling voltage value, refer to Figure 3 For example, the sampling voltage value corresponding to the spraying device is set to 3.3V, and the logic value corresponding to the sowing device is set to 0. Of course, in order to prevent circuit influence and to distinguish more accurately, the sampling voltage value corresponding to the spraying device can also be set to a voltage range, for example, the sampling voltage value range corresponding to the spraying device is set to [3.0V, 3.3V], and the sampling voltage value range corresponding to the sowing device is set to [0, 0.3V]. In this way, when the load 300 is connected, the switch unit 210 transmits the electrical signal corresponding to the load 300 to the processing module 100. The processing module 100 can obtain the sampling voltage value of the electrical signal based on the sampling of the second interface 120, and determine the type of the load 300 according to the predetermined correspondence between the load 300 type and its corresponding sampling voltage value, and output a control signal matching the type of the load 300.
[0109] In the load control device of this embodiment, the input end of the processing module includes: a second interface, and the processing module is specifically used to: obtain a sampled voltage value of the electrical signal based on the second interface sampling, determine the type of the load according to the sampled voltage value, and output a control signal matching the type of the load. In this embodiment, according to the difference of the connected load, the electrical signal corresponding to the load is input to the processing module, the processing module obtains a sampled voltage value of the electrical signal based on the second interface sampling, determines the type of the load according to the sampled voltage value, and outputs a control signal matching the type of the load. Compared with the prior art, multiple load control devices are not required, which not only saves hardware costs but also reduces maintenance complexity.
[0110] Based on the load control device provided in the above embodiment, the present application embodiment also provides an unmanned, reference Figure 7 , Figure 7 A schematic structural diagram of a drone provided in an embodiment of the present application is shown, where the drone 20 includes the load control device 10 provided in the above embodiment and at least one load 300.
[0111] In an optional embodiment, the load 300 includes: a spraying device and a spreading device.
[0112] In this embodiment, when the drone 20 is connected to different loads 300, the load control device 10 can output a control signal matching the type of the load 300 to control the load 300 to perform corresponding agricultural operations, such as spraying, sowing, etc.
[0113] Based on the load control device provided in the above embodiment, the present application embodiment also provides a drone control system, referring to Figure 8 , Figure 8 A schematic diagram of the structure of the drone control system provided in an embodiment of the present application is shown, wherein the drone control system 30 includes the drone 20 and the control terminal 40 provided in the above embodiment, wherein the control terminal 40 is communicatively connected with the drone 20, and the control terminal 40 is used to send a control instruction to the drone 20, wherein the control instruction is used to instruct the start of the target load, and the drone 20 is used to connect the input end IN of the switching module 200 in the load control device 10 to the target load, and to connect the output end OUT of the processing module 100 in the load control device 10 to the target load according to the control instruction.
[0114] Among them, the target load can be spraying or sowing, that is, when the drone 20 does not receive the control instruction from the control terminal 40, the drone 20 may not be connected to the load. If the drone 20 receives the control instruction sent by the control terminal 40, the target load can be started, and the output end OUT of the processing module 100 in the load control device 10 in the drone 20 can be connected to the target load, so that the target load performs corresponding agricultural operations, such as spraying, sowing, etc. In this way, it is possible to control the drone 20 to perform corresponding agricultural operations through the control terminal 40.
[0115] Based on the load control device provided in the above embodiment, the embodiment of the present application further provides a load control method. Fig. 9 A flow chart of a load control method provided in an embodiment of the present application is shown. Fig. 9 As shown, the method may include:
[0116] S101, receiving an electrical signal formed after connecting a load.
[0117] S102: Determine the type of load according to the electrical signal.
[0118] S103. Output a control signal matching the type of the load.
[0119] The executor of this embodiment may be the load control device in the above-mentioned embodiment. The user may send a control instruction to the load control device through the control terminal. The load control device may connect the input end of the switching module in the load control device to the load and the output end of the processing in the load control device to the load according to the received control instruction. The control instruction is used to instruct to start the load. Then, the type of the load may be determined according to the electrical signal output by the switching module in the load control device after the load is connected. Then, a control signal matching the type of the load may be output through the processing module in the load control device so that the target load performs corresponding agricultural operations.
[0120] It should be noted that the load control device can pre-set the correspondence between the electrical signal and the type of load, and when receiving the electrical signal, it can determine the type of load corresponding to the electrical signal based on the correspondence.
[0121] In an optional implementation, determining the type of the load according to the electrical signal includes:
[0122] The electrical signal is analyzed to obtain the logical value corresponding to the electrical signal.
[0123] Determine the type of load based on the logical value.
[0124] Among them, the processing module in the load control device can analyze the electrical signal output by the switching module to obtain the logical value corresponding to the electrical signal, the logical value is 0 or 1, and then according to the correspondence between the pre-set load type and its corresponding logical value, the type of load corresponding to the logical value can be determined.
[0125] In an optional implementation, determining the type of the load according to the electrical signal includes:
[0126] The electrical signal is sampled to obtain a sampled voltage value of the electrical signal.
[0127] Determine the type of load based on the sampled voltage value.
[0128] Among them, the processing module in the load control device can sample the electrical signal output by the switching module to obtain a sampling voltage value of the electrical signal, and then determine the type of load corresponding to the sampling voltage value based on the correspondence between the pre-set load type and its corresponding sampling voltage value.
[0129] Regarding the implementation process and implementation principle of the load control method of this embodiment, reference may be made to the relevant description of the load control device of the above embodiment, which will not be repeated here.
[0130] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is run by a load control device, the load control method is executed.
[0131] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A load control device, characterized in that: include: Processing module and switching module; The output end of the switching module is connected to the input end of the processing module; The input end of the switching module is used to connect the load; The output end of the processing module is used to connect the load; The switching module is used to input an electrical signal corresponding to the load to the processing module after being connected to the load; The processing module is used to determine the type of the load according to the electrical signal input by the switching module, and output a control signal matching the type of the load; The input end of the processing module includes: a first interface; The processing module is specifically used for: Obtaining a logic value corresponding to the electrical signal based on the first interface analysis, determining the type of the load according to the logic value, and outputting a control signal matching the type of the load; or, The input end of the processing module includes: a second interface; The processing module is specifically used for: obtaining a sampled voltage value of the electrical signal based on sampling of the second interface, determining the type of the load according to the sampled voltage value, and outputting a control signal matching the type of the load; The switching module comprises: a switch unit; The output end of the switch unit is connected to the input end of the processing module; The input end of the switch unit is connected to the load; The ground terminal of the switch unit is grounded; The power supply end of the switch unit is connected to the voltage end; The switching module is specifically used for: After the load is connected, the switch unit is turned on or off under the action of the load, and the electrical signal is input to the processing module accordingly.
2. The load control device according to claim 1, the switching module further comprises: a first resistor and a second resistor; The first resistor is arranged between the power supply terminal of the switch unit and the ground terminal of the switch unit; The second resistor is arranged between the input end of the switch unit and the output end of the switch unit.
3. A drone, comprising: The load control device according to claim 1 or 2 and at least one load.
4. The drone according to claim 3, characterized in that: The load includes: a spraying device and a spreading device.
5. A drone control system, characterized in that: include: The drone and control terminal according to claim 3 or 4; The control terminal is in communication connection with the drone; The control terminal is used to send a control instruction to the UAV, and the control instruction is used to instruct to start the target load; The drone is used to connect the input end of the switching module in the load control device to the target load and connect the output end of the processing module in the load control device to the target load according to the control instruction.
6. A load control method, characterized in that: Applied to the load control device according to claim 1 or 2, the method comprises: Receiving the electrical signal formed after connecting the load; determining the type of the load according to the electrical signal; Outputting a control signal matching the type of the load; The step of determining the type of the load according to the electrical signal comprises: Analyzing the electrical signal to obtain a logic value corresponding to the electrical signal; Determine the type of the load according to the logic value; Alternatively, determining the type of the load according to the electrical signal includes: Sampling the electrical signal to obtain a sampled voltage value of the electrical signal; The type of the load is determined according to the sampled voltage value.
Citation Information
Patent Citations
Load control method and device, and movable platform
CN110770672A
Load control device, unmanned aerial vehicle and unmanned aerial vehicle control system
CN214174920U