Cleaning equipment, program burning system, method, burning device and control module
By designing rechargeable batteries and control modules in cleaning equipment, and using the same interface to detect signal types for program burning or charging, the problems of low efficiency of disassembly and updating and cumbersome operation in the existing technology are solved, and efficient program updates and Charge.
Patent Information
- Application Number
- CN202210103001.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-01-27
AI Technical Summary
The existing program burning method requires disassembly and update the program, which leads to machine damage and low update efficiency. The burning interface and charging interface are different, resulting in cumbersome operation.
A cleaning device is designed, including a rechargeable battery and a control module, which receives external signals through the same interface, detects signal types and performs program recording or charging, and uses signal energy to supply power to realize the same portal setting between charging and burning.
It avoids machine damage caused by disassembly, improves program update efficiency, simplifies program burning process, and optimizes the production process of cleaning equipment.
Smart Images

Figure CN114675847B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of program burning technology, and in particular to a cleaning device, a program burning system, a method, a burning device and a control module. Background Art
[0002] Most existing program burning methods are circuit board burning. When a program is installed in a complete machine, if the program needs to be reworked, the machine needs to be disassembled or partially disassembled for program update, which may cause machine damage and poor program update efficiency. Summary of the invention
[0003] The embodiments of the present application provide a cleaning device, a program burning system, a method, a burning apparatus and a control module, so as to solve the problem that the existing program burning method requires disassembly of the machine for program updating, resulting in poor program updating efficiency.
[0004] In a first aspect, an embodiment of the present application provides a cleaning device, including a rechargeable battery and a control module;
[0005] The control module is used to receive an external signal through the first interface;
[0006] The control module is further used for performing program burning based on the burning signal if the external signal is detected to be a burning signal;
[0007] The control module is also used to connect to the charging device through the first interface;
[0008] The control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal;
[0009] The control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
[0010] Optionally, the control module includes a signal processing module and a processor connected to the signal processing module;
[0011] The signal processing module is used to receive an external signal through the first interface, extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
[0012] Optionally, the signal processing module includes a signal input circuit connected to the first interface and an energy extraction circuit connected to the signal input circuit;
[0013] The signal input circuit is used to receive external signals;
[0014] The energy extraction circuit is used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
[0015] Optionally, the first interface includes a first signal line and a first ground line;
[0016] The programming device comprises a second interface, wherein the second interface comprises a second signal line and a second ground line;
[0017] When the burning device is connected to the signal processing module through the first interface, the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line;
[0018] The signal processing module specifically detects that the second signal line is connected to the first signal line and the first ground line is connected to the second ground line, and determines that the external signal is a burning signal.
[0019] Optionally, the first interface includes a first signal line and a first ground line;
[0020] The charging device comprises a positive electrode and a negative electrode;
[0021] When the charging device is connected to the signal processing module through the first interface, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line;
[0022] The signal processing module specifically detects that the positive electrode is connected to the first signal line and the negative electrode is connected to the first ground line, and determines that the external signal is a charging signal.
[0023] Optionally, the signal processing module is further used to collect signal energy of the burning signal or the charging signal to supply power to the processor.
[0024] Optionally, it includes a signal conversion circuit and a signal output circuit, wherein the signal conversion circuit is connected to the signal output circuit, and the signal output circuit is connected to a control module of the cleaning device;
[0025] The signal conversion circuit is used to convert the serial port signal of the computer device into a burning signal that can be recognized by the control module;
[0026] The signal output circuit is used to send the burning signal to the control module;
[0027] The signal conversion circuit is connected to the signal output circuit via the baud rate conversion circuit;
[0028] The baud rate conversion circuit is used to perform baud rate conversion on the burning signal;
[0029] The signal output circuit is used to send the converted burning signal to the control module.
[0030] In a second aspect, an embodiment of the present application provides a program burning system, including: a burning device, a cleaning device, and a computer device, wherein the cleaning device is provided with a control module and a first interface connected to the control module;
[0031] The burning device is connected to the computer device and connected to the control module through the first interface, and is used to convert the serial port signal of the computer device into a burning signal recognizable by the control module;
[0032] The control module is used for receiving an external signal through the first interface, and if the external signal is detected to be a burning signal, performing program burning based on the burning signal;
[0033] The control module is also used to connect to the charging device through the first interface; the control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal;
[0034] The control module is used to receive an external signal through the first interface; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
[0035] In a third aspect, an embodiment of the present application provides a control module, including a signal input circuit, an energy extraction circuit, a signal judgment circuit, a charging circuit, and a burning circuit;
[0036] The input end of the energy extraction circuit is connected to the output end of the signal output circuit of the burning device, and the output end of the energy extraction circuit is connected to the input end of the processor of the cleaning device, so as to collect the signal energy of the external signal and supply power to the processor;
[0037] The signal judgment circuit is connected in parallel with the charging circuit and the burning circuit, and is used to turn on the burning circuit if the external signal is detected to be a burning signal; and turn on the charging circuit if the external signal is detected to be a charging signal;
[0038] The charging circuit is used to charge the rechargeable battery of the cleaning device based on the charging signal;
[0039] The burning circuit is used for controlling the burning module to burn a program based on the burning signal.
[0040] In a fourth aspect, an embodiment of the present application provides a program burning method, which is applied to a program burning system, wherein the system comprises: a burning device, a cleaning device, and a computer device, wherein the cleaning device is provided with a control module and a first interface connected to the control module; the control module comprises a processor and a burning module connected to the processor; the control module is used to receive an external signal through the first interface; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor, wherein the method comprises:
[0041] The control module receives an external signal through the first interface. If the external signal is detected to be a burning signal, the burning module is controlled to burn the program based on the burning signal; if the external signal is detected to be a charging signal, the rechargeable battery in the cleaning device is charged based on the charging signal.
[0042] In an embodiment of the present application, the cleaning device includes a rechargeable battery and a control module; the control module is used to receive an external signal through a first interface; the control module is also used to perform program burning based on the burning signal if the external signal is detected to be a burning signal; the control module is also used to connect to a charging device through the first interface; the control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor. The cleaning device provided in this embodiment can extract signal energy from the external signal, use the signal energy to power the processor, so that the processor can process the external signal accordingly after powering on, thereby ensuring the charging or program burning efficiency of the cleaning device.
[0043] These and other aspects of the present application will become more clearly understood in the description of the following embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0045] Figure 1 A schematic diagram of the structure of a program burning system provided in an embodiment of the present application;
[0046] Figure 2 A schematic diagram of the effect of detecting an external signal voltage provided by an embodiment of the present application;
[0047] Figure 3 A schematic diagram of the effect of detecting an external signal voltage provided by an embodiment of the present application;
[0048] Figure 4 A schematic diagram of the structure of another program burning system provided in an embodiment of the present application;
[0049] Figure 5 A schematic diagram of the structure of another program burning system provided in an embodiment of the present application;
[0050] Figure 6 A schematic diagram of the structure of another program burning system provided in an embodiment of the present application;
[0051] Figure 7 A schematic diagram of the structure of a charging system provided in an embodiment of the present application;
[0052] Figure 8 A schematic diagram of the structure of a burning device provided in an embodiment of the present application;
[0053] Fig. 9 A circuit diagram of a signal conversion circuit for converting an RS232 serial port signal into a Uart signal provided in an embodiment of the present application;
[0054] Fig.10 A circuit diagram of a signal conversion circuit for converting a USB serial port signal into a UART signal provided in an embodiment of the present application;
[0055] Fig.11 A circuit diagram of a signal merging circuit provided in an embodiment of the present application;
[0056] Fig.12 A circuit diagram of a signal output circuit provided in an embodiment of the present application;
[0057] Fig.13 A schematic diagram of the structure of a control module provided in an embodiment of the present application;
[0058] Fig.14 A circuit diagram of an energy storage circuit provided in an embodiment of the present application;
[0059] Fig.15 A circuit diagram of a buck-boost circuit provided in an embodiment of the present application;
[0060] Fig.16 A circuit diagram of a signal determination circuit provided in an embodiment of the present application;
[0061] Fig.17 A circuit diagram of a charging circuit provided in an embodiment of the present application;
[0062] Fig.18 A circuit diagram of a burning circuit provided in an embodiment of the present application;
[0063] Fig.19 A flowchart of a program burning method is provided for an embodiment of the present application;
[0064] Fig. 20 A flowchart of another program burning method is provided for an embodiment of the present application. DETAILED DESCRIPTION
[0065] In order to enable those skilled in the art to better understand the solution of the present application, 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.
[0066] In some of the processes described in the specification and claims of this application and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0067] The technical solution of the embodiment of the present application can be applied to cleaning equipment with a program burning function, for example, it can be a self-moving cleaning equipment and a handheld cleaning equipment with a program burning function, and the present application does not limit this. For example, in the embodiment of the present application, the cleaning equipment includes but is not limited to a self-moving cleaning equipment and a handheld cleaning equipment. The self-moving cleaning equipment includes: a sweeping robot, a self-moving air purifier, a solar panel cleaning robot, a window cleaning robot, etc. The handheld cleaning equipment includes a handheld cleaning machine, a handheld vacuum cleaner, a handheld vacuum cleaner, a handheld desktop cleaning machine, etc. Usually these cleaning equipment include: a housing, a main motor, a roller brush, a recovery device and a BMS battery management system. The BMS battery management system includes a rechargeable battery, and the housing is provided with a first interface connected to the rechargeable battery.
[0068] The inventors found in their research that most cleaning equipment programs are burned by burning circuit boards. After the program is installed in the whole machine, if the program needs to be reworked, the machine needs to be disassembled or partially disassembled before updating the program. However, this program update method may cause damage to the cleaning equipment, and the efficiency of program updates is not high.
[0069] In addition, current cleaning equipment is usually equipped with two interfaces: a charging interface and a burning interface. When the cleaning equipment needs to update the program, it is necessary to connect to the burning interface of the cleaning equipment to update the program; when the cleaning equipment needs to be charged, it is necessary to switch to the charging interface again to connect to the charging device, resulting in the problem of cumbersome program burning process.
[0070] Therefore, in order to solve the problem that the current program burning method of cleaning equipment requires disassembly for program update resulting in poor program update efficiency, and the problem that the burning interface and the charging interface are not set at the same port resulting in cumbersome program burning process operation.
[0071] After a series of studies, the inventor proposed the technical solution of the present application. The embodiment of the present application provides a cleaning device, which includes a rechargeable battery and a control module; the control module is used to receive an external signal through a first interface; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor. Furthermore, if the control module detects that the external signal is a burning signal, the program is burned based on the burning signal; the control module is also used to connect to a charging device through the first interface; the control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal.
[0072] In this solution, the cleaning device can extract signal energy from an external signal (such as a burning signal or a charging signal), and use the signal energy to power a processor, so that the processor can burn the program based on the burning signal after power-on, thereby ensuring the program burning efficiency of the cleaning device, or charge the rechargeable battery in the cleaning device based on the charging signal, thereby ensuring the charging efficiency of the cleaning device.
[0073] Furthermore, the cleaning equipment provided by the present application converts the serial port signal of the computer device into a burning signal, and burns the program based on the burning signal, thereby avoiding the problem of disassembling the machine for program burning, which not only reduces the damage to the machine caused by disassembly, but also improves the efficiency of program updates; at the same time, the present application sets the charging interface and the burning interface to the same port (that is, the first interface can be a charging interface for connecting a charging device, or a burning interface for connecting a burning device to receive an external signal), so that charging and burning can be achieved by connecting the first interface, thereby solving the problem of cumbersome operation of the program burning process.
[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0075] Figure 1 A schematic diagram of the structure of a program burning system provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the program burning system includes a burning device 1 , a cleaning device 2 and a computer device 3 . The cleaning device 2 is provided with a control module 21 and a first interface 22 connected to the control module 21 .
[0076] The burning device 1 is connected to the computer device 3 and connected to the control module 21 via the first interface 22 , and is used to convert the serial port signal of the computer device 3 into a burning signal recognizable by the control module 21 .
[0077] Wherein, the serial port signal of the computer device 3 may include an RS232 serial port signal or a USB serial port signal. Different serial port signals of the computer device need to be converted by different signal conversion circuits and converted into a burning signal recognizable by the control module 21. The specific conversion process can be referred to in subsequent embodiments. Wherein, the burning signal recognizable by the control module 21 is a Uart serial port signal recognizable by the cleaning device.
[0078] The control module 21 is used to receive an external signal through the first interface 22, extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
[0079] Furthermore, the control module 21 is further configured to perform program burning based on the burning signal if it is detected that the external signal is a burning signal.
[0080] The control module 21 is further configured to connect to the charging device 4 via the first interface 22 , and if the external signal is detected to be a charging signal, the rechargeable battery in the cleaning device is charged based on the charging signal.
[0081] That is, when the control module 21 is connected to the burning device 1, the received external signal is a burning signal; when the control module 21 is connected to the charging device 4, the received external signal is a charging signal.
[0082] In the embodiment of the present application, the external signal may include a burning signal and a charging signal. The control module 21 detects whether the external signal is a burning signal, such as Figure 2As shown, when the detected external signal presents a square wave signal, it is determined that the external signal is a burning signal. Specifically, the control module 21 can identify the voltage of the external signal by judging the voltage recognition method. If it is detected that the voltage of the external signal presents a trend of voltage rising (such as rising to V1) or falling (such as falling to V0) over time T, it is determined that the external signal is a square wave signal, that is, a burning signal.
[0083] In the embodiment of the present application, the control module 21 detects whether the external signal is a charging signal in the following manner: Figure 3 As shown, when the detected external signal presents a stable signal, it is determined that the external signal is a charging signal. Specifically, the control module 21 can identify the voltage of the external signal by voltage recognition. If it is detected that the voltage of the external signal presents a stable trend over time T (such as tending to be stable at voltage V1), it is determined that the external signal is a stable signal, that is, a charging signal.
[0084] In addition, the program burning system provided by the present application is also a program burning system with a single port for charging and burning, that is, the first interface of the present application can be used as both a charging interface and a burning interface, so that when the first interface is connected to the burning device, the cleaning device performs program burning, and when the first interface is connected to the charging device, the cleaning device performs charging. Compared with the existing cleaning equipment that has a charging interface and a burning interface respectively, the program burning system with a single port for charging and burning of the present application can not only solve the problem of cumbersome operation of the program burning process, but also optimize the manufacturing process of the cleaning equipment.
[0085] That is to say, both the burning device and the charging device are connected to the control module 21 through the first interface, thereby realizing the same port setting for charging and burning. By setting the same port for charging and burning, when the cleaning device is burning a program, the charging interface can be used to update the program, or when the cleaning device is charging, the burning interface can be used to power the cleaning device, thereby improving the applicability of the cleaning device.
[0086] Figure 4 Another program burning system provided in an embodiment of the present application includes a burning device 1 , a cleaning device 2 and a computer device 3 . The cleaning device 2 is provided with a control module 21 and a first interface 22 connected to the control module 21 .
[0087] The control module 21 includes a signal processing module 211, a processor 212 connected to the signal processing module 211, and a burning module 213 connected to the processor 212, wherein the signal processing module 211 is connected to the burning device 1, the burning device 1 is connected to the computer device 3, and is connected to the signal processing module 211 of the control module 21 through the first interface 22, and is used to convert the serial port signal of the computer device 3 into a burning signal recognizable by the control module 21.
[0088] The signal processing module 211 is used to receive an external signal, extract signal energy from the external signal, use the signal energy to power the processor 212 , and send the external signal to the processor 212 .
[0089] In the embodiment of the present application, the external signal may include a charging signal and a burning signal, so the signal processing module 211 collects the signal energy of the burning signal or the charging signal to supply power to the processor.
[0090] The processor 212 is configured to control the burning module 213 to burn a program based on the burning signal if the external signal is detected to be a burning signal.
[0091] In practical applications, the first interface 22 includes a first signal line and a first ground line. The burning device 1 includes a second interface, and the second interface includes a second signal line and a second ground line. The connection method between the cleaning device 2 and the burning device 1 may include: when the burning device 1 is connected to the signal processing module 211 through the first interface 22, the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line;
[0092] Therefore, when the signal processing module 211 of the cleaning device 2 detects that the second signal line 131 is connected to the first signal line and the first ground line is connected to the second ground line, it is determined that the external signal is a burning signal.
[0093] Figure 5 Another program burning system provided in the embodiment of the present application is similar to the above Figure 4 The difference between the program burning system is that the signal processing module 211 of the embodiment of the present application includes a signal input circuit 211a connected to the first interface 22 and an energy extraction circuit 211b connected to the signal input circuit 211a;
[0094] The signal input circuit 211a is used to receive external signals.
[0095] The energy extraction circuit 211 b is used to extract signal energy from the external signal, use the signal energy to power the processor 212 , and send the external signal to the processor 212 .
[0096] Figure 6 Another program burning system provided in the embodiment of the present application is similar to the above Figure 5 The difference between the program burning system is that the burning device 1 of the embodiment of the present application includes a signal conversion module 11 connected to the computer device 3 and a signal output module 12 connected to the signal conversion module 11;
[0097] The signal conversion module 11 is used to convert the serial port signal of the computer device 3 into a burning signal that can be recognized by the control module 21.
[0098] The signal output module 12 is used to send the burning signal to the control module 21 .
[0099] Figure 7 A charging system provided in an embodiment of the present application includes a cleaning device 2 and a charging device 4. The cleaning device 2 is provided with a control module 21 and a first interface 22 connected to the control module. The control module 21 includes a signal processing module 211, a processor 212 connected to the signal processing module 211, and a burning module 213 connected to the processor 212.
[0100] The signal processing module 211 is also used to connect to the charging device 4 through the first interface 22;
[0101] The signal processing module 211 is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal.
[0102] In practical applications, the first interface 22 includes a first signal line and a first ground line. The charging device 4 includes a positive electrode and a negative electrode. The connection method between the cleaning device 2 and the charging device 4 may include: when the charging device 4 is connected to the signal processing module 211 through the first interface 22, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line.
[0103] Therefore, when the signal processing module 211 of the cleaning device 2 detects that the positive electrode is connected to the first signal line and the negative electrode is connected to the first ground line, it is determined that the external signal is a charging signal.
[0104] Figure 8 A schematic diagram of the structure of a burning device is provided for the embodiment of the present application, such as Figure 8 As shown, the burning device 1 includes a signal conversion circuit 11 and a signal output circuit 12, wherein the signal conversion circuit 11 is connected to the signal output circuit 12, and the signal output circuit 12 is connected to the control module of the cleaning device;
[0105] The signal conversion circuit 11 is used to convert the serial port signal of the computer device into a burning signal that can be recognized by the control module.
[0106] The signal output circuit 12 is used to send the burning signal to the control module.
[0107] In the embodiment of the present application, the computer device can usually send two serial port signals, RS232 serial port signal and USB serial port signal. Since the cleaning device can only recognize Uart serial port signal, the signal conversion module 11 has at least two signal conversion circuits, one is a signal conversion circuit that converts RS232 serial port signal into Uart signal, and the other is a signal conversion circuit that converts USB serial port signal into Uart signal.
[0108] Among them, the signal conversion circuit that converts RS232 serial port signal into Uart signal is as follows Fig. 9 As shown, the signal conversion circuit includes a connector JP2 connected to the serial port of the computer device, an RS232 to UART chip U3, an energy storage capacitor C1, an energy storage capacitor C2, an energy storage capacitor C8, an energy storage capacitor C9, an energy storage capacitor C10, a current limiting resistor R12, a current limiting resistor R14, a high-speed communication optical coupler PC1, a high-speed communication optical coupler PC2, a pull-up resistor R8, a pull-up resistor R10, a filter capacitor C7, a pull-up resistor R1, a pull-up resistor R11, a current limiting resistor R9 and a current limiting resistor R13.
[0109] Specifically, pin 1 (C1+) of the RS232 to UART chip U3 is connected to one end of the energy storage capacitor C2, and pin 3 is connected to the other end of the energy storage capacitor C2.
[0110] Pin 2 (V+) of RS232 to UART chip U3 is connected to one end of energy storage capacitor C1, and the other end of energy storage capacitor C1 is connected to 5V voltage;
[0111] Pin 4 (C2+) of the RS232 to UART chip U3 is connected to one end of the energy storage capacitor C8, and pin 5 (C2-) is connected to the other end of the energy storage capacitor C8;
[0112] Pin 6 (V-) of the RS232 to UART chip U3 is connected to one end of the energy storage capacitor C9, and the other end of the energy storage capacitor C9 is grounded;
[0113] Pin 7 (T2out) and pin 8 (R2in) of the RS232 to UART chip U3 are connected to one end of the connector JP2 connected to the computer serial port, and the other end of the connector JP2 connected to the computer serial port is grounded;
[0114] Pin 9 (R2out) of the RS232 to UART chip U3 is connected to one end of the current limiting resistor 14, and the other end of the current limiting resistor 14 is connected to pin 3 (C1-) of the high-speed communication optocoupler PC2;
[0115] Pin 2 (ANODE) of the high-speed communication optocoupler PC2 is connected to one end of the pull-up resistor 10, and the other end of the pull-up resistor 10 is connected to a 5V voltage;
[0116] Pin 5 (GND) and pin 8 (VCC) of the high-speed communication optocoupler PC2 are connected to the pull-up resistor 11 and the energy storage capacitor C10. The other end of the pull-up resistor is connected to the 3.3V voltage, and the other end of the energy storage capacitor C10 is grounded.
[0117] Pin 6 (VO) of the high-speed communication optical coupler PC2 is connected to one end of the current limiting resistor R13, and the other end of the current limiting resistor R13 is connected to the MCU receiving interface MCU_RX of the burning device;
[0118] Pin 10 (T2in) of the RS232 to UART chip U3 is connected to one end of a current limiting resistor R12, and the other end of the current limiting resistor R12 is connected to pin 6 (VO) of a high-speed communication optocoupler PC1.
[0119] Pin 2 (ANODE) of the high-speed communication optocoupler PC1 is connected to one end of the pull-up resistor R1, and the other end of the pull-up resistor R1 is grounded;
[0120] Pin 3 (CATHODE) of the high-speed communication optocoupler PC1 is connected to one end of the current limiting resistor R9, and the other end of the current limiting resistor R9 is connected to the MCU output interface;
[0121] Pin 5 (GND) and pin 8 (VCC) of the high-speed communication optocoupler PC1 are connected to a pull-up resistor R8 and a filter capacitor C7, the other end of the pull-up resistor R8 is connected to a 5V voltage, and the other end of the filter capacitor C7 is grounded.
[0122] In the embodiment of the present application, the signal conversion circuit can convert the RS232 serial port signal level of the computer device to the level of the processor of the cleaning device, thereby converting the RS232 serial port signal into a recognizable Uart signal, wherein the Uart signal is the burning signal.
[0123] Among them, the signal conversion circuit that converts the USB serial port signal into the Uart signal is as follows Fig.10 As shown, the signal conversion circuit includes a USB interface JP5, a current limiting resistor R18, a current limiting resistor R21, a voltage dividing resistor R19, a voltage dividing resistor R23, a current limiting resistor R16, a current limiting resistor R17, a USB to UART chip U5, a filter capacitor C11, a filter capacitor C12, a filter capacitor C13 and an energy storage capacitor C14.
[0124] Specifically, the USB to UART chip U5 includes 28 pins, and only the pins involved are introduced below:
[0125] Pin 1 (TXD) of the USB to UART chip U5 is connected to the data output interface, through which the serial port signal sent by the computer device is received;
[0126] Pin 4 (VCCIO) of the USB to UART chip U5 is connected to filter capacitors C11, C12 and C13, and connected to a 3.3V voltage. The filter capacitors C11, C12 and C13 are connected in parallel, and the other end of the filter capacitor C13 is grounded.
[0127] Pin 17 (3V3OUT) of the USB to UART chip U5 is connected to one end of the energy storage capacitor C14, and the other end of the energy storage capacitor C14 is grounded;
[0128] Pin 15 (USBDP) of the USB to UART chip U5 is connected to one end of the current limiting resistor R21, and the other end of the current limiting resistor R21 is connected to pin 3 of the USB interface JP5;
[0129] Pin 16 (USBDM) of the USB to UART chip U5 is connected to one end of the current limiting resistor R18, and the other end of the current limiting resistor R18 is connected to pin 2 (DTR#) of the USB interface JP5;
[0130] Pin 7 (GND), pin 18 (NC), pin 21 (GND), pin 25 (AGND), and pin 26 (TEST) of the USB to UART chip U5 are grounded;
[0131] Pin 19 (RESET#) of the USB-to-UART chip U5 is connected to one end of the voltage-dividing resistors R19 and R23, the other end of the voltage-dividing resistor R19 is connected to pin 1 of the USB interface JP5, and the other end of the voltage-dividing resistor R23 is grounded;
[0132] Pin 20 (VCC) of USB to UART chip U5 is connected to one end of filter capacitor C13;
[0133] Pin 22 of USB to UART chip U5 is connected to one end of LED1, the other end of LED1 is connected to current limiting resistor R16, and the other end of current limiting resistor R16 is connected to 3.3V voltage;
[0134] Pin 23 of the USB to UART chip U5 is connected to one end of LED2, the other end of LED2 is connected to a current limiting resistor R17, and the other end of the current limiting resistor R17 is connected to a 3.3V voltage.
[0135] In the embodiment of the present application, the USB serial port signal level of the computer device can be converted to the level of the processor of the cleaning device through the above-mentioned signal conversion circuit, so that the USB serial port signal can be converted into a recognizable Uart signal.
[0136] Further, the signal conversion circuit of the burning device is connected to the signal output circuit through the baud rate conversion circuit;
[0137] The baud rate conversion circuit is used for performing baud rate conversion on the burning signal.
[0138] In the embodiment of the present application, baud rate conversion is an operation of converting one baud rate into another baud rate. In an actual working system, there is often a situation where a computer device uses one baud rate, while a lower system controlled by a single-chip microcomputer works at another baud rate, so a baud rate conversion operation is required.
[0139] The signal output circuit is used to send the converted burning signal to the control module.
[0140] Furthermore, since the computer device may have RS232 serial port signals and USB serial port signals at the same time, after converting multiple serial port signals into Uart signals, it is necessary to merge multiple Uart signals. Fig.11 The signal combining circuit and Fig.12 The signal output circuit combines multiple Uart signals and outputs them to the control module.
[0141] Among them, Fig.11 As shown, the signal merging circuit includes a connector JP20, a current limiting resistor R00, and a current limiting resistor R01. Specifically, pin 1 of the connector JP20 is connected to the current limiting resistor R00 and the current limiting resistor R01, and the current limiting resistor R00 and the current limiting resistor R01 are connected in parallel, the current limiting resistor R00 is connected to the Uart_RX interface, the current limiting resistor R01 is connected to the Uart_TX interface, and pin 2 of the connector JP20 is grounded. Among them, the Uart_RX interface and the Uart_TX interface are used to connect the above-mentioned signal conversion circuit.
[0142] In the embodiment of the present application, multiple Uart signals can be merged through a signal merging circuit.
[0143] Among them, Fig.12As shown, the signal output circuit includes a pull-up resistor R10, a communication field effect transistor Q1, a voltage divider resistor R11, and a voltage divider resistor R12. Specifically, the first end of the communication field effect transistor Q1 is connected to one end of the pull-up resistor R10 and the TX / RX interface, and the other end of the pull-up resistor R10 is connected to VCC. Among them, the signal interface is used to connect the cleaning equipment to transmit the Uart signal. The TX / RX interface is connected to the signal merging circuit, which is used to receive the merged Uart signal transmitted by the signal merging circuit.
[0144] VCC is the power network label of the circuit, and VCC can be represented as the power supply voltage of the chip. Each chip is connected to VCC, and the power supply voltage can be 3.3V or 5V.
[0145] The second end of the communication field effect transistor Q1 is connected to one end of the voltage-dividing resistor R12 and one end of the voltage-dividing resistor R11, and the other end of the voltage-dividing resistor R12 is connected to the signal interface for connecting the cleaning equipment to transmit the combined Uart signal.
[0146] The third terminal of the communication field effect transistor Q1 is connected to VCC.
[0147] In the embodiment of the present application, the Uart signal of the burning device can be sent through the signal output circuit and sent to the cleaning device through the signal interface.
[0148] Fig.13 A structural diagram of a control module is provided for an embodiment of the present application, such as Fig.13 As shown, the control module 21 includes a signal input circuit 21a, an energy extraction circuit 21b, a signal determination circuit 21c, a charging circuit 21d and a burning circuit 21e;
[0149] The input end of the energy extraction circuit 21b is connected to the output end of the signal output circuit of the burning device 1, and the output end of the energy extraction circuit 21b is connected to the input end of the processor of the cleaning device 2, for collecting signal energy of external signals and supplying power to the processor.
[0150] The energy extraction circuit 21b includes an energy storage module and a buck-boost module, wherein the input end of the energy storage module is connected to the output end of the signal output circuit of the burning device, the output is connected to the input end of the buck-boost module, and the output end of the buck-boost module is connected to the burning module;
[0151] The energy storage module is used to collect and store the signal energy of the burning signal or the charging signal;
[0152] The buck-boost module is used to boost or buck the signal energy to obtain a power supply voltage, and supply power to the processor based on the power supply voltage.
[0153] In the embodiment of the present application, the energy extraction circuit also includes an energy storage circuit and a buck-boost circuit, such as Fig.14 As shown, the energy storage circuit includes an external signal receiving terminal Sin, an energy storage inductor L1, a freewheeling diode D5, a filter capacitor C21, an energy storage capacitor EC4, and an energy output terminal VIN.
[0154] Specifically, the external signal receiving terminal sin is connected to one end of the energy storage inductor L1 and one end of the freewheeling diode D5, the other end of the freewheeling diode D5 is grounded, the other end of the energy storage inductor L1 is connected to the positive electrode of the energy storage capacitor EC4, the negative electrode of the energy storage capacitor EC4 is connected to the other end of the freewheeling diode D5 and to one end of the filter capacitor C21, the other end of the filter capacitor C21 is connected to the other end of the energy storage inductor L1, and outputs a signal voltage.
[0155] The signal energy of the burning signal or the charging signal is stored by the energy storage circuit to supply power for the subsequent step-up and step-down circuits.
[0156] like Fig.15 As shown, the buck-boost circuit includes a frequency setting resistor RT1, a power conversion chip U2, an energy storage inductor L2, a feedback signal interface STN_FBI, a filter capacitor C15, a current limiting resistor R24, a filter capacitor C26, a filter capacitor C13, a voltage divider resistor R27, a filter capacitor C23, a filter resistor R35, a voltage divider resistor R28, an energy input terminal Vin,
[0157] Specifically, pin 1 of the power conversion chip U2 is connected to Vcl (wherein Vc1 is the number of the connection line, which is connected to the network), pin 2 is connected to one end of the frequency setting resistor RT1, and the other end of the frequency setting resistor RT1 is grounded, pin 3 and pin 4 are respectively connected to the two ends of the energy storage inductor L2, pin 5 is connected to one end of the filter capacitor C13, and the other end of the filter capacitor C13 is grounded, pin 5 is connected to one end of the voltage divider resistor R27, and the other end of the voltage divider resistor R27 is connected to the feedback signal interface STN_FBI, and one end of the filter capacitor C23 is connected,
[0158] One end of the filter capacitor C23 is connected to the other end of the voltage-dividing resistor R27 , the other end of the filter capacitor C23 is connected to one end of the filter resistor R35 , and the other end of the filter resistor R35 is connected to Vcl.
[0159] The other end of the voltage-dividing resistor R27 is connected to one end of the voltage-dividing resistor R28, and the other end of the voltage-dividing resistor R28 is grounded.
[0160] Pin 6 is connected to one end of filter capacitor C26 and Vin interface, and the other end of filter capacitor C36 is grounded.
[0161] Pin 7 is connected to one end of the filter capacitor C15 and one end of the current limiting resistor R24, the other end of the current limiting resistor R24 is connected to pin 6, and the other end of the filter capacitor C15 is grounded.
[0162] In the embodiment of the present application, taking the processor being able to adapt to 3.3V voltage as an example, the signal energy stored in the energy storage circuit can be processed through the above-mentioned buck-boost circuit, and the high voltage or low voltage can be converted into a 3.3V voltage for powering the processor.
[0163] The signal judgment circuit is connected in parallel with the charging circuit and the burning circuit, and is used to turn on the burning circuit if the external signal is detected to be a burning signal; and to turn on the charging circuit if the external signal is detected to be a charging signal.
[0164] Wherein, the signal determination circuit 21c includes a signal detection point EXIT_IN_AD, a first voltage-dividing resistor R40, a second voltage-dividing resistor R44, a current-limiting resistor R41 and a filter capacitor C18;
[0165] Among them, Fig.16 As shown, one end of the first voltage-dividing resistor is connected to the output end of the signal output circuit of the burning device through the Signal interface to obtain the input external signal, the other end of the first voltage-dividing resistor is connected to the second voltage-dividing resistor and the current-limiting resistor, and the second voltage-dividing resistor and the current-limiting resistor are connected in parallel, and the other end of the current-limiting resistor is connected to the signal detection point and the filter capacitor; the second voltage-dividing voltage value and the other end of the filter capacitor are grounded;
[0166] The signal judgment circuit 21c is used to determine that the external signal is a burning signal if it is determined that the value of the signal detection point is a square wave signal and the voltage value of the signal detection point meets the burning voltage, connect with the burning device to put the cleaning equipment in the burning mode, and control the burning module to perform program burning based on the burning signal.
[0167] The signal judgment circuit 21c is used to determine that the external signal is a charging signal if it is judged that the value of the signal detection point is a stable signal and the voltage value of the signal detection point meets the charging voltage, connect with the adapter to put the cleaning device in charging mode, and charge the rechargeable battery in the cleaning device based on the charging signal.
[0168] The charging circuit 21d is used to charge the rechargeable battery in the cleaning device based on the charging signal.
[0169] Among them, Fig.17As shown, the charging circuit includes: a DC input terminal DC_IN+, a switch RelaylA, a voltage dividing resistor R43, a protection capacitor C21, a charging field effect transistor Q9, a charging voltage interface C+, a voltage dividing resistor R46, a transistor Q12, a voltage dividing resistor R47, a voltage dividing resistor R48, and a charging control pin CHR_CONTROL.
[0170] Specifically, the first end of the charging field effect transistor Q9 is connected to the charging voltage interface C+; the second end is connected to the protection capacitor C21 and the voltage dividing resistor R43, and the protection capacitor C21 and the voltage dividing resistor R43 are connected in parallel; the third end is connected to one end of the voltage dividing resistor R46, and the other end of the voltage dividing resistor R46 is connected to one end of the transistor Q12.
[0171] The second end of the transistor Q12 is connected to the voltage-dividing resistors R47 and R48, and the voltage-dividing resistors R47 and R48 are connected in parallel, and the third end of the transistor Q12 is grounded;
[0172] The other end of the voltage-dividing resistor R47 is connected to the charging control pin CHR_CONTROL; the other end of the voltage-dividing resistor R48 is grounded.
[0173] In an embodiment of the present application, if the signal judgment circuit 21c determines that the external signal is a charging signal, the cleaning device controls the charging control pin CHR_CONTROL to a high level, so that the transistor Q12 is turned on and the charging field effect transistor Q9 is turned on. At this time, the charging voltage interface C+ generates a voltage for charging the processor.
[0174] The programming circuit 21e is used to control the programming module to perform program programming based on the programming signal.
[0175] Among them, Fig.18 As shown, the programming circuit includes a pull-up resistor R10, a switch field effect transistor Q1, a voltage dividing resistor R11, a voltage dividing resistor R12, and a switch Relay1B.
[0176] Specifically, one end of the pull-up resistor R10 is connected to VCC, and the other end is connected to the first end of the switch field effect transistor Q1 and the TX / RX interface, wherein the TX / RX interface is used to connect the programming module, and the Signal interface is used to receive the programming signal.
[0177] The second end of the switch field effect tube Q1 is connected to the voltage dividing resistors R11 and R12, and the third end of the switch field effect tube Q1 is grounded;
[0178] The other end of the voltage dividing resistor R12 is connected to the switch Relay1B.
[0179] In the embodiment of the present application, when the signal is determined to be a programming signal, the cleaning device controls the switch relay1B to be turned on. The programming signal is input through the signal interface and transmitted to the programming module through the TX / RX interface, so that the programming module executes program programming according to the programming signal.
[0180] Fig.19 A flowchart of a program burning method is provided for an embodiment of the present application, such as Fig.19 As shown, the method is applied to a program burning system, the system comprising: a burning device, a cleaning device and a computer device, the cleaning device is provided with a control module and a first interface connected to the control module; the control module comprises a processor and a burning module connected to the processor;
[0181] The method comprises:
[0182] 101. The burning device converts the serial port signal of the computer device into a burning signal recognizable by the cleaning device, so that the control module receives an external signal through the first interface. If the external signal is detected to be a burning signal, the burning module is controlled to burn the program based on the burning signal; if the external signal is detected to be a charging signal, the rechargeable battery in the cleaning device is charged based on the charging signal.
[0183] In this step, since the signals usually used by the computer device and the cleaning device are different, the serial port signal of the computer device needs to be converted. In addition, the serial port signal of the computer device may include multiple types, and corresponding signal conversion circuits may be set according to different serial port signals.
[0184] In the embodiment of the present application, the burning device converts the serial port signal of the computer device into a burning signal recognizable by the cleaning device through the signal conversion circuit in the above embodiment.
[0185] 102. Perform baud rate conversion on the burning signal, and send the converted burning signal to the control module.
[0186] In the embodiment of the present application, the baud rate conversion of the burning signal can be achieved through a baud rate conversion circuit. The existing baud rate conversion circuit can be used to convert the burning signal, and this application will not give any examples to introduce this.
[0187] Fig. 20 A flowchart of another method for burning a program is provided for the embodiment of the present application, such as Fig. 20 As shown, the method is applied to a program burning system, the system comprising: a burning device, a cleaning device and a computer device, the cleaning device is provided with a control module and a first interface connected to the control module; the control module comprises a processor and a burning module connected to the processor;
[0188] The method comprises:
[0189] 201. A control module receives an external signal through the first interface.
[0190] In this step, the first interface is a universal interface for charging and burning.
[0191] In the embodiment of the present application, after being connected to an external device (burning device or charging device) via a signal line and a ground line, an external signal can be received.
[0192] 202. If it is detected that the external signal is a programming signal, control a programming module to perform program programming based on the programming signal.
[0193] In the embodiment of the present application, it is first determined whether the voltage corresponding to the external signal is a stable signal or a square wave signal that jumps gears, and the signal type (burning signal or charging signal) corresponding to the external signal is determined by identifying the voltage of the external signal.
[0194] 203. If it is detected that the external signal is a charging signal, the rechargeable battery in the cleaning device is charged based on the charging signal.
[0195] The following is an example of an application scenario of a program burning method provided in an embodiment of the present application:
[0196] Scenario 1: Taking the cleaning equipment including a handheld vacuum cleaner as an example, when the operator burns the program of the cleaning equipment (handheld vacuum cleaner) provided in this application, it is first necessary to connect the development board (burning device) to the computer (computer equipment) using the burning cable of the handheld vacuum cleaner. Specifically, it is necessary to control the burning cable of the first interface of the handheld vacuum cleaner to be connected to the burning device (that is, the signal line of the handheld vacuum cleaner is connected to the signal line of the burning device, and the ground wire of the handheld vacuum cleaner is connected to the ground wire of the burning device), and the development board is connected to the computer via a network cable.
[0197] Secondly, the operator needs to pre-install the burning software, and select the single-chip microcomputer model corresponding to the handheld vacuum cleaner in the display page of the burning software, and select the program file to be burned, and import the program file to complete the program burning. Specifically, when the operator selects the program file to be burned, the computer transmits the serial port signal corresponding to the program file to the burning device, and the burning device converts the serial port signal into a burning signal that can be recognized by the handheld vacuum cleaner; the control module of the handheld vacuum cleaner receives the burning signal, and extracts the signal energy from the burning signal, uses the signal energy to power the processor, and sends the burning signal to the processor, so that after the processor is powered on, the program is burned based on the burning signal, and the burning of the program file has been completed. Among them, the computer is used to provide a burning signal so that the cleaning device is burned according to the burning signal. Since the serial port signals used by the computer and the handheld vacuum cleaner are different, it is necessary to use a burning device to convert the computer's burning signal (RS232 serial port signal and USB serial port signal) into a burning signal (Uart serial port signal) that can be recognized by the handheld vacuum cleaner. When the handheld vacuum cleaner receives the burning signal, the program is burned based on the burning signal, so that the user does not need to disassemble the handheld vacuum cleaner to update the program of the handheld vacuum cleaner.
[0198] Scenario 2: Taking the cleaning equipment including a handheld vacuum cleaner as an example, when the operator charges the cleaning equipment (handheld vacuum cleaner) provided in this application, the operator first needs to connect the charging cable of the cleaning equipment to the power supply through the charging head (charging device). Specifically, the signal line that controls the handheld vacuum cleaner is connected to the positive pole of the charging head, the ground line of the handheld vacuum cleaner is connected to the negative pole of the charging head, and then the power supply is connected to charge the handheld vacuum cleaner. Specifically, the handheld vacuum cleaner includes a battery management system, and the battery management system includes a rechargeable battery. When the handheld vacuum cleaner is connected to the power supply, the control module of the handheld vacuum cleaner receives the transmitted charging signal, extracts signal energy from the charging signal, uses the signal energy to power the processor, and sends the charging signal to the processor, and charges the rechargeable battery in the cleaning equipment based on the charging signal.
[0199] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0200] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0201] Through the description of the above implementation methods, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A cleaning device comprising a rechargeable battery, characterized in that: It also includes a control module, which can be connected to the burning device or the charging device through the first interface; The control module is used to receive an external signal through the first interface, and if the voltage of the external signal shows an upward or downward trend over time, the external signal is detected to be a burning signal; if the voltage of the external signal shows a stable trend over time, the external signal is detected to be a charging signal; Alternatively, the first interface includes a first signal line and a first ground line; the programming device includes a second interface, and the second interface includes a second signal line and a second ground line; when the programming device is connected to the signal processing module in the control module through the first interface, the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line; the signal processing module specifically detects that the second signal line is connected to the first signal line, and the first ground line is connected to the second ground line, and determines that the external signal is a programming signal; Alternatively, the first interface includes a first signal line and a first ground line; the charging device includes a positive electrode and a negative electrode; when the charging device is connected to the signal processing module through the first interface, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line; the signal processing module specifically detects that the positive electrode is connected to the first signal line and the negative electrode is connected to the first ground line, and determines that the external signal is a charging signal; The control module is further used for performing program burning based on the burning signal if the external signal is detected to be a burning signal; The control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal; The control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
2. The device according to claim 1, characterized in that The control module includes a signal processing module and a processor connected to the signal processing module; The signal processing module is used to receive an external signal through the first interface, extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
3. The device according to claim 2, characterized in that The signal processing module includes a signal input circuit connected to the first interface and an energy extraction circuit connected to the signal input circuit; The signal input circuit is used to receive external signals; The energy extraction circuit is used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
4. The device according to claim 2, characterized in that The signal processing module is further used to collect signal energy of the burning signal or the charging signal to supply power to the processor.
5. The device according to claim 1, characterized in that It includes a signal conversion circuit and a signal output circuit, wherein the signal conversion circuit is connected to the signal output circuit, and the signal output circuit is connected to a control module of the cleaning device; The signal conversion circuit is used to convert the serial port signal of the computer device into a burning signal that can be recognized by the control module; The signal output circuit is used to send the burning signal to the control module; The signal conversion circuit is connected to the signal output circuit via a baud rate conversion circuit; The baud rate conversion circuit is used to perform baud rate conversion on the burning signal; The signal output circuit is used to send the converted burning signal to the control module.
6. A program burning system, characterized in that: include: A burning device, a cleaning device and a computer device, wherein the cleaning device is provided with a control module and a first interface connected to the control module; The burning device is connected to the computer device and connected to the control module through the first interface, and is used to convert the serial port signal of the computer device into a burning signal recognizable by the control module; The control module is used to receive an external signal through the first interface, and if the voltage of the external signal shows an upward or downward trend over time, the external signal is detected to be a burning signal; if the voltage of the external signal shows a stable trend over time, the external signal is detected to be a charging signal; Alternatively, the first interface includes a first signal line and a first ground line; The control module may be connected to the burning device via a first interface, the burning device includes a second interface, and the second interface includes a second signal line and a second ground line; when the burning device is connected to the signal processing module in the control module via the first interface, the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line; the signal processing module specifically detects that the second signal line is connected to the first signal line, and the first ground line is connected to the second ground line, and determines that the external signal is a burning signal; Alternatively, the first interface includes a first signal line and a first ground line; the control module can be connected to the charging device through the first interface, and the charging device includes a positive electrode and a negative electrode; when the charging device is connected to the signal processing module through the first interface, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line; the signal processing module specifically detects that the positive electrode is connected to the first signal line and the negative electrode is connected to the first ground line, and determines that the external signal is a charging signal; The control module is used for performing program burning based on the burning signal if the external signal is detected to be a burning signal; The control module is also used to connect to the charging device through the first interface; the control module is also used to charge the rechargeable battery in the cleaning device based on the charging signal if the external signal is detected to be a charging signal; The control module is used to receive an external signal through the first interface; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor.
7. A control module, characterized in that: It includes a signal input circuit, an energy extraction circuit, a signal judgment circuit, a charging circuit and a burning circuit; The input end of the energy extraction circuit is connected to the output end of the signal output circuit of the burning device, and the output end of the energy extraction circuit is connected to the input end of the processor of the cleaning device, so as to collect the signal energy of the external signal and supply power to the processor; The signal judgment circuit is connected in parallel with the charging circuit and the burning circuit, and is used to turn on the burning circuit if the external signal is detected to be a burning signal; and turn on the charging circuit if the external signal is detected to be a charging signal; wherein, if the voltage of the external signal shows an upward or downward trend over time, the external signal is detected to be a burning signal; if the voltage of the external signal shows a stable trend over time, the external signal is detected to be a charging signal; or, the control module can be connected to the burning circuit through a first interface; the first interface includes a first signal line and a first ground line; the burning circuit includes a second interface, and the second interface includes a second signal line and a second ground line; when the burning circuit is connected to the signal judgment circuit through the first interface , the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line; the signal judgment circuit specifically detects that the second signal line is connected to the first signal line and the first ground line is connected to the second ground line, and determines that the external signal is a burning signal; or, the control module can be connected to the charging circuit through the first interface; the first interface includes a first signal line and a first ground line; the charging circuit includes a positive electrode and a negative electrode; when the charging circuit is connected to the signal judgment circuit through the first interface, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line; the signal judgment circuit specifically detects that the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line, and determines that the external signal is a charging signal; The charging circuit is used to charge the rechargeable battery of the cleaning device based on the charging signal; The burning circuit is used for controlling the burning module to burn a program based on the burning signal.
8. A program burning method, characterized in that: Applied to a program burning system, the system comprises: a burning device, a cleaning device and a computer device, the cleaning device is provided with a control module and a first interface connected to the control module; the control module comprises a processor and a burning module connected to the processor; the control module is used to receive an external signal through the first interface; the control module is also used to extract signal energy from the external signal, use the signal energy to power the processor, and send the external signal to the processor, the method comprises: The control module receives an external signal through the first interface, and if the external signal is detected to be a burning signal, the burning module is controlled to burn the program based on the burning signal; if the external signal is detected to be a charging signal, the rechargeable battery in the cleaning device is charged based on the charging signal, wherein, if the voltage of the external signal shows an upward or downward trend over time, the external signal is detected to be a burning signal; if the voltage of the external signal shows a stable trend over time, the external signal is detected to be a charging signal; or, the first interface includes a first signal line and a first ground line; the control module can be connected to the burning module through the first interface, the burning module includes a second interface, the second interface includes a second signal line and a second ground line; the burning module connects to the When the signal processing module in the control module is connected, the second signal line is connected to the first signal line, and the second ground line is connected to the first ground line; when the signal processing module specifically detects that the second signal line is connected to the first signal line and the first ground line is connected to the second ground line, it is determined that the external signal is a burning signal; or, the control module can be connected to the charging device through a first interface; the first interface includes a first signal line and a first ground line; the charging device includes a positive electrode and a negative electrode; when the charging device is connected to the signal processing module through the first interface, the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line; when the signal processing module specifically detects that the positive electrode is connected to the first signal line, and the negative electrode is connected to the first ground line, it is determined that the external signal is a charging signal.