Microcomputer protection measurement and control method and device
By dividing the area of the power equipment and setting the sensor, combined with the analysis of the frequency optimization model, the intelligent adjustment of the sampling frequency of the microcomputer protection device is realized, the data distortion and processing delay caused by improper sampling frequency are solved, and data collection and Processing efficiency.
Patent Information
- Application Number
- CN202411546420.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2044-11-01
AI Technical Summary
During the sampling process of a microcomputer protection device, excessively high or too low sampling frequency may cause data distortion or CPU cannot handle it, and the prior art is difficult to adjust the sampling frequency at a suitable time node.
By dividing the power equipment area, setting sensors for power parameters sampling, setting the initial sampling frequency, and building a frequency optimization model, analyzing the nodes for sampling frequency optimization and adjustment, intelligent adjustment of the sampling frequency is achieved.
It realizes the adjustment of the sampling frequency at the appropriate time node, avoids data distortion and CPU processing delay, and improves the data acquisition and processing efficiency of the microcomputer protection device.
Smart Images

Figure CN119482267A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of microcomputer protection, and in particular to a microcomputer protection measurement and control method and device. Background Art
[0002] Microcomputer protection devices are widely used in power systems. They are an important part of modern automation and one of the important devices to ensure the safe operation of power systems. Microcomputer protection devices collect electrical quantities such as voltage, current, and frequency from primary equipment through secondary circuit connections, and calculate protection logic based on electrical quantities. When the protection logic is satisfied, the microcomputer protection device will disconnect the corresponding circuit breaker, eliminate the source of faults in the primary electrical equipment, and ensure the normal operation of the primary equipment. The microcomputer protection device is connected to the primary and secondary conversion ports through the data communication interface, and the secondary port is connected to the primary equipment through the secondary circuit. During the operation of the primary equipment, the microcomputer protection device normally receives data such as voltage and current, and generates protection actions after passing through the data acquisition module and the calculation and processing logic.
[0003] In the sampling process of the microcomputer protection device, in addition to the selection of the sampling method, it is also necessary to pay attention to the setting of the sampling frequency. Sampling frequencies that are too high or too low may cause data distortion or problems such as the CPU being unable to process them. Therefore, in practical applications, it is necessary to select the appropriate sampling method and sampling frequency according to the actual situation of the system and the sampling requirements, and how to adjust the sampling frequency at the appropriate time node is also a problem to be solved. Summary of the invention
[0004] The purpose of the present invention is to provide a microcomputer protection measurement and control method and device to solve the problems raised in the prior art.
[0005] To achieve the above object, the present invention provides the following technical solution: a microcomputer protection measurement and control method, the microcomputer protection measurement and control method comprising the following steps: Step S1, dividing the power equipment into regions, dividing the power equipment belonging to the same circuit into the same supervision area, and setting sensors, wherein the sensors are used to sample power parameters of the supervision area; Step S2, setting an initial sampling frequency, where the sampling frequency is the number of times the power parameters are collected within a certain period of time, sampling the supervision area, and inputting the sampled power parameters into a built-in logic algorithm to determine the status information of the power system in the supervision area; Step S3: mark the regulatory area being sampled as the current regulatory area, obtain the sampling records of the current regulatory area, sort out the sampling records, build a frequency optimization model, and optimize the sampling frequency of the current regulatory area according to the frequency optimization model analysis.
[0006] Furthermore, step S1 includes: obtaining a connection circuit diagram of electrical equipment in the primary circuit, dividing the area according to the circuit connection method of the circuit equipment, and dividing the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit.
[0007] Further, the step S2 includes: inputting power parameters to be collected, the power parameters including current and voltage; Selecting a sampling method for collecting power parameters, the sampling method includes a DC sampling method and an AC sampling method; wherein the DC sampling method is to convert an AC signal into a DC signal through a rectifier circuit and then perform sampling; the AC sampling method is to sample the instantaneous value of the measured signal according to a set time rule, and perform numerical processing on the measured signal using a set algorithm to obtain a sampled value; Setting the initial sampling frequency of each regulatory area, sampling the power parameters of each regulatory area, and preprocessing the sampled power parameters, wherein the preprocessing includes filtering and denoising; The analog signal of the power parameter is converted into a digital signal and input into a built-in logic algorithm. The built-in logic algorithm performs logical judgment on the input digital signal through preset algorithms and conditions, and outputs the corresponding judgment result. According to the judgment result, the status information of the power system is output, and the status information includes normal, abnormal or faulty.
[0008] Furthermore, the step S3 includes: Step S301: Acquire sampling records of the current regulatory area, wherein one sampling record is a sampling of the power parameters of the current regulatory area, and marks the state information of the corresponding power system to form a sampling set; Step S302: Obtain sampling records corresponding to abnormal or faulty power system status in the sampling set, mark them as target records, and sort the target records according to the sampling order; Mark a target record as the current analysis record, and obtain the time difference between the current analysis record and the previous target record as t m , get the data set [A m , t m ], where Am represents the mth sampling record; Establish a coordinate system, with the number of sampling records as the horizontal axis and the time difference as the vertical axis, mark the data group on the coordinate system, and calculate the K value of the mth data group. The calculation formula is K m =(t m -t m-1 ) / (A m -A m-1 ), use the average formula to calculate the average value of K values of all groups of data and record it as KQ ; Step S303, obtaining the next sampling record adjacent to the target record within the set time, if the state of the power system in the next sampling record is normal, then the target record of this time is removed, and the recovery time corresponding to the remaining target records is obtained, the recovery time is the time when the state of the power system is converted from abnormal or faulty to normal, the value of the recovery time is recorded as T, and all the recovery time is extracted into a set B, the set B={T1, T2, T3, ..., Tj}, wherein T1, T2, T3, ..., Tj are respectively represented as the value of the recovery time of the first target record, the value of the recovery time of the second target record, the value of the recovery time of the third target record, ..., the value of the recovery time of the jth target record; Calculate the fault index ε of the supervision area, which is calculated by the formula ε=∑(Tj)*Q+b, where Q is the total number of target records and b is a constant; Step S304: construct a frequency optimization model, W=β1*ε+β2*K Q , when W>W1, or W<W2, output the optimization instruction for adjusting the sampling frequency of the supervision area at the current time node, where W1 and W2 are both set thresholds.
[0009] A microcomputer protection measurement and control device, which uses a microcomputer protection measurement and control method, and the microcomputer protection measurement and control device includes a sampling module, a calibration module and an optimization and adjustment module; The sampling module is used to sample the power parameters of each regulatory area according to the set initial sampling frequency; The calibration module is used to input the sampled power parameters into the built-in logic algorithm to determine the status information of the power system in the supervision area; The optimization and adjustment module is used to sort out the sampling records of the supervision area, build a frequency optimization model, and analyze the nodes for optimizing and adjusting the sampling frequency of the current supervision area according to the frequency optimization model; The output end of the sampling module is electrically connected to the input end of the proofreading module, and the output end of the optimization and adjustment module is electrically connected to the input end of the sampling module.
[0010] Furthermore, the sampling module includes a region division unit, a collection unit and a setting unit; the region division unit is used to obtain a connection circuit diagram of the electrical equipment in the primary circuit, perform region division according to the circuit connection mode of the circuit equipment, and divide the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit; The acquisition unit is used to sample the power parameters of each supervision area, and pre-process the sampled power parameters to convert the analog signals of the power parameters into digital signals; The setting unit is used to set the initial sampling frequency of each supervision area and select the sampling method for collecting power parameters; The output ends of the area division unit and the setting unit are electrically connected to the input end of the collection unit.
[0011] Furthermore, the proofreading module includes a logic judgment unit and a protection action unit, wherein the logic judgment unit is used to perform logic judgment on the input digital signal through a built-in logic algorithm and output a corresponding judgment result; The protection action unit outputs the state information of the power system according to the judgment result, wherein the state information includes normal, abnormal or faulty, and takes corresponding protection actions; The output end of the logic judgment unit is electrically connected to the input end of the protection action unit.
[0012] Further, the optimization and adjustment module includes a trend analysis unit, a cycle analysis unit and an output unit; The trend analysis unit is used to obtain the value of the time difference between the current analysis record and the previous target record, form a group of data groups with the value of the time difference corresponding to a certain sampling record and the sampling record, and calculate the K value of each data group and the average value of the K values of all data groups; The cycle analysis unit is used to target the corresponding recovery time, which is the time it takes for the power system to change from abnormal or faulty to normal, and calculate the fault index of the supervision area; The output unit outputs an optimization instruction on whether the sampling frequency of the supervision area needs to be adjusted at the current time node according to the K value and the fault index analysis of the data group; The output ends of the trend analysis unit and the cycle analysis unit are electrically connected to the input end of the output unit.
[0013] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention obtains sampling records of the supervision area, analyzes the sampling records of abnormalities or faults that have occurred recently, forms a group of data groups with the numerical value of the time difference between a certain sampling record and the sampling record, and calculates the K value of each data group and the average K value of all groups of data groups, as well as the recovery time corresponding to the target record, calculates the fault index of the supervision area, and outputs optimization instructions on whether the sampling frequency of the supervision area needs to be adjusted at the current time node based on the K value and fault index analysis of the data group, thereby realizing intelligent management and determining whether the sampling frequency can be adjusted at an appropriate time node to avoid data distortion or data processing delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 The present invention is a flowchart of a microcomputer protection measurement and control method. DETAILED DESCRIPTION
[0015] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] Embodiment 1: Figure 1 As shown, the present invention provides a microcomputer protection measurement and control method, which includes the following steps: Step S1, dividing the power equipment into regions, dividing the power equipment belonging to the same circuit into the same supervision area, and setting sensors, wherein the sensors are used to sample power parameters of the supervision area; The step S1 includes: obtaining a connection circuit diagram of electrical equipment in a primary circuit, dividing the area according to the circuit connection mode of the circuit equipment, and dividing the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit.
[0017] Step S2, setting an initial sampling frequency, where the sampling frequency is the number of times the power parameters are collected within a certain period of time, sampling the supervision area, and inputting the sampled power parameters into a built-in logic algorithm to determine the status information of the power system in the supervision area; The step S2 includes: inputting power parameters to be collected, wherein the power parameters include current and voltage; Selecting a sampling method for collecting power parameters, the sampling method includes a DC sampling method and an AC sampling method; wherein the DC sampling method is to convert an AC signal into a DC signal through a rectifier circuit and then perform sampling; the AC sampling method is to sample the instantaneous value of the measured signal according to a set time rule, and perform numerical processing on the measured signal using a set algorithm to obtain a sampled value; Setting the initial sampling frequency of each regulatory area, sampling the power parameters of each regulatory area, and preprocessing the sampled power parameters, wherein the preprocessing includes filtering and denoising; The analog signal of the power parameter is converted into a digital signal and input into a built-in logic algorithm. The built-in logic algorithm performs logical judgment on the input digital signal through preset algorithms and conditions, and outputs the corresponding judgment result. According to the judgment result, the status information of the power system is output, and the status information includes normal, abnormal or faulty.
[0018] Step S3: Mark the regulatory area being sampled as the current regulatory area, obtain the sampling records of the current regulatory area, sort out the sampling records, build a frequency optimization model, and analyze the nodes for optimizing and adjusting the sampling frequency of the current regulatory area according to the frequency optimization model. Step S3 includes: Step S301: Acquire sampling records of the current regulatory area, wherein one sampling record is a sampling of the power parameters of the current regulatory area, and marks the state information of the corresponding power system to form a sampling set; Step S302: Obtain sampling records corresponding to abnormal or faulty power system status in the sampling set, mark them as target records, and sort the target records according to the sampling order; Mark a target record as the current analysis record, and obtain the time difference between the current analysis record and the previous target record as t m , get the data set [A m , t m ], where Am represents the mth sampling record; Establish a coordinate system, with the number of sampling records as the horizontal axis and the time difference as the vertical axis, mark the data group on the coordinate system, and calculate the K value of the mth data group. The calculation formula is K m =(t m -t m-1 ) / (A m -A m-1 ), use the average formula to calculate the average value of K values of all groups of data and record it as K Q ; Step S303, obtaining the next sampling record adjacent to the target record within the set time, if the state of the power system in the next sampling record is normal, then the target record of this time is removed, and the recovery time corresponding to the remaining target records is obtained, the recovery time is the time when the state of the power system is converted from abnormal or faulty to normal, the value of the recovery time is recorded as T, and all the recovery time is extracted into a set B, the set B={T1, T2, T3, ..., Tj}, wherein T1, T2, T3, ..., Tj are respectively represented as the value of the recovery time of the first target record, the value of the recovery time of the second target record, the value of the recovery time of the third target record, ..., the value of the recovery time of the jth target record; Calculate the fault index ε of the supervision area, which is calculated by the formula ε=∑(Tj)*Q+b, where Q is the total number of target records and b is a constant; Step S304: construct a frequency optimization model, W=β1*ε+β2*K Q , when W>W1, or W<W2, output the optimization instruction for adjusting the sampling frequency of the supervision area at the current time node, where W1 and W2 are both set thresholds.
[0019] Embodiment 2: A microcomputer protection measurement and control device, which is applied to a microcomputer protection measurement and control method, the microcomputer protection measurement and control device includes a sampling module, a proofreading module and an optimization and adjustment module; the output end of the sampling module is electrically connected to the input end of the proofreading module, and the output end of the optimization and adjustment module is electrically connected to the input end of the sampling module.
[0020] The sampling module is used to sample the power parameters of each supervision area according to a set initial sampling frequency.
[0021] The sampling module includes a region division unit, a collection unit and a setting unit; the region division unit is used to obtain a connection circuit diagram of electrical equipment in a primary circuit, perform region division according to the circuit connection mode of the circuit equipment, and divide the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit; The acquisition unit is used to sample the power parameters of each supervision area, and pre-process the sampled power parameters to convert the analog signals of the power parameters into digital signals; The setting unit is used to set the initial sampling frequency of each supervision area and select the sampling method for collecting power parameters; The output ends of the area division unit and the setting unit are electrically connected to the input end of the collection unit.
[0022] The calibration module is used to input the sampled power parameters into the built-in logic algorithm to determine the status information of the power system in the supervision area; The proofreading module includes a logic judgment unit and a protection action unit. The logic judgment unit is used to perform logic judgment on the input digital signal through a built-in logic algorithm and output a corresponding judgment result; The protection action unit outputs the state information of the power system according to the judgment result, wherein the state information includes normal, abnormal or faulty, and takes corresponding protection actions; The output end of the logic judgment unit is electrically connected to the input end of the protection action unit.
[0023] The optimization and adjustment module is used to sort out the sampling records of the supervision area, build a frequency optimization model, and analyze the nodes for optimizing and adjusting the sampling frequency of the current supervision area according to the frequency optimization model.
[0024] The optimization and adjustment module includes a trend analysis unit, a cycle analysis unit and an output unit; The trend analysis unit is used to obtain the value of the time difference between the current analysis record and the previous target record, form a group of data groups with the value of the time difference corresponding to a certain sampling record and the sampling record, and calculate the K value of each data group and the average value of the K values of all data groups; The cycle analysis unit is used to target the corresponding recovery time, which is the time it takes for the power system to change from abnormal or faulty to normal, and calculate the fault index of the supervision area; The output unit outputs an optimization instruction on whether the sampling frequency of the supervision area needs to be adjusted at the current time node according to the K value and the fault index analysis of the data group; The output ends of the trend analysis unit and the cycle analysis unit are electrically connected to the input end of the output unit.
[0025] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A microcomputer protection measurement and control method, characterized in that: The microcomputer protection measurement and control method comprises the following steps: Step S1, dividing the power equipment into regions, dividing the power equipment belonging to the same circuit into the same supervision area, and setting sensors, wherein the sensors are used to sample power parameters of the supervision area; Step S2, setting an initial sampling frequency, where the sampling frequency is the number of times the power parameters are collected within a certain period of time, sampling the supervision area, and inputting the sampled power parameters into a built-in logic algorithm to determine the status information of the power system in the supervision area; Step S3: mark the regulatory area being sampled as the current regulatory area, obtain the sampling records of the current regulatory area, sort out the sampling records, build a frequency optimization model, and optimize the sampling frequency of the current regulatory area according to the frequency optimization model analysis.
2. A microcomputer protection measurement and control method according to claim 1, characterized in that: The step S1 includes: obtaining a connection circuit diagram of electrical equipment in a primary circuit, dividing the area according to the circuit connection mode of the circuit equipment, and dividing the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit.
3. A microcomputer protection measurement and control method according to claim 2, characterized in that: The step S2 includes: inputting power parameters to be collected, wherein the power parameters include current and voltage; Selecting a sampling method for collecting power parameters, the sampling method includes a DC sampling method and an AC sampling method; wherein the DC sampling method is to convert an AC signal into a DC signal through a rectifier circuit and then perform sampling; the AC sampling method is to sample the instantaneous value of the measured signal according to a set time rule, and perform numerical processing on the measured signal using a set algorithm to obtain a sampled value; Setting the initial sampling frequency of each regulatory area, sampling the power parameters of each regulatory area, and preprocessing the sampled power parameters, wherein the preprocessing includes filtering and denoising; The analog signal of the power parameter is converted into a digital signal and input into a built-in logic algorithm. The built-in logic algorithm performs logical judgment on the input digital signal through preset algorithms and conditions, and outputs the corresponding judgment result. According to the judgment result, the status information of the power system is output, and the status information includes normal, abnormal or faulty.
4. A microcomputer protection measurement and control method according to claim 3, characterized in that: The step S3 comprises: Step S301: Acquire sampling records of the current regulatory area, wherein one sampling record is a sampling of the power parameters of the current regulatory area, and marks the state information of the corresponding power system to form a sampling set; Step S302: Obtain sampling records corresponding to abnormal or faulty power system status in the sampling set, mark them as target records, and sort the target records according to the sampling order; Mark a target record as the current analysis record, and obtain the time difference between the current analysis record and the previous target record as t m , get the data set [A m , t m ], where Am represents the mth sampling record; Establish a coordinate system, with the number of sampling records as the horizontal axis and the time difference as the vertical axis, mark the data group on the coordinate system, and calculate the K value of the mth data group. The calculation formula is K m =(t m -t m-1 ) / (A m -A m-1 ), use the average formula to calculate the average value of K values of all groups of data and record it as K Q ; Step S303, obtaining the next sampling record adjacent to the target record within the set time, if the state of the power system in the next sampling record is normal, then the target record of this time is removed, and the recovery time corresponding to the remaining target records is obtained, the recovery time is the time when the state of the power system is converted from abnormal or faulty to normal, the value of the recovery time is recorded as T, and all the recovery time is extracted into a set B, the set B={T1, T2, T3, ..., Tj}, wherein T1, T2, T3, ..., Tj are respectively represented as the value of the recovery time of the first target record, the value of the recovery time of the second target record, the value of the recovery time of the third target record, ..., the value of the recovery time of the jth target record; Calculate the fault index ε of the supervision area, which is calculated by the formula ε=∑(Tj)*Q+b, where Q is the total number of target records and b is a constant; Step S304: construct a frequency optimization model, W=β1*ε+β2*K Q , when W>W1, or W<W2, output the optimization instruction for adjusting the sampling frequency of the supervision area at the current time node, where W1 and W2 are both set thresholds.
5. A microcomputer protection measurement and control device, which is applied to a microcomputer protection measurement and control method according to any one of claims 1 to 4, characterized in that: The microcomputer protection measurement and control device includes a sampling module, a calibration module and an optimization and adjustment module; The sampling module is used to sample the power parameters of each regulatory area according to the set initial sampling frequency; The calibration module is used to input the sampled power parameters into the built-in logic algorithm to determine the status information of the power system in the supervision area; The optimization and adjustment module is used to sort out the sampling records of the supervision area, build a frequency optimization model, and analyze the nodes for optimizing and adjusting the sampling frequency of the current supervision area according to the frequency optimization model; The output end of the sampling module is electrically connected to the input end of the proofreading module, and the output end of the optimization and adjustment module is electrically connected to the input end of the sampling module.
6. A microcomputer protection and measurement and control device according to claim 5, characterized in that: The sampling module includes a region division unit, a collection unit and a setting unit; the region division unit is used to obtain a connection circuit diagram of electrical equipment in a primary circuit, perform region division according to the circuit connection mode of the circuit equipment, and divide the primary circuit into a power generation main circuit, a transmission main circuit, a distribution main circuit and an electrical main circuit; The acquisition unit is used to sample the power parameters of each supervision area, and pre-process the sampled power parameters to convert the analog signals of the power parameters into digital signals; The setting unit is used to set the initial sampling frequency of each supervision area and select the sampling method for collecting power parameters; The output ends of the area division unit and the setting unit are electrically connected to the input end of the collection unit.
7. A microcomputer protection and measurement and control device according to claim 5, characterized in that: The proofreading module includes a logic judgment unit and a protection action unit. The logic judgment unit is used to perform logic judgment on the input digital signal through a built-in logic algorithm and output a corresponding judgment result; The protection action unit outputs the state information of the power system according to the judgment result, wherein the state information includes normal, abnormal or faulty, and takes corresponding protection actions; The output end of the logic judgment unit is electrically connected to the input end of the protection action unit.
8. A microcomputer protection and measurement and control device according to claim 5, characterized in that: The optimization and adjustment module includes a trend analysis unit, a cycle analysis unit and an output unit; The trend analysis unit is used to obtain the value of the time difference between the current analysis record and the previous target record, form a group of data groups with the value of the time difference corresponding to a certain sampling record and the sampling record, and calculate the K value of each data group and the average value of the K values of all data groups; The cycle analysis unit is used to target the corresponding recovery time, which is the time it takes for the power system to change from abnormal or faulty to normal, and calculate the fault index of the supervision area; The output unit outputs an optimization instruction on whether the sampling frequency of the supervision area needs to be adjusted at the current time node according to the K value and the fault index analysis of the data group; The output ends of the trend analysis unit and the cycle analysis unit are electrically connected to the input end of the output unit.
Citation Information
Patent Citations
Differential protection locking system and method for abnormal data acquisition of electronic mutual inductor
CN110277762A
Frequency control method and system for interconnected power system containing energy storage resources
CN112531792A
Power grid equipment fault diagnosis method and system based on big data
CN116660672A
Sampling frequency adjusting method and device, equipment and storage medium
CN117348594A
Power distribution equipment line abnormity monitoring system and method based on big data
CN118091319A