Brush head adjusting method, circuit, system and device and storage medium
The motion state of the brush head is monitored and the operating parameters are adjusted through the optocoupler detection circuit, which solves the problems of high cost and monitoring blind spots in the brush head adjustment method, and realizes stable operation and efficient cleaning of the brush head.
Patent Information
- Application Number
- CN202510780201.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-11
- Publication Date
- 2025-09-12
AI Technical Summary
Existing brush head adjustment methods have problems such as high hardware deployment costs, monitoring blind spots, and incomplete judgment of brush head abnormalities, resulting in insufficient performance and reliability of cleaning equipment.
An optocoupler detection circuit is used to monitor the reciprocating motion of the brush head. The working status of the brush head is judged by the changes in the detection signal output by the optocoupler detection circuit, and the operating parameters are adjusted according to the status. The system includes an optocoupler detection circuit, a light source driving circuit and a signal generating circuit, and is combined with the main control module to realize intelligent control.
The stability and cleaning efficiency of the brush head operation are improved, the hardware cost is reduced, and the operating reliability and cleaning quality of the equipment are enhanced.
Smart Images

Figure CN120616243A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automated control, and in particular to a brush head adjustment method, circuit, system, device and storage medium. Background Art
[0002] Among many modern technological devices, brush heads are widely used in various scenarios that require sweeping or cleaning, such as car wiper systems, camera lens cleaning equipment, cleaning devices in industrial production, and smart home cleaning equipment.
[0003] However, the current application of brush head adjustment still has many shortcomings. On the one hand, although some cleaning systems based on torque feedback can achieve automatic adjustment, the hardware deployment cost is relatively high, which is particularly prominent in small-scale equipment, limiting its widespread application. On the other hand, although the cleaning solution based on image feedback can identify wiper anomalies, it cannot monitor the position of the brush head outside the image. There is an obvious monitoring blind spot, and it is impossible to fully judge the cleaning situation. In addition, during the long-term use of the brush head, the shaft hole will increase resistance due to dust accumulation, which will make it difficult for the wiper to return to the normal limit. The loss of step of the wiper motor will also cause the wiper to fail to return to its normal position. After replacing the brush head, due to the different friction coefficients, the torque may not adapt and jamming may occur.
[0004] Therefore, there is an urgent need for a more effective, economical and reliable brush head adjustment method to improve the performance and reliability of cleaning equipment. Summary of the Invention
[0005] In order to solve the above technical problems, the technical solution adopted in this application is: to provide a brush head adjustment method, circuit, system, device and storage medium to at least solve the problems of high cost, monitoring blind spots and brush head abnormalities existing in the existing technology.
[0006] According to one embodiment of the present invention, a method for adjusting a brush head is provided, wherein the brush head is used to perform a reciprocating motion on a target object to clean the target object; the method comprises:
[0007] During the operation of the brush head, a detection signal output by an optocoupler detection circuit is obtained, wherein the optocoupler detection circuit includes at least two optocouplers, and the at least two optocouplers are provided on the target object and are respectively located at the extreme position points at both ends of the reciprocating motion. When the brush head reaches the extreme position point, the light corresponding to the optocoupler is blocked by the brush head, and the signal value of the detection signal is related to whether the light of the optocoupler is blocked;
[0008] Analyze the signal change of the detection signal to determine whether the working state of the brush head is abnormal, and operate the brush head according to the operating parameters corresponding to the working state.
[0009] In order to solve the above technical problems, a technical solution adopted by the present application is: providing an optical coupler detection circuit, wherein the optical coupler detection circuit is used to detect the reciprocating motion of the brush head, wherein the brush head is used to reciprocate on the target object to clean the target object;
[0010] The optocoupler detection circuit includes:
[0011] At least two optical couplers, the at least two optical couplers being provided on the target object and respectively located at the extreme position points at both ends of the reciprocating motion, the optical couplers comprising a light emitting element and a photosensitive element, and when the brush head reaches the extreme position points, the light channel between the light emitting element and the photosensitive element corresponding to the optical coupler is blocked by the brush head;
[0012] a light source driving circuit, connected to the light-emitting elements in each of the optical couplers, for driving the light-emitting elements to emit light;
[0013] The signal generating circuit is connected to the photosensitive elements in each of the optical couplers, and is used to generate detection signals with different signal values based on whether the photosensitive elements receive light from the corresponding light-emitting elements.
[0014] To solve the above technical problems, the present application adopts a technical solution: providing an adjustment system for a brush head, wherein the brush head is used to perform reciprocating motion on a target object to clean the target object; the system comprises:
[0015] A brush head driving module, used to drive the brush head to reciprocate according to a control signal input by a main control;
[0016] An optocoupler detection circuit includes at least two optocouplers, the at least two optocouplers being provided on the target object and respectively located at extreme positions at both ends of the reciprocating motion. When the brush head reaches the extreme positions, the light corresponding to the optocouplers is blocked by the brush head, and the signal value of the detection signal is related to whether the light of the optocouplers is blocked. The at least two optocouplers in the optocoupler detection circuit are integrated into one signal and connected to the main control module via a signal link.
[0017] The main control module is connected to the optocoupler detection circuit and the brush head drive module, and is used to analyze the signal changes of the detection signal output by the optocoupler detection circuit to determine whether the working state of the brush head is abnormal, and generate a control signal corresponding to the working state, and send the control signal to the brush head drive module.
[0018] In order to solve the above technical problems, a technical solution adopted in this application is: to provide a brush head adjustment device, including a memory and a processor, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, it is used to implement the brush head adjustment method in the above technical solution.
[0019] In order to solve the above technical problems, a technical solution adopted in this application is: providing a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a processor, it is used to implement the brush head adjustment method in the above technical solution.
[0020] Through the above scheme, the brush head adjustment method provided by the present application obtains the detection signal output by the optocoupler detection circuit, analyzes the signal changes of the detection signal to determine whether the working state of the brush head is abnormal, and operates the brush head according to the operating parameters corresponding to the working state. Because the optocoupler detection circuit converts the optical signal into an electrical signal, when the brush head is working, its movement affects the optical signal received by the optocoupler, thereby causing the output electrical signal to change. By analyzing these changes, the working state of the brush head can be determined, and the operating parameters can be adjusted, thereby realizing the monitoring and intelligent regulation of the working state of the brush head and improving the stability of the brush head operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without inventive efforts. Among them:
[0022] Figure 1 This is a flow chart of an embodiment of a method for adjusting a brush head provided in this application;
[0023] Figure 2 This is a structural diagram of an embodiment of a brush head provided by the present application;
[0024] Figure 3 This is a structural diagram of an embodiment of an optocoupler detection circuit provided by the present application;
[0025] Figure 4 This is a schematic diagram of an embodiment of level signal changes provided by the present application;
[0026] Figure 5 This is a schematic diagram of the level change when the brush head passes through the optical coupler provided by this application;
[0027] Figure 6 This is a schematic diagram of the level change of the brush head provided by the present application undergoing a reciprocating motion;
[0028] Figure 7 This is a flowchart of an embodiment of the brush head initialization process provided by this application;
[0029] Figure 8 This is a flow chart of a specific embodiment of the brush head adjustment method provided by the present application;
[0030] Figure 9 This is a structural diagram of an embodiment of a brush head adjustment system provided by the present application;
[0031] Figure 10 This is a structural diagram of an embodiment of a brush head adjustment device provided by the present application;
[0032] Figure 11 It is a structural diagram of an embodiment of a computer-readable storage medium provided by this application. DETAILED DESCRIPTION
[0033] The present application will be further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only intended to illustrate the present application and are not intended to limit the scope of the present application. Similarly, the following examples are only some examples of the present application and not all examples. All other examples obtained by those of ordinary skill in the art without creative work are intended to fall within the scope of protection of this application.
[0034] References to "embodiments" in this application mean that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0035] It should be noted that the terms "first", "second", etc. in this application are only used for descriptive purposes and cannot be understood as indicating or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first", "second", etc. may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.
[0036] See also Figure 1 , Figure 1 It is a flow chart of an embodiment of the brush head adjustment method provided in this application. It should be noted that if there is substantially the same result, this embodiment is not based on Figure 1 The process sequence shown is limited. Figure 1 As shown, this embodiment includes:
[0037] S110: During the operation of the brush head, a detection signal output by the optical coupler detection circuit is obtained.
[0038] A brush head is a tool used for cleaning or sweeping, usually installed in a specific part of the equipment, and is used to perform reciprocating motion on the target object to sweep the target object and remove dust, stains or other debris from the surface of the target object. In one example, the target object is the lens of a camera. The brush head, as a cleaning device for the camera lens, can gently wipe the surface of the lens to keep the image clear. In another example, the target object is the windshield of a car. In the car's windshield wiper system, the brush head swings left and right to scrape rain off the windshield. During operation, the brush head is usually driven by a motor or other driving device to perform regular reciprocating motion on the surface of the target object, such as straight line, curve or arc motion, to achieve the purpose of cleaning.
[0039] The optocoupler detection circuit is used to detect the reciprocating motion of the brush head. Movement of the brush head, for example, by blocking or reflecting light, changes the transmission path or intensity of the optical signal in the optocoupler detection circuit. The light receiving part generates a corresponding electrical signal based on this change in the optical signal, thereby monitoring the brush head's motion.
[0040] During the operation of the brush head, the detection signal output by the optocoupler detection circuit is obtained. Figure 2 , Figure 2 The optical coupler detection circuit includes at least two optical couplers (such as Figure 2 Optocoupler 1 and Optocoupler 2 in the figure), at least two optocouplers are provided on the target object (such as Figure 2 ), and are located at the extreme position points at both ends of the reciprocating motion (such as Figure 2 The optical coupler detects the start and end points of the brush head's movement. When the brush head reaches its limit, the light from the corresponding optocoupler is blocked by the brush head, and a corresponding detection signal is output. The value of the detection signal is related to whether the light from the optocoupler is blocked. By directly analyzing the signal output by the optocoupler detection circuit, it is possible to accurately determine whether the brush head is operating normally without a current collection module. This allows for precise control and adjustment of the brush head's movement, ensuring that it sweeps according to the expected reciprocating motion, improving cleaning efficiency and quality.
[0041] In one embodiment, the optocoupler detection circuit may further include multiple optocouplers, each of which is provided on the target object and is located at multiple passing points of the reciprocating motion. When the brush head reaches the position of a certain optocoupler, the light of the corresponding optocoupler is blocked by the brush head, and a corresponding detection signal is output.
[0042] In one embodiment, the optocoupler includes a light-emitting element and a photosensitive element, and the optocoupler detection circuit further includes a light source driving circuit and a signal generating circuit. The light source driving circuit is respectively connected to the light-emitting elements in each optocoupler, and is used to drive the light-emitting elements to emit light. The signal generating circuit is respectively connected to the photosensitive elements in each optocoupler, and is used to generate detection signals of different signal values based on whether the photosensitive elements receive light from the corresponding light-emitting elements. For example, when the light of the optocoupler is not blocked, the detection signal can be a first signal value; when the light of the optocoupler is blocked, the detection signal can be a second signal value.
[0043] In one embodiment, the signal generation circuit may include at least two generation sub-circuits corresponding to respective optocouplers. The at least two generation sub-circuits include a switch drive circuit and a switch circuit, the switch drive circuit being connected to a photosensitive element of an optocoupler, the switch circuit including a switch element, the output end of each switch drive circuit being connected to a control end of the switch element, the first connection end of the switch element being connected to a first potential, the second connection end of the switch element being connected to a second potential, the first connection end of each generation sub-circuit being connected to the output end of the optocoupler detection circuit, and the first potential being different from the second potential.
[0044] During the operation of the brush head, the working principle and signal output mechanism of the optocoupler detection circuit is to control the conduction or cutoff of the switch component by utilizing whether the light channel in the optocoupler detection circuit is blocked, thereby outputting detection signals of different level values. For example, when the light channel between the light-emitting element and the photosensitive element of the optocoupler is blocked by the brush head, the corresponding switch drive circuit outputs a first control signal to the control end of the corresponding switch component to control the conduction of the corresponding switch component. When the light channel between the light-emitting element and the photosensitive element of the optocoupler is not blocked by the brush head, the corresponding switch drive circuit outputs a second control signal to the control end of the corresponding switch component to control the cutoff of the corresponding switch component. When there is a switch component turned on, the output end of the optocoupler detection circuit is connected to the first potential and outputs a detection signal of the first level value; when all switch components are cut off, the output end of the optocoupler detection circuit is connected to the second potential and outputs a detection signal of the second level value.
[0045] By acquiring the detection signal output by the optocoupler detection circuit for subsequent analysis, the abnormal state of the brush head can be accurately identified and the operating parameters can be adjusted in time to ensure that the brush head moves as expected, improve cleaning efficiency and quality, and enhance the stability and reliability of equipment operation.
[0046] S120: Analyze the signal change of the detection signal to determine whether the working state of the brush head is abnormal, and operate the brush head according to the operating parameters corresponding to the working state.
[0047] During the operation of the brush head, by analyzing the signal changes of the detection signal output by the optocoupler detection circuit, it is possible to determine whether the working state of the brush head is abnormal, and operate the brush head according to the operating parameters corresponding to the working state. For example, the level value of the detection signal changes, which may switch between high and low levels, or there may be changes in characteristics such as frequency and amplitude. When the brush head moves, it will periodically block or release the optical channel of the optocoupler detection circuit, causing the intensity of the light signal received by the photosensor to change, and thus output a corresponding change in the electrical signal.
[0048] In one embodiment, the normal or abnormal working state of the brush head is determined by analyzing whether the detection signal has a target signal change. The target signal change can be characterized as a signal change caused by the brush head sequentially blocking the light of each optical coupler. For example, if the light of the optical coupler is not blocked, the detection signal has a first signal value, and when the light of the optical coupler is blocked, the detection signal has a second signal value. The target signal change can be the detection signal sequentially changing from the first signal value to the second signal value, from the second signal value to the first signal value, from the first signal value to the second signal value, and from the second signal value to the first signal value. In other words, the detection signal undergoes four signal value changes in one reciprocating motion.
[0049] In one embodiment, in response to a target signal change in the detection signal, the brush head is determined to be operating normally, and the brush head is operated according to normal operating parameters. For example, if the detection signal changes four times during one reciprocating motion of the brush head, the brush head is determined to be operating normally, and the driving components of the brush head are operated according to normal operating parameters to maintain normal operation of the brush head.
[0050] In another embodiment, in response to the absence of a target signal change in the detection signal, the operating state of the brush head is determined to be abnormal, and the operating parameters of the brush head are adjusted so that the target signal change occurs in the detection signal detected subsequently. For example, if the detection signal does not change in signal value four times during one reciprocating motion of the brush head, for example, it may always show the first signal value or the second signal value, or only change in signal value twice, then it can be determined that the operating state of the brush head is abnormal. Therefore, the driving speed of the driving component of the brush head can be adjusted to increase the torque so that the brush head obtains greater driving force, thereby overcoming the resistance and restoring the brush head to normal operating state.
[0051] It should be noted that the reasons for the abnormal working state of the brush head may be: dust accumulation leads to increased resistance, making it difficult for the brush head to return to the normal limit or the motor loses step, or torque is not adapted and it gets stuck, etc. Therefore, when the brush head is in an abnormal working state, the operating parameters can be adjusted according to the specific abnormal situation, such as changing the motor speed, torque or direction to restore the normal working state. If it cannot be restored, an alarm or shutdown protection can be triggered to prevent equipment damage.
[0052] This application also provides an embodiment of an optocoupler detection circuit. Figure 3 As shown, the optocoupler detection circuit provided in this embodiment can be used to detect the reciprocating motion of the brush head, including at least two optocouplers 1 / 2, a light source driving circuit A and a signal generating circuit B.
[0053] Specifically, the optocoupler 1 / 2 includes light-emitting elements L1 / L2 and photosensitive elements VT1 / VT2. The at least two optocouplers 1 / 2 are both arranged on the target object and are respectively located at the extreme position points at both ends of the reciprocating motion. When the brush head reaches the extreme position points, the light channel between the light-emitting element and the photosensitive element of the corresponding optocoupler is blocked by the brush head.
[0054] The light source driving circuit is connected to the light-emitting elements in each optocoupler, and is used to drive the light-emitting elements to emit light. Specifically, the light source driving circuit A includes at least two sub-driving circuits A1 / A2 corresponding to each optocoupler, and the sub-driving circuit includes a third power supply, a third resistor, and a capacitor. The third power supply is grounded through the capacitor, the third power supply is connected to the input end of the light-emitting element through the third resistor, and the output end of the light-emitting element is grounded. Please refer to Figure 3 For example, two optocouplers are provided on the target object, and the light source driving circuit A includes two sub-driving circuits, namely sub-driving circuit A1 and sub-driving circuit A2. Sub-driving circuit A1 includes a third power supply V3, a third resistor R3, and a capacitor C1. The third power supply V3 is connected to the ground GND through the capacitor C1. The third power supply V3 is connected to the input terminal 11 of the light-emitting element L1 of the optocoupler 1 through the third resistor R3, and the output terminal 12 of the light-emitting element L1 is connected to the ground GND. Sub-driving circuit A2 includes a third power supply V6, a third resistor R6, and a capacitor C2. The third power supply V6 is connected to the ground GND through the capacitor C2. The third power supply V6 is connected to the input terminal 21 of the light-emitting element L2 of the optocoupler 2 through the third resistor R6, and the output terminal 22 of the light-emitting element L2 is connected to the ground GND.
[0055] The signal generating circuit B is respectively connected to the photosensitive elements in each optocoupler, and is used to generate detection signals of different signal values based on whether the photosensitive elements receive light from the corresponding light-emitting elements. Specifically, the signal generating circuit B may include at least two generating sub-circuits B1 / B2 corresponding to each optocoupler. Each generating sub-circuit includes a switch driving circuit K1 / K3 and a switch circuit K2 / K4, the switch driving circuit is connected to the photosensitive element of an optocoupler, the switch circuit includes a switch element, the output end of each switch driving circuit is connected to the control end of the switch element, the first connection end of the switch element is connected to the first potential, and the second connection end of the switch element is connected to the second potential. The first connection end of each generating sub-circuit is connected as the output end of the optocoupler detection circuit, and the first potential and the second potential are different. For example, the first potential is higher than the second potential. In a specific application scenario, the second potential can be the ground end.
[0056] The switch drive circuit includes a first power supply and a first resistor. The first power supply is connected to a first terminal of a photosensitive element via the first resistor, and a second terminal of the photosensitive element is grounded. The first terminal of the photosensitive element serves as an output terminal of the switch drive circuit. The switch circuit also includes a second power supply and a second resistor. The second power supply is connected to a first connection terminal of the switch element via the second resistor, and a second connection terminal of the switch element is grounded.
[0057] Please refer to Figure 3For example, if two optocouplers are provided on the target object, the signal generation circuit B includes two generation sub-circuits corresponding to each optocoupler, namely generation sub-circuit B1 and generation sub-circuit B2. Generation sub-circuit B1 includes a switch drive circuit K1 and a switch circuit K2. Switch drive circuit K1 includes a first power supply V1 and a first resistor R1. The first power supply V1 is connected to the first terminal 13 of the photosensitive element VT1 of the optocoupler 1 through the first resistor R1. The first terminal 13 of the photosensitive element VT1 serves as the output terminal k11 of the switch drive circuit K1, and the second terminal 14 of the photosensitive element VT1 is grounded to GND. Switch circuit K2 includes a switch element Q5 (e.g., an NPN transistor), a second power supply V2, and a second resistor R2. The control terminal a1 of the switch element Q5 is connected to the output terminal k11 of the switch drive circuit K1. The second power supply V2 is connected to the first connection terminal a2 of the switch element Q5 through the second resistor R2. The second connection terminal a3 of the switch element Q5 is grounded to GND. Generation sub-circuit B2 includes a switch drive circuit K3 and a switch circuit K4. The switch drive circuit K3 includes a first power supply V4 and a first resistor R4. The first power supply V4 is connected to the first end 23 of the photosensitive element VT2 of the optocoupler 2 through the first resistor R4, and the first end 23 of the photosensitive element VT2 serves as the output end k21 of the switch drive circuit K3. The second end 24 of the photosensitive element VT2 is grounded GND. The switch circuit K4 includes a switch element Q7 (for example, an NPN transistor), a second power supply V5 and a second resistor R5. The control end b1 of the switch element Q7 is connected to the output end k21 of the switch drive circuit K2. The second power supply V5 is connected to the first connection end b2 of the switch element Q7 through the second resistor R5. The second connection end b3 of the switch element Q7 is grounded GND.
[0058] The working principle and signal output mechanism of the optocoupler detection circuit are as follows: whether the optical channel between the light-emitting diode and the photosensitive transistor in the optocoupler detection circuit is blocked is used to control the conduction or cutoff of the switch component, thereby outputting detection signals of different level values. In the case where the optical channel between the light-emitting element and the photosensitive element of the optocoupler is blocked by the brush head, the corresponding switch drive circuit outputs a first control signal to the control end of the corresponding switch component to control the conduction of the corresponding switch component. In the case where the optical channel between the light-emitting element and the photosensitive element of the optocoupler is not blocked by the brush head, the corresponding switch drive circuit outputs a second control signal to the control end of the corresponding switch component to control the cutoff of the corresponding switch component. In the case where there is a switch component turned on, the output end of the optocoupler detection circuit is connected to the first potential and outputs a detection signal of the first level value; in the case where all switch components are cut off, the output end of the optocoupler detection circuit is connected to the second potential and outputs a detection signal of the second level value.
[0059] like Figure 3In the illustrated embodiment, an optocoupler detection circuit can detect each optocoupler, and the output of the optocoupler detection circuit is connected to the main control system via an input pin. Thus, the current state of each optocoupler (whether it is blocked by the brush head) can be analyzed using the signal from the input pin. The main control system receives and analyzes the output signal to determine the current state of each optocoupler, and then drives the wiper system based on a preset strategy.
[0060] Taking the detection circuit of optocoupler 1 (A1 and B1) as an example, the working mechanism and principle of the detection circuit of optocoupler 1 outputting detection signals of different levels based on the different states of optocoupler 1 is as follows:
[0061] (1) A1 drives the light-emitting diode L1 in the optocoupler 1 to continuously emit light. When the light channel is not blocked, the phototransistor VT1 is turned on, and current flows through the optocoupler VT1. That is, the switch drive circuit K1 is grounded through the turned-on VT1. Therefore, the control terminal of the switch element Q5 inputs a low-level signal, and Q5 is in a cut-off state, thereby outputting the following: Figure 4 The high level shown in (a).
[0062] (2) A1 drives the light-emitting diode L1 in the optocoupler 1 to continuously emit light. However, when the light channel is blocked, the phototransistor VT1 cannot receive light and is in the cut-off state. Current cannot pass through VT1 and the control terminal of the switch Q5 inputs a high-level signal, thereby Q5 is turned on, causing the switch circuit K2 to be grounded, thereby outputting the following: Figure 4 The low level shown in (b).
[0063] It can be understood that the above is an example in which the optocoupler detection circuit only includes the detection circuit of optocoupler 1. When the optocoupler detection circuit includes detection circuits of multiple optocouplers, the signal value output by the optocoupler detection circuit is jointly affected by the states of each optocoupler.
[0064] Please continue reading Figure 3 When the main control system monitors the operation of the wiper, the working principle and signal output mechanism of the optocoupler detection circuit are as follows:
[0065] (1) The wiper passes through optocoupler 1, and the optical channel between L1 and VT1 in optocoupler 1 is blocked, while the optical channel between L2 and VT2 in optocoupler 2 is not blocked. VT1 in optocoupler 1 cannot receive light and is in a cut-off state. The control end of the switch Q5 inputs a high-level signal, so that Q5 is turned on, that is, the first connection end of the switch Q5 is grounded through Q5, and the level of the first connection end of the switch Q5 is low. At the same time, L2 in optocoupler 2 continues to emit light, VT2 is turned on, and current flows through VT2, that is, K3 is grounded through the turned-on VT2. At this time, Q7 is in a cut-off state, and the first connection end of the switch Q7 of optocoupler 2 is grounded through the switch Q5 in the switch circuit K2, that is, the level of the first connection end of the switch Q7 is low. Therefore, the level of the first connection end of the switch corresponding to each optocoupler is low. Finally, the optocoupler detection circuit can integrate the output signals of multiple optocouplers into one signal through a signal link and input it into the main control system. At this time, the input signal received by the main control system is low, that is, Figure 4 The situation in (b) is as follows.
[0066] (2) The wiper passes through optocoupler 2, and the optical channel between L2 and VT2 in optocoupler 2 is blocked, while the optical channel between L1 and VT1 in optocoupler 1 is not blocked. As in the first case above, since Q7 of optocoupler 2 is turned on, the voltage levels of the first connection terminals of the optical switches corresponding to each optocoupler are all low. Finally, the optocoupler detection circuit can integrate the output signals of multiple optocouplers into one signal input to the main control system through a signal link. At this time, the input signal received by the main control system is low, that is, Figure 4 The situation in (b) is as follows.
[0067] (3) When the wiper is located between optocoupler 1 and optocoupler 2, the optical channels in optocoupler 1 and optocoupler 2 are not blocked, K1 and K3 are grounded, Q5 and Q7 are both in the cut-off state, and the level of the first connection end of the switch corresponding to each optocoupler is high. Finally, the optocoupler detection circuit can integrate the output signals of multiple optocouplers into one signal input to the main control system through a signal link. At this time, the input signal received by the main control system is high, that is, Figure 4 The situation in (a).
[0068] Therefore, during the operation of the brush head, no matter whether the brush head is located at optocoupler 1 or optocoupler 2, the input signal received by the main control system is low level. Only when the brush head is between the two optocouplers or does not block the optical channel of any optocoupler, the input signal received by the main control system is high level. Therefore, the position of the brush head and the level changes of the output signal accompanying different positions can be monitored through the optocoupler detection circuit.
[0069] Specifically, when the baffle structure carried by the brush head passes through the optical coupler, it appears as follows Figure 5In the low level with a certain pulse width shown in (c), the optical channel in the optocoupler is blocked when the baffle structure passes by, thereby outputting a low level. When moving between optocoupler 1 and optocoupler 2, the optical channels of the two optocouplers are not blocked, thereby outputting a high level.
[0070] Therefore, when the brush head passes through optocoupler 1, optocoupler 2, and optocoupler 1 in sequence during a normal reciprocating motion (if the motion starts from optocoupler 1), the output detection signal is as follows: Figure 6 (d) shows four consecutive edge changes of level values: low level-high level-low level-high level-low level.
[0071] In addition, since the brush head periodically blocks the light channel during its reciprocating motion, although the optocoupler detection circuit provided in this embodiment includes multiple optocouplers, it only requires one input pin to be connected to the main control module through a signal link, and no trigger needs to be added. Compared with the conventional technology, two optocouplers need to occupy the pins of two main control chips and two triggers need to be added to process the signal. The optocoupler detection circuit designed in this application is simpler. At the same time, the strategy of directly performing system judgment through the output signal of the optocoupler detection circuit does not require the addition of additional current acquisition modules, etc., which saves more hardware resources.
[0072] To better explain the adjustment method of the brush head of this application, please refer to Figures 4 to 8 ,in, Figure 7 This is a flow chart of an embodiment of the brush head initialization process provided by this application. Figure 8 This is a flow chart of a specific embodiment of the brush head adjustment method provided by this application. This specific embodiment includes:
[0073] When it is necessary to monitor the working status of a device or apparatus equipped with a brush head, the brush head can be initialized first. This embodiment takes a wiper head for cleaning a camera lens as an example. The hardware system includes: an optical coupler detection circuit module, a main control system, and a wiper system.
[0074] The optocoupler detection circuit module converts the starting position signal and the end position signal into one signal through the circuit module, and transmits it to the main control system through a signal link. By detecting the blocking of the optocoupler by the baffle structure on the wiper head, a corresponding level signal is generated. When the wiper reaches the preset starting or end position, the baffle blocks the optical path of the optocoupler, causing the optocoupler circuit to output a specific level change, thereby identifying the current position of the wiper. In this way, the brush head adjustment system provided by the present application can increase the number of optocouplers while keeping the number of signal transmission channels unchanged, integrate multiple optocoupler detection signals into one signal for transmission, and realize the detection of the working status of the brush head. This not only simplifies the signal link, reduces hardware costs and maintenance difficulties, but also reduces the complexity of wiring and the possibility of signal interference, making the signal more stable and reliable during transmission.
[0075] The main control system, which can be the camera's intelligent control module, receives signals from the optocoupler circuit module, analyzes and interprets them. Based on pre-set control logic and algorithms, the main control system determines the wiper operation strategy. If the signal indicates the wipers are in the normal position, the wiper system maintains its current operating state. If an anomaly is detected, such as a wiper not returning to its original position or not completing its normal reciprocating motion, the main control system adjusts the parameters of the wiper motor, such as changing the motor's speed or rotation direction, to restore the wipers to normal operation.
[0076] The wiper system itself includes the wiper head, baffle structure and an open-loop system that drives the wiper motor. It performs corresponding actions through the instructions of the main control system to achieve effective control of the wiper.
[0077] In the process of motor power-on initialization, the brush head is first returned to its original position. Since the brush head has the function of forward and reverse rotation, the system can flexibly set any optical coupler as the starting point. Figure 7 As shown, the motor drives the wiper head in a certain direction until one of the optocouplers detects a preset starting position signal. When the signal received by the main control system changes level for the first time, as shown in (c), the wiper head stops and this position is defined as the initial point. After confirming the initial point, the wiper head returns to its original position, and the initialization process smoothly enters the next stage.
[0078] The subsequent steps in the initialization process focus on monitoring the motor status to determine whether the wipers have successfully returned to their original position. If a similar level change as in (c) does not occur within the specified time, the system determines that the wipers have not returned to their original position and the status is abnormal. At this point, the initialization process is paused and the abnormality identification process begins. This process ensures that the motor has resumed normal operation by monitoring and adjusting subsequent operating parameters in real time.
[0079] The core strategy of the abnormality identification process focuses on Figure 6 The waveform characteristics of a normal reciprocating wiper motion described in (d) are shown in Figure 1. The key criterion for this process is whether the detection signal contains a feature that matches the waveform in (d). If the detection signal does not contain this feature, it is considered an abnormal situation.
[0080] The system has preset operating strategies for different operating states: After the motor is operating normally, it counts level changes. If it detects level change (d), with four level edge changes, it indicates that the wiper is operating normally, and the system maintains the current operating parameters and continues operation. Conversely, if level changes such as (a), (b), or (c) occur—that is, if the four level edge changes (d) do not occur—the system deems it abnormal and immediately activates an adjustment mechanism, adjusting the motor speed or direction to restore the wiper to normal operation. This series of operations is based on the motor's operating characteristics and aims to ensure the stability and reliability of the wiper system through precise control.
[0081] See also Figure 9 , Figure 9 This is a schematic diagram of the structure of an embodiment of the brush head adjustment system provided by this application. The brush head adjustment system includes:
[0082] The brush head driving module is used to drive the brush head to perform reciprocating motion according to the control signal input by the main control.
[0083] The optocoupler detection circuit includes at least two optocouplers, which are arranged on the target object and are respectively located at the extreme position points at both ends of the reciprocating motion. When the brush head reaches the extreme position point, the light of the corresponding optocoupler is blocked by the brush head, and the signal value of the detection signal is related to whether the light of the optocoupler is blocked.
[0084] The main control module is connected to the optocoupler detection circuit and the brush head drive module. It is used to analyze the signal changes of the detection signal output by the optocoupler detection circuit to determine whether the working state of the brush head is abnormal, generate a control signal corresponding to the working state, and send the control signal to the brush head drive module.
[0085] The brush head is provided with a baffle structure for limiting the light emitted by the optical coupler; the brush head drive module includes an open-loop control system, which includes a drive component of the brush head; the optical coupler detection circuit can be Figure 2 The circuit is shown; the target object can be a camera lens.
[0086] See also Figure 10 , Figure 10 It is a structural schematic diagram of an embodiment of the brush head adjustment device provided in the present application. The brush head adjustment device 60 includes a memory 61 and a processor 62 connected to each other. The memory 61 is used to store a computer program. When the computer program is executed by the processor 62, it is used to implement the brush head adjustment method in the above embodiment.
[0087] The method of the above embodiment may exist in the form of a computer program, so the present application proposes a computer readable storage medium, see Figure 11 , Figure 11Schematic diagram of the structure of an embodiment of a computer-readable storage medium provided in the present application. The computer-readable storage medium 80 is used to store a computer program 81, which can be executed to implement the brush head adjustment method in the above embodiment.
[0088] The computer-readable storage medium 80 can be a server, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., which can store program codes.
[0089] The above description is merely an embodiment of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for adjusting a brush head, characterized in that: The brush head is used to perform reciprocating motion on a target object to clean the target object; the method includes: During the operation of the brush head, a detection signal output by an optocoupler detection circuit is obtained, wherein the optocoupler detection circuit includes at least two optocouplers, and the at least two optocouplers are provided on the target object and are respectively located at the extreme position points at both ends of the reciprocating motion. When the brush head reaches the extreme position point, the light corresponding to the optocoupler is blocked by the brush head, and the signal value of the detection signal is related to whether the light of the optocoupler is blocked; Analyze the signal change of the detection signal to determine whether the working state of the brush head is abnormal, and operate the brush head according to the operating parameters corresponding to the working state.
2. The method according to claim 1, characterized in that The analyzing the signal change of the detection signal to determine whether the working state of the brush head is abnormal, and operating the brush head according to the operating parameters corresponding to the working state, includes: In response to a target signal change in the detection signal, determining that the working state of the brush head is normal, and operating the brush head according to normal operating parameters, the target signal change indicating that the brush head has sequentially blocked the light of each of the optical couplers; and / or, In response to the absence of the target signal change in the detection signal, it is determined that the working state of the brush head is abnormal, and the operating parameters of the brush head are adjusted so that the target signal change occurs in the detection signal detected subsequently.
3. The method according to claim 2, characterized in that When the light of the optical coupler is not blocked, the detection signal has a first signal value; when the light of the optical coupler is blocked, the detection signal has a second signal value; The target signal change is that the detection signal changes in sequence as follows: from the first signal value to the second signal value, from the second signal value to the first signal value, from the first signal value to the second signal value, and from the second signal value to the first signal value.
4. The method according to claim 2 or 3, characterized in that The operating the brush head according to normal operating parameters includes: operating a driving component of the brush head according to the normal operating parameters; The adjusting the operating parameters of the brush head includes: Adjust the driving speed of the driving component of the brush head.
5. The method according to claim 1, wherein The optical coupler includes a light emitting element and a photosensitive element, and the optical coupler detection circuit further includes: a light source driving circuit, connected to the light-emitting elements in each of the optical couplers, for driving the light-emitting elements to emit light; The signal generating circuit is connected to the photosensitive elements in each of the optical couplers, and is used to generate detection signals with different signal values based on whether the photosensitive elements receive light from the corresponding light-emitting elements.
6. The method according to claim 5, characterized in that The signal generating circuit includes at least two generating sub-circuits corresponding to each of the optocouplers, the generating sub-circuits including a switch driving circuit and a switch circuit, the switch driving circuit being connected to the photosensitive element of one of the optocouplers, the switch circuit including a switch element, an output end of the switch driving circuit being connected to a control end of the switch element, a first connection end of the switch element being connected to a first potential, and a second connection end of the switch element being connected to a second potential, the first connection end of each of the generating sub-circuits being connected as an output end of the optocoupler detection circuit, and the first potential being different from the second potential; In which, when the optical channel between the light-emitting element and the photosensitive element of the optocoupler is blocked by the brush head, the corresponding switch driving circuit outputs a first control signal to the control end of the corresponding switch element to control the corresponding switch element to be turned on; when the optical channel between the light-emitting element and the photosensitive element of the optocoupler is not blocked by the brush head, the corresponding switch driving circuit outputs a second control signal to the control end of the corresponding switch element to control the corresponding switch element to be turned off; when the switch element is turned on, the output end of the optocoupler detection circuit is connected to the first potential and outputs the detection signal of the first level value; when all the switch elements are turned off, the output end of the optocoupler detection circuit is connected to the second potential and outputs the detection signal of the second level value.
7. The method according to claim 1, characterized in that The target object is a camera lens.
8. An optocoupler detection circuit, characterized in that: The optical coupler detection circuit is used to detect the reciprocating motion of the brush head, and the brush head is used to perform reciprocating motion on the target object to clean the target object; The optocoupler detection circuit includes: At least two optical couplers, the at least two optical couplers being provided on the target object and respectively located at the extreme position points at both ends of the reciprocating motion, the optical couplers comprising a light emitting element and a photosensitive element, and when the brush head reaches the extreme position points, the light channel between the light emitting element and the photosensitive element corresponding to the optical coupler is blocked by the brush head; a light source driving circuit, connected to the light-emitting elements in each of the optical couplers, for driving the light-emitting elements to emit light; The signal generating circuit is connected to the photosensitive elements in each of the optical couplers, and is used to generate detection signals with different signal values based on whether the photosensitive elements receive light from the corresponding light-emitting elements.
9. The circuit according to claim 8, characterized in that The signal generating circuit includes at least two generating sub-circuits corresponding to each of the optocouplers, the generating sub-circuits including a switch driving circuit and a switch circuit, the switch driving circuit being connected to the photosensitive element of one of the optocouplers, the switch circuit including a switch element, the output end of the switch driving circuit being connected to the control end of the switch element, the first connection end of the switch element being connected to a first potential, the second connection end of the switch element being connected to a second potential, the first connection end of each of the generating sub-circuits being connected as the output end of the optocoupler detection circuit, and the first potential being different from the second potential; In which, when the optical channel between the light-emitting element and the photosensitive element of the optocoupler is blocked by the brush head, the corresponding switch driving circuit outputs a first control signal to the control end of the corresponding switch element to control the corresponding switch element to be turned on; when the optical channel between the light-emitting element and the photosensitive element of the optocoupler is not blocked by the brush head, the corresponding switch driving circuit outputs a second control signal to the control end of the corresponding switch element to control the corresponding switch element to be turned off; when the switch element is turned on, the output end of the optocoupler detection circuit is connected to the first potential and outputs the detection signal of the first level value; when all the switch elements are turned off, the output end of the optocoupler detection circuit is connected to the second potential and outputs the detection signal of the second level value.
10. The circuit according to claim 9, characterized in that The switch driving circuit includes a first power supply and a first resistor, the first power supply is connected to the first end of the photosensitive element through the first resistor, the second end of the photosensitive element is grounded, and the first end of the photosensitive element serves as the output end of the switch driving circuit; And / or, the switching circuit further includes a second power supply and a second resistor, and the second power supply is connected to the first connection terminal of the switching element via the second resistor; And / or, the second connection terminal of the switch element is grounded.
11. The circuit according to claim 8, characterized in that The light source driving circuit includes at least two sub-driving circuits corresponding to each of the optocouplers, and the sub-driving circuit includes a third power supply, a third resistor and a capacitor, wherein the third power supply is grounded through the capacitor, the third power supply is connected to the input end of the light-emitting element through the third resistor, and the output end of the light-emitting element is grounded.
12. A brush head adjustment system, characterized in that: The brush head is used to perform reciprocating motion on a target object to clean the target object; the system includes: A brush head driving module, used to drive the brush head to reciprocate according to a control signal input by a main control; An optocoupler detection circuit includes at least two optocouplers, the at least two optocouplers being provided on the target object and respectively located at extreme positions at both ends of the reciprocating motion. When the brush head reaches the extreme positions, the light corresponding to the optocouplers is blocked by the brush head, and the signal value of the detection signal is related to whether the light of the optocouplers is blocked. The at least two optocouplers in the optocoupler detection circuit are integrated into one signal and connected to the main control module via a signal link. The main control module is connected to the optocoupler detection circuit and the brush head drive module, and is used to analyze the signal changes of the detection signal output by the optocoupler detection circuit to determine whether the working state of the brush head is abnormal, and generate a control signal corresponding to the working state, and send the control signal to the brush head drive module.
13. The system according to claim 12, wherein: The brush head is provided with a baffle structure for limiting the light emitted by the optical coupler; And / or, the brush head driving module includes an open-loop control system, and the open-loop control system includes a driving component of the brush head; And / or, the optocoupler detection circuit is the circuit according to any one of claims 8 to 11; And / or, the target object is a lens of a camera.
14. A brush head adjustment device, characterized in that: The brush head adjustment device includes a processor and a memory, wherein the processor is coupled to the memory and is configured to execute one or more steps of the brush head adjustment method according to any one of claims 1 to 7 based on instructions stored in the memory.
15. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is executed by a processor to implement the steps of the brush head adjustment method according to any one of claims 1 to 7.