Line inspection robot and power supply circuit thereof
By introducing a backup power module and a switching module into the line inspection robot, the braking problem when the power supply of the line inspection robot is abnormal is solved, ensuring effective braking in the event of a power failure, reducing the risk of slippage, and improving the safety and reliability of the robot.
Patent Information
- Application Number
- CN202522204828.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-17
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2035-10-17
AI Technical Summary
The inspection robot cannot brake effectively when the power supply is abnormal, which leads to the risk of the robot rolling away and poses a serious safety hazard.
A backup power module and a switching module are adopted to switch to backup power supply when the main power module fails, ensuring that the brake motor drive module continues to work and achieve effective braking.
When the main power supply fails, the inspection robot can effectively brake to avoid the risk of slipping, thus improving the robot's reliability and safety.
Smart Images

Figure CN225003151U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent robots, and more particularly to a line-following robot and its power supply circuit. Background Technology
[0002] The inspection of transmission lines is crucial for the intelligent operation and maintenance of the power grid. Inspection robots must autonomously traverse the overhead conductors of high-voltage transmission lines to complete tasks such as component inspection, defect identification, and environmental monitoring. Because conductors often cross complex terrain, the inspection robots frequently experience changes in slope and morphological variations such as sag and bends. To prevent collisions with obstacles like vibration dampers and insulators, the robots typically use speed-measuring wheels to pinpoint their location, ensuring complete coverage of the work area.
[0003] In existing technologies, line inspection robots typically rely on a single power source to power the drive motor, brake motor, and control system. This forces the power source to simultaneously handle the high-power operation of the drive motor during hill climbing and obstacle crossing, as well as the braking control of the brake motor. However, when the line inspection robot encounters a sudden high-load condition or the battery automatically shuts down due to overcurrent protection, the power supply may momentarily lose voltage, causing the entire system to lose power. Once the line inspection robot loses power and cannot perform braking actions, it is left in a free state and is highly susceptible to slipping due to the slope of the guide wire, posing a more serious safety hazard.
[0004] Therefore, how to enable a line inspection robot to still brake effectively when its power supply is abnormal is a technical problem that needs to be solved in this field. Utility Model Content
[0005] This application provides a line-following robot and its power supply circuit, which enables the line-following robot to brake effectively even when the main power module of the line-following robot does not output voltage normally.
[0006] The first aspect of this application provides a power supply circuit for a line-following robot, comprising: a main power module, a backup power module, and a switching module. The main power module and the backup power module are respectively connected to the brake motor drive module of the line-following robot through the switching module. The switching module is used to: control the main power module to conduct with the brake motor drive module when the main power module is outputting voltage normally, so that the main power module supplies power to the brake motor drive module; and control the backup power module to conduct with the brake motor drive module when the main power module is not outputting voltage normally, so that the backup power module supplies power to the brake motor drive module.
[0007] The second aspect of this application provides a line-following robot, including a brake motor drive module and a power supply circuit for the line-following robot as described in the first aspect of this application, for supplying power to the brake motor drive module.
[0008] The line inspection robot and its power circuit provided in this application provide a backup power module and a switching module. When the main power module fails to output voltage normally, the switching module controls the backup power module to supply power to the brake motor drive module instead of the main power module. Thus, even when the main power module is abnormal, the brake motor drive module can still drive the line inspection robot to brake, ensuring that the line inspection robot can effectively brake when the main power is abnormal, avoiding the risk of the line inspection robot slipping, and effectively eliminating potential safety hazards of the line inspection robot. Attached Figure Description
[0009] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0010] Figure 1 This is a schematic diagram of a structure of an embodiment of the line-following robot provided in this application;
[0011] Figure 2 A schematic diagram of the power supply circuit of the line-following robot provided in this application;
[0012] Figure 3 A schematic diagram of the circuit structure of the switching module of the power circuit of the line-following robot provided in this application;
[0013] Figure 4 This is a flowchart illustrating an embodiment of the control method for the line-following robot provided in this application.
[0014] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0015] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0016] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a particular order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0017] In the field of power transmission and maintenance, with continuous technological advancements, the application of automated and intelligent equipment is becoming increasingly widespread. Among these, line inspection robots, as a significant innovation, are gradually changing traditional methods of power transmission line inspection. These robots can move autonomously along high-voltage transmission lines, performing inspection tasks, effectively reducing the labor intensity of manual inspections and improving inspection efficiency and safety. However, with the widespread application of line inspection robots in complex environments, a series of technical challenges have emerged, especially in power management. Ensuring the stable operation of robots under various working conditions has become a critical issue that urgently needs to be addressed.
[0018] Meanwhile, power line inspection robots typically operate on high-voltage power lines, which often traverse complex terrains, including mountains and rivers. The robots need to move and inspect along the power lines over long distances. During this process, the robots encounter various slope changes, especially when going uphill or downhill, placing extremely high demands on the drive motors and braking systems. Furthermore, because the robots operate at heights, any malfunction or accident is difficult and costly to repair, placing extremely high demands on the stability and reliability of the power line inspection robots.
[0019] Therefore, ensuring the stability and reliability of the braking system and other components of the line inspection robot through power management is a crucial step in controlling the robot. For example, Figure 1 This is a schematic diagram of the structure of an embodiment of the line-following robot provided in this application, as shown below. Figure 1 The line-following robot 1 shown includes a power circuit 10 and a load 20. The power circuit 10 includes an energy storage module such as a battery as a power source, and the load 20 includes a motor, a controller, a motor determination circuit, etc. The power circuit 10 uses a battery as a power source to provide power to the load 20, including the drive motor, the control system, and the braking system.
[0020] In practical applications, the performance of the battery in the power circuit 10 is affected by various factors, such as temperature and load changes. Especially when the line inspection robot 1 is climbing a slope or encountering obstacles, the power consumption of the drive motor will increase sharply, which may cause the battery to be quickly depleted or trigger overcurrent protection, causing the battery to automatically shut down the output. At this time, the line inspection robot 1 will lose power and be in a free state, which is very likely to cause it to slip, which may not only damage the robot itself, but also threaten other equipment on the power transmission line.
[0021] In existing technologies, line inspection robots typically rely on a single power source to power the drive motor, brake motor, and control system. This power source must simultaneously handle the high-power operation of the drive motor during hill climbing and obstacle crossing, as well as the braking control of the brake motor. However, when the line inspection robot encounters a sudden high-load condition or the battery automatically shuts down due to overcurrent protection, the main power supply may momentarily lose voltage, causing the entire system to lose power. At this time, the brake motor cannot perform braking actions due to the loss of power, leaving the line inspection robot in a free state, which is highly susceptible to slippage due to the slope of the guide wire. Furthermore, even if the existing line inspection robot has a backup power source, no backup power switching mechanism is designed. Once the main power supply fails, the system cannot maintain braking control, and the MCU and other control circuits may reset due to the power failure, leading to program logic chaos and further exacerbating safety risks.
[0022] Based on this, this application provides a line-inspection robot and its power supply circuit. By providing a backup power module and a switching module, the switching module can control the backup power module to supply power to the brake motor drive module when the main power module fails to output voltage normally. This ensures that even when the main power module malfunctions, the brake motor drive module can still continue to drive the line-inspection robot's brakes, guaranteeing effective braking of the line-inspection robot in the event of a main power failure. This avoids the risk of the line-inspection robot slipping and effectively eliminates potential safety hazards. The following specific embodiments can be combined with each other, and similar concepts or processes may not be described again in some embodiments.
[0023] Figure 2 A schematic diagram of an embodiment of the power supply circuit for the line-following robot provided in this application is shown below. Figure 2 The power supply circuit 10 shown can be applied to, for example... Figure 1 In the line-following robot 1 shown, it is used to power the load 20. In such a way... Figure 2 In the illustrated embodiment, the load 20 includes a brake motor drive module 201 and a control module 200. The load 20 of the line-following robot 1 may also include other modules not shown in the figure. Figure 2 As shown in the diagram. The control module 200 can be a controller such as a CPU or MCU.
[0024] like Figure 1The power supply circuit shown includes a main power supply module 101, a backup power supply module 102, and a switching module 103. The main power supply module 101 is connected to the brake motor drive module 201 through the switching module 103, and the backup power supply module 102 is connected to the brake motor drive module 201 through the switching module 103.
[0025] Switching module 103 is used for:
[0026] When the main power module 101 is supplying power normally, it supplies power to the brake motor drive module 201 through the switching module 103. Normal power supply to the main power module 101 includes normal output voltage, which specifically means that the voltage output by the main power module 101 is greater than the standard voltage value.
[0027] When the main power module 101 malfunctions, the backup power module 102 supplies power to the brake motor drive module 201 through the switching module 103. Malfunction of the main power module 101 includes the main power module 101 failing to output voltage, specifically, the voltage value output by the main power module 101 being lower than the standard voltage value.
[0028] In one embodiment, the backup power module 102 includes a battery or a supercapacitor. The battery can be a small-capacity battery, or a supercapacitor can be used instead of a traditional battery to store energy. This leverages the fast charging speed and high energy density of the supercapacitor to meet the instantaneous power requirements of the line-patrolling robot 1 during emergency braking, while simultaneously reducing the weight of the power circuit 10 and the overall weight of the line-patrolling robot 1.
[0029] In one embodiment, the main power module 101 is also connected to the backup power module 102 through a charging circuit. When the main power module 101 is working normally, it can also charge the backup power module 102 through the charging circuit, so that the backup power module 102 is kept in a fully charged standby state.
[0030] In one embodiment, such as Figure 2 The load 20 of the line inspection robot 1 shown also includes a control module 200, wherein the main power module 101 is connected to the control module 200 through the switching module 103, and the backup power module 102 is connected to the control module 200 through the switching module 103.
[0031] Switching module 103 is used for:
[0032] When the main power module 101 outputs voltage normally, it supplies power to the control module 200 through the switching module 103.
[0033] When the main power module 101 fails to output voltage normally, the backup power module 102 supplies power to the control module 200 through the switching module 103.
[0034] Therefore, the line-following robot 1 provided in this application embodiment can include at least the following two working states:
[0035] When the main power module 101 outputs voltage normally, the main power module 101 is connected to the brake motor drive module 201 and the control module 200 through the switching module 103, so that the main power module 102 supplies power to the brake motor drive module 201 and the control module 200. The control module 200 can be used to control the brake motor drive module 201 to drive the line inspection robot 1 to brake when braking is required, according to the line inspection task of the line inspection robot 1.
[0036] When the main power module 101 malfunctions and fails to output voltage normally, the backup power module 102 connects to the brake motor drive module 201 and the control module 200 via the switching module 103. The backup power module 102 then supplies power to the brake motor drive module 201 and the control module 200 in place of the main power module 101. The control module 200 can promptly control the brake motor drive module 201 to brake in the event of a main power module 101 malfunction. At this time, the backup power module 102 can still supply power to the brake motor drive module 201 via the switching module 103. The brake motor drive module 201 can continue to drive the line inspection robot even when the main power module 101 malfunctions. This ensures effective braking of the line inspection robot 10 when the main power module 101 malfunctions, avoiding the risk of the line inspection robot 1 slipping, effectively eliminating potential safety hazards, and thus improving the reliability of the line inspection robot 1.
[0037] In one embodiment, such as Figure 2 The power supply circuit 10 shown also includes a detection module 104, which is disposed between the main power supply module 101 and the control module 200. The control module 200 can be used to determine the main power supply module is abnormal through the detection module 104.
[0038] In this application embodiment, the specific implementation of the detection module 104 is not limited. The detection module 104 may be a voltage sampling circuit including a sampling resistor, etc. The control module 200 determines the output voltage of the main power module 101 by collecting the voltage value of the sampling resistor.
[0039] Furthermore, the detection module 104 can also be set in the load 20, or the detection module 104 can be set independently of the power supply circuit 10 and the load 20.
[0040] More specifically, Figure 3A circuit diagram of the switching module for the power supply circuit of the line-following robot provided in this application is shown below. Figure 3 It shows Figure 2 The switching module provided in the document is a specific circuit implementation method, such as... Figure 3 The switching module 103 shown includes:
[0041] The first switching unit 1031 is connected to the main power module 101, the backup power module 102 and the brake motor 201 respectively. The first switching unit 1031 can be used to turn on the main power module 101 when it is normal, so that the main power module 101 is connected to the brake motor drive module 201 through the first switching unit 1031, and to disconnect the main power module 101 when it is abnormal.
[0042] In one embodiment, the first switching unit 1031 includes a second transistor Q3, a third transistor Q2, and a second MOSFET Q1. The base of the second transistor Q3 is connected to the backup power module 102 via a resistor R7; the collector of the second transistor Q3 is connected to the main power module 101 and the base of the third transistor Q2 via a resistor R1; the emitter of the second transistor Q3 is grounded; the collector of the third transistor Q2 is connected to the gate of the second MOSFET Q1; the source of the second MOSFET Q1 is connected to the main power module 101; and the drain of the second MOSFET Q1 is connected to the brake drive module 201.
[0043] The second switching unit 1032 is connected to the main power module 101, the backup power module 102 and the brake motor 201 respectively. The second switching unit 1032 is used to turn on when the main power module 101 is abnormal, so that the backup power module 102 is connected to the brake motor drive module 201 through the second switching unit 1032, and to turn off when the main power module 101 is supplying power normally.
[0044] In one embodiment, the second switching unit 1032 includes a fourth transistor Q7 and a third MOSFET Q6. The base and collector of the fourth transistor Q7 are connected to the backup power module 102, the emitter of the fourth transistor Q7 is grounded, the collector of the fourth transistor Q7 is also connected to the gate of the third MOSFET Q6, the source of the third MOSFET Q6 is connected to the backup power module 102, and the drain of the third MOSFET Q6 is connected to the brake motor drive module 102.
[0045] In one embodiment, such as Figure 3In the power circuit 10 of the line inspection robot 1 shown, the switching module 103 further includes an anti-backflow module 1033, which is located between the main power module 101 and the brake motor drive module 201. Specifically, it can be located between the first switching unit 1031 and the brake motor drive module 201. The anti-backflow unit 1033 can prevent the current output by the backup power module 102 from flowing back into the main power module 101 when the main power module malfunctions and the backup power module 102 supplies power to the brake motor drive module 201. This isolates the main power module 101 and the backup power module 102, preventing backflow and reducing energy waste or interference while improving the stability and energy utilization of the line inspection robot 1.
[0046] In one embodiment, the anti-reverse current circuit 1033 includes a first transistor Q5 and a first MOSFET Q4, wherein the base of the first transistor Q5 is connected to the main power module 101, the emitter of the first transistor Q5 is grounded, the collector of the first transistor Q5 is used to connect to the gate of the first MOSFET Q4, the source of the gate of the first MOSFET Q4 is used to connect to the main power module 101, and the drain of the first MOSFET Q4 is used to connect to the brake motor drive module 201.
[0047] When the main power module 101 is in normal working condition, the output voltage of the main power module 101 is connected to the base of the fourth transistor Q7 through resistor R5, and the fourth transistor Q7 is in the conducting state. The output voltage of the main power module 101 is connected to the collector of the fourth transistor Q7 and the gate of the P-type third MOSFET Q6 through resistor R6. When the fourth transistor Q7 is in the conducting state, the collector voltage of the fourth transistor Q7 is close to 0. At this time, the gate voltage of the P-type third MOSFET Q6 is close to 0, and the source voltage of the P-type third MOSFET Q6 is the output voltage of the main power module 101. In this state, the P-type third MOSFET Q6 is in the fully conducting state, and the output voltage of the main power module 101 supplies power to the load through the P-type third MOSFET Q6. The load includes the drive motor, the MCU control circuit, and the brake drive circuit. Meanwhile, the output voltage of the main power module 10 is connected to the base of the second transistor Q3 through resistor R7, and the second transistor Q3 is turned on. The collector of the second transistor Q3 and the base of the third transistor Q2 are connected to the power supply circuit of the backup power module 102 through resistor R1. When the second transistor Q3 is fully turned on, the voltage between the collector of the second transistor Q3 and the base of the third transistor Q2 becomes almost zero, and the third transistor Q2 is turned off. The collector of the third transistor Q2 and the gate of the P-type second MOSFET Q1 are connected to the backup power module 102 through resistor R1. When the third transistor Q2 is turned off, the voltage between the gate and source of the P-type second MOSFET Q1 is equal, the P-type second MOSFET Q1 turns off its output, and the drain voltage of the P-type second MOSFET Q1 becomes zero. The base of the first transistor Q5 is connected to the output of the second P-type MOSFET Q1 through resistor R3. At this time, the output of the second P-type MOSFET Q1 is zero, and the first transistor Q5 is in the off state. The collector of the first transistor Q5 and the drain of the first P-type MOSFET Q4 are connected to the output of the second P-type MOSFET Q1 through resistor R4. At this time, the voltage at these points is 0, and the first P-type MOSFET Q4 is in the off state. The main power module 101 outputs to the source of the first P-type MOSFET Q4 after the output of the third P-type MOSFET Q6. Since the first P-type MOSFET Q4 is in the off state, the output current of the main power module 101 will not flow back into the backup power module 102. The first P-type MOSFET Q4 plays a role in preventing backflow.
[0048] When the main power module 101 is powered off due to an abnormal reason, and the main power module 101 has no output voltage, the second transistor Q3 and the fourth transistor Q7 are both in the off state, which further controls the P-type third MOSFET Q6 to turn off. After the second transistor Q3 is turned off, the third transistor Q2 will turn on. The gate voltage of the P-type second MOSFET Q1 is close to 0, and the P-type second MOSFET Q1 turns on. The P-type second MOSFET Q1 starts to output the backup power module 102, and the drain voltage of the P-type second MOSFET Q1 becomes the output voltage of the backup power module 102. The base of the first transistor Q5 is connected to the output of the P-type second MOSFET Q1 through resistor R3. The P-type second MOSFET Q1 outputs the output voltage of the backup power module 102. The first transistor Q5 is turned on. The collector of the first transistor Q5 and the drain of the P-type first MOSFET Q4 are connected to the output of the P-type second MOSFET Q1 through resistor R4. The drain of the P-type first MOSFET Q4 has a voltage, which is output through the body diode of the source stage through the drain of the P-type first MOSFET Q4. At this time, the source stage of the P-type first MOSFET Q4 has a voltage. After the first transistor Q5 turns on, the conduction condition of the P-type first MOSFET Q4 is met, and the backup power module 102 starts to supply power to the load.
[0049] Meanwhile, when the main power module 101 fails to power, the backup power module 102 supplies power to the control module 200 and the brake motor drive module 201. After the control module 200 determines that the main power module 101 has failed to power through the detection module 104, it will control the brake motor drive module 201 to start braking through the power supply of the backup power module 102, so that the line inspection robot 1 can come to a stop.
[0050] For example, Figure 4 A flowchart illustrating an embodiment of the control method for the line-following robot provided in this application is shown below. Figure 4 The method shown can be applied to, for example Figure 2 In the line-following robot 1 shown, the operation is performed by the control module 200. Specifically, as... Figure 4 The control methods shown include:
[0051] S101: When the main power module 101 is supplying power normally, the main power module 101 supplies power to the brake motor drive module 201 through the switching module 103. The control module 200 can be used to control the brake motor drive module 201 to drive the line inspection robot 1 to brake when braking is required, according to the line inspection task of the line inspection robot 1.
[0052] S102: When the main power module 101 malfunctions and cannot output voltage normally, the backup power module 102 connects to the brake motor drive module 201 and the control module 200 through the switching module 103, thereby allowing the backup power module 102 to supply power to the brake motor drive module 201 and the control module 200 instead of the main power module 101. At this time, the control module 200 can control the brake motor drive module 201 to brake after the detection module 104 determines that the main power module 101 has lost power.
[0053] S103: After the control module 200 brakes the brake motor drive module 201 and the line inspection robot 1 completes braking, the control module 200 waits for the main power module 101 to return to normal, and repeats the process in S101 after the main power module 101 returns to normal.
[0054] In the foregoing embodiments of this application, a control method for a line-following robot provided by the embodiments of this application has been described. To achieve the various functions of the methods provided by the embodiments of this application, the control module, as the execution entity, can be implemented through hardware structures and / or software modules, for example, in the form of hardware structures, software modules, or a combination of hardware structures and software modules. Whether a particular function is executed through hardware structures, software modules, or a combination of hardware structures and software modules depends on the specific application and design constraints of the technical solution.
[0055] It should be understood that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, a module can be a separately established processing element, or it can be integrated into a chip within the above device. Alternatively, it can be stored as program code in the memory of the above device, and its functions can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0056] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more application-specific integrated circuits (ASICs), one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a central processing unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together to implement a system-on-a-chip (SOC).
[0057] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to the embodiments of this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).
[0058] This application also provides an electronic device, including one or more processors and a memory. The memory stores computer-executable instructions, and the processor can execute the computer-executable instructions stored in the memory 4002. When the computer-executable instructions are executed by the processor, the processor implements the control method for the line-following robot provided in the foregoing embodiments of this application.
[0059] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0060] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0061] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0062] This application also provides a chip for executing instructions, which is used to execute the control method for the line-following robot described above.
[0063] This application also provides a computer program product, including a computer program that, when executed, implements the control method for the line-following robot described above.
[0064] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed, can be used to implement the control method for the line-following robot described above.
[0065] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0066] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0067] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0068] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0069] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0070] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0071] This application also provides a line-following robot 10, the structure of which can be referred to Figure 1 As shown, it includes a power supply circuit 10 and a load 20. The specific implementation and principle of the power supply circuit 10 and the load 20 are the same as those in the previous embodiments, and will not be repeated here.
[0072] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0073] Finally, it should be noted that other embodiments of this application will readily conceive of by those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and alterations may be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A power supply circuit for a line-following robot, characterized in that, include: The system comprises a main power module, a backup power module, and a switching module. The main power module and the backup power module are respectively connected to the brake motor drive module of the line-following robot through the switching module. The switching module is used for: When the main power module outputs voltage normally, the main power module is controlled to be connected to the brake motor drive module, so that the main power module supplies power to the brake motor drive module. When the main power module fails to output voltage normally, the backup power module is controlled to connect with the brake motor drive module, so that the backup power module supplies power to the brake motor drive module.
2. The circuit according to claim 1, characterized in that, Also includes: An anti-backflow module is installed between the main power module and the brake motor drive module to prevent the current output by the backup power module from flowing back into the main power module when the backup power module supplies power to the brake motor drive module.
3. The circuit according to claim 2, characterized in that, The anti-reverse current module includes a first transistor and a first MOSFET, wherein the base of the first transistor is connected to the main power module, the emitter of the first transistor is grounded, the collector of the first transistor is used to connect to the gate of the first MOSFET, the drain of the first MOSFET is used to connect to the brake motor drive module, and the source of the first MOSFET is grounded.
4. The circuit according to any one of claims 1-3, characterized in that, The switching module includes: The first switching unit is configured to turn on when the main power module is outputting a normal voltage, so that the main power module is connected to the brake motor drive module through the first switching unit, and to turn off when the main power module is not outputting a normal voltage. The second switching unit is used to turn on when the main power module does not output voltage normally, so that the backup power module can be connected to the brake motor drive module through the second switching unit, and to turn off when the main power module outputs voltage normally.
5. The circuit according to claim 4, characterized in that, The first switching unit includes a second transistor, a third transistor, and a second MOSFET. The base of the second transistor is connected to the backup power module, the base-collector of the second transistor is connected to the main power module and the base of the second transistor, the base-emitter of the second transistor is grounded, the collector of the third transistor is connected to the gate of the second MOSFET, the source of the second MOSFET is connected to the main power module, and the drain of the second MOSFET is connected to the brake drive module.
6. The circuit according to claim 5, characterized in that, The second switching unit includes a fourth transistor and a third MOSFET, wherein the base and collector of the fourth transistor are used to connect to the backup power module, the emitter of the fourth transistor is grounded, the collector of the fourth transistor is also used to connect to the gate of the third MOSFET, the source of the third MOSFET is used to connect to the backup power module, and the drain of the third MOSFET is used to connect to the brake motor drive module.
7. The circuit according to claim 1, characterized in that, The backup power module includes either a battery or a supercapacitor.
8. A line-following robot, characterized in that, include: Brake motor drive module; The power supply circuit as described in any one of claims 1-7 is used to supply power to the brake motor drive module.
9. The line-following robot according to claim 8, characterized in that, Also includes: The main power supply module and the backup power supply module in the power supply circuit are respectively connected to the control module through the switching module; The switching module is further configured to: when the main power module outputs voltage normally, control the main power module to connect with the control module, so that the main power module supplies power to the brake motor drive module; when the main power module does not output voltage normally, control the backup power module to connect with the control module, so that the backup power module supplies power to the brake motor drive module.
10. The line-following robot according to claim 9, characterized in that, The control module is also used to control the brake drive motor to drive the line-following robot to brake when the main power module fails to output voltage normally.
11. The line-following robot according to claim 9 or 10, characterized in that, Also includes: A detection module is disposed between the main power module and the control module. The control module is used to determine whether the main power module is outputting voltage normally through the detection module.
