Control method for cross line laser, and cross line laser
By setting up a communication module in the line projector battery pack to connect to the mobile terminal, remote control of the line projector is realized, solving the problem of insecure and low efficiency of the line projector operation control in complex environments, and improving operation safety and efficiency.
Patent Information
- Application Number
- PCT/CN2024/137299
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-05
- Filing Date
- 2024-12-06
- Publication Date
- 2025-08-14
AI Technical Summary
The existing line projector operation control methods in complex environments do not meet safety requirements and are inefficient in operation.
By setting up a communication module in the battery pack of the line projector, it establishes a communication connection with the mobile terminal, and the laser control instructions sent by the mobile terminal are encoded and forwarded to the controller of the line projector body to realize the operation of remotely controlling the laser.
The remote operation control of the line projector in complex environments is realized, operating safety and efficiency are improved, and the safety needs of operators are met.
Smart Images

Figure CN2024137299_14082025_PF_FP_ABST
Abstract
Description
Control method of line casting instrument and line casting instrument
[0001] Related applications
[0002] This application claims priority to Chinese patent application number 202410163763.1, filed on February 5, 2024, entitled “Control method of line casting instrument and line casting instrument”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application relates to the technical field of line casting instruments, and in particular to a control method of a line casting instrument and a line casting instrument. Background Art
[0004] A line caster is an instrument that can emit vertical or horizontal visible lasers. It is an instrument that marks horizontal or vertical lines on the target surface. It accurately projects the working line onto the work object through the laser line, making the construction process more convenient and accurate. During the construction process, the line caster needs to be placed in various complex environments for measurement or calibration, and the working state of the line caster needs to be adjusted according to construction requirements. In related technologies, operators operate and control the line caster through buttons and switches set on the surface of the line caster device, but this method cannot meet the safety needs of operators in complex environments, and the operating efficiency is low. Summary of the Invention
[0005] According to various embodiments of the present application, a control method of a line casting instrument and the line casting instrument are provided.
[0006] In the first aspect, the present application provides a control method for a line casting instrument, wherein the line casting instrument comprises a line casting instrument body and a battery pack, wherein the line casting instrument body comprises a plurality of lasers , The battery pack includes a communication module, and the line casting instrument body communicates with the mobile terminal through the communication module. The method is applied to the controller of the line casting instrument body, and the method includes:
[0007] receiving a laser control signal sent by the battery pack, wherein the laser control signal is obtained by the battery pack based on a laser control instruction code received by the communication module, and the laser control instruction is sent by the mobile terminal;
[0008] Decoding the laser control signal to obtain the laser control instruction;
[0009] Based on the laser control instruction, the corresponding laser is controlled to perform the corresponding laser control operation.
[0010] In some embodiments, controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes:
[0011] Determining whether the target power corresponding to the power information in the laser control instruction is equal to the preset power;
[0012] When the target power is equal to the preset power, a level signal is sent to control the corresponding laser to be turned on;
[0013] When the target power is less than the preset power, a pulse signal is sent to control the corresponding laser to be turned on and off, and the duty cycle of the pulse signal corresponds to the target power.
[0014] In some embodiments, controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes:
[0015] determining, based on the mode information in the laser control instruction, whether the control mode of the laser is a pulse mode;
[0016] When the control mode is a pulse mode, a pulse signal is sent to control the corresponding laser to be turned on or off;
[0017] When the control mode is not the pulse mode, a level signal is sent to control the corresponding laser to be turned on or off.
[0018] In some embodiments, controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes:
[0019] Determining whether the laser control instruction is to turn off the laser;
[0020] When it is determined that the laser control instruction is to turn off the laser, a shutdown signal is sent to all lasers to control the corresponding lasers to turn off;
[0021] If it is determined that the laser control instruction is not to turn off the laser, determining whether it is to turn on the laser;
[0022] When it is determined that the laser control instruction is to turn on the laser, a turn-on signal is sent to the corresponding laser, where the turn-on signal is used to restore the state of the laser before it was turned off.
[0023] In some embodiments, controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes:
[0024] determining a target laser from a plurality of lasers based on the operation target information in the laser control instruction;
[0025] A turn-on signal is sent to the target laser to control the target laser to turn on.
[0026] In some embodiments, the method further comprises:
[0027] Obtain laser status information of each laser;
[0028] Based on a predetermined coding method, the laser status information is converted into a corresponding laser status signal and sent to the battery pack. The laser status signal is decoded by the battery pack and then sent to the mobile terminal for display based on the communication module.
[0029] In the second aspect, the present application also provides a control method for a line casting instrument, wherein the line casting instrument comprises a line casting instrument body and a battery pack, wherein the line casting instrument body comprises a plurality of lasers , The battery pack includes a communication module, and the line projection instrument body communicates with the mobile terminal through the communication module. The method is applied to the mobile terminal, and the method includes:
[0030] Obtaining a laser control instruction, where the laser control instruction is used to control the laser to perform a corresponding laser control operation;
[0031] Based on the communication module, the laser control instruction is sent to the battery pack, and the laser control instruction is converted into a laser control signal after being encoded by the battery pack and sent to the line casting instrument body.
[0032] In some embodiments, the method further comprises:
[0033] Obtaining a battery control instruction, where the battery control instruction is used to control the battery pack to perform a corresponding battery control operation;
[0034] Based on the communication module, the battery control instruction is sent to the battery pack.
[0035] In some embodiments, the method further comprises:
[0036] receiving battery status information sent by the battery pack based on the communication module;
[0037] The battery status information is displayed.
[0038] In a third aspect, the present application further provides a line-casting instrument, which includes a laser and a controller for performing on-off control of the laser based on the control method of the line-casting instrument described in the first aspect.
[0039] Compared with the related art, the control method of the line shooting instrument provided in this embodiment provides a communication module in the battery pack, so that the line shooting instrument body establishes a communication connection with the mobile terminal through the communication module, thereby providing communication support for realizing remote control of the line shooting instrument body; the laser control instruction sent by the mobile terminal is encoded and forwarded by the battery pack to the controller of the line shooting instrument body, and the control instruction is converted into a laser control signal that can be received by the line shooting instrument body; the controller decodes the laser control signal after receiving it to obtain the laser control instruction on the mobile terminal side; based on the laser control instruction, the corresponding laser is controlled to perform the corresponding laser control operation, thereby realizing remote operation of the line shooting instrument through the mobile terminal, and solving the problem that the operation control method of the line shooting instrument does not meet the safety requirements of the operator in a complex environment and the operation efficiency is low.
[0040] The details of one or more embodiments of the present application are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to better describe and illustrate the embodiments and / or examples of the inventions disclosed herein, reference may be made to one or more of the accompanying drawings. The additional details or examples used to describe the accompanying drawings should not be considered to limit the scope of the disclosed inventions, the presently described embodiments and / or examples, and any of the best modes currently understood for these inventions.
[0042] FIG1 is a schematic diagram showing the connection between a line projection instrument body, a battery pack, and a mobile terminal in some embodiments of the present application.
[0043] FIG2 is a flow chart of a method for controlling a line casting instrument of a line casting instrument body according to some embodiments of the present application.
[0044] FIG3 is a flow chart of laser power control of a line caster according to some embodiments of the present application.
[0045] FIG4 is a flow chart of determining a laser control mode of a line caster in some embodiments of the present application.
[0046] FIG5 is a flow chart of laser on-off control of a line caster according to some embodiments of the present application.
[0047] FIG6 is a flow chart of laser line control of a line projector according to some embodiments of the present application.
[0048] FIG7 is a flow chart showing the laser status of a line caster according to some embodiments of the present application.
[0049] FIG8 is a flowchart of a method for controlling a line projection instrument of a mobile terminal according to some embodiments of the present application.
[0050] FIG9 is a flowchart of a battery control method for a mobile terminal according to some embodiments of the present application.
[0051] FIG10 is a flow chart of battery status display of a mobile terminal according to some embodiments of the present application. DETAILED DESCRIPTION
[0052] In order to more clearly understand the purpose, technical solutions and advantages of this application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0053] Unless otherwise defined, the technical terms or scientific terms involved in this application should have the general meaning understood by people with ordinary skills in the technical field to which this application belongs. The words "one", "an", "a", "the", "these" and the like in this application do not indicate quantitative restrictions, and they can be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" involved in this application refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, and B exists alone. Generally, the character " / " indicates that the related objects are in an "or" relationship. The terms "first," "second," "third," etc. used in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0054] Figure 1 is a connection diagram of the line casting instrument body, battery pack and mobile terminal in some embodiments of the present application. As shown in Figure 1, the line casting instrument 200 includes a line casting instrument body 30 and a battery pack 20, wherein the line casting instrument body 30 includes a controller 31 and multiple lasers 32, and the battery pack 20 includes a communication module 21. The communication module 21 can be a wireless communication module or a wired communication module. The communication module 21 can realize the communication connection between the battery pack 20 and the mobile terminal 100. Among them, the wireless communication module can include but is not limited to WIFI, Bluetooth, Zigbee, etc. The mobile terminal 100 includes but is not limited to mobile phones, portable notebooks, Pads, wearable devices and other interactive terminals with display and input functions. The battery pack 20 and the line casting instrument body 30 can be connected by wire, and the connection line can include a power supply line and a signal transmission line.
[0055] In this embodiment, a control method for a line shooting instrument is provided. This control method can be applied to a controller 31 of a line shooting instrument body 30. The controller 31 can be, but is not limited to, a central processing unit (CPU), an MCU, a single-chip microcomputer, a digital signal processor (DSP), or other computing device with data processing and data storage capabilities. FIG2 is a flow chart of the control method for the line shooting instrument body of some embodiments of the present application. As shown in FIG2, the flow chart includes the following steps:
[0056] Step S201: receiving a laser control signal sent by a battery pack. The laser control signal is obtained by the battery pack based on a laser control instruction code received by a communication module. The laser control instruction is sent by a mobile terminal.
[0057] Control software can be installed on the mobile terminal to control the linecaster. The control software may include an interactive interface through which a user can input laser control instructions for the linecaster. Laser control instructions may include the target laser to be operated and the type of operation. In some embodiments, the laser control instructions also include operating parameters. Specifically, laser control instructions may include, but are not limited to, instructions for setting or adjusting the laser power of a laser, instructions for turning a specific laser on or off, instructions for controlling the laser's control mode, instructions for selecting a horizontal or vertical laser line, and the like.
[0058] After the user enters a laser control command for the laser projector on the interactive interface, the mobile terminal transmits the command to the battery pack. The battery pack receives the command via the communication module and encodes it to generate a corresponding laser control signal. The encoding method can be predetermined and includes, but is not limited to, high- and low-level encoding and encoding based on communication protocols.
[0059] Specifically, the encoding based on the communication protocol may include but is not limited to various serial bus protocols such as RS485, USB, etc.
[0060] Specifically, high and low level coding refers to presetting the correspondence between different laser control instructions and different high and low level sequences. For example, 1 is high level, 0 is low level, the 10101010 level sequence represents turning on the laser horizontal line, and 11111111 represents turning on the laser vertical line, etc.
[0061] The battery pack sends the laser control signal to the line casting instrument body through the signal transmission line between the battery pack and the line casting instrument body.
[0062] Step S202: Decode the laser control signal to obtain the laser control instruction.
[0063] After receiving the laser control signal, the line casting instrument decodes it based on the encoding method in step S201 to obtain the corresponding laser control instruction.
[0064] Step S203: Based on the laser control instruction, control the corresponding laser to perform the corresponding laser control operation.
[0065] According to the target laser to be operated and the type of operation contained in the laser control instruction, the corresponding operation is performed on the target laser. The specific operation may include turning on the laser, turning off the laser, determining the control mode of the laser, setting the laser power of the laser, etc.
[0066] Through steps S201 to S203, a communication module is set in the battery pack, so that the line casting instrument body establishes a communication connection with the mobile terminal through the communication module, providing communication support for realizing remote control of the line casting instrument body; the laser control instruction sent by the mobile terminal is encoded and forwarded by the battery pack to the controller of the line casting instrument body, and the control instruction is converted into a laser control signal that can be received by the line casting instrument body; the controller decodes the laser control signal after receiving it to obtain the laser control instruction on the mobile terminal side; based on the laser control instruction, the corresponding laser is controlled to perform the corresponding laser control operation, thereby realizing remote operation of the line casting instrument through the mobile terminal, solving the problem that the operation control method of the line casting instrument does not meet the safety requirements of the operator in a complex environment and the operation efficiency is low.
[0067] In some embodiments, FIG3 is a flow chart of laser power control of a line caster in some embodiments of the present application. As shown in FIG3 , the flow chart includes the following steps:
[0068] Step S301 , determining whether the target power corresponding to the power information in the laser control instruction is equal to the preset power.
[0069] The laser control instructions of this embodiment include power information, which corresponds to the target power of the target laser. Specifically, the power information can be a target power value or parameter options related to the target power (such as high / medium / low power), and the parameter options can correspond to the target power value. When the target laser is controlled by a pulse signal (PWM duty cycle signal), the power information can also be the duty cycle data of the pulse signal, with different duty cycle data corresponding to different target power values.
[0070] The target power value is compared with the preset power to determine whether the target power is equal to the preset power. The preset power may be the power corresponding to when the laser is fully turned on.
[0071] Step S302: When the target power is equal to the preset power, a level signal is sent to control the corresponding laser to be turned on.
[0072] When the target power is equal to the preset power, the corresponding laser can be directly controlled to be fully turned on by sending a level signal.
[0073] Specifically, a switch circuit may be included between the controller and the laser. The controller sends a corresponding level signal to the switch circuit, and the switch circuit controls the laser to be fully turned on according to the level signal, so that the power of the laser reaches the target power.
[0074] Step S303: When the target power is less than the preset power, a pulse signal is sent to control the corresponding laser to be turned on and off, and the duty cycle of the pulse signal corresponds to the target power.
[0075] If the target power is less than the preset power, a pulse signal corresponding to the target power is generated, with a duty cycle corresponding to the target power. The pulse signal is sent to the switching circuit, which controls the laser on and off according to the pulse signal to ensure that the laser power reaches the target power.
[0076] Through steps S301 to S303, it is determined whether the target power corresponding to the power information in the laser control instruction is equal to the preset power. When the target power is equal to the preset power, a level signal is sent to control the corresponding laser to be fully turned on; when the target power is less than the preset power, a pulse signal corresponding to the target power is generated to control the corresponding laser to be turned on and off, so that the power of the laser reaches the target power, meeting the needs of remote setting or adjustment of the laser power and laser brightness.
[0077] In some embodiments, FIG4 is a flow chart of determining a laser control mode of a line caster in some embodiments of the present application. As shown in FIG4 , the flow chart includes the following steps:
[0078] Step S401 : determining whether the control mode of the laser is a pulse mode based on the mode information in the laser control instruction.
[0079] The laser control instructions in this embodiment contain mode information, which can be either pulse mode or level mode. Pulse mode uses a pulse signal containing duty cycle information to control the laser's on / off state, resulting in pulsed laser emission for easy detection by the detector. Level mode uses a high-level or low-level signal to fully turn the laser on or off. When fully on, the laser emits continuously. In practical applications, the operator can set the laser control mode in a mobile terminal and send it to the laser projector. The laser projector then determines whether the laser's control mode is pulse mode based on the mode information in the laser control instruction.
[0080] Step S402: When the control mode is the pulse mode, a pulse signal is sent to control the corresponding laser to be turned on or off.
[0081] When the control mode is pulse mode, a corresponding pulse signal can be generated for an operating laser based on the target power of the laser. The duty cycle of the pulse signal corresponds to the target power. The pulse signal is sent to the switching circuit corresponding to the laser. The switching circuit controls the laser on and off based on the pulse signal, so that the laser is emitted in a pulsed manner corresponding to the duty cycle.
[0082] For a laser in an idle state, when a laser control signal is subsequently received, a corresponding pulse signal may be generated to perform a laser control operation on the laser.
[0083] Step S403: When the control mode is not the pulse mode, a level signal is sent to control the corresponding laser to be turned on or off.
[0084] When the control mode is not the pulse mode, the laser is controlled using a level signal. For a laser in an operating state, a corresponding level signal can be generated, and the level signal is sent to the switch circuit corresponding to the laser. The switch circuit controls the laser to be turned off according to the level signal. For a laser in an idle state, a corresponding level signal can be generated, and the level signal is sent to the switch circuit corresponding to the laser. The switch circuit controls the laser to be turned on according to the level signal.
[0085] When other laser control signals are subsequently received, corresponding control operations are also performed through the level signal.
[0086] Through steps S401 to S403, based on the mode information in the laser control instruction, it is determined whether the control mode of the laser is the pulse mode. When the control mode is the pulse mode, a pulse signal is sent to control the corresponding laser to be turned on or off, so that the laser is emitted in a pulse manner with a corresponding duty cycle to meet the detection requirements of the detector; when the control mode is not the pulse mode, a level signal is sent to control the corresponding laser to be turned on or off to meet the continuous emission requirements of the laser.
[0087] In some embodiments, FIG5 is a flow chart of laser on-off control of a line caster in some embodiments of the present application. As shown in FIG5 , the flow chart includes the following steps:
[0088] Step S501: Determine whether the laser control instruction is to turn off the laser.
[0089] Step S502: When it is determined that the laser control instruction is to turn off the laser, a shutoff signal is sent to all lasers to control the corresponding lasers to turn off.
[0090] The laser shutdown command is a comprehensive shutdown command. When it is determined that the received laser control command is to shut down the laser, a shutdown signal is sent to the switch circuits corresponding to all lasers. This shutdown signal can be a level signal or a pulse signal (with a duty cycle of 0), and the switch circuit controls the corresponding laser to shut down. Before shutting down, the operating status of each laser can be saved, including whether the laser is in an operating state, whether the laser is pulse controlled, and the laser's operating power.
[0091] Step S503: When it is determined that the laser control instruction is not to turn off the laser, it is determined whether the laser is to be turned on.
[0092] Step S504: When it is determined that the laser control instruction is to turn on the laser, a turn-on signal is sent to the corresponding laser. The turn-on signal is used to restore the laser to a state before it was turned off.
[0093] When it is determined that the laser control instruction is to turn on the laser, a conduction signal is sent to the switch circuit corresponding to the laser that was in the working state before being turned off according to the saved working state of each laser before being turned off. The conduction signal is used to restore the working state of the laser before being turned off.
[0094] Specifically, the conduction signal may be a level signal or a pulse signal.
[0095] In a specific embodiment, the initial state of the laser is that the vertical line is turned on and the horizontal line is turned off. The mobile terminal sends an instruction to turn off the laser to the line projector, and all lasers are turned off. Then the mobile terminal sends an instruction to turn on the laser to the line projector, and a conduction signal is sent to the switch circuit corresponding to the laser corresponding to the vertical line to turn on the laser corresponding to the vertical line.
[0096] Through steps S501 to S504, by determining whether the laser control instruction is to turn off the laser, if it is determined that the laser control instruction is to turn off the laser, a shutdown signal is sent to all lasers to control the corresponding lasers to turn off, all lasers are quickly turned off, and the laser shutdown efficiency is improved; by determining whether the laser control instruction is to turn on the laser if it is not determined that the laser control instruction is to turn on the laser, if it is determined that the laser control instruction is to turn on the laser, a turn-on signal is sent to the corresponding laser, and the turn-on signal is used to restore the state of the laser before it is turned off. By saving the working state of each laser before it is turned off, the efficiency of restoring the working state of the laser is improved.
[0097] In some embodiments, FIG6 is a flow chart of laser line control of a line projector in some embodiments of the present application. As shown in FIG6 , the flow chart includes the following steps:
[0098] Step S601 : determining a target laser from a plurality of lasers based on the operation target information in the laser control instruction.
[0099] The laser control instructions of this embodiment include operation target information, which corresponds to a target laser. Specifically, the operation target information may include, but is not limited to, the selection and control of different laser lines. Specifically, options may include a horizontal line, a single vertical line, two vertical lines, or full on. Based on the operation target information in the laser control instruction, the target laser corresponding to the laser line to be activated can be determined from among multiple lasers.
[0100] Step S602: Sending a turn-on signal to the target laser to control the target laser to turn on.
[0101] Send a conduction signal to the switch circuit corresponding to the target laser, and the switch circuit controls the target laser to conduct. The conduction signal can be a level signal or a pulse signal.
[0102] Through steps S601 to S602, based on the operation target information in the laser control instruction, a target laser is determined from multiple lasers, and a conduction signal is sent to the target laser to control the conduction of the target laser, thereby realizing remote laser line control and meeting the use requirements of laser lines in different directions and different numbers.
[0103] In some embodiments, FIG7 is a flow chart of the laser status display of the line caster in some embodiments of the present application. As shown in FIG7 , the flow chart includes the following steps:
[0104] Step S701: Acquire laser status information of each laser.
[0105] While controlling each laser to perform the corresponding laser control operation, the laser status information of each laser is obtained. The laser status information may include but is not limited to whether each laser is in a working state, whether the laser is pulse controlled, the working power of the laser, the laser line opening state, etc.
[0106] Step S702 : Based on a predetermined coding method, the laser status information is converted into a corresponding laser status signal and sent to the battery pack. The laser status signal is decoded by the battery pack and then sent to the mobile terminal for display based on the communication module.
[0107] The laser status information is converted into a corresponding laser status signal based on a predetermined encoding scheme, which may be the encoding scheme determined in step S201. The laser status signal is transmitted to the battery pack via a signal transmission line between the laser projector body and the battery pack. The battery pack decodes the laser status signal to obtain the corresponding laser status information. The laser status information is transmitted to the mobile terminal via a communication module, which can be displayed on the mobile terminal using display software. The display software and control software can be combined into display control software.
[0108] Through steps S701 to S702, the laser status information of each laser is obtained, and the laser status information is converted into a corresponding laser status signal and sent to the battery pack. After decoding, the battery pack sends it to the mobile terminal for display based on the communication module, thereby realizing remote acquisition of the laser status information of the line caster placed in a complex environment, providing effective reference information for the operator's laser control, and providing real-time feedback information for the laser control operation, thereby improving the efficiency and accuracy of laser control.
[0109] The present application also provides a method for controlling a line caster applied to a mobile terminal. The line caster includes a line caster body and a battery pack, and the line caster body includes a controller and multiple lasers. , The battery pack includes a communication module, through which the line casting instrument body communicates with the mobile terminal. FIG8 is a flow chart of a method for controlling a line casting instrument of a mobile terminal in some embodiments of the present application. As shown in FIG8 , the process includes the following steps:
[0110] Step S801: Obtain a laser control instruction, where the laser control instruction is used to control a laser to perform a corresponding laser control operation.
[0111] The user can input laser control instructions for the linecasting instrument on the interactive interface of the control software. The laser control instructions may include the target laser to be operated and the type of operation. In some embodiments, the laser control instructions also include operating parameters.
[0112] Step S802: Based on the communication module, the laser control instruction is sent to the battery pack. The laser control instruction is converted into a laser control signal after being encoded by the battery pack and sent to the laser projection instrument body.
[0113] The battery pack receives laser control commands sent by the mobile terminal based on the communication module and encodes the laser control commands to obtain corresponding laser control signals. The encoding method can be predetermined, including but not limited to high and low level encoding, encoding based on the communication protocol, etc.
[0114] Through steps S801 to S802, a communication module is set in the battery pack, so that the line casting instrument body establishes a communication connection with the mobile terminal through the communication module, providing communication support for realizing remote control of the line casting instrument body; the laser control instruction sent by the mobile terminal is encoded and forwarded by the battery pack to the controller of the line casting instrument body, and the control instruction is converted into a laser control signal that can be received by the line casting instrument body; the controller decodes the laser control signal after receiving it to obtain the laser control instruction on the mobile terminal side; based on the laser control instruction, the corresponding laser is controlled to perform the corresponding laser control operation, thereby realizing remote operation of the line casting instrument through the mobile terminal, solving the problem that the operation control method of the line casting instrument does not meet the safety requirements of the operator in a complex environment and the operation efficiency is low.
[0115] In some embodiments, FIG9 is a flow chart of a battery control method for a mobile terminal according to some embodiments of the present application. As shown in FIG9 , the flow includes the following steps:
[0116] Step S901: Acquire a battery control instruction, where the battery control instruction is used to control the battery pack to perform a corresponding battery control operation.
[0117] The control software's interactive interface may include a laser control command input area and a battery control command input area. The operator can enter battery control commands on the interactive interface. Battery control commands may include battery light control, operating mode settings, high temperature alarm settings, etc.
[0118] Specifically, battery light control may include but is not limited to battery light status settings (including flashing status, always on status, always off status, etc.), working modes may include power saving mode and normal mode, and high temperature alarm settings may include but are not limited to high temperature threshold settings, alarm start settings, etc.
[0119] Step S902: Send the battery control instruction to the battery pack based on the communication module.
[0120] The battery control instruction is sent to the battery pack based on the communication module. After the battery pack receives the battery control instruction, it completes the corresponding control operation.
[0121] Through steps S901 to S902, the battery control instruction is obtained, which is used to control the battery pack to perform corresponding battery control operations, and based on the communication module, the battery control instruction is sent to the battery pack, thereby realizing remote battery control, improving the safety of operators in operating and controlling the battery in complex environments, improving operational efficiency, and improving the flexibility and environmental adaptability of the battery pack working mode.
[0122] In some embodiments, FIG10 is a flow chart of displaying the battery status of a mobile terminal in some embodiments of the present application. As shown in FIG10 , the flow includes the following steps:
[0123] Step S1001: receiving battery status information sent by the battery pack based on the communication module.
[0124] Similar to how the mobile terminal displays the laser status information of the laser projector, the mobile terminal can also be used to display the battery status information of the battery pack. This battery status information may include, but is not limited to, the battery's charge current, discharge current, temperature, and remaining charge. The battery pack transmits this battery status information to the mobile terminal via the communication module.
[0125] Step S1002: Display the battery status information.
[0126] The control software's interactive interface can also include areas for displaying laser and battery status information. This information allows operators to control the battery pack accordingly. For example, if the displayed battery temperature exceeds a certain threshold, a high-temperature alarm can be activated or the laser can be shut down.
[0127] Through steps S1001 to S1002, the battery status information sent by the battery pack based on the communication module is received and displayed, so that the working status of the battery pack can be remotely acquired and monitored, thereby improving the safety of the battery pack operation, providing effective reference information for the operator's battery control operation, and providing real-time feedback information for the battery control operation, thereby improving the efficiency and accuracy of battery control.
[0128] This embodiment further provides a line casting instrument, which includes a laser and a controller for switching the laser based on the control method of the line casting instrument in the above embodiment.
[0129] The line casting instrument of this embodiment receives the laser control signal sent by the battery pack through the controller, decodes the laser control signal, obtains the laser control instruction, and controls the corresponding laser to perform the corresponding laser control operation based on the laser control instruction, thereby realizing the remote operation of the line casting instrument through the mobile terminal, solving the problem that the operation control method of the line casting instrument does not meet the safety requirements of the operator in a complex environment and the operation efficiency is low, thereby improving the safety and environmental adaptability of the line casting instrument.
[0130] It should be noted that, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0131] It should be understood that the specific embodiments described herein are only used to explain this application and are not used to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0132] Obviously, the accompanying drawings are merely examples or embodiments of the present application. A person skilled in the art can also apply the present application to other similar situations based on these drawings without inventive effort. Furthermore, it is understandable that, although the work involved in this development process may be complex and lengthy, certain design, manufacturing, or production changes based on the technical content disclosed in this application are merely routine technical means for a person skilled in the art and should not be considered to constitute a deficiency in the disclosure of the present application.
[0133] The term "embodiment" as used in this application refers to specific features, structures, or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily mean that the embodiment is the same, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is understood, either explicitly or implicitly, by those skilled in the art that the embodiments described in this application can be combined with other embodiments when there is no conflict.
[0134] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0135] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A control method for a line casting instrument, wherein the line casting instrument comprises a line casting instrument body and a battery pack, wherein the line casting instrument body comprises a plurality of lasers, characterized in that: The battery pack includes a communication module, and the line casting instrument body communicates with the mobile terminal through the communication module. The method is applied to the controller of the line casting instrument body, and the method includes: receiving a laser control signal sent by the battery pack, wherein the laser control signal is obtained by the battery pack based on a laser control instruction code received by the communication module, and the laser control instruction is sent by the mobile terminal; Decoding the laser control signal to obtain the laser control instruction; Based on the laser control instruction, the corresponding laser is controlled to perform the corresponding laser control operation.
2. The method according to claim 1, wherein The controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes: Determining whether the target power corresponding to the power information in the laser control instruction is equal to the preset power; When the target power is equal to the preset power, a level signal is sent to control the corresponding laser to be turned on; When the target power is less than the preset power, a pulse signal is sent to control the corresponding laser to be turned on and off, and the duty cycle of the pulse signal corresponds to the target power.
3. The method according to claim 1, wherein The controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes: determining, based on the mode information in the laser control instruction, whether the control mode of the laser is a pulse mode; When the control mode is a pulse mode, a pulse signal is sent to control the corresponding laser to be turned on or off; When the control mode is not the pulse mode, a level signal is sent to control the corresponding laser to be turned on or off.
4. The method according to claim 1, wherein The controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes: Determining whether the laser control instruction is to turn off the laser; When it is determined that the laser control instruction is to turn off the laser, a shutdown signal is sent to all lasers to control the corresponding lasers to turn off; If it is determined that the laser control instruction is not to turn off the laser, determining whether it is to turn on the laser; When it is determined that the laser control instruction is to turn on the laser, a turn-on signal is sent to the corresponding laser, where the turn-on signal is used to restore the state of the laser before it was turned off.
5. The method according to claim 1, wherein The controlling the corresponding laser to perform the corresponding laser control operation based on the laser control instruction includes: determining a target laser from a plurality of lasers based on the operation target information in the laser control instruction; A turn-on signal is sent to the target laser to control the target laser to turn on.
6. The method according to claim 1, wherein The method further comprises: Obtain laser status information of each laser; Based on a predetermined coding method, the laser status information is converted into a corresponding laser status signal and sent to the battery pack. The laser status signal is decoded by the battery pack and then sent to the mobile terminal for display based on the communication module.
7. A control method for a line casting instrument, wherein the line casting instrument comprises a line casting instrument body and a battery pack, wherein the line casting instrument body comprises a plurality of lasers, wherein: The battery pack includes a communication module, and the line projection instrument body communicates with the mobile terminal through the communication module. The method is applied to the mobile terminal, and the method includes: Obtaining a laser control instruction, where the laser control instruction is used to control the laser to perform a corresponding laser control operation; Based on the communication module, the laser control instruction is sent to the battery pack, and the laser control instruction is converted into a laser control signal after being encoded by the battery pack and sent to the line casting instrument body.
8. The method according to claim 7, wherein: The method further comprises: Obtaining a battery control instruction, where the battery control instruction is used to control the battery pack to perform a corresponding battery control operation; Based on the communication module, the battery control instruction is sent to the battery pack.
9. The method according to claim 7, wherein: The method further comprises: receiving battery status information sent by the battery pack based on the communication module; The battery status information is displayed.
10. A line casting instrument, characterized in that: The line casting instrument includes a laser and a controller for performing on-off control of the laser based on the line casting instrument control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Laser demarcation device
CN112857331A
Line casting device and line casting method thereof
CN115031710A
Laser radar rotation interaction structure and method, laser radar and radar product
CN115542249A
Green laser module
CN203014160U
Multiple path laser luminous power and electric current collection system
CN207867298U