Drilling equipment control method and system
By real-time monitoring and quantifying the trigger position, the motor speed of the drilling equipment is controlled or full-speed operation is achieved by using fully automatic control methods, which solves the problems of trigger control in the prior art and the sudden shutdown of the motor during mechanical unlocking, and improves the working efficiency and section quality.
Patent Information
- Application Number
- CN202411516500.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-10-29
AI Technical Summary
When operating the drilling equipment, trigger control in the prior art is inconvenient, which causes the motor to be unable to maintain the maximum speed continuously, affecting the working efficiency, and the motor suddenly shuts down during mechanical unlocking, which may lead to rupture of the cut surface or irregularity.
By monitoring the trigger position in real time and converting it into a quantized trigger value, the trigger is located in the position range, the motor speed is controlled or full-speed operation is achieved by using fully automatic control methods, and self-locking or unlocking is performed according to the continuous pressing state of the trigger.
Accurate control of the trigger position is achieved, reducing the burden of the operator pressing the trigger for a long time, avoiding the problem of sudden motor shutdown during mechanical unlocking, ensuring smooth start and stop of the equipment, and improving the continuity and accuracy of the operation.
Smart Images

Figure CN119635407A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of trigger control, and in particular to a drilling equipment control method and system. Background Art
[0002] At present, for drilling equipment, such as water drills, in order to ensure that the motor maintains a fixed speed during use of the drilling equipment, the user has to keep pressing the trigger with his finger, which is very unfavorable for large-volume operations. Therefore, it is necessary to control the trigger of the equipment to be locked at the maximum speed position to ensure that the equipment continues to work at the maximum speed.
[0003] In the prior art, a self-locking lock is usually added to the mechanical structure. When the trigger is pressed to a certain position, the lock is pressed to lock the current trigger pressing position, so that it can always run at that speed without human power, thereby freeing the finger controlling the trigger. However, when the mechanical structure is used to unlock the trigger, the motor of the equipment usually stops directly, resulting in the inability to complete the last point of cutting before stopping at the lowest speed, and the excessive impact force of quickly shutting down the motor can cause the cut surface (such as poured cement) to be cracked, rough and irregular. Summary of the invention
[0004] The problem solved by the present invention is how to improve the control effect when operating the trigger.
[0005] In order to solve the above problems, the present invention provides a drilling equipment control method and system.
[0006] In a first aspect, the present invention provides a drilling equipment control method, comprising:
[0007] When the device is started, obtaining the trigger position of the device;
[0008] Determining the position interval of the trigger position according to the trigger value corresponding to the trigger position;
[0009] When the position interval is a preset free interval, the motor speed is controlled according to the ratio corresponding to the trigger value to adjust the running speed of the device;
[0010] When the position interval is a preset self-locking interval, the motor is controlled to run at full speed, and the trigger is controlled to self-lock or unlock according to the continuous pressing state of the trigger.
[0011] Optionally, controlling the trigger to self-lock or unlock according to the continuous pressing state of the trigger includes:
[0012] Determine whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, it is determined that the trigger state needs to be switched, wherein the trigger state includes a self-locking state and an unlocking state;
[0013] When the trigger is in the self-locking state, if the trigger value drops below a preset self-locking interval and lasts for more than a preset time, the trigger state is switched from the self-locking state to the unlocking state;
[0014] When the trigger is in the unlocked state, if the trigger value reaches the preset self-locking interval again and lasts for more than a preset time, the trigger state is switched from the unlocked state to the self-locking state;
[0015] Wherein, in the unlocked state, when the trigger value drops below a preset self-locking interval, the motor stops running.
[0016] Optionally, determining the position interval of the trigger position by using the trigger value corresponding to the trigger position includes:
[0017] Continuously acquiring an analog signal from an analog-to-digital converter pin corresponding to the trigger according to a preset reading frequency;
[0018] Converting the analog signal into a digital signal through an analog-to-digital converter, and determining the voltage value of the trigger according to the digital signal;
[0019] The voltage value is used as a trigger value, and the position interval of the trigger position is determined according to the trigger value.
[0020] Optionally, the using the voltage value as a trigger value and determining a position interval of the trigger position according to the trigger value includes:
[0021] Determine the relationship between the trigger value corresponding to the trigger position and a preset trigger threshold;
[0022] When the trigger value is greater than or equal to a preset trigger threshold, determining that the trigger is in the preset self-locking interval;
[0023] When the trigger value is less than a preset trigger threshold, it is determined that the trigger is in the preset free range.
[0024] Optionally, the determining whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, and if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, determining that the trigger state needs to be switched includes:
[0025] Monitoring the trigger value corresponding to the trigger position, and determining whether the preset self-locking threshold is reached, so as to determine whether the trigger reaches the preset self-locking interval;
[0026] When the trigger value reaches the preset self-locking interval, the time the trigger remains in the preset self-locking interval is counted and the duration is obtained, until the trigger value drops below the preset self-locking interval or the duration exceeds the preset duration;
[0027] If the duration of the trigger being in the preset self-locking interval exceeds the preset duration, it is determined that the trigger state needs to be switched.
[0028] Optionally, if the duration of the trigger being in the preset self-locking interval exceeds the preset duration, determining that the trigger state needs to be switched includes:
[0029] Determining the relationship between the duration and the preset duration;
[0030] If the duration is greater than or equal to the preset duration, and the current trigger state is an unlocked state, it is determined that the trigger state needs to be switched to a self-locking state;
[0031] If the duration is greater than or equal to the preset duration, and the current trigger state is a self-locking state, it is determined that the trigger state needs to be switched to an unlocking state.
[0032] Optionally, the drilling equipment control method further includes:
[0033] Monitoring the change of the trigger position to determine whether the trigger position is switched from a preset self-locking interval to a preset free interval;
[0034] When the trigger position switches from the preset self-locking interval to the preset free interval, acquiring the trigger state;
[0035] According to the trigger state, the device is controlled to operate.
[0036] Optionally, controlling the operation of the device according to the trigger state includes:
[0037] When the trigger is in a self-locking state, the drilling device is controlled to run at full speed of the motor;
[0038] When the trigger is in the unlocked state, the drilling device is controlled to operate according to the motor speed corresponding to the trigger position.
[0039] Optionally, the drilling equipment control method further includes:
[0040] When the position interval is the preset free interval, monitoring the duration of the trigger value of the trigger position staying in the interval;
[0041] If the duration of the trigger value within the preset free interval is greater than or equal to the preset duration, the device is controlled to operate according to the motor speed corresponding to the trigger position;
[0042] If the trigger value switches from the preset free interval to the preset self-locking interval and lasts for more than a preset time, the trigger is controlled to enter a self-locking state.
[0043] In a second aspect, the present invention further provides a drilling equipment control system, characterized in that it includes:
[0044] A position detection unit, used to obtain the trigger position of the drilling device when the drilling device is started;
[0045] A data processing unit, used for determining a position interval where the trigger position is located according to a trigger value corresponding to the trigger position;
[0046] a first control unit, configured to control the motor speed according to a ratio corresponding to the trigger value when the position interval is a preset free interval, so as to adjust the operating speed of the drilling device;
[0047] The second control unit is used to control the motor to run at full speed when the position interval is a preset self-locking interval, and control the trigger to self-lock or unlock according to the continuous pressing state of the trigger.
[0048] The drilling equipment control method and system of the present invention improves the operating comfort and operating efficiency of the drilling equipment by adopting a fully automatic control method to replace the traditional mechanical trigger locking mechanism. By real-time monitoring of the trigger position and converting it into a quantified trigger value, the position range of the trigger can be accurately determined, thereby intelligently adjusting the motor speed or achieving full-speed operation. This automatic monitoring process replaces the traditional method in the prior art where the operator needs to continuously manually control the trigger position, and achieves precise control of the trigger position. The control method of the present invention not only reduces the burden of the operator pressing the trigger for a long time, but also avoids the cutting quality problem caused by the sudden stop of the motor when the mechanical unlocking is performed, realizes the smooth start and stop of the equipment, and improves the continuity and accuracy of the operation. In addition, the self-locking and unlocking electronic control mechanism makes the trigger state switching more flexible and responsive, further improving the control effect and operating convenience of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 One of the flow charts of the drilling equipment control method according to an embodiment of the present invention;
[0050] Figure 2 This is a second flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0051] Figure 3This is a third flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0052] Figure 4 This is a fourth flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0053] Figure 5 This is a fifth flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0054] Figure 6 This is the sixth flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0055] Figure 7 This is the seventh flowchart of the drilling equipment control method according to the embodiment of the present invention;
[0056] Figure 8 This is a flowchart of the drilling equipment control method according to an embodiment of the present invention;
[0057] Fig. 9 It is a schematic diagram of the internal principle of the trigger speed regulation of an embodiment of the present invention;
[0058] Fig.10 It is a schematic diagram of the structure of a drilling equipment control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0060] Combination Figure 1 As shown, the present invention provides a drilling equipment control method, comprising:
[0061] When a device is powered on, the trigger position of the device is obtained.
[0062] Specifically, the position of the trigger is obtained through the potentiometer integrated on the main control board. The potentiometer is connected to the IO port P2.9 of the single-chip microcomputer and can convert the position change of the trigger into a quantifiable electrical signal. The change in the trigger position is reflected by the sliding rheostat of the potentiometer. The change in the resistance value of the rheostat is proportional to the moving distance of the trigger. This linear relationship can be described by the formula y=kx+b, where y represents the resistance value, x represents the distance of the slider probe, and k and b are constants related to the characteristics of the rheostat. When the trigger is pressed, the probe position of the rheostat changes accordingly, causing the output voltage to change. This changing voltage signal is collected by the single-chip microcomputer through the ADC pin and converted into a digital signal, namely the trigger value.
[0063] The position interval where the trigger position is located is determined by the trigger value corresponding to the trigger position.
[0064] Specifically, the trigger position interval is determined by reading the trigger value. The trigger value is obtained by the ADC function of the microcontroller, which reads the analog signal of the potentiometer at a frequency of 1ms and converts it into a digital signal between 0 and 4095. Among them, the trigger value range is 0 to 4095, where 4095 corresponds to the position where the trigger is fully pressed. By comparing the real-time read trigger value with the preset threshold, the microcontroller can determine whether the trigger is in the free interval or the self-locking interval.
[0065] When the position interval is a preset free interval, the motor speed is controlled according to the ratio corresponding to the trigger value to adjust the running speed of the device.
[0066] Specifically, when the trigger value indicates that the trigger position is in a preset free range, the device controls the motor speed according to the ratio corresponding to the trigger value. This means that the motor speed is proportional to the position of the trigger, allowing the operator to finely control the running speed of the device by adjusting the position of the trigger. This embodiment provides more flexible and responsive motor control, thereby improving the adaptability of the device and the comfort of operation.
[0067] When the position interval is a preset self-locking interval, the motor is controlled to run at full speed, and the trigger is controlled to self-lock or unlock according to the continuous pressing state of the trigger.
[0068] Specifically, when the trigger value indicates that the trigger position is in the preset self-locking interval, the device controls the motor to run at full speed. In this state, the device can maintain the maximum speed and continue to work without the operator continuously pressing the trigger, thereby freeing the operator's fingers and reducing fatigue from long-term work. In addition, according to the continuous pressing state of the trigger, the device can also control the trigger to self-lock or unlock. For example, when the trigger is fully pressed and held for a certain time (such as 1 second) or more, the device records the trigger state as a self-locking state; if the trigger is fully pressed again and held for a certain time, it can be switched from a self-locking state to an unlocking state. This self-locking and unlocking mechanism allows the operator to flexibly control the start and stop of the equipment according to the operation requirements, improving the efficiency and safety of the operation. Through software algorithm optimization, such as filtering the ADC value, the stability of the signal and the accuracy of the control are ensured, further improving the control effect of the equipment.
[0069] Optionally, combined Figure 2 As shown, the trigger is controlled to self-lock or unlock according to the continuous pressing state of the trigger, including:
[0070] Determine whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, it is determined that the trigger state needs to be switched, wherein the trigger state includes a self-locking state and an unlocking state;
[0071] When the trigger is in the self-locking state, if the trigger value drops below a preset self-locking interval and lasts for more than a preset time, the trigger state is switched from the self-locking state to the unlocking state;
[0072] When the trigger is in the unlocked state, if the trigger value reaches the preset self-locking interval again and lasts for more than a preset time, the trigger state is switched from the unlocked state to the self-locking state;
[0073] Wherein, in the unlocked state, when the trigger value drops below a preset self-locking interval, the motor stops running.
[0074] Specifically, the trigger value corresponding to the trigger position is monitored in real time and compared with the preset self-locking interval to determine whether the self-locking condition is met. When the trigger is in the self-locking state, if the trigger value drops below the preset self-locking interval and continues for more than the preset time, the system switches the trigger state from self-locking to unlocking. This mechanism ensures that the device can continue to run at the maximum speed without the need for continuous human control until the operator decides to stop. On the contrary, when the trigger is in the unlocked state and the trigger value reaches the preset self-locking interval again and continues for more than the preset time, the system switches the trigger state back to the self-locking state, allowing the device to run at the maximum speed again. In the unlocked state, when the trigger value drops below the preset self-locking interval, the motor will stop running. This mechanism avoids the problem of sudden shutdown caused by the traditional mechanical locking mechanism when unlocking, and realizes a smooth shutdown process, thereby preventing damage to the cutting surface that may be caused by the sudden stop of the motor, such as cracks or irregularities.
[0075] In this optional embodiment, the self-locking function eliminates the need for the operator to continuously press the trigger, thereby reducing fatigue during long-term operations, and the equipment can continue to operate at the maximum speed without the need for frequent trigger operation, thereby improving the continuity and efficiency of the operation; at the same time, the smooth start and stop mechanism avoids irregular cutting surfaces caused by rapid shutdown, thereby ensuring cutting quality.
[0076] Optionally, combined Figure 3 As shown, the determining the position interval of the trigger position by the trigger value corresponding to the trigger position includes:
[0077] Continuously acquiring an analog signal from an analog-to-digital converter pin corresponding to the trigger according to a preset reading frequency;
[0078] Converting the analog signal into a digital signal through an analog-to-digital converter, and determining the voltage value of the trigger according to the digital signal;
[0079] The voltage value is used as a trigger value, and the position interval of the trigger position is determined according to the trigger value.
[0080] Specifically, the analog signal of the analog-to-digital converter (ADC) pin corresponding to the trigger is continuously obtained through a predetermined reading frequency, for example, once every 1 millisecond. This process is achieved by utilizing the electrical connection between the potentiometer and the single-chip microcomputer, wherein the potentiometer is mounted on the main control board and connected to the motor through a three-phase output. The sliding rheostat inside the potentiometer changes its probe position as the trigger is pressed, and changes the output voltage accordingly, thereby reflecting the strength of the trigger press. These analog signals are then converted into digital signals by connecting to the ADC pin of the single-chip microcomputer. In this embodiment, a 12-bit ADC is used, and its conversion accuracy is 2 12 =4096, that is, the range of the digital signal is 0 to 4095. The conversion accuracy of this embodiment allows the system to very accurately identify changes in the trigger position and convert these changes into trigger values, wherein the trigger value corresponds to the voltage value of the analog signal. When the system determines the voltage value of the trigger, that is, the trigger value, it determines the position interval of the trigger according to this value, such as the preset free interval or the preset self-locking interval. This judgment is based on the comparison with the preset threshold interval. In this embodiment, the force when the trigger is pressed to the bottom corresponds to the maximum value of the ADC value of 4095.
[0081] In this optional embodiment, through high-resolution ADC conversion, the system can accurately measure the trigger position and achieve precise control of the motor speed. By precisely controlling the motor speed, the equipment can achieve optimal performance under different operating conditions and extend the service life of the motor; and by continuously monitoring the trigger value and smoothly adjusting the motor speed, the equipment can achieve smooth starting and stopping, avoiding the impact of sudden speed changes on the operation quality.
[0082] Optionally, combined Figure 4 As shown, the voltage value is used as the trigger value, and the position interval of the trigger position is determined according to the trigger value, including:
[0083] Determine the relationship between the trigger value corresponding to the trigger position and a preset trigger threshold;
[0084] When the trigger value is greater than or equal to a preset trigger threshold, determining that the trigger is in the preset self-locking interval;
[0085] When the trigger value is less than a preset trigger threshold, it is determined that the trigger is in the preset free range.
[0086] Specifically, the analog signal of the trigger position is read by an analog-to-digital converter (ADC) and converted into a digital signal, namely the trigger value. The trigger value ranges from 0 to 4095, where the maximum value 4095 corresponds to the position where the trigger is fully pressed; the preset trigger threshold is a critical value used to distinguish the trigger position interval. For example, it can be set that when the trigger value reaches 90% of 4095 (i.e. 90%*4095) or more, the trigger is considered to be in the self-locking interval; when the trigger value is greater than or equal to this preset threshold and lasts for a certain period of time, the system determines that the trigger is in the self-locking interval, allowing the device to run at full speed without continuously pressing the trigger. On the contrary, if the trigger value is less than the preset threshold, the system determines that the trigger is in the free interval. At this time, the device adjusts the motor speed according to the real-time position of the trigger, thereby achieving fine control of the device's operating speed.
[0087] In this optional embodiment, by precisely controlling the self-locking and free range of the trigger, the device can more flexibly adapt to different operating requirements, whether it is an operation that requires fine regulation or an occasion that requires continuous full-speed operation. In addition, the intelligent control strategy based on the trigger value also improves the response speed and control accuracy of the device, making the device operation smoother and more reliable. Finally, by avoiding the sudden shutdown and corresponding negative operating effects that may be caused by the mechanical locking structure, the present invention ensures the continuity of the operation and the flatness of the cutting surface, and improves the quality of the final operation.
[0088] Optionally, combined Figure 5 As shown, the determining whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, it is determined that the trigger state needs to be switched, including:
[0089] Monitoring the trigger value corresponding to the trigger position, and determining whether the preset self-locking threshold is reached, so as to determine whether the trigger reaches the preset self-locking interval;
[0090] When the trigger value reaches the preset self-locking interval, the time the trigger remains in the preset self-locking interval is counted and the duration is obtained, until the trigger value drops below the preset self-locking interval or the duration exceeds the preset duration;
[0091] If the duration of the trigger being in the preset self-locking interval exceeds the preset duration, it is determined that the trigger state needs to be switched.
[0092] Specifically, the trigger value is obtained through the electrical connection between the potentiometer and the single-chip microcomputer, wherein the equivalent 80K ohm sliding rheostat of the potentiometer changes its probe position as the trigger is pressed, thereby changing the output voltage, and the analog signal is read by the ADC pin of the single-chip microcomputer and converted into a digital signal, namely the trigger value. In this embodiment, the ADC reading frequency is 1ms and reads once, and a specific filtering formula is used for processing to ensure the stability and accuracy of the trigger value. When the trigger value reaches or exceeds the preset self-locking threshold, the system starts to count the time the trigger remains in this interval; this timing is achieved by the timer signal generated by the RTC clock inside the single-chip microcomputer, ensuring the accuracy of the time measurement. After the timing starts, the system will continue to monitor the trigger value until it drops below the preset self-locking interval. If the trigger value remains in the self-locking interval for more than the preset time (for example, 1 second), the system will determine that the state of the trigger needs to be switched, thereby achieving self-locking or unlocking.
[0093] In this optional embodiment, by accurately controlling the timing of the device entering and exiting the self-locking state, the smoothness and controllability of the device operation are ensured, and the impact on the quality of the operation due to sudden start or stop is avoided. The present invention not only improves the comfort and convenience of operation through intelligent control strategies, but also ensures the continuity of the operation and the flatness of the cutting surface, thereby improving the quality of the final operation.
[0094] Optionally, combined Figure 6 As shown, according to the duration, if the duration of the trigger in the preset self-locking interval exceeds the preset duration, it is determined that the trigger state needs to be switched, including:
[0095] Determining the relationship between the duration and the preset duration;
[0096] If the duration is greater than or equal to the preset duration, and the current trigger state is an unlocked state, it is determined that the trigger state needs to be switched to a self-locking state;
[0097] If the duration is greater than or equal to the preset duration, and the current trigger state is a self-locking state, it is determined that the trigger state needs to be switched to an unlocking state.
[0098] Specifically, when the trigger value reaches or exceeds the preset self-locking interval, and this state lasts for more than a certain preset time (for example, 1 second), the system will decide whether to switch the state based on the current trigger state; in this process, the timer signal generated by the RTC clock inside the microcontroller is used as the reference for time timing to ensure the accuracy of timing. If the duration meets the conditions and the trigger is currently in the unlocked state, the system will switch the trigger state to the self-locking state, allowing the device to continue to run at the maximum speed without the operator continuously pressing the trigger. On the contrary, if the duration meets the conditions, but the trigger is already in the self-locking state, the system will switch the trigger state back to the unlocked state, allowing the device to stop or run at a lower speed so that the operator can carefully complete the last part of the cutting task.
[0099] In this optional embodiment, the operator can quickly switch the operating state of the equipment as needed without continuously pressing the trigger, thereby reducing fatigue during long-term operations. Secondly, by intelligently controlling the self-locking and unlocking states of the trigger, the present invention improves the operating efficiency and flexibility of the equipment. The equipment can automatically run at the maximum speed when necessary, or smoothly slow down or stop when delicate operations are required, thereby improving the continuity of the operation and the flatness of the cutting surface. In addition, this control method also enhances the safety of the equipment because it allows the operator to easily control the start and stop of the equipment when necessary, reducing the risk of accidents caused by improper operation.
[0100] Optionally, combined Figure 7 As shown, the drilling equipment control method also includes:
[0101] Monitoring the change of the trigger position to determine whether the trigger position is switched from a preset self-locking interval to a preset free interval;
[0102] When the trigger position switches from the preset self-locking interval to the preset free interval, acquiring the trigger state;
[0103] According to the trigger state, the device is controlled to operate.
[0104] Specifically, when the trigger position switches, the system will obtain the current state of the trigger and control the operation of the device according to the state. If the trigger switches from the self-locking range to the free range, the system will obtain this state change and adjust the operation of the motor according to the new trigger state. In the free range, the speed of the motor will be adjusted according to the real-time position of the trigger, thereby achieving precise control of the operating speed of the device.
[0105] In this optional embodiment, by automatically monitoring the change in the trigger position and adjusting the operation of the equipment according to the state, the operator does not need to continuously press the trigger, thereby reducing fatigue during long-term operations. Secondly, the equipment can smoothly transition between different operating ranges, improving the continuity of the operation and the flatness of the cut surface. The present invention optimizes the operating experience of the drilling equipment through an intelligent control strategy, and improves the efficiency and quality of the operation. It enables the equipment to more flexibly adapt to different operating requirements, whether it is an operation that requires fine control or an occasion that requires continuous full-speed operation.
[0106] Optionally, controlling the drilling equipment to operate according to the trigger state includes:
[0107] When the trigger is in a self-locking state, the drilling device is controlled to run at full speed of the motor;
[0108] When the trigger is in the unlocked state, the drilling device is controlled to operate according to the motor speed corresponding to the trigger position.
[0109] Specifically, when the trigger is pressed and held for a certain period of time, the motor enters the full-speed running state, and the trigger is recorded as the self-locking state. Even if the trigger is released, the device will continue to run at full speed; if the trigger is pressed and held again, it can switch from the self-locking state to the unlocking state, and the device will stop when the trigger is released. However, the shutdown process is based on the motor speed corresponding to the trigger position gradually decreasing to 0, thus ensuring smooth startup and shutdown.
[0110] In this optional embodiment, this process controls the motor speed by reading the ADC value corresponding to the trigger position, thereby achieving smooth startup and shutdown of the equipment, improving operational comfort and safety, while ensuring the quality of operation, making the cutting surface smoother and flatter, and improving operational efficiency and safety.
[0111] Optionally, the drilling equipment control method further includes:
[0112] When the position interval is the preset free interval, monitoring the duration of the trigger value of the trigger position staying in the interval;
[0113] If the duration of the trigger value within the preset free interval is greater than or equal to the preset duration, the device is controlled to operate according to the motor speed corresponding to the trigger position;
[0114] If the trigger value switches from the preset free interval to the preset self-locking interval and lasts for more than a preset time, the trigger is controlled to enter a self-locking state.
[0115] Specifically, first, the system will monitor the ADC value of the trigger position. When the ADC value is within the preset free interval, the system will start timing the duration of the trigger value in the interval. If the trigger value lasts for a period of time in the free interval that reaches or exceeds the preset duration, the system will control the operation of the device according to the motor speed corresponding to the trigger position. Next, if the trigger value switches from the free interval to the self-locking interval, and the duration exceeds the preset duration, the system will control the trigger to enter the self-locking state, and the motor will run at full speed. Finally, if the trigger value switches back from the self-locking interval to the free interval, the system will control the trigger to exit the self-locking state and unlock. In a preferred embodiment of the present invention, the force of pressing the trigger to the bottom is associated with the ADC value, wherein the maximum value of 4095 represents that the trigger is pressed to the bottom, and the duration is counted by the timer signal generated by the RTC clock inside the single-chip microcomputer. When the trigger ADC value reaches 90%, that is, above 4095, the counting starts, and the counter is added to 1000, which is regarded as 1 second, so as to judge whether the trigger state is self-locking or unlocking.
[0116] In this optional embodiment, the flexibility and convenience of operation are improved. The operator can control the operation state of the device by simply operating the trigger according to the actual operation requirements, without continuously pressing the trigger, which reduces the labor intensity of the operator. The safety of the device is enhanced, and the sudden start or stop of the device due to improper operation is avoided through software control, reducing the safety risks during the operation.
[0117] Combination Figure 8 As shown, in a preferred embodiment of the present invention, the process starts from "power on", first checks whether there are errors or warnings, if not, then enters the next step of judging "whether the trigger is pressed". If the trigger is pressed, the system will check whether the force of pressing the trigger reaches more than 90% and whether it lasts for no more than 1 second. If both conditions are met, the system will determine whether the trigger is in a self-locking state. If the trigger has been self-locked (i.e., the "unlocked mark" is 1), it will maintain full speed; if the trigger is not self-locked (i.e., the "unlocked mark" is 0), it will enter the self-locking state. If the trigger is not pressed to 90% of the force or the duration exceeds 1 second, the system will check whether the trigger is in an unlocked state. If the trigger is in an unlocked state (i.e., the "unlocked mark" is 1), the system will set the trigger to a self-locking state; if the trigger is in a self-locking state (i.e., the "unlocked mark" is 0), the system will set the trigger to an unlocked state and maintain full speed. If the trigger is pressed to 0%, the system will stop. The entire process controls the start, lock, unlock and stop of the equipment by detecting the pressing force and duration of the trigger, as well as the self-locking / unlocking status of the trigger, thus achieving precise control of the water drilling equipment. Fig. 9As shown, there is an equivalent 80K ohm sliding rheostat inside the trigger. The red wire is connected to 5V, the black wire is connected to the ground, the green wire is connected to the signal ground of the device to stabilize the signal or reduce noise, the white wire is connected to the data interface of the device, the blue wire is connected to the power supply part of the device, and the yellow wire is connected to the signal acquisition IO port of the microcontroller. When the trigger is pressed, the position of the sliding rheostat probe changes, and the output voltage also changes accordingly. This changing voltage is collected by the ADC (analog / digital converter) pin of the microcontroller and converted into a digital signal. The microcontroller then processes this digital signal and determines the speed adjustment of the motor based on the collected ADC value. The ADC value usually ranges from 0 to 4095, where 0 means no voltage (i.e. the trigger is fully released) and 4095 means the maximum voltage (i.e. the trigger is fully pressed). In this way, the position of the trigger can be converted into a speed control signal for the motor to achieve precise control of the speed of the water drilling equipment. The speed adjustment can be determined by the collected ADC voltage value.
[0118] Second, combining Fig.10 As shown, the present invention also provides a drilling equipment control system, characterized in that it includes:
[0119] A position detection unit, used to obtain a trigger position of the device when the device is started;
[0120] A data processing unit, used for determining a position interval where the trigger position is located according to a trigger value corresponding to the trigger position;
[0121] a first control unit, configured to control the motor speed according to a ratio corresponding to the trigger value to adjust the running speed of the device when the position interval is a preset free interval;
[0122] The second control unit is used to control the motor to run at full speed when the position interval is a preset self-locking interval, and control the trigger to self-lock or unlock according to the continuous pressing state of the trigger.
[0123] The drilling equipment control method and system of the present invention improves the operating comfort and operating efficiency of the drilling equipment by adopting a fully automatic control method to replace the traditional mechanical trigger locking mechanism. By real-time monitoring of the trigger position and converting it into a quantified trigger value, the position range of the trigger can be accurately determined, thereby intelligently adjusting the motor speed or achieving full-speed operation. This automatic monitoring process replaces the traditional method in the prior art where the operator needs to continuously manually control the trigger position, and achieves precise control of the trigger position. The control method of the present invention not only reduces the burden of the operator pressing the trigger for a long time, but also avoids the cutting quality problem caused by the sudden stop of the motor when the mechanical unlocking is performed, realizes the smooth start and stop of the equipment, and improves the continuity and accuracy of the operation. In addition, the self-locking and unlocking electronic control mechanism makes the trigger state switching more flexible and responsive, further improving the control effect and operating convenience of the equipment.
[0124] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0125] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0126] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A drilling equipment control method, characterized in that: include: When the drilling device is started, obtaining a trigger position of the drilling device; Determining the position interval of the trigger position according to the trigger value corresponding to the trigger position; When the position interval is a preset free interval, the motor speed is controlled according to the ratio corresponding to the trigger value to adjust the operating speed of the drilling device; When the position interval is a preset self-locking interval, the motor is controlled to run at full speed, and the trigger is controlled to self-lock or unlock according to the continuous pressing state of the trigger.
2. The drilling equipment control method according to claim 1, characterized in that: According to the continuous pressing state of the trigger, controlling the trigger to self-lock or unlock includes: Determine whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, it is determined that the trigger state needs to be switched, wherein the trigger state includes a self-locking state and an unlocking state; When the trigger is in the self-locking state, if the trigger value drops below a preset self-locking interval and lasts for more than a preset time, the trigger state is switched from the self-locking state to the unlocking state; When the trigger is in the unlocked state, if the trigger value reaches the preset self-locking interval again and lasts for more than a preset time, the trigger state is switched from the unlocked state to the self-locking state; Wherein, in the unlocked state, when the trigger value drops below a preset self-locking interval, the motor stops running.
3. The drilling equipment control method according to claim 1, characterized in that: The determining the position interval of the trigger position by the trigger value corresponding to the trigger position includes: Continuously acquiring an analog signal from an analog-to-digital converter pin corresponding to the trigger according to a preset reading frequency; Converting the analog signal into a digital signal through an analog-to-digital converter, and determining the voltage value of the trigger according to the digital signal; The voltage value is used as a trigger value, and the position interval of the trigger position is determined according to the trigger value.
4. The drilling equipment control method according to claim 3, characterized in that: The step of using the voltage value as a trigger value and determining a position interval of the trigger position according to the trigger value includes: Determine the relationship between the trigger value corresponding to the trigger position and a preset trigger threshold; When the trigger value is greater than or equal to a preset trigger threshold, determining that the trigger is in the preset self-locking interval; When the trigger value is less than a preset trigger threshold, it is determined that the trigger is in the preset free range.
5. The drilling equipment control method according to claim 2, characterized in that: The determining whether the trigger value corresponding to the trigger position reaches a preset self-locking interval, and if the trigger value reaches the preset self-locking interval and lasts for more than a preset time, determining that the trigger state needs to be switched includes: Monitoring the trigger value corresponding to the trigger position, and determining whether the preset self-locking threshold is reached, so as to determine whether the trigger reaches the preset self-locking interval; When the trigger value reaches the preset self-locking interval, the time the trigger remains in the preset self-locking interval is counted and the duration is obtained, until the trigger value drops below the preset self-locking interval or the duration exceeds the preset duration; If the duration of the trigger being in the preset self-locking interval exceeds the preset duration, it is determined that the trigger state needs to be switched.
6. The drilling equipment control method according to claim 5, characterized in that: If the trigger is in the preset self-locking interval for a duration exceeding the preset duration, determining that the trigger state needs to be switched includes: Determining the relationship between the duration and the preset duration; If the duration is greater than or equal to the preset duration, and the current trigger state is an unlocked state, it is determined that the trigger state needs to be switched to a self-locking state; If the duration is greater than or equal to the preset duration, and the current trigger state is a self-locking state, it is determined that the trigger state needs to be switched to an unlocking state.
7. The drilling equipment control method according to claim 1, characterized in that: The drilling equipment control method further comprises: Monitoring the change of the trigger position to determine whether the trigger position is switched from a preset self-locking interval to a preset free interval; When the trigger position switches from the preset self-locking interval to the preset free interval, acquiring the trigger state; According to the trigger state, the device is controlled to operate.
8. The drilling equipment control method according to claim 7, characterized in that: The step of controlling the drilling device to operate according to the trigger state includes: When the trigger is in a self-locking state, the drilling device is controlled to run at full speed of the motor; When the trigger is in the unlocked state, the drilling device is controlled to operate according to the motor speed corresponding to the trigger position.
9. The drilling equipment control method according to claim 5, characterized in that: The drilling equipment control method further comprises: When the position interval is the preset free interval, monitoring the duration of the trigger value of the trigger position staying in the interval; If the duration of the trigger value within the preset free interval is greater than or equal to the preset duration, the device is controlled to operate according to the motor speed corresponding to the trigger position; If the trigger value switches from the preset free interval to the preset self-locking interval and lasts for more than a preset time, the trigger is controlled to enter a self-locking state.
10. A drilling equipment control system, characterized in that: include: A position detection unit, used to obtain the trigger position of the drilling device when the drilling device is started; A data processing unit, used for determining a position interval where the trigger position is located according to a trigger value corresponding to the trigger position; a first control unit, configured to control the motor speed according to a ratio corresponding to the trigger value when the position interval is a preset free interval, so as to adjust the operating speed of the drilling device; The second control unit is used to control the motor to run at full speed when the position interval is a preset self-locking interval, and control the trigger to self-lock or unlock according to the continuous pressing state of the trigger.
Citation Information
Patent Citations
Constant speed cruising method, system and circuit of motor in electric garden tool
CN110336516A
Electric tool speed control method and electric tool
CN110739890A
Self-locking gear switch mistaken touch prevention control method and control device
CN117250887A
Trigger switch
CN209199821U
Trigger switch and lock mechanism therefore
US4097703A