Electric tool non-contact data acquisition method and system based on infrared sensing
Through the contactless data acquisition method based on infrared sensing, the wear problem of power tool labels is solved, comprehensive monitoring of tool usage is achieved, and data acquisition efficiency and security are improved.
Patent Information
- Application Number
- CN202411423085.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2025-01-07
AI Technical Summary
Physical labels in existing power tools are easily worn or contaminated after long-term use, making it difficult to read information, and cannot record the tool's usage status and cumulative usage time, limiting the comprehensive monitoring of tool usage.
Using a non-contact data acquisition method based on infrared sensing, the data of the power tool is acquired, the encoding rules are constructed, and the encoded electrical signal is converted into infrared light signals using infrared transmitters. The signal feature extraction model is used to analyze the signal quality and build wireless The communication receiving module converts infrared light signals into electrical signals, and decodes and transcodes them through the main control module, and finally displays readable data on the display module.
It improves the efficiency and convenience of data acquisition, ensures high efficiency, safety and reliability of data during transmission, avoids wear and interference caused by physical contact, and realizes comprehensive monitoring of the use of power tools.
Smart Images

Figure CN119274324A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electromechanical products, and in particular to a non-contact data acquisition method and system for electric tools based on infrared sensing. Background Art
[0002] Infrared sensing power tool non-contact data acquisition refers to the use of infrared sensors to capture the thermal radiation or reflected infrared light generated by the power tool during operation, so as to obtain data such as the tool's operating status and usage, without the need for physical contact with the tool itself. This can reduce wear and avoid interfering with the normal operation of the tool. It can also work in dangerous or inconvenient environments.
[0003] Currently, most power tools use physical tags to record serial numbers and production information, but these tags are easily worn and contaminated during long-term use, making the information difficult to read. Physical tags cannot record the tool's usage status and cumulative usage time, which limits the comprehensive monitoring of tool usage and makes information difficult to read. Summary of the invention
[0004] The present invention provides a non-contact data collection method and system for electric tools based on infrared sensing, the main purpose of which is to improve the efficiency and convenience of data collection.
[0005] To achieve the above object, the present invention provides a non-contact data collection method for electric tools based on infrared sensing, comprising:
[0006] Acquire power tool data of the power tool, extract target sending data of the power tool data, construct a coding rule for the target sending data, encode the target sending data based on the coding rule to obtain a coded electric signal, convert the coded electric signal into an infrared light signal using a preset infrared transmitter, construct a signal feature extraction model for the infrared light signal, analyze the signal quality of the infrared light signal using the signal feature extraction model, and when the signal quality meets a preset quality standard, use the infrared light signal as a target infrared light signal;
[0007] Constructing a wireless communication receiving module of the electric tool, converting the target infrared light signal into a target electrical signal by using the wireless communication receiving module, analyzing the signal amplitude of the wireless communication receiving module, amplifying the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filtering the amplified electrical signal to obtain a filtered electrical signal, and comparing the filtered electrical signal by using a comparator corresponding to the wireless communication receiving module to obtain a high and low level signal;
[0008] Constructing a main control module of the electric tool, constructing a data parsing algorithm of the main control module based on the encoding rule, decoding the high and low level signals using the main control module based on the data parsing algorithm to obtain decoded data, determining data collection requirements of the electric tool, and transcoding the decoded data according to the data collection requirements to obtain transcoded data;
[0009] A display module of the electric tool is constructed, and according to the data collection requirements, the transcoded data is converted into readable data using the display module.
[0010] Optionally, constructing the encoding rule of the target sending data includes:
[0011] Analyzing the encoding requirements of the target sent data, and determining the data format of the target sent data according to the encoding requirements;
[0012] Identify the data field of the target sent data, and determine the field type and field order of the data field;
[0013] Determining a data representation of the target sent data according to the field type and the field order;
[0014] Analyzing the character type of the target sent data, and determining the character encoding of the target sent data according to the character type;
[0015] Based on the encoding requirement, determining an encoding method of the target transmission data, wherein the encoding method includes: pulse width modulation (PWM) and pulse position modulation (PPM);
[0016] An encryption method for the target data to be sent is constructed, and encoding rules for the target data to be sent are determined according to the encryption method, the encoding mode, the character encoding, the data representation and the data format.
[0017] Optionally, encoding the target transmission data based on the encoding rule to obtain an encoded electrical signal includes:
[0018] Based on the encoding rule, the target transmission data is subjected to standardization conversion to obtain a standard digital signal;
[0019] Determine the coding parameters of the coding method corresponding to the coding rule, wherein the coding parameters include: pulse period, duty cycle, pulse frequency and pulse interval;
[0020] Determining a pulse waveform of the encoding method according to the encoding requirements corresponding to the encoding rule;
[0021] Based on the pulse waveform, the standard digital signal is mapped to a coding parameter to obtain a coded electrical signal.
[0022] Optionally, analyzing the signal quality of the infrared light signal by using the signal feature extraction model includes:
[0023] Using a preset sensor to collect signal data of the infrared light signal;
[0024] Preprocessing the signal data to obtain preprocessed signal data;
[0025] Performing signal segmentation on the preprocessed signal data to obtain signal data segments;
[0026] The signal data segment is analyzed using the signal feature extraction model to obtain signal features, wherein the signal features include: statistical features, time domain features, frequency domain features and time-frequency features.
[0027] Calculating a signal performance index of the infrared light signal according to the signal characteristics;
[0028] The signal quality of the infrared light signal is determined according to the signal performance indicator.
[0029] Optionally, the wireless communication receiving module for constructing the electric tool includes:
[0030] Analyzing the receiving module requirements of the electric tool;
[0031] According to the receiving module requirements, determining the receiving module components used to construct the wireless communication receiving module, wherein the receiving module components include: an infrared receiving sensor, an operational amplifier, a filter, a comparator and a power management IC;
[0032] Determine a circuit topology of the receiving module component, and construct a circuit diagram of the receiving module component according to the circuit topology;
[0033] According to the circuit diagram, construct a PCB board of the receiving module assembly;
[0034] The receiving module assembly is installed on a PCB board to obtain the wireless communication receiving module of the electric tool.
[0035] Optionally, using a comparator corresponding to the wireless communication receiving module to compare the filtered electrical signal to obtain a high level and a low level signal includes:
[0036] Extracting comparator parameters of the comparator, wherein the comparator parameters include: input voltage range, output voltage range and response time;
[0037] Constructing a threshold resistor network of the comparator, and determining a reference voltage of the threshold resistor network according to the comparator parameters;
[0038] The threshold resistor network is connected to the negative input terminal of the comparator, and the threshold voltage of the negative input terminal is determined by the following formula according to the reference voltage:
[0039]
[0040] Among them, U y represents the threshold voltage, U c represents the reference voltage, R1 represents the corresponding voltage divider resistor in the threshold resistor network, and R2 represents the corresponding reference resistor in the threshold resistor network;
[0041] Connecting the filtered electrical signal to the positive input terminal of the comparator to obtain a signal voltage;
[0042] The comparator is used to compare the signal voltage with the threshold voltage to obtain high and low level signals.
[0043] Optionally, constructing a data parsing algorithm of the main control module based on the encoding rule includes:
[0044] Extracting the signal to be analyzed from the main control module;
[0045] Analyze the mapping relationship between the encoding parameters corresponding to the encoding rules and the signal to be analyzed;
[0046] Constructing the parsing logic of the signal to be parsed according to the mapping relationship;
[0047] Constructing an algorithm framework of the main control module, wherein the algorithm framework includes: a pulse parameter detection module, a data extraction module and a data conversion module;
[0048] According to the analysis logic and algorithm framework, a data analysis algorithm of the main control module is constructed.
[0049] Optionally, based on the data parsing algorithm, the high and low level signals are decoded by the main control module to obtain decoded data, including:
[0050] Based on the data analysis algorithm, detecting the number of high-level signals and the number of low-level signals of the high- and low-level signals;
[0051] Determine the pulse state of the high and low level signals, wherein the pulse state includes: pulse and no pulse;
[0052] When the pulse state is a pulse, calculating the pulse probability of the high-level signal corresponding to the high-level signal;
[0053] When the pulse state is no pulse, calculating the no pulse probability of the high-level signal corresponding to the high-level signal of the high-low level signal;
[0054] Calculating the pulse-free cumulative distribution of the high-level signal according to the pulse-free probability;
[0055] According to the number of high-level signals, the number of low-level signals, the pulse state, the probability of pulse presence, the probability of no pulse, and the cumulative distribution of no pulse, a series of formulas are used to calculate the decoding parameters of the high and low-level signals:
[0056]
[0057] Among them, G e represents the decoding parameters, n represents the number of high-level signals, N represents the number of low-level signals, i represents the i-th high-level signal, j represents the j-th low-level signal, h represents the pulse state corresponding to the pulse, w represents the pulse state corresponding to the no pulse, P a / b (i / h) represents the pulse probability corresponding to the i-th high-level signal when there is a pulse, P a / b (i / w) represents the pulse-free probability corresponding to the i-th high-level signal when there is no pulse, F a / b (i / w) N-j represents the pulse-free cumulative distribution corresponding to the i-th high-level signal when there is no pulse;
[0058] The decoded data of the high and low level signals are analyzed according to the decoding parameters.
[0059] Optionally, the step of transcoding the decoded data according to the data collection requirement to obtain transcoded data includes:
[0060] Analyze the data requirement format and data requirement type of the data collection requirement;
[0061] Mapping the decoded data according to the data requirement format and the data requirement type to obtain mapped data;
[0062] Transforming the mapped data to obtain transformed data;
[0063] Verifying the converted data to obtain a verification result, and analyzing the data quality of the converted data according to the verification result;
[0064] When the data quality meets the preset quality standard, the converted data is used as transcoded data.
[0065] In order to solve the above problems, the present invention also provides a non-contact data acquisition system for electric tools based on infrared sensing, the system comprising:
[0066] a signal sending module, used for acquiring the electric tool data of the electric tool, extracting the target sending data of the electric tool data, constructing a coding rule for the target sending data, encoding the target sending data based on the coding rule to obtain a coded electric signal, converting the coded electric signal into an infrared light signal by using a preset infrared transmitter, constructing a signal feature extraction model for the infrared light signal, analyzing the signal quality of the infrared light signal by using the signal feature extraction model, and taking the infrared light signal as a target infrared light signal when the signal quality meets a preset quality standard;
[0067] A signal receiving module, used to construct a wireless communication receiving module of the electric tool, convert the target infrared light signal into a target electrical signal by using the wireless communication receiving module, analyze the signal amplitude of the wireless communication receiving module, amplify the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filter the amplified electrical signal to obtain a filtered electrical signal, and compare the filtered electrical signal by using a comparator corresponding to the wireless communication receiving module to obtain a high and low level signal;
[0068] A signal conversion module, used to construct a main control module of the electric tool, construct a data analysis algorithm of the main control module based on the encoding rule, decode the high and low level signals using the main control module based on the data analysis algorithm to obtain decoded data, determine the data collection requirements of the electric tool, and transcode the decoded data according to the data collection requirements to obtain transcoded data;
[0069] A data display module is used to construct a display module of the electric tool, and according to the data collection requirements, the transcoded data is converted into readable data using the display module.
[0070] The embodiment of the present invention can ensure that all the data sent follows a unified format by constructing the encoding rules of the target sent data, which is convenient for the receiving end to correctly analyze and use; optionally, the embodiment of the present invention can encode the target sent data based on the encoding rules to obtain the encoded electrical signal, which can help ensure the efficiency, safety and reliability of the data during the transmission process, thereby improving the quality and efficiency of data transmission; the embodiment of the present invention can operate the electric tool without touching the tool by constructing the wireless communication receiving module of the electric tool, thereby improving the safety and convenience of operation; the embodiment of the present invention can compare the filtered electrical signal by using the comparator corresponding to the wireless communication receiving module to obtain the high and low level signals to identify the logical state of the signal, thereby identifying the encoding or data information of the original infrared light signal; the embodiment of the present invention can decode the high and low level signals by using the main control module based on the data analysis algorithm to obtain the decoded data, which can record the decoded data for subsequent analysis, and finally, the embodiment of the present invention can display the required collected data on the display module completely and clearly by constructing the display module of the electric tool, which is convenient for users to use and analyze. Therefore, the present invention can improve the efficiency and convenience of data collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 A schematic diagram of a flow chart of a non-contact data collection method for an electric tool based on infrared sensing provided by an embodiment of the present invention;
[0072] Figure 2 A functional module diagram of a non-contact data acquisition system for electric tools based on infrared sensing provided by an embodiment of the present invention;
[0073] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0074] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0075] The embodiment of the present application provides a non-contact data collection method for electric tools based on infrared sensing. The execution subject of the non-contact data collection method for electric tools based on infrared sensing includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided in the embodiment of the present application. In other words, the non-contact data collection method for electric tools based on infrared sensing can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0076] Reference Figure 1 FIG. 1 is a flow chart of a non-contact data collection method for an electric tool based on infrared sensing provided by an embodiment of the present invention. In this embodiment, the non-contact data collection method for an electric tool based on infrared sensing includes:
[0077] S1. Acquire the power tool data of the power tool, extract the target sending data of the power tool data, construct a coding rule for the target sending data, encode the target sending data based on the coding rule to obtain a coded electric signal, use a preset infrared transmitter to convert the coded electric signal into an infrared light signal, construct a signal feature extraction model for the infrared light signal, use the signal feature extraction model to analyze the signal quality of the infrared light signal, and when the signal quality meets the preset quality standard, use the infrared light signal as the target infrared light signal.
[0078] The embodiment of the present invention can provide a data basis for subsequent data transmission and analysis by acquiring the power tool data of the power tool, wherein the power tool data refers to various information related to the use, performance and status of the power tool.
[0079] The embodiment of the present invention can improve the management efficiency and use value of the power tool by extracting the target transmission data of the power tool data, wherein the target transmission data refers to a specific data set extracted from the power tool and prepared to be transmitted for a specific purpose.
[0080] Optionally, as an embodiment of the present invention, the target sending data for extracting the power tool data can be extracted by a SQL query method, wherein the SQL query refers to a method of using structured query language to interact with a database to retrieve, operate and manage data at work.
[0081] The embodiment of the present invention can ensure that all sent data follows a unified format by constructing the encoding rules of the target sent data, so as to facilitate the correct parsing and use by the receiving end. The encoding rules refer to a set of rules or conventions that define how to convert data from one format to another format.
[0082] As an embodiment of the present invention, the step of constructing the encoding rule of the target sending data includes:
[0083] Analyzing the encoding requirements of the target sent data, and determining the data format of the target sent data according to the encoding requirements;
[0084] Identify the data field of the target sent data, and determine the field type and field order of the data field;
[0085] Determining a data representation of the target sent data according to the field type and the field order;
[0086] Analyzing the character type of the target sent data, and determining the character encoding of the target sent data according to the character type;
[0087] Based on the encoding requirement, determining an encoding method of the target transmission data, wherein the encoding method includes: pulse width modulation (PWM) and pulse position modulation (PPM);
[0088] An encryption method for the target data to be sent is constructed, and encoding rules for the target data to be sent are determined according to the encryption method, the encoding mode, the character encoding, the data representation and the data format.
[0089] Among them, the encoding requirement refers to the necessary conditions and requirements for encoding data in order to meet specific goals or application scenarios during data transmission, storage or processing. The data format refers to the structure or mode in which data is organized, stored and transmitted. The data field refers to a single data unit defined in the data format. The field type refers to the attribute of a single data unit in the data, such as numerical value, text, date, Boolean value, etc. The field order refers to the order in which data fields are arranged in the data. The data representation refers to the representation of data in a specific data format. The character type refers to the data type of the character field defined in the data format. The pulse width modulation is a way of transmitting information by changing the width of the pulse. The pulse position modulation is a way of transmitting information by changing the position of the pulse on the time axis. The encryption method refers to the cryptographic technology used in the process of data transmission or storage to protect data from unauthorized access or theft.
[0090] Optionally, the determining of the field type and field order of the data field may be performed by analyzing using natural language processing technology.
[0091] The embodiment of the present invention can help ensure the efficiency, security and reliability of data transmission by encoding the target transmission data based on the encoding rule to obtain the encoded electrical signal, thereby improving the quality and efficiency of data transmission. The encoded electrical signal refers to the target transmission data converted into an electrical signal in a form suitable for transmission and processing after a specific encoding process.
[0092] As an embodiment of the present invention, encoding the target transmission data based on the encoding rule to obtain the encoded electrical signal includes:
[0093] Based on the encoding rule, the target transmission data is subjected to standardization conversion to obtain a standard digital signal;
[0094] Determine the coding parameters of the coding method corresponding to the coding rule, wherein the coding parameters include: pulse period, duty cycle, pulse frequency and pulse interval;
[0095] Determining a pulse waveform of the encoding method according to the encoding requirements corresponding to the encoding rule;
[0096] Based on the pulse waveform, the standard digital signal is mapped to a coding parameter to obtain a coded electrical signal.
[0097] Among them, the standard digital signal refers to a digital signal in which the target transmission data is converted into a digital format suitable for transmission and processing. The encoding parameters refer to the specific parameters used to define the pulse width modulation (PWM) or pulse position modulation (PPM) encoding method. The pulse period refers to the time required for a complete pulse sequence in a pulse sequence. The duty cycle refers to the proportion of the period occupied by the high-level part of the pulse. The pulse frequency refers to the repetition rate of the pulse in the pulse sequence, that is, the number of pulses per second. The pulse interval refers to the minimum time interval between adjacent pulses in a pulse sequence. The pulse waveform refers to the waveform shape used in pulse width modulation (PWM) or pulse position modulation (PPM), such as square wave, triangle wave, sawtooth wave, etc.
[0098] Optionally, the coding parameters of the coding method corresponding to the coding rule may be determined by simulation and emulation.
[0099] Optionally, the pulse waveform of the transmission mode determined according to the coding requirement corresponding to the coding rule can be determined by communication protocol analysis.
[0100] Exemplarily, the standard digital signal is mapped to a coding parameter. If the value range of the standard digital signal is 0 to 100, each value can be mapped to the duty cycle of a square wave, where 0 corresponds to 0% duty cycle and 100 corresponds to 100% duty cycle.
[0101] The embodiment of the present invention can effectively resist electromagnetic interference and radio frequency interference by using a preset infrared transmitter to convert the encoded electrical signal into an infrared light signal, thereby achieving efficient and reliable data transmission. The infrared light signal refers to the infrared light wave converted by the infrared transmitter into the encoded electrical signal.
[0102] The embodiment of the present invention can monitor the transmission quality of infrared light signals in real time by constructing the signal feature extraction model of the infrared light signal to ensure that the signal remains stable during the transmission process. The signal feature extraction model refers to a mathematical model or algorithm for evaluating and monitoring the signal quality during the signal transmission process.
[0103] Optionally, the signal feature extraction model for constructing the infrared light signal may be constructed by a statistical analysis method.
[0104] The embodiment of the present invention can realize real-time monitoring of infrared light signals by analyzing the signal quality of the infrared light signals using the signal feature extraction model, timely discover changes in signal quality, and ensure that the signal remains stable during transmission. The signal quality refers to the overall performance of the signal during transmission, including its strength, stability, noise level, integrity, transmission rate, etc.
[0105] As an embodiment of the present invention, the analyzing the signal quality of the infrared light signal by using the signal feature extraction model includes:
[0106] Using a preset sensor to collect signal data of the infrared light signal;
[0107] Preprocessing the signal data to obtain preprocessed signal data;
[0108] Performing signal segmentation on the preprocessed signal data to obtain signal data segments;
[0109] The signal data segment is analyzed using the signal feature extraction model to obtain signal features, wherein the signal features include: statistical features, time domain features, frequency domain features and time-frequency features.
[0110] Calculating a signal performance index of the infrared light signal according to the signal characteristics;
[0111] The signal quality of the infrared light signal is determined according to the signal performance indicator.
[0112] Among them, the signal data refers to the data of the infrared light signal collected from the preset sensor, which represents the intensity, frequency, waveform and other information of the infrared light signal. The signal data fragment refers to a small piece of data divided in the time or frequency domain. The signal feature refers to a set of values or parameters extracted from the signal data that can reflect the essential properties and important information of the signal. The statistical feature refers to a parameter that can reflect the volatility and distribution characteristics of the signal, such as the mean value, variance, standard deviation, etc. of the signal. The time domain feature refers to a parameter that describes the characteristics of the signal on the time axis, such as the amplitude, waveform, pulse width, etc. of the signal. The frequency domain feature refers to a parameter that describes the energy distribution of the signal in different frequency ranges, such as the frequency distribution and power spectrum density of the signal. The time-frequency feature refers to a parameter that combines the information of time and frequency and can more comprehensively describe the characteristics of the signal, such as the instantaneous frequency and time-frequency distribution of the signal. The signal performance index refers to a series of indicators used to determine the quality of signal transmission or processing, such as signal strength, stability, noise level, integrity, transmission rate, etc.
[0113] Optionally, the signal data segments obtained by performing signal segmentation on the preprocessed signal data may be segmented according to specific time segments.
[0114] Optionally, the signal quality of the infrared light signal determined according to the signal performance indicator can be determined by calculating a signal quality index, wherein the signal quality index refers to a comprehensive indicator for evaluating signal quality, combining multiple signal performance indicators related to signal quality to provide a comprehensive signal performance evaluation.
[0115] The embodiment of the present invention can ensure that the transmitted infrared signal meets the requirements by using the infrared light signal as the target infrared light signal when the signal quality meets the preset quality standard. The target infrared light signal refers to an infrared light signal that reaches a predefined or expected level according to a specific communication protocol or application requirement in data transmission.
[0116] S2. Construct a wireless communication receiving module of the electric tool, use the wireless communication receiving module to convert the target infrared light signal into a target electrical signal, analyze the signal amplitude of the wireless communication receiving module, amplify the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filter the amplified electrical signal to obtain a filtered electrical signal, and use a comparator corresponding to the wireless communication receiving module to compare the filtered electrical signals to obtain high and low level signals.
[0117] The embodiment of the present invention can operate the electric tool without touching the tool by constructing a wireless communication receiving module of the electric tool, thereby improving the safety and convenience of operation. The wireless communication receiving module refers to a device that can receive wireless signals and convert them into a signal form that can be used by other electronic devices or systems.
[0118] As an embodiment of the present invention, the wireless communication receiving module for constructing the electric tool includes:
[0119] Analyzing the receiving module requirements of the electric tool;
[0120] According to the receiving module requirements, determining the receiving module components used to construct the wireless communication receiving module, wherein the receiving module components include: an infrared receiving sensor, an operational amplifier, a filter, a comparator and a power management IC;
[0121] Determine a circuit topology of the receiving module component, and construct a circuit diagram of the receiving module component according to the circuit topology;
[0122] According to the circuit diagram, construct a PCB board of the receiving module assembly;
[0123] The receiving module assembly is installed on a PCB board to obtain the wireless communication receiving module of the electric tool.
[0124] Among them, the receiving module requirements refer to a series of specific technical specifications and functional requirements that the wireless communication receiving module in the power tool should meet. The receiving module assembly refers to the various electronic components and parts that constitute the wireless communication receiving module. The infrared receiving sensor refers to an electronic device that can detect infrared light and convert it into an electrical signal. The operational amplifier refers to an electronic amplifier with high input impedance, low output impedance and variable gain. The filter refers to an electronic circuit that allows signals of a specific frequency to pass while suppressing other frequency signals. The comparator refers to an electronic circuit that compares the magnitude of two input voltages (or currents) and outputs a logic signal representing the relationship between the two. The power management IC refers to an integrated circuit specially designed to manage the supply, conversion, protection and distribution of power. The circuit topology refers to the connection method and structural layout between the various electronic components in the wireless communication receiving module. The circuit diagram refers to a graphical representation that shows all the electronic components in the wireless communication receiving module and their connection relationship with each other. The PCB board refers to a conductive medium used to support and connect electronic components.
[0125] Optionally, the circuit topology of the receiving module component may be determined by performing simulation tests using circuit simulation software.
[0126] The embodiment of the present invention can efficiently convert the infrared light signal into an electrical signal by using the wireless communication receiving module to convert the target infrared light signal into a target electrical signal, thereby ensuring the efficiency and accuracy of signal transmission. The target electrical signal refers to the electrical signal used to control or transmit information after being converted and processed by the wireless communication receiving module.
[0127] Optionally, the conversion of the target infrared light signal into a target electrical signal by using the wireless communication receiving module can be performed by an infrared receiving sensor, such as a photodiode or a phototransistor.
[0128] The embodiment of the present invention can determine whether a signal exists and identify the type and strength of the signal by analyzing the signal amplitude of the wireless communication receiving module. The signal amplitude refers to the measure of the energy size of the signal in electronic signal processing.
[0129] Optionally, the analyzing of the signal amplitude of the wireless communication receiving module may be performed through the peak-to-peak value and the effective value of the signal.
[0130] The embodiment of the present invention can improve the signal strength and enhance the driving ability of the signal by amplifying the target electrical signal based on the signal amplitude to obtain an amplified electrical signal. The amplified electrical signal refers to a signal obtained by enhancing the target electrical signal through an operational amplifier to increase its amplitude.
[0131] Optionally, as an embodiment of the present invention, the target electrical signal is amplified based on the signal amplitude, and the amplified electrical signal obtained can be amplified by an operational amplifier corresponding to the wireless communication receiving module.
[0132] The embodiment of the present invention can effectively remove noise and interference in the signal and improve the purity of the signal by filtering the amplified electrical signal to obtain the filtered electrical signal. The filtered electrical signal refers to the electrical signal processed by the filter during the electronic signal processing process.
[0133] Optionally, the amplified electrical signal is filtered, and the filtered electrical signal obtained can be filtered by a filter corresponding to the wireless communication receiving module.
[0134] The embodiment of the present invention compares the filtered electrical signal by using the comparator corresponding to the wireless communication receiving module to obtain high and low level signals to identify the logical state of the signal, thereby identifying the encoding or data information of the original infrared light signal. The high and low level signals refer to the two logical states obtained after converting the analog signal into a digital signal by a comparator in digital signal processing, usually expressed as high level and low level.
[0135] As an embodiment of the present invention, the use of a comparator corresponding to the wireless communication receiving module to compare the filtered electrical signal to obtain a high and low level signal includes:
[0136] Extracting comparator parameters of the comparator, wherein the comparator parameters include: input voltage range, output voltage range and response time;
[0137] Constructing a threshold resistor network of the comparator, and determining a reference voltage of the threshold resistor network according to the comparator parameters;
[0138] The threshold resistor network is connected to the negative input terminal of the comparator, and the threshold voltage of the negative input terminal is determined by the following formula according to the reference voltage:
[0139]
[0140] Among them, U y represents the threshold voltage, U crepresents the reference voltage, R1 represents the corresponding voltage divider resistor in the threshold resistor network, and R2 represents the corresponding reference resistor in the threshold resistor network;
[0141] Connecting the filtered electrical signal to the positive input terminal of the comparator to obtain a signal voltage;
[0142] The comparator is used to compare the signal voltage with the threshold voltage to obtain high and low level signals.
[0143] Among them, the comparator parameters refer to key indicators used to describe the performance and characteristics of the comparator. The threshold resistor network refers to a resistor network used to set the comparator threshold voltage in an electronic circuit. The reference voltage refers to a voltage value used as a benchmark or reference in an electronic circuit. The threshold voltage refers to a voltage value obtained by dividing the threshold resistor network in an electronic circuit. The positive input terminal refers to an input port in an electronic circuit for receiving a signal to be compared. The negative input terminal refers to an input port corresponding to the positive input terminal in an electronic circuit. The signal voltage refers to a voltage signal detected, processed or transmitted in an electronic circuit.
[0144] Optionally, the comparator is used to compare the signal voltage of the positive input terminal with the threshold voltage of the negative input terminal to obtain high and low level signals by comparing the signal voltage and the threshold voltage. When the signal voltage is higher than the threshold voltage, the comparator outputs a high level signal, and when the signal voltage is lower than the threshold voltage, the comparator outputs a low level signal.
[0145] S3. Construct a main control module of the electric tool, construct a data parsing algorithm for the main control module based on the encoding rules, and use the main control module to decode the high and low level signals based on the data parsing algorithm to obtain decoded data, determine the data acquisition requirements of the electric tool, transcode the decoded data according to the data acquisition requirements to obtain transcoded data, and detect the transcoded data of the transcoded data.
[0146] The embodiment of the present invention can analyze high and low level signals by constructing the main control module of the electric tool. The main control module refers to the part of the electric tool that is responsible for core control and data processing.
[0147] Optionally, the main control module for constructing the electric tool may be constructed by signal processing technology.
[0148] The embodiment of the present invention can ensure that the information in the signal is accurately understood by constructing the data analysis algorithm of the main control module. The data analysis algorithm refers to a series of programs and rules used in the main control module of the power tool to process and interpret the received data.
[0149] As an embodiment of the present invention, the data parsing algorithm of the main control module is constructed based on the encoding rule, including:
[0150] Extracting the signal to be analyzed from the main control module;
[0151] Analyze the mapping relationship between the encoding parameters corresponding to the encoding rules and the signal to be analyzed;
[0152] Constructing the parsing logic of the signal to be parsed according to the mapping relationship;
[0153] Constructing an algorithm framework of the main control module, wherein the algorithm framework includes: a pulse parameter detection module, a data extraction module and a data conversion module;
[0154] According to the analysis logic and algorithm framework, a data analysis algorithm of the main control module is constructed.
[0155] Among them, the signal to be analyzed refers to the original signal that the main control module needs to process, which refers to the high and low level signals here. The mapping relationship refers to the corresponding relationship between the signal to be analyzed and the encoding rules. The analysis logic refers to the logical process of converting the signal to be analyzed into operable data. The algorithm framework refers to the basic structure and guiding principles provided for building a data analysis algorithm. The pulse parameter detection module is responsible for detecting and extracting pulse parameters in the signal, such as pulse width, pulse position, etc. The data extraction module: extracts useful data or instructions from the pulse parameters according to the encoding rules. The data conversion module: converts the extracted data into a format that can be understood and operated by the main control module, such as numerical values, commands, status, etc.
[0156] Optionally, the analysis of the mapping relationship between the encoding rule and the encoding parameter and the signal to be analyzed may be performed by reverse analysis.
[0157] Optionally, the analysis logic of the signal to be analyzed can be constructed according to the mapping relationship by a multimodal data processing method, wherein the multimodal data processing refers to combining data from different types of sensors or data sources to provide more comprehensive and accurate information and improve the robustness and reliability of the system.
[0158] The embodiment of the present invention decodes the high and low level signals by using the main control module based on the data analysis algorithm to obtain decoded data, and the decoded data can be recorded for subsequent analysis. The decoded data refers to meaningful information extracted from the high and low level signals after being processed by the data analysis algorithm.
[0159] As an embodiment of the present invention, based on the data parsing algorithm, the high and low level signals are decoded by the main control module to obtain decoded data, including:
[0160] Based on the data analysis algorithm, detecting the number of high-level signals and the number of low-level signals of the high- and low-level signals;
[0161] Determine the pulse state of the high and low level signals, wherein the pulse state includes: pulse and no pulse;
[0162] When the pulse state is a pulse, calculating the pulse probability of the high-level signal corresponding to the high-level signal;
[0163] When the pulse state is no pulse, calculating the no pulse probability of the high-level signal corresponding to the high-level signal of the high-low level signal;
[0164] Calculating the pulse-free cumulative distribution of the high-level signal according to the pulse-free probability;
[0165] According to the number of high-level signals, the number of low-level signals, the pulse state, the probability of pulse presence, the probability of no pulse, and the cumulative distribution of no pulse, a series of formulas are used to calculate the decoding parameters of the high and low-level signals:
[0166]
[0167] Among them, G e represents the decoding parameters, n represents the number of high-level signals, N represents the number of low-level signals, i represents the i-th high-level signal, j represents the j-th low-level signal, h represents the pulse state corresponding to the pulse, w represents the pulse state corresponding to the no pulse, P a / b (i / h) represents the pulse probability corresponding to the i-th high-level signal when there is a pulse, P a / b (i / w) represents the pulse-free probability corresponding to the i-th high-level signal when there is no pulse, F a / b (i / w) N-j represents the pulse-free cumulative distribution corresponding to the i-th high-level signal when there is no pulse;
[0168] The decoded data of the high and low level signals are analyzed according to the decoding parameters.
[0169] Wherein, the pulse condition refers to the presence or absence of a pulse in the signal. The presence of a pulse refers to the presence of one or more pulses in the signal within a given time period. The absence of a pulse refers to the absence of a pulse in the signal within a given time period. The pulse-free cumulative distribution refers to the probability distribution of the occurrence of a pulse-free event in a high-level signal within a certain time range. The decoding parameter refers to the value or state used to describe and explain the characteristics of high and low-level signals during data parsing.
[0170] Optionally, the determining of the pulse state of the high and low level signals may be determined by a pulse detection algorithm.
[0171] The embodiment of the present invention can better realize data conversion and improve the accuracy of data collection by determining the data collection requirements of the power tool. The collection requirements refer to what data needs to be collected from the power tool and the purpose and requirements of collecting these data in order to realize the functions of monitoring, controlling and optimizing the power tool.
[0172] The embodiment of the present invention transcodes the decoded data according to the data collection requirements, so that the transcoded data can be presented in a standardized format, which is convenient for data exchange and sharing between different systems and platforms. The transcoded data refers to the conversion of the decoded data into a format or type suitable for use by a specific application or system during the data collection and processing of the power tool.
[0173] As an embodiment of the present invention, the step of transcoding the decoded data according to the data collection requirement to obtain transcoded data includes:
[0174] Analyze the data requirement format and data requirement type of the data collection requirement;
[0175] Mapping the decoded data according to the data requirement format and the data requirement type to obtain mapped data;
[0176] Transforming the mapped data to obtain transformed data;
[0177] Verifying the converted data to obtain a verification result, and analyzing the data quality of the converted data according to the verification result;
[0178] When the data quality meets the preset quality standard, the converted data is used as transcoded data.
[0179] The data requirement format refers to the specific structure or layout that data follows when it is stored, transmitted or processed, such as text format, binary format, etc. The data requirement type refers to the type or category of the required data. The mapped data refers to the data after being mapped into the data requirement format and data requirement type. The data quality refers to the characteristics of the data in meeting the data collection requirements, such as accuracy, completeness, etc. The preset quality standard refers to a series of quality requirements set in advance to meet the data collection requirements.
[0180] Optionally, the transforming of the mapped data to obtain the transformed data may be achieved through data format conversion and data integration.
[0181] S4. Construct a display module of the electric tool, and use the display module to convert the transcoded data into readable data according to the data collection requirements.
[0182] The embodiment of the present invention can display the required collected data completely and clearly on the display module by constructing the display module of the electric tool, so as to facilitate the use and analysis by the user. The display module refers to a component in the electric tool for displaying information and interaction.
[0183] Optionally, the display module of the electric tool may be constructed by hardware selection and integration and software development methods.
[0184] The embodiment of the present invention can display complex data in a chart, graph or easy-to-understand form by using the display module to convert the transcoded data into readable data according to the data collection requirements, so that non-technical users can quickly grasp the information. The readable data refers to data that can be easily understood and interpreted by users after conversion and processing.
[0185] The embodiment of the present invention can ensure that all the data sent follows a unified format by constructing the encoding rules of the target sent data, which is convenient for the receiving end to correctly analyze and use; optionally, the embodiment of the present invention can encode the target sent data based on the encoding rules to obtain the encoded electrical signal, which can help ensure the efficiency, safety and reliability of the data during the transmission process, thereby improving the quality and efficiency of data transmission; the embodiment of the present invention can operate the electric tool without touching the tool by constructing the wireless communication receiving module of the electric tool, thereby improving the safety and convenience of operation; the embodiment of the present invention can compare the filtered electrical signal by using the comparator corresponding to the wireless communication receiving module to obtain the high and low level signals to identify the logical state of the signal, thereby identifying the encoding or data information of the original infrared light signal; the embodiment of the present invention can decode the high and low level signals by using the main control module based on the data analysis algorithm to obtain the decoded data, which can record the decoded data for subsequent analysis, and finally, the embodiment of the present invention can display the required collected data on the display module completely and clearly by constructing the display module of the electric tool, which is convenient for users to use and analyze. Therefore, the present invention can improve the efficiency and convenience of data collection.
[0186] like Figure 2 , which is a functional module diagram of a non-contact data acquisition system for electric tools based on infrared sensing provided by an embodiment of the present invention.
[0187] The infrared sensing-based non-contact data acquisition system 200 for electric tools of the present invention can be installed in an electronic device. According to the functions to be implemented, the infrared sensing-based non-contact data acquisition system 200 for electric tools may include a signal sending module 201, a signal receiving module 202, a signal conversion module 203 and a data display module 204. The module of the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, and is stored in the memory of the electronic device.
[0188] In this embodiment, the functions of each module / unit are as follows:
[0189] The signal sending module 201 is used to obtain the power tool data of the power tool, extract the target sending data of the power tool data, construct a coding rule for the target sending data, encode the target sending data based on the coding rule to obtain a coded electric signal, convert the coded electric signal into an infrared light signal by using a preset infrared transmitter, construct a signal feature extraction model for the infrared light signal, analyze the signal quality of the infrared light signal by using the signal feature extraction model, and use the infrared light signal as a target infrared light signal when the signal quality meets a preset quality standard;
[0190] The signal receiving module 202 is used to construct the wireless communication receiving module of the electric tool, convert the target infrared light signal into a target electrical signal by using the wireless communication receiving module, analyze the signal amplitude of the wireless communication receiving module, amplify the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filter the amplified electrical signal to obtain a filtered electrical signal, and compare the filtered electrical signal by using a comparator corresponding to the wireless communication receiving module to obtain a high and low level signal;
[0191] The signal conversion module 203 is used to construct the main control module of the electric tool, construct a data analysis algorithm of the main control module based on the encoding rule, decode the high and low level signals using the main control module based on the data analysis algorithm to obtain decoded data, determine the data collection requirements of the electric tool, and transcode the decoded data according to the data collection requirements to obtain transcoded data;
[0192] The data display module 204 is used to construct a display module of the electric tool, and according to the data collection requirements, the transcoded data is converted into readable data using the display module.
[0193] An embodiment of the present invention provides an electronic device for implementing a non-contact data collection method for an electric tool based on infrared sensing.
Claims
1. A non-contact data collection method for electric tools based on infrared sensing, characterized in that: The method comprises: Acquire power tool data of the power tool, extract target sending data of the power tool data, construct a coding rule for the target sending data, encode the target sending data based on the coding rule to obtain a coded electric signal, convert the coded electric signal into an infrared light signal using a preset infrared transmitter, construct a signal feature extraction model for the infrared light signal, analyze the signal quality of the infrared light signal using the signal feature extraction model, and when the signal quality meets a preset quality standard, use the infrared light signal as a target infrared light signal; Constructing a wireless communication receiving module of the electric tool, converting the target infrared light signal into a target electrical signal by using the wireless communication receiving module, analyzing the signal amplitude of the wireless communication receiving module, amplifying the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filtering the amplified electrical signal to obtain a filtered electrical signal, and comparing the filtered electrical signal by using a comparator corresponding to the wireless communication receiving module to obtain a high and low level signal; Constructing a main control module of the electric tool, constructing a data parsing algorithm of the main control module based on the encoding rule, decoding the high and low level signals using the main control module based on the data parsing algorithm to obtain decoded data, determining data collection requirements of the electric tool, and transcoding the decoded data according to the data collection requirements to obtain transcoded data; A display module of the electric tool is constructed, and according to the data collection requirements, the transcoded data is converted into readable data using the display module.
2. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The constructing the encoding rule of the target sending data includes: Analyzing the encoding requirements of the target sent data, and determining the data format of the target sent data according to the encoding requirements; Identify the data field of the target sent data, and determine the field type and field order of the data field; Determining a data representation of the target sent data according to the field type and the field order; Analyzing the character type of the target sent data, and determining the character encoding of the target sent data according to the character type; Based on the encoding requirement, determining an encoding method of the target transmission data, wherein the encoding method includes: pulse width modulation (PWM) and pulse position modulation (PPM); An encryption method for the target data to be sent is constructed, and encoding rules for the target data to be sent are determined according to the encryption method, the encoding mode, the character encoding, the data representation and the data format.
3. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The step of encoding the target transmission data based on the encoding rule to obtain an encoded electrical signal includes: Based on the encoding rule, the target transmission data is subjected to standardization conversion to obtain a standard digital signal; Determine the coding parameters of the coding method corresponding to the coding rule, wherein the coding parameters include: pulse period, duty cycle, pulse frequency and pulse interval; Determining a pulse waveform of the encoding method according to the encoding requirements corresponding to the encoding rule; Based on the pulse waveform, the standard digital signal is mapped to a coding parameter to obtain a coded electrical signal.
4. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The using the signal feature extraction model to analyze the signal quality of the infrared light signal includes: Using a preset sensor to collect signal data of the infrared light signal; Preprocessing the signal data to obtain preprocessed signal data; Performing signal segmentation on the preprocessed signal data to obtain signal data segments; The signal data segment is analyzed using the signal feature extraction model to obtain signal features, wherein the signal features include: statistical features, time domain features, frequency domain features and time-frequency features. Calculating a signal performance index of the infrared light signal according to the signal characteristics; The signal quality of the infrared light signal is determined according to the signal performance indicator.
5. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The wireless communication receiving module for constructing the electric tool includes: Analyzing the receiving module requirements of the electric tool; According to the receiving module requirements, determining the receiving module components used to construct the wireless communication receiving module, wherein the receiving module components include: an infrared receiving sensor, an operational amplifier, a filter, a comparator and a power management IC; Determine a circuit topology of the receiving module component, and construct a circuit diagram of the receiving module component according to the circuit topology; According to the circuit diagram, construct a PCB board of the receiving module assembly; The receiving module assembly is installed on a PCB board to obtain the wireless communication receiving module of the electric tool.
6. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The method of using a comparator corresponding to the wireless communication receiving module to compare the filtered electrical signal to obtain a high level and a low level signal includes: Extracting comparator parameters of the comparator, wherein the comparator parameters include: input voltage range, output voltage range and response time; Constructing a threshold resistor network of the comparator, and determining a reference voltage of the threshold resistor network according to the comparator parameters; The threshold resistor network is connected to the negative input terminal of the comparator, and the threshold voltage of the negative input terminal is determined according to the reference voltage using the following formula: Among them, U y represents the threshold voltage, U c represents the reference voltage, R1 represents the corresponding voltage divider resistor in the threshold resistor network, and R2 represents the corresponding reference resistor in the threshold resistor network; Connecting the filtered electrical signal to the positive input terminal of the comparator to obtain a signal voltage; The comparator is used to compare the signal voltage with the threshold voltage to obtain high and low level signals.
7. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The data parsing algorithm of the main control module is constructed based on the encoding rule, including: Extracting the signal to be analyzed from the main control module; Analyze the mapping relationship between the encoding parameters corresponding to the encoding rules and the signal to be analyzed; Constructing the parsing logic of the signal to be parsed according to the mapping relationship; Constructing an algorithm framework of the main control module, wherein the algorithm framework includes: a pulse parameter detection module, a data extraction module and a data conversion module; According to the analysis logic and algorithm framework, a data analysis algorithm of the main control module is constructed.
8. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: Based on the data analysis algorithm, the main control module is used to decode the high and low level signals to obtain decoded data, including: Based on the data analysis algorithm, detecting the number of high-level signals and the number of low-level signals of the high- and low-level signals; Determine the pulse state of the high and low level signals, wherein the pulse state includes: pulse and no pulse; When the pulse state is a pulse, calculating the pulse probability of the high-level signal corresponding to the high-level signal; When the pulse state is no pulse, calculating the no pulse probability of the high-level signal corresponding to the high-level signal of the high-low level signal; Calculating the pulse-free cumulative distribution of the high-level signal according to the pulse-free probability; According to the number of high-level signals, the number of low-level signals, the pulse state, the probability of pulse presence, the probability of no pulse, and the cumulative distribution of no pulse, a series of formulas are used to calculate the decoding parameters of the high and low-level signals: Among them, G e represents the decoding parameters, n represents the number of high-level signals, N represents the number of low-level signals, i represents the i-th high-level signal, j represents the j-th low-level signal, h represents the pulse state corresponding to the pulse, w represents the pulse state corresponding to the no pulse, P a / b (i / h) represents the pulse probability corresponding to the i-th high-level signal when there is a pulse, P a / b (i / w) represents the pulse-free probability corresponding to the i-th high-level signal when there is no pulse, F a / b (i / w) N-j represents the pulse-free cumulative distribution corresponding to the i-th high-level signal when there is no pulse; The decoded data of the high and low level signals are analyzed according to the decoding parameters.
9. The non-contact data collection method for electric tools based on infrared sensing as claimed in claim 1, characterized in that: The step of transcoding the decoded data according to the data collection requirement to obtain transcoded data includes: Analyze the data requirement format and data requirement type of the data collection requirement; Mapping the decoded data according to the data requirement format and the data requirement type to obtain mapped data; Transforming the mapped data to obtain transformed data; Verifying the converted data to obtain a verification result, and analyzing the data quality of the converted data according to the verification result; When the data quality meets the preset quality standard, the converted data is used as transcoded data.
10. A non-contact data acquisition system for electric tools based on infrared sensing, characterized in that: The system is used to execute the non-contact data collection method for electric tools based on infrared sensing as described in any one of claims 1 to 9, the system comprising: a signal sending module, used for acquiring the electric tool data of the electric tool, extracting the target sending data of the electric tool data, constructing a coding rule for the target sending data, encoding the target sending data based on the coding rule to obtain a coded electric signal, converting the coded electric signal into an infrared light signal by using a preset infrared transmitter, constructing a signal feature extraction model for the infrared light signal, analyzing the signal quality of the infrared light signal by using the signal feature extraction model, and taking the infrared light signal as a target infrared light signal when the signal quality meets a preset quality standard; A signal receiving module, used to construct a wireless communication receiving module of the electric tool, convert the target infrared light signal into a target electrical signal by using the wireless communication receiving module, analyze the signal amplitude of the wireless communication receiving module, amplify the target electrical signal based on the signal amplitude to obtain an amplified electrical signal, filter the amplified electrical signal to obtain a filtered electrical signal, and compare the filtered electrical signal by using a comparator corresponding to the wireless communication receiving module to obtain a high and low level signal; A signal conversion module, used to construct a main control module of the electric tool, construct a data analysis algorithm of the main control module based on the encoding rule, decode the high and low level signals using the main control module based on the data analysis algorithm to obtain decoded data, determine the data collection requirements of the electric tool, and transcode the decoded data according to the data collection requirements to obtain transcoded data; A data display module is used to construct a display module of the electric tool, and according to the data collection requirements, the transcoded data is converted into readable data using the display module.
Citation Information
Patent Citations
Electricity meter monitoring system based on infrared modulation transfer and wireless communication
CN110187172A
Many stipulations measurement data analyzer
CN206789038U
Non-intrusive photovoltaic power station electric energy remote acquisition system
CN219066262U
Optical transmitter, optical receiver, and optical transmission system
JP2004064614A