Source control terminal and traffic measurement method
By configuring channel ratings and coefficients in the source control terminal and using the full-cycle Fourier algorithm to calculate AC quantities, the problem of cumbersome measurement of AC quantities of various specifications is solved, and the reusability and debugging efficiency of the program are improved.
Patent Information
- Application Number
- CN202211275496.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-10-18
AI Technical Summary
In existing technologies, multiple AC quantity specifications require the configuration of multiple corresponding programs, which makes the measurement process cumbersome and increases the complexity of program design and on-site debugging.
By configuring the channel rating, channel number, and channel coefficient in the source control terminal, and using the full-cycle Fourier algorithm to calculate the real part, imaginary part, and amplitude of the AC quantity, it can adapt to the access of AC quantities of different specifications, and realize that one model of program can be applied to multiple new energy power stations.
It improves program reusability, reduces the workload of program design and on-site debugging, and lowers the risk of errors caused by human debugging.
Smart Images

Figure CN115754422B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the field of new energy station equipment control, and particularly relates to a source control terminal and an interchange flow measurement method. BACKGROUND
[0002] Under the background of continuous development of new energy and increasing grid-connected capacity, in order to meet the control demand of safe and stable operation of large power grid, improve the perception and control ability of new energy station, and improve the management of new energy station and the level of new energy consumption, the panoramic monitoring system of new energy station is widely used.
[0003] In the panoramic monitoring system of new energy station, the source control terminal, as a device connecting the power generation unit and the emergency state monitoring layer device, needs to have data acquisition and control functions, and is installed on the side of the new energy power generation unit, usually on the side of the fan or the photovoltaic inverter. Due to the complexity and particularity of the installation environment, the AC voltage and current accessed by the source control terminal layer device have multiple specifications, such as 380V phase voltage, 220V phase voltage, 57.74V phase voltage, 1A phase current, 5A phase current, etc. The traditional configuration mode is that one source control terminal program corresponds to one interchange flow specification, and multiple programs corresponding to multiple interchange flow specifications are needed for measuring the related interchange flow, which leads to a complicated measurement process, increases the workload of program designers, and makes the field debugging personnel need to download programs frequently, increasing the complexity of engineering debugging. SUMMARY
[0004] The purpose of the present application is to provide a source control terminal and an interchange flow measurement method, which solves the problem of complicated measurement process caused by multiple interchange flow specifications needing multiple corresponding programs in the prior art.
[0005] In order to achieve the above-mentioned purpose, the present application provides a source control terminal, comprising a processor, the processor is used for executing an instruction program to realize the following measurement process:
[0006] 1) obtaining interchange flow information of the source control terminal, the interchange flow information comprising each input interchange flow of the source control terminal; each input interchange flow of the source control terminal corresponds to an analog quantity of a preset multi-channel analog quantity input channel; a channel rating value, a channel number and a channel coefficient corresponding to the analog quantity are configured for each analog quantity input channel;
[0007] 2) obtaining the original sampling value of the input interchange flow of the source control terminal, corresponding the original sampling value to the channel number configured in step 1), generating a configuration file, the configuration file containing the channel coefficient and the original sampling value corresponding to each analog quantity;
[0008] 3) obtaining the real part, the imaginary part and the amplitude of the corresponding analog quantity input channel according to the content in the configuration file.
[0009] The source control terminal reads the change of the current flow rating value to inversely write the analog quantity acquisition channel coefficient, thereby adapting to the current flow access rating of the source control terminal on the fan side or the photovoltaic inverter side, and thus the current flow measurement can be completed in the case of different access ratings. Therefore, the program of one model of the source control terminal is applicable to multiple different new energy stations, greatly improving the reusability of the program, reducing the workload of the program designers, and reducing the maintenance amount of the field debugging personnel and the risk of human debugging errors caused by the diversity of the stations.
[0010] Further, the obtained current flow information of the source control terminal further includes all rating specifications of each input current flow of the source control terminal, and corresponding basic channel coefficients are set for different rating specifications;
[0011] If the channel rating value changes, the new channel rating value is taken as the rating specification, the corresponding basic channel coefficient is obtained as the channel coefficient corresponding to the new channel rating value according to the corresponding relationship between the rating specification and the basic channel coefficient, and the corresponding channel coefficient in the first configuration file is updated.
[0012] Further, in step 3), the real part, the imaginary part and the amplitude of the corresponding analog quantity input channel are obtained by using the full-cycle Fourier algorithm according to the channel coefficient corresponding to the analog quantity in the configuration file and the original sampling value.
[0013] Further, to facilitate the setting of the channel rating value, the source control terminal further includes a human-computer interaction module, which is used to display the channel rating value of the analog quantity input channel as a settable value, so that the debugging personnel can set the channel rating value.
[0014] Further, the current flow transducer provided on the new energy power generation unit side of the source control terminal corresponds to the analog quantity input channel, the primary side input rating value of the transducer is greater than or equal to the channel rating value of the corresponding analog quantity input channel, and the primary side refers to the side of the transducer for accessing the current flow.
[0015] Further, the current flow transducer provided on the new energy power generation unit side of the source control terminal corresponds to the analog quantity input channel, the primary side input rating value of the transducer is greater than or equal to the channel rating value of the corresponding analog quantity input channel, and the primary side refers to the side of the transducer for accessing the current flow.
[0016] The application further provides a current flow measurement method, and the steps are as follows:
[0017] 1) Obtain the flow information of the source control terminal, the flow information including each input flow of the source control terminal; each input flow of the source control terminal corresponding to an analog quantity of a preset multi-channel analog quantity input channel; configuring a channel rating value, a channel number and a channel coefficient corresponding to the analog quantity for each analog quantity input channel;
[0018] 2) Obtain the original sampling value of the input flow of the source control terminal, corresponding the original sampling value to the channel number configured in step 1), and generating a configuration file containing the channel coefficient and the original sampling value corresponding to each analog quantity;
[0019] 3) Obtaining the real part, the imaginary part and the amplitude of the corresponding analog quantity input channel according to the content in the configuration file.
[0020] The flow measurement method can adapt to the flow access specifications of the source control terminal device on the fan side or the photovoltaic inverter side by reading the change of the flow rating value to rewrite the analog quantity acquisition channel coefficient, and thus can complete the flow measurement in the case of different access specifications. Therefore, the program of one model of the source control terminal is suitable for use in multiple different new energy stations, greatly improving the reusability of the program, reducing the workload of the program designers, reducing the maintenance amount of the field debugging personnel, and reducing the risk of human debugging errors caused by the diversity of the stations.
[0021] Further, the obtained flow information of the source control terminal further includes all rating specifications of each input flow of the source control terminal, and corresponding basic channel coefficients are set for different rating specifications;
[0022] If the channel rating value changes, the new channel rating value is taken as the rating specification, the corresponding basic channel coefficient is obtained as the channel coefficient corresponding to the new channel rating value according to the corresponding relationship between the rating specification and the basic channel coefficient, and the corresponding channel coefficient in the configuration file is updated.
[0023] Further, in step 3), the real part, the imaginary part and the amplitude of the corresponding analog quantity input channel are obtained by using the full-cycle Fourier algorithm according to the channel coefficient and the original sampling value corresponding to the analog quantity in the configuration file.
[0024] Further, the channel rating value of the analog quantity input channel is a manually adjustable value for the convenience of adjusting the channel rating value. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 The flow chart of the configuration process in the source control terminal embodiment of the present application. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the present application more clear and obvious, the present application is further described in detail below in combination with the drawings and examples.
[0027] Source control terminal embodiment:
[0028] The embodiment provides a technical solution of a source control terminal, which comprises a processor, the processor is used for executing an instruction program, referring to Figure 1 , the following measurement process is realized:
[0029] 1) Obtain the traffic flow information of the source control terminal, the traffic flow information comprises each input traffic flow of the source control terminal; each input traffic flow of the source control terminal corresponds to an analog quantity of a preset multi-channel analog quantity input channel; a channel rated value, a channel number and a channel coefficient corresponding to the analog quantity are configured for each analog quantity input channel.
[0030] In the embodiment, the source control terminal further comprises a man-machine interaction module, the man-machine interaction module is used for displaying the channel rated value of the analog quantity input channel as a tunable value, so that the debugging personnel can tune the channel rated value. The man-machine interaction module of the embodiment presents in the form of a menu which can be tuned and displayed to the debugging personnel, and the channel rated value Rn of each analog quantity input channel is configured as a system setting value on the menu for the debugging personnel to tune according to the actual station. In the embodiment, in order to avoid data loss, the processor also records the content of the channel coefficient Tn, the channel rated value Rn and the channel coefficient Kn corresponding to the analog quantity of each analog quantity input channel in the first configuration file; in other embodiments, the content of step 2) can also be recorded directly.
[0031] In the embodiment, the obtained traffic flow information of the source control terminal further comprises all rated specifications of each input traffic flow of the source control terminal, that is, all traffic flow access specifications of the source control terminal device on the new energy generation unit side of the new energy station. Under normal circumstances, the new energy generation unit can be a fan or a photovoltaic inverter; the source control terminal needs to adapt to these access specifications to realize the measurement of the traffic flow, such as 380V / 57.74V phase voltage and 1A / 5A phase current; the voltage specification and the current specification are not limited to 380V / 57.74V phase voltage and 1A / 5A phase current, as long as the traffic flow specifications covered by the traffic flow of the source control terminal device on the fan side or the photovoltaic inverter side of the new energy station can be obtained; in other embodiments, if the demand for adaptability of the source control terminal is not particularly high, it is not necessary to obtain all rated specifications, and only the main rated specifications actually required can be selected.
[0032] After the rated specifications are acquired, corresponding basic channel coefficients are set for different rated specifications; that is, during the program design of the processor, different channel coefficients Kn are set for different rated specifications (i.e., channel rated values) Rn of the alternating current (i.e., voltage or current); the relationship between the set Kn and Rn is shown in Table 1:
[0033] Table 1
[0034] Channel rating (rating specification) R1 R2 R3 …… Rn Channel coefficient K1 K2 K3 …… Kn
[0035] The source control terminal usually includes alternating current transducers (voltage or current transducers) suitable for collecting alternating currents (voltage or current) of different specifications, and each transducer corresponds to one channel; for example, the transducer of the first input alternating current has a transformation ratio of 1A / 3.53V and inputs an A-phase current, and thus the corresponding channel number is 1, the channel rated value is 1A, and the channel coefficient is 1344; if the transducer of the fourth input alternating current has a transformation ratio of 100V / 7.07V and inputs an A-phase voltage, then the corresponding channel number is 4, the channel rated value is 100V, and the channel coefficient is 268.
[0036] 2) The original sampling values of the input alternating currents of the source control terminal are acquired, the original sampling values are matched with the channel numbers configured in step 1), and a configuration file is generated, which contains the channel coefficients and the original sampling values of the analog quantities;
[0037] In this embodiment, to avoid data loss, the processor first records the acquired original sampling values and the corresponding channel numbers in a second configuration file; the original sampling values of the input alternating currents and the analog quantities themselves have a corresponding relationship, and thus the original sampling values of the input alternating currents and the input channels corresponding to the analog quantities also have a corresponding relationship, so that the original sampling values and the channel numbers can be matched.
[0038] The configuration file generated in this step is essentially a combination of the first configuration file and the second configuration file obtained in the above steps according to the channel numbers, and a third configuration file is newly generated; the third configuration file contains the channel coefficients and the original sampling values of the analog quantities; for example, if the first configuration file contains a content part of a channel number T1, a channel rated value R1, and a channel coefficient K1, then through the channel number T1, the content is combined with the content part of the second configuration file containing the channel number T1 and the original sampling value D1, and a content part of the third configuration file containing the channel number T1, the channel coefficient K1, and the original sampling value D1 is obtained; since the channel number is mainly used for matching the corresponding channel in the overall scheme, in other embodiments, the third configuration file can not include the channel number, and only include the channel coefficients and the original sampling values of the corresponding analog quantities.
[0039] Wherein, since the man-machine interaction module is arranged in the embodiment, the commissioning personnel can set the channel rated value Rn of the analog input channel, and thus the set channel rated value Rn on the menu is acquired before merging, and it is judged whether the channel rated value Rn is changed. If the channel rated value Rn is changed, the channel coefficient Kn corresponding to the new channel rated value Rn after the change is written back to the first configuration file according to the correspondence between the rated specification and the basic channel coefficient in Table 1 in step 1), the corresponding channel coefficient is updated, and then the measurement step in step 3) is performed. If the channel rated value Rn is not changed, the information in the first configuration file is not changed, and step 3) is directly performed.
[0040] In other embodiments, the above judgment and updating steps can also be performed after the merging is completed, and the channel coefficient Kn corresponding to the new channel rated value Rn after the change is directly written back to the third configuration file. The specific selection can be selected according to the actual demand; for example, in another embodiment, the first and second configuration files are not arranged to save the corresponding parameters, but a final configuration file is generated according to the channel coefficient, the channel number, the original sampling value and the correspondence therebetween, and the channel coefficient Kn corresponding to the new channel rated value Rn after the change is directly written back to the configuration file.
[0041] 3) According to the content in the configuration file, the real part, the imaginary part and the amplitude of the corresponding analog input channel are obtained.
[0042] In the embodiment, the information in the third configuration file (including the analog original sampling value Dn and the channel coefficient Kn thereof) is called to perform the full-cycle Fourier algorithm, the real part Real, the imaginary part Mag and the amplitude Amp of the current of each analog input channel are calculated, the original sampling value is used, and the full-cycle Fourier algorithm is used, and thus Real=D1*Kr1+D2*Kr2+…+Dn*KrN, Mag=D1*Km1+D2*Km2+…+Dn*KmN, Amp*Amp=Real*Real+Mag*Mag. Wherein D1, D2…Dn are analog original sampling values, Kr1, Kr2…KrN are real part coefficients, Kx1, Kx2…KxN are imaginary part coefficients; after the real part, the imaginary part and the amplitude are calculated, the above calculation results are used for voltage and current logic discrimination and sent to the upper monitoring layer device, and provided for subsequent use.
[0043] In this embodiment, in order to adapt the source control terminal to different AC access specifications, the AC transducer provided on the fan side or the photovoltaic inverter side of the source control terminal corresponds to the analog input channel, and the debugging personnel can select different AC plug-in types according to the AC power specifications of the source control terminal layer fan side or photovoltaic inverter side of the new energy station. When the use scene of the source control terminal changes, the corresponding AC plug-in needs to be replaced, and the debugging personnel need to set the response analog quantity rating Rn through the visual human-computer interaction interface. Each AC plug-in provided by the source control terminal integrates multiple AC transducers corresponding to multiple AC channels, and one transducer corresponds to one group of Rn and Kn. Each AC plug-in type provides different voltage transducers or current transducers, as long as the primary side input rating of the transducer is greater than or equal to the channel rating Rn of the corresponding analog input channel (that is, the AC flow specification). The secondary side output value of the selected voltage (or current) transducer is related to the AC channel coefficient: if the channel coefficients Kn of the two analog input channels are the same, the secondary side output values of the voltage (or current) transducers selected by the two channels are also the same; otherwise, if the channel coefficients Kn are different, the secondary side output values of the selected voltage (or current) transducers are different. Here, the primary side refers to the side of the transducer used to access the AC flow, that is, the transformer side, and the secondary side refers to the side of the transducer connected to the body of the source control terminal.
[0044] AC flow measurement method embodiment:
[0045] The embodiment provides a technical scheme of an AC flow measurement method, and the specific steps are as follows:
[0046] 1) Obtain the AC flow information of the source control terminal, which includes each input AC flow of the source control terminal; preset multiple analog input channels, the analog quantity of the analog input channel corresponds to each input AC flow of the source control terminal; configure the channel rating, channel number and channel coefficient corresponding to the analog quantity for each analog input channel;
[0047] 2) Obtain the original sampling value of the input AC flow of the source control terminal, and correspond the original sampling value to the channel number configured in step 1) to generate a configuration file, which contains the channel coefficient and the original sampling value corresponding to each analog quantity;
[0048] 3) According to the content in the configuration file, the real part, the imaginary part and the amplitude of the corresponding analog input channel are obtained.
[0049] The AC flow measurement method embodiment of the application corresponds to the source control terminal embodiment described above one by one, and the specific description and effects are referred to the source control terminal embodiment, which will not be repeated here.
[0050] The application has the following characteristics: according to the relationship between the rated specification and the channel coefficient, the change of the interchange flow rate is read to reversely write the analog quantity collection channel coefficient, the interchange flow rate data collection is realized, the interchange flow rate access specification of the source control terminal equipment on the fan side or the photovoltaic inverter side is adapted, and therefore the interchange flow rate measurement can be completed in the case that the access specifications are different. The program of one model of the source control terminal of the application is suitable for use in multiple different new energy stations, greatly improves the reusability of the program, reduces the workload of the program designers, reduces the maintenance amount of the field debugging personnel, and reduces the risk of artificial debugging errors caused by the diversity of the stations.
[0051] It should be understood that the above specific embodiments of the application are only used for illustrative or explanatory purposes of the principles of the application, and do not constitute a limitation on the application. Therefore, any modification, equivalent replacement, improvement, etc. made without departing from the spirit and scope of the application shall be included in the protection scope of the application. In addition, the appended claims of the application are intended to cover all changes and modifications falling within the scope and boundary of the appended claims, or the equivalent forms of such scope and boundary.
Claims
1. A source control terminal, characterized in that, Includes a processor, which executes an instruction program to perform the following measurement process: 1) Obtain the AC quantity information of the source control terminal, the AC quantity information including each input AC quantity of the source control terminal; each input AC quantity of the source control terminal corresponds to the analog quantity of the preset multi-channel analog input channel; configure the channel rating, channel number and channel coefficient corresponding to the analog quantity for each analog input channel; 2) Obtain the original sampled value of the input AC quantity of the source control terminal, match the original sampled value with the channel number configured in step 1), and generate a configuration file. The configuration file contains the channel coefficient and original sampled value corresponding to each analog quantity. 3) Based on the contents of the configuration file, obtain the real part, imaginary part, and amplitude of the corresponding analog input channel.
2. The source control terminal according to claim 1, characterized in that, The acquired AC input information of the source control terminal also includes all the rated specifications of each input AC input of the source control terminal, and sets the corresponding basic channel coefficient for different rated specifications. If the channel rating changes, the new channel rating is used as the rated specification. Based on the correspondence between the rated specification and the basic channel coefficient, the corresponding basic channel coefficient is obtained as the channel coefficient corresponding to the new channel rating, and the corresponding channel coefficient in the first configuration file is updated.
3. The source control terminal according to claim 1 or 2, characterized in that, In step 3), based on the channel coefficients and original sampled values corresponding to the analog quantities in the configuration file, the real part, imaginary part, and amplitude of the corresponding analog input channel are obtained using the full-cycle Fourier algorithm.
4. The source control terminal according to claim 1 or 2, characterized in that, The source control terminal also includes a human-machine interaction module, which is used to display the channel rating of the analog input channel as an adjustable value, so that the debugging personnel can adjust the channel rating.
5. The source control terminal according to claim 1 or 2, characterized in that, The source control terminal has an AC converter and an analog input channel installed on the new energy power generation unit side. The primary input rated value of the converter is greater than or equal to the channel rated value of the corresponding analog input channel. The primary side refers to the side of the converter used to connect AC signals.
6. The source control terminal according to claim 1 or 2, characterized in that, The AC converter installed on the new energy power generation unit side of the source control terminal corresponds to the analog input channel. The secondary output value of the converter is related to the channel coefficient. If the channel coefficients of the analog input channels are the same, then the secondary output values of the AC converters corresponding to these channels are also the same. The secondary side refers to the side of the converter connected to the source control terminal.
7. A method for measuring alternating current, characterized in that, The steps are as follows: 1) Obtain the AC quantity information of the source control terminal, the AC quantity information including each input AC quantity of the source control terminal; each input AC quantity of the source control terminal corresponds to the analog quantity of the preset multi-channel analog input channel; configure the channel rating, channel number and channel coefficient corresponding to the analog quantity for each analog input channel; 2) Obtain the original sampled value of the input AC quantity of the source control terminal, match the original sampled value with the channel number configured in step 1), and generate a configuration file. The configuration file contains the channel coefficient and original sampled value corresponding to each analog quantity. 3) Based on the contents of the configuration file, obtain the real part, imaginary part, and amplitude of the corresponding analog input channel.
8. The AC quantity measurement method according to claim 7, characterized in that, The acquired AC input information of the source control terminal also includes all the rated specifications of each input AC input of the source control terminal, and sets the corresponding basic channel coefficient for different rated specifications. If the channel rating changes, the new channel rating is used as the rated specification. Based on the correspondence between the rated specification and the basic channel coefficient, the corresponding basic channel coefficient is obtained as the channel coefficient corresponding to the new channel rating, and the corresponding channel coefficient in the configuration file is updated.
9. The AC quantity measurement method according to claim 7 or 8, characterized in that, In step 3), based on the channel coefficients and original sampled values corresponding to the analog quantities in the configuration file, the real part, imaginary part, and amplitude of the corresponding analog input channel are obtained using the full-cycle Fourier algorithm.
10. The AC quantity measurement method according to claim 7 or 8, characterized in that, The channel rating of the analog input channel is a value that can be manually adjusted.
Citation Information
Patent Citations
Correction method and system for merging unit acquisition channels of power system
CN105044639A
Method for calculating residual current by collecting three-phase and zero-sequence currents under three-phase four-wire system
CN111610358A