Tension detection system for fishing line processing based on data transmission
By designing a tension detection system for fish line processing based on data transmission, the problems of low tension monitoring efficiency and poor accuracy in traditional fish line processing are solved, real-time monitoring and automated control of fish line tension are realized, and product quality and consistency are improved. sex.
Patent Information
- Application Number
- CN202410989124.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The monitoring of tension during traditional fishing line processing relies on manual or simple mechanical methods, which is inefficient and difficult to guarantee, and lacks modern automation solutions.
Design a tension detection system for fishing line processing based on data transmission, including data acquisition module, control module, alarm module and display module. It is connected to the microcontroller through tension sensors to collect and process tension data in real time, and transmit it to the control module wirelessly. , set the tension target value and alarm threshold, generate alarm signals, and realize automated control and real-time monitoring.
Real-time monitoring and precise control of fishing line tension is achieved, ensuring that each fishing line tension is within the set range and improving product quality and consistency.
Smart Images

Figure CN118936711A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and more specifically, to a tension detection system for fishing line processing based on data transmission. Background Art
[0002] For the fishing line processing industry, accurate control and monitoring of tension is one of the key factors to ensure product quality. In the traditional fishing line production process, the monitoring of tension usually relies on manual or simple mechanical methods, which is not only inefficient but also difficult to ensure accuracy.
[0003] With the advancement of technology, an automated tension detection system based on data transmission can become a modern solution. Using advanced sensor technology, the tension changes of fishing lines during processing can be measured in real time. Through data transmission, the system transmits real-time tension data to the control module, and the operator can obtain and analyze this data instantly. Therefore, it is of great significance to study a tension detection system for fishing line processing based on data transmission. Summary of the invention
[0004] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a tension detection system for fishing line processing based on data transmission to solve the problems raised in the above-mentioned background technology.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a tension detection system for fishing line processing based on data transmission, comprising a data acquisition module, a control module, an alarm module and a display module;
[0006] The data acquisition module connects the tension sensor to the single-chip microcomputer, collects the tension data of the fishing line and sends it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module;
[0007] The control module includes a single chip microcomputer, which receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module;
[0008] Wherein, the single-chip microcomputer is the control unit of the control module, including an analog input pin and an output pin, connecting the output of the sensor to the analog input pin of the single-chip microcomputer, receiving data from the tension sensor, and connecting the control pin of the alarm module to the output pin of the single-chip microcomputer to trigger the alarm action;
[0009] The alarm module is connected to the single chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module;
[0010] The display module is connected to the single-chip microcomputer, receives and analyzes data transmitted from the single-chip microcomputer, and is used to display the tension data of the fishing line and the alarm status information.
[0011] In a preferred embodiment, the data acquisition module connects the tension sensor to the single-chip microcomputer to collect the tension data of the fishing line and send it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module. The specific steps are as follows:
[0012] Step A1, analog signal conversion: install the tension sensor on the fishing line processing equipment, sense the change of tension of the fishing line during the processing, and output an analog electrical signal according to the change of tension, the magnitude of which is proportional to the tension applied by the fishing line;
[0013] Step A2, analog-to-digital conversion: Use the analog-to-digital converter on the single-chip microcomputer to convert the analog electrical signal output by the sensor into a digital signal. Through measurement and calibration, the digital signal D output by the sensor is converted into the corresponding actual tension value F, and the tension values of multiple sampling points are recorded to obtain the rate of change of tension over time;
[0014] The actual tension value F is expressed as: F=k×D+b, where D is the digital signal output by the sensor, k is the proportionality coefficient used to convert the digital signal into the unit of the actual tension value, and b is the offset used to adjust the offset output by the sensor so that it corresponds more accurately to the zero point of the actual tension;
[0015] Step A3, data transmission: After processing the collected tension data, the single chip microcomputer adds a timestamp and status information, and combines the timestamp, tension data and status information into a data frame package, and sends it to the control module. The data frame format includes a start byte, a timestamp field, a tension data field, a status information field and a check field.
[0016] In a preferred embodiment, the control module includes a single chip microcomputer, receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module. The specific steps are as follows:
[0017] Step B1, setting the tension target value: the single chip parses the received data frame, extracts the tension data F, and sets the target tension value, and calculates the current tension error as e=F target -F, where e is the tension error, F target is the target tension value, and F is the actual tension value;
[0018] Step B2, control output: Based on the collected fishing line tension data and the set tension target, the single chip microcomputer calculates the control output value, converts the calculated control output value into a control signal for controlling the tension adjustment device, and uses the PID control algorithm to calculate the control output. The specific calculation formula is as follows:
[0019] P(t)=K p ·e(t)
[0020] I(t)=K i ·∫e(t)dt
[0021]
[0022] U(t)=P(t)+I(t)+D(t)
[0023] Among them, K p , K i , K d are the proportional, integral and differential gain parameters of the PID controller, P(t) is the proportional control amount at time t, I(t) is the cumulative effect of the error at time t, D(t) is the trend of the error at time t, and U(t) is the output of the PID controller at time t;
[0024] Step B3, triggering an alarm: setting an alarm threshold, comparing the calculated tension error with the set alarm threshold, when the tension error exceeds the set alarm threshold, the control module generates an alarm signal, the alarm signal changes from a low level to a high level, can change the state of the control pin, and transmits the generated signal to the alarm module. After sending the signal, the control module waits for confirmation from the alarm module, further comprising the following steps:
[0025] Step B301, set the alarm threshold: In the program of the single chip microcomputer, set an alarm threshold as e threshold , used to store the alarm trigger value of the fishing line tension. After the control module calculates the tension error each time, it compares it with the set alarm threshold;
[0026] Step B302, trigger alarm condition: when the calculated tension error |e|>e threshold , it is judged that the pulling force deviates from the set target range, and the microcontroller controls the GPIO pin of the alarm module to trigger the alarm action.
[0027] In a preferred embodiment, the single-chip microcomputer is the core control unit of the control module, including an analog input pin and an output pin, the output of the sensor is connected to the analog input pin of the single-chip microcomputer, data from the tension sensor is received, the tension value is calculated, and the control pin of the alarm module is connected to the GPIO output pin of the single-chip microcomputer to trigger the alarm action. The GPIO pin is a general input and output pin, which is configured as an output mode by the single-chip microcomputer, and the behavior of the alarm module is controlled by changing its level state. The specific steps are as follows:
[0028] Step S1, calculating the tension value: initializing the connection and parameter setting of each module, receiving and processing the data from the tension sensor, and using the calibration data and sensitivity of the sensor to convert the digital signal into the actual tension value;
[0029] Step S2, comparing the set threshold: comparing the tension error with the preset alarm threshold to determine whether the tension exceeds the set safety condition;
[0030] Step S3, alarm logic triggering: according to the comparison result, when the pulling force exceeds the set threshold, the alarm logic is triggered, the alarm module is controlled to send a signal, and the equipment is stopped.
[0031] In a preferred embodiment, the alarm module is connected to the single-chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module. The specific steps are as follows:
[0032] Step C1, connecting the control pin of the alarm module to the GPIO output pin of the single-chip microcomputer, receiving the alarm signal from the single-chip microcomputer, and judging the alarm level according to the received signal content, further comprising the following steps:
[0033] Step C101, the single chip microcomputer uses a polling method to read the state of the connected control pin. When the alarm module detects that the state of the connected GPIO pin changes from a low level to a high level, the start time and end time of the signal are recorded, and the duration of the signal is calculated;
[0034] Step C102: Determine whether an alarm is triggered based on the received signal, including verifying the stability and duration of the signal, determining whether the signal is stable by comparing the high level duration of the signal, and defining a minimum stability time threshold T min , when the signal duration exceeds T min , the signal is considered stable and the alarm is triggered;
[0035] Step C103, determine the alarm level: read the current tension error value from the control module, compare the read tension error with the preset alarm threshold, and determine different alarm levels based on the comparison result. threshold <|e|<1.5e threshold , it is judged as a low-level alarm; when 1.5e threshold ≤|e|≤2e threshold , it is judged as a medium-level alarm; when |e|>2e threshold , determined as a high-level alarm;
[0036] Step C2, execute the alarm action: when the alarm is confirmed to be triggered, set the alarm signal output port to a high level to light up the LED, and start the alarm module to make the buzzer sound;
[0037] Step C3, reset and recovery: set a reset signal input port for manually triggering the reset operation. When the single-chip microcomputer detects that the alarm triggering conditions are no longer met, including the monitored tension error returning to the normal range and receiving the manual reset signal, the single-chip microcomputer stops outputting the alarm signal and triggers the reset operation. The reset operation is to set the alarm signal output port to a low level to extinguish the LED and turn off the buzzer, stop the alarm module operation and restore the system state to a normal working state. The alarm state is released, and the alarm state information is sent to the connected display module. The alarm state information includes the trigger time and the alarm level.
[0038] In a preferred embodiment, the display module is connected to the single-chip microcomputer, receives and analyzes the data transmitted from the single-chip microcomputer, and displays it in real time on the display screen, so as to monitor and record the tension change and alarm status information of the fishing line. The specific steps are as follows:
[0039] Step D1, real-time display: receiving the data frame transmitted from the single-chip microcomputer, extracting the tension data and alarm status information therefrom, and displaying the parsed data in real time on the display screen. For monitoring the tension of the fishing line, the display module displays the change trend of the current tension data in a graphical form;
[0040] Step D2, alarm status display: The received data frame contains alarm status information, and the display module displays the corresponding logo according to the alarm level. Different colors are used on the alarm information border of the display screen to indicate different alarm levels. A red border indicates a high-level alarm, a yellow border indicates a medium-level alarm, and a green border indicates a low-level alarm.
[0041] Step D3, record historical data: Add a recording function to the display module to save historical data and display the most recent alarm events for later analysis.
[0042] The beneficial effects of the present invention are as follows: a tension sensor is connected to a single-chip microcomputer using a data acquisition module, tension data of the fishing line is collected and sent to the single-chip microcomputer for processing, and the processed data is wirelessly transmitted to a control module, the control module includes a single-chip microcomputer as its control unit, receives tension data transmitted from the data acquisition module, transmits it to a display module, and sets a tension target value and an alarm threshold value, calculates a tension error by comparing the tension data currently received with the set tension target value, and compares it with the set alarm threshold value, when the alarm threshold value is exceeded, the control module generates an alarm signal, transmits it to the alarm module, connects the alarm module to the single-chip microcomputer, receives the alarm signal from the control module and reads the current tension error value, determines the alarm level according to the received signal content, and sends the alarm status information to the display module, connects the display module to the single-chip microcomputer, receives the data transmitted from the single-chip microcomputer and performs analysis, and is used to display the tension data and alarm status information of the fishing line, and ensures that the tension of each fishing line is within the set safety range by real-time monitoring and precise control of the tension of the fishing line, thereby improving the quality and consistency of product processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 It is a system flow chart of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
[0045] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0046] In the description of the present application, the term "for example" is used to mean "used as an example, illustration or description". Any embodiment described as "for example" in the present application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is given to enable any technician in the field to implement and use the present invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present invention can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details to obscure the description of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.
[0047] Example 1
[0048] This embodiment provides Figure 1 A tension detection system for fishing line processing based on data transmission is shown, which specifically includes a data acquisition module, a control module, an alarm module and a display module;
[0049] The data acquisition module connects the tension sensor to the single-chip microcomputer, collects the tension data of the fishing line and sends it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module;
[0050] The control module includes a single chip microcomputer, which receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module;
[0051] Wherein, the single-chip microcomputer is the control unit of the control module, including an analog input pin and an output pin, connecting the output of the sensor to the analog input pin of the single-chip microcomputer, receiving data from the tension sensor, and connecting the control pin of the alarm module to the output pin of the single-chip microcomputer to trigger the alarm action;
[0052] The alarm module is connected to the single chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module;
[0053] The display module is connected to the single-chip microcomputer, receives and analyzes data transmitted from the single-chip microcomputer, and is used to display the tension data of the fishing line and the alarm status information.
[0054] In this embodiment, what needs to be explained specifically is the data acquisition module, which connects the tension sensor to the single-chip microcomputer, is used to collect the tension data of the fishing line and send it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module, thereby realizing the data flow from the tension sensor to the control module, ensuring that the system can accurately monitor the tension of the fishing line in real time, and improving the control and monitoring capabilities in the production process. The specific steps are as follows:
[0055] Step A1, analog signal conversion: install the tension sensor on the fishing line processing equipment, sense the change of tension of the fishing line during the processing, and output an analog electrical signal according to the change of tension, the magnitude of which is proportional to the tension applied by the fishing line;
[0056] Step A2, analog-to-digital conversion: Use the analog-to-digital converter on the single-chip microcomputer to convert the analog electrical signal output by the sensor into a digital signal. Through measurement and calibration, the digital signal D output by the sensor is converted into the corresponding actual tension value F, and the tension values of multiple sampling points are recorded to obtain the rate of change of tension over time;
[0057] The actual tension value F is expressed as: F=k×D+b, where D is the digital signal output by the sensor, k is the proportionality coefficient used to convert the digital signal into the unit of the actual tension value, and b is the offset used to adjust the offset output by the sensor so that it corresponds more accurately to the zero point of the actual tension;
[0058] Step A3, data transmission: after processing the collected tension data, the single chip microcomputer adds a timestamp and status information, and combines the timestamp, tension data and status information into a data frame, and sends it to the control module;
[0059] The data frame format includes a start byte, a timestamp field, a tension data field, a status information field and a check field.
[0060] In this embodiment, the control module specifically needs to be explained. The control module includes a single chip microcomputer, receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module. The tension target value and the alarm threshold are set so that the system can automatically perform tension control. By comparing the current tension data with the set target value, the system can calculate the tension error, and then adjust the control strategy to keep it within the expected range. The specific steps are as follows:
[0061] Step B1, setting the tension target value: the single chip parses the received data frame, extracts the tension data F, and sets the target tension value, and calculates the current tension error as e=F target -F, where e is the tension error, F target is the target tension value, and F is the actual tension value; the tension target value is the expected target tension, and the alarm threshold is the maximum value of the tension error allowed;
[0062] Step B2, control output: Based on the collected fishing line tension data and the set tension target, the microcontroller calculates the control output value, converts the calculated control output value into a control signal, and uses the PID control algorithm to calculate the control output. The PID control algorithm can control the tension detection system so that it can respond quickly to changes, maintain a stable operating state, and generate an alarm when necessary to prevent system damage. The specific calculation formula is as follows:
[0063] P(t)=K p ·e(t)
[0064] I(t)=K i ·fe(t)dt
[0065]
[0066] U(t)=P(t)+I(t)+D(t)
[0067] Among them, K p , K i , K d are the proportional, integral and differential gain parameters of the PID controller, P(t) is the proportional control amount at time t, I(t) is the cumulative effect of the error at time t, D(t) is the trend of the error at time t, and U(t) is the output of the PID controller at time t;
[0068] Step B3, triggering an alarm: setting an alarm threshold, comparing the calculated tension error with the set alarm threshold, when the tension error exceeds the set alarm threshold, the control module generates an alarm signal, the alarm signal changes from a low level to a high level, can change the state of the control pin, and transmits the generated signal to the alarm module. After sending the signal, the control module waits for confirmation from the alarm module, which helps to quickly discover abnormal conditions and avoid equipment damage, further comprising the following steps:
[0069] Step B301, set the alarm threshold: In the program of the single chip microcomputer, set an alarm threshold as e threshold , used to store the alarm trigger value of the fishing line tension. After the control module calculates the tension error each time, it compares it with the set alarm threshold;
[0070] Step B302, trigger alarm condition: when the calculated tension error |e|>e threshold , it is judged that the pulling force deviates from the set target range, and the single chip microcomputer controls the GPIO pin of the alarm module to trigger the alarm action;
[0071] The single-chip microcomputer is the core control unit of the control module, including analog input pins and output pins. The output of the sensor is connected to the analog input pin of the single-chip microcomputer, data from the tension sensor is received, and the tension value is calculated. The control pin of the alarm module is connected to the GPIO output pin of the single-chip microcomputer to trigger the alarm action. The GPIO pin is a general input and output pin, which is configured as an output mode by the single-chip microcomputer. The behavior of the alarm module is controlled by changing its level state. The specific steps are as follows:
[0072] Step S1, calculating the tension value: initializing the connection and parameter setting of each module, receiving and processing the data from the tension sensor, and using the calibration data and sensitivity of the sensor to convert the digital signal into the actual tension value;
[0073] Step S2, comparing the set threshold: comparing the tension error with the preset alarm threshold to determine whether the tension exceeds the set safety condition;
[0074] Step S3, alarm logic triggering: according to the comparison result, when the pulling force exceeds the set threshold, the alarm logic is triggered, the alarm module is controlled to send a signal, and the equipment is stopped.
[0075] In this embodiment, the alarm module is specifically required to be explained. The alarm module is connected to the single-chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module. The specific steps are as follows:
[0076] Step C1, connecting the control pin of the alarm module to the GPIO output pin of the single-chip microcomputer, receiving the alarm signal from the single-chip microcomputer, and judging the alarm level according to the received signal content, further comprising the following steps:
[0077] Step C101, the single chip microcomputer uses a polling method to read the state of the connected control pin. When the alarm module detects that the state of the connected GPIO pin changes from a low level to a high level, the start time and end time of the signal are recorded, and the duration of the signal is calculated;
[0078] Step C102: Determine whether an alarm is triggered based on the received signal, including verifying the stability and duration of the signal to ensure that it is not a false alarm caused by instantaneous noise or interference. Determine whether the signal is stable by comparing the duration of the high level of the signal, and define a minimum stability time threshold T.min , when the signal duration exceeds T min , the signal is considered stable and the alarm is triggered;
[0079] Step C103, determine the alarm level: read the current tension error value from the control module, compare the read tension error with the preset alarm threshold, and determine different alarm levels based on the comparison result. threshold <|e|<1.5e threshold , it is judged as a low-level alarm, indicating that the tension of the fishing line slightly deviates from the target range; when 1.5e threshold ≤|e|≤2e threshold , it is judged as a medium-level alarm, indicating that the tension deviates greatly from the target range; when |e|>2e threshold , it is judged as a high-level alarm, indicating that the tension deviates significantly from the target range;
[0080] Step C2, execute the alarm action: when the alarm is confirmed to be triggered, set the alarm signal output port to a high level to light up the LED, and start the alarm module to make the buzzer sound;
[0081] Step C3, reset and recovery: set a reset signal input port for manually triggering the reset operation. When the single-chip microcomputer detects that the alarm triggering conditions are no longer met, including the monitored tension error returning to the normal range and receiving the manual reset signal, the single-chip microcomputer stops outputting the alarm signal and triggers the reset operation. The reset operation is to set the alarm signal output port to a low level to extinguish the LED and turn off the buzzer, stop the alarm module operation and restore the system state to a normal working state. The alarm state is released, and the alarm state information is sent to the connected display module. The alarm state information includes the trigger time and the alarm level.
[0082] In this embodiment, the display module specifically needs to be explained. The display module is connected to the single-chip microcomputer, receives and analyzes the data transmitted from the single-chip microcomputer, and displays it in real time on the display screen, which is used to monitor and record the tension change and alarm status information of the fishing line, and can effectively monitor the tension of the fishing line and improve the control and safety of the production process. The specific steps are as follows:
[0083] Step D1, real-time display: receiving the data frame transmitted from the single-chip microcomputer, extracting the tension data and alarm status information therefrom, and displaying the parsed data on the display screen in real time. For the monitoring of the tension of the fishing line, the display module displays the change trend of the current tension data in a graphical form. This real-time display helps the operator to accurately understand the current system status;
[0084] Step D2, alarm status display: The received data frame contains alarm status information, and the display module displays the corresponding logo according to the alarm level. Different colors are used on the alarm information border of the display screen to indicate different alarm levels. A red border indicates a high-level alarm, a yellow border indicates a medium-level alarm, and a green border indicates a low-level alarm.
[0085] Step D3, record historical data: Add a recording function to the display module to save historical data and display the most recent alarm events for later analysis.
[0086] It should be noted that in the above embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0087] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0088] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0089] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0091] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0092] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A tension detection system for fishing line processing based on data transmission, characterized in that: It includes data acquisition module, control module, alarm module and display module; The data acquisition module connects the tension sensor to the single-chip microcomputer, collects the tension data of the fishing line and sends it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module; The control module includes a single chip microcomputer, which receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module; Wherein, the single-chip microcomputer is the control unit of the control module, including an analog input pin and an output pin, connecting the output of the sensor to the analog input pin of the single-chip microcomputer, receiving data from the tension sensor, and connecting the control pin of the alarm module to the output pin of the single-chip microcomputer to trigger the alarm action; The alarm module is connected to the single chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module; The display module is connected to the single-chip microcomputer, receives and analyzes data transmitted from the single-chip microcomputer, and is used to display the tension data of the fishing line and the alarm status information.
2. A tension detection system for fishing line processing based on data transmission according to claim 1, characterized in that: The data acquisition module connects the tension sensor to the single-chip microcomputer, collects the tension data of the fishing line and sends it to the single-chip microcomputer for processing, and wirelessly transmits the processed data to the control module. The specific steps are as follows: Step A1, analog signal conversion: install the tension sensor on the fishing line processing equipment, sense the change of tension of the fishing line during the processing, and output an analog electrical signal according to the change of tension, the magnitude of which is proportional to the tension applied by the fishing line; Step A2, analog-to-digital conversion: Use the analog-to-digital converter on the single-chip microcomputer to convert the analog electrical signal output by the sensor into a digital signal. Through measurement and calibration, the digital signal D output by the sensor is converted into the corresponding actual tension value F, and the tension values of multiple sampling points are recorded to obtain the rate of change of tension over time; The actual pulling force value F is expressed as: F=k×D+b, where D is the digital signal output by the sensor, k is the proportional coefficient, and b is the offset; Step A3, data transmission: After processing the collected tension data, the single chip microcomputer adds a timestamp and status information, and combines the timestamp, tension data and status information into a data frame, and sends it to the control module.
3. A tension detection system for fishing line processing based on data transmission according to claim 1, characterized in that: The control module includes a single chip microcomputer, receives the tension data transmitted from the data acquisition module, transmits it to the display module, and sets the tension target value and the alarm threshold. By comparing the currently received tension data with the set tension target value, the tension error is calculated and compared with the set alarm threshold. When the alarm threshold is exceeded, the control module generates an alarm signal and transmits it to the alarm module. The specific steps are as follows: Step B1, setting the tension target value: the single chip parses the received data frame, extracts the tension data F, and sets the target tension value, and calculates the current tension error as e=F target -F, where e is the tension error, F target is the target tension value, and F is the actual tension value; Step B2, control output: Based on the collected fishing line tension data and the set tension target, the single chip microcomputer calculates the control output value, converts the calculated control output value into a control signal for controlling the tension adjustment device, and uses the PID control algorithm to calculate the control output. The specific calculation formula is as follows: P(t)=K p ·e(t) I(t)=K i ·∫e(t)dt U(t)=P(t)+I(t)+D(t) Among them, K p , K i , K d are the proportional, integral and differential gain parameters of the PID controller, P(t) is the proportional control amount at time t, I(t) is the cumulative effect of the error at time t, D(t) is the trend of the error at time t, and U(t) is the output of the PID controller at time t; Step B3, triggering an alarm: setting an alarm threshold, comparing the calculated tension error with the set alarm threshold, when the tension error exceeds the set alarm threshold, the control module generates an alarm signal, the alarm signal changes from a low level to a high level, can change the state of the control pin, and transmit the generated signal to the alarm module.
4. A tension detection system for fishing line processing based on data transmission according to claim 3, characterized in that: In the step B3, an alarm threshold is set, and the calculated tension error is compared with the set alarm threshold. When the tension error exceeds the set alarm threshold, the control module generates an alarm signal, which further includes the following steps: Step B301, set the alarm threshold: In the program of the single chip microcomputer, set an alarm threshold as e threshold , used to store the alarm trigger value of the fishing line tension. After the control module calculates the tension error each time, it compares it with the set alarm threshold; Step B302, trigger alarm condition: when the calculated tension error |e|>e threshold , it is judged that the pulling force deviates from the set target range, and the microcontroller controls the GPIO pin of the alarm module to trigger the alarm action.
5. A tension detection system for fishing line processing based on data transmission according to claim 1, characterized in that: The alarm module is connected to the single-chip microcomputer, receives the alarm signal from the control module and reads the current value of the tension error, determines the alarm level according to the received signal content, and sends the alarm status information to the display module. The specific steps are as follows: Step C1, judging the alarm level: connecting the control pin of the alarm module to the GPIO output pin of the single-chip microcomputer, receiving the alarm signal from the single-chip microcomputer, and judging the alarm level according to the content of the received signal; Step C2, execute the alarm action: when the alarm is confirmed to be triggered, set the alarm signal output port to a high level to light up the LED, and start the alarm module to make the buzzer sound; Step C3, reset and recovery: set a reset signal input port for manually triggering the reset operation. When the single-chip microcomputer detects that the tension error returns to the normal range and receives the manual reset signal, the single-chip microcomputer stops outputting the alarm signal, triggers the reset operation, and sends the alarm status information to the connected display module. The alarm status information includes the trigger time and the alarm level.
6. A tension detection system for fishing line processing based on data transmission according to claim 5, characterized in that: In the step C1 of determining the alarm level, the control pin of the alarm module is connected to the GPIO output pin of the single-chip microcomputer, an alarm signal from the single-chip microcomputer is received, and the alarm level is determined according to the content of the received signal, further comprising the following steps: Step C101, the single chip microcomputer uses a polling method to read the state of the connected control pin. When the alarm module detects that the state of the connected GPIO pin changes from a low level to a high level, the start time and end time of the signal are recorded, and the duration of the signal is calculated; Step C102: Determine whether an alarm is triggered based on the received signal, including verifying the stability and duration of the signal, determining whether the signal is stable by comparing the high level duration of the signal, and defining a minimum stability time threshold T min , when the signal duration exceeds T min , then the signal is judged to be stable and the alarm is triggered; Step C103, determine the alarm level: read the current tension error value from the control module, compare the read tension error with the preset alarm threshold, and determine different alarm levels based on the comparison result. threshold <|e|<1.5e threshold , it is judged as a low-level alarm; when 1.5e threshold ≤|e|≤2e threshold , it is judged as a medium-level alarm; when |e|>2e threshold , determined as a high-level alarm.
7. A tension detection system for fishing line processing based on data transmission according to claim 1, characterized in that: The display module is connected to the single-chip microcomputer, receives and analyzes the data transmitted from the single-chip microcomputer, and displays it in real time on the display screen, which is used to monitor and record the tension change and alarm status information of the fishing line. The specific steps are as follows: Step D1, real-time display: receiving the data frame transmitted from the single-chip microcomputer, extracting the tension data and alarm status information therefrom, and displaying the parsed data on the display screen in real time. For monitoring the tension of the fishing line, the display module displays the change trend of the current tension data in a graphical form; Step D2, alarm status display: The received data frame contains alarm status information, and the display module displays the corresponding logo according to the alarm level. Different colors are used on the alarm information border of the display screen to indicate different alarm levels. A red border indicates a high-level alarm, a yellow border indicates a medium-level alarm, and a green border indicates a low-level alarm. Step D3, record historical data: add a recording function in the display module to save historical data and display the most recent alarm events.
Citation Information
Patent Citations
Yarn tension detection device with alarm function
CN102706501A
Yarn tension measuring and controlling system
CN102749936A
Tensile force early warning method and system
CN103575444A
Tension detection device for processing fishing line
CN114720278A
Fishing pole capable of recording fishing data
CN116349658A
