Intelligent debugging method and system for electromagnetic flowmeter converter
The intelligent debugging method and system simplifies the calibration process of the electromagnetic flowmeter converter. The use of dual-channel acquisition and repeated sampling technology improves the measurement accuracy and the reliability of the calibration results, and solves the inconvenience caused by operating multiple instruments.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU ZHENHUA INSTR
- Filing Date
- 2026-04-09
- Publication Date
- 2026-05-19
AI Technical Summary
In the existing technology, the calibration of electromagnetic flowmeter converters requires the operation of multiple discrete instruments, which means that the operator needs to master the operation of multiple instruments, making the operation inconvenient.
This invention provides an intelligent debugging method and system that determines the calibration type and standard signal by collecting calibration instructions and product information, generates a calibration report by combining actual signals, uses dual-channel acquisition and repeated sampling to improve measurement accuracy, and sets standard signal points and acquisition frequency through product information to improve calibration accuracy.
The calibration process has been simplified, the measurement accuracy of the electromagnetic flowmeter converter and the reliability of the calibration results have been improved, random errors have been reduced, and the convenience of operation and calibration efficiency have been enhanced.
Smart Images

Figure CN122062779A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electromagnetic flowmeter converter technology, and in particular to an intelligent debugging method and system for electromagnetic flowmeter converters. Background Technology
[0002] The electromagnetic flowmeter converter is the core control and signal processing unit of the electromagnetic flowmeter. Its function is to receive the induced electromotive force signal collected by the sensor, and after amplification, filtering, and calculation, output a standard electrical signal or digital signal corresponding to the flow rate of the fluid being measured. It also undertakes functions such as parameter configuration, fault diagnosis, and data communication.
[0003] During the production of electromagnetic flowmeter converters, several precision calibrations and parameter initializations must be completed before shipment, including 4-20mA current output calibration, excitation current calibration, and writing information such as product number and Bluetooth name. Currently, this is typically achieved through a combination of multiple discrete instruments, such as precision ammeters and resistance boxes, and manual recording and operation, to precisely calibrate and initialize the various parameters of the electromagnetic flowmeter converter.
[0004] Currently, calibrating various parameters of electromagnetic flowmeter converters requires operators to use multiple discrete instruments, which necessitates that operators master the operation of each instrument beforehand, making it inconvenient for operators to calibrate the electromagnetic flowmeter converters. Summary of the Invention
[0005] To facilitate operators in calibrating electromagnetic flowmeter converters, this invention provides an intelligent debugging method and system for electromagnetic flowmeter converters.
[0006] In a first aspect, the present invention provides an intelligent debugging method for an electromagnetic flowmeter converter, employing the following technical solution:
[0007] A smart commissioning method for electromagnetic flowmeter converters includes:
[0008] S1: Collect calibration instructions and product information;
[0009] S2: Determine the calibration type and the corresponding standard signal according to the calibration instructions;
[0010] S3: Acquire actual signals based on calibration type;
[0011] S4: Determine the calibration result by combining the standard signal and the actual signal;
[0012] S5: Generate a calibration report by combining product information and calibration results, and output the calibration report.
[0013] By adopting the above technical solution, the calibration type and corresponding standard signal are determined by collecting calibration instructions and product information. Then, the actual signal is collected by the calibration type and combined with the standard signal to determine the calibration result. Finally, a calibration report containing product information and calibration results is generated and output, which facilitates the operator to calibrate the electromagnetic flowmeter converter.
[0014] Optional methods for acquiring actual signals include:
[0015] S311: When the calibration type is the preset excitation calibration, execute the preset first acquisition control information to switch to the first excitation acquisition channel and acquire the first excitation actual value;
[0016] S312: Execute the preset second acquisition control information to switch to the second excitation acquisition channel and acquire the second excitation actual value;
[0017] S313: Repeatedly collect the actual excitation values of the first and second channels and calculate the final actual excitation current value, and use the final actual excitation current value as the actual signal.
[0018] By adopting the above technical solution, when the calibration type is the preset excitation calibration, the random error of single-channel acquisition is effectively reduced by the dual protection of dual-channel acquisition and repeated sampling, so that the final actual excitation current value is closer to the true value, and the measurement accuracy and reliability of the excitation calibration are greatly improved.
[0019] Alternatively, the actual signal acquisition methods also include:
[0020] S321: When the calibration type is the preset meter coefficient calibration, receive the excitation output current signal;
[0021] S322: Generates a reference voltage signal based on the excitation output current signal and outputs it to the electromagnetic flowmeter converter;
[0022] S323: Acquires real-time voltage signals and uses them as actual signals.
[0023] By adopting the above technical solution, when the calibration type is the preset meter coefficient calibration, the excitation output current signal is received and a reference voltage signal is generated and output to the electromagnetic flowmeter converter. Then, the real-time voltage signal is collected as the actual signal, so that the real-time voltage signal can form a precise correspondence with the excitation output current signal, which helps to improve the accuracy and effectiveness of meter coefficient calibration.
[0024] Alternatively, the actual signal acquisition methods also include:
[0025] S331: When the calibration type is the preset current calibration, the standard signal point is determined according to the product information;
[0026] S332: Determine the interval time and sampling frequency based on the standard signal points;
[0027] S333: Combines standard signal points and interval time to generate interval output control information, and executes the interval output control information;
[0028] S334: The actual current value is obtained by acquiring each standard signal point based on the acquisition frequency, and the actual current value is used as the actual signal.
[0029] By adopting the above technical solution, when the calibration type is the preset current calibration, the standard signal point is determined by the product information. The interval time and acquisition frequency are set by combining the standard signal point, the interval output control information is executed, and the actual current value is acquired as the actual signal according to the acquisition frequency. This ensures that the acquisition of the actual current value can accurately match the output rhythm of each standard signal point. This not only ensures the comprehensiveness of the acquired data, but also improves the measurement accuracy of the actual current value through a reasonable acquisition frequency, providing a high-quality data foundation for current calibration.
[0030] Optional methods for determining standard signal points include:
[0031] S3311: Determine the operating current range based on the product information;
[0032] S3312: Calculate the maximum difference in the operating current range to obtain the operating current difference;
[0033] S3313: Retrieve the number of calibrations based on calibration commands;
[0034] S3314: Determine the overall estimated time based on the number and type of calibrations;
[0035] S3315: Determine the current reference time based on the overall estimated time;
[0036] S3316: Combine the operating current difference with the current reference time to determine the selected signal point, and use the selected signal point as the standard signal point.
[0037] By adopting the above technical solution, the operating current range and operating current difference are determined by product information, the total estimated time is determined by the number of calibrations retrieved by the calibration command, the current reference time is determined based on the total estimated time, and finally the selected signal point is determined as the standard signal point. This ensures that the standard signal point can not only match the actual operating current characteristics of the electromagnetic flowmeter converter, but also adapt to the time plan of the calibration operation, effectively improving the pertinence of current calibration and the overall operation efficiency.
[0038] Optionally, methods for determining the current reference time include:
[0039] S33151: Determine the current proportion coefficient according to the calibration type;
[0040] S33152: Calculate the product of the overall estimated time and the current proportion coefficient and use it as the initial time of the current.
[0041] S33153: Determine whether the overall estimated time is greater than the preset verification baseline time;
[0042] S33154: If yes, calculate the difference between the total estimated time and the verification baseline time and use it as the estimated excess time;
[0043] S33155: Determine the current adjustment time based on the estimated excess time and the current initial time, and use the current adjustment time as the current reference time;
[0044] S33156: If not, the initial current time will be used as the current reference time.
[0045] By adopting the above technical solution, the current initial time is obtained by determining the current proportion coefficient through the calibration type. Then, based on the relationship between the overall estimated time and the preset calibration reference time, the current reference time is obtained by calculating the estimated excess time. This achieves dynamic adaptation of the current reference time, avoiding the problems of low efficiency due to excessively long calibration time or the impact of excessively short calibration time on the calibration effect, and ensuring the rationality of the current calibration rhythm and the calibration quality.
[0046] Optionally, methods for determining the current adjustment time include:
[0047] S331551: Determine whether the estimated excess time is less than the initial current time;
[0048] S331552: If yes, calculate the difference between the initial current time and the estimated excess time and use it as the current adjustment time;
[0049] S331553: If not, calculate the ratio between the estimated excess time and the initial current time and use it as the excess ratio.
[0050] S331554: Determine the excess adjustment coefficient based on the excess ratio value;
[0051] S331555: Calculate the product of the redundant adjustment coefficient and the initial current time and use it as the current adjustment time.
[0052] By adopting the above technical solution, the current adjustment time is determined by judging the relationship between the estimated excess time and the initial current time, and by using difference calculation or proportional coefficient adjustment, respectively. This makes the adjustment of the current reference time more refined and flexible, accurately matching the time requirements under different calibration scenarios, further optimizing the time allocation of current calibration, and improving the accuracy and rationality of current calibration.
[0053] Optionally, the methods for determining the selected signal points include:
[0054] S33161: Calculate the quotient between the current reference time and the preset acquisition reference time and use it as the number of acquisitions;
[0055] S33162: Determine the sampling difference by combining the operating current difference and the number of samplings;
[0056] S33163: Select the operating current range based on the acquired difference and use it as the difference signal point;
[0057] S33164: Determine integer signal points based on the operating current range;
[0058] S33165: Determine the overlap ratio based on the difference signal point and the integer signal point;
[0059] S33166: Determine whether the overlap ratio value is greater than the preset overlap reference ratio value;
[0060] S33167: If yes, then the difference signal point will be used as the selected signal point;
[0061] S33168: If not, then select the integer signal point based on the difference signal point and use it as the selection signal point.
[0062] By adopting the above technical solution, the number of acquisitions is calculated by using the current reference time and the acquisition reference time. The acquisition difference is obtained by combining the difference of the operating current. Then, the signal point is selected by the overlap ratio of the difference signal point and the integer signal point. This ensures that the selection of the standard signal point meets the requirement of uniform distribution of the current difference and also takes into account the convenience of actual acquisition. This makes the standard signal of current calibration more scientific and reasonable, and improves the operability and measurement accuracy of current calibration.
[0063] Alternatively, the actual signal acquisition methods also include:
[0064] S341: When the calibration type is preset pulse frequency calibration, determine the target number of pulses based on the product information;
[0065] S342: Determine the pulse output control information based on the target number of pulses, and execute the pulse output control information;
[0066] S343: Real-time acquisition of the number of output pulses corresponding to the preset pulse reference duration, and uses the number of output pulses as the actual signal.
[0067] By adopting the above technical solution, when the calibration type is preset pulse frequency calibration, the target number of pulses is determined by the product information, the pulse output control information is executed, and the number of output pulses corresponding to the preset pulse reference duration is collected in real time. The number of output pulses is used as the actual signal to provide a direct and reliable actual signal for pulse frequency calibration, which significantly improves the accuracy of pulse frequency calibration.
[0068] Secondly, the present invention provides an intelligent debugging system for an electromagnetic flowmeter converter, which adopts the following technical solution:
[0069] An intelligent commissioning system for electromagnetic flowmeter converters includes:
[0070] The data acquisition module is used to acquire calibration instructions, product information, actual signals, actual values of the first and second excitation channels, real-time voltage signals, actual current values, and the number of output pulses.
[0071] The memory stores a program for implementing an intelligent debugging method for an electromagnetic flowmeter converter as described in any one of the first aspects;
[0072] The processor loads and executes programs stored in memory.
[0073] In summary, the present invention has at least one of the following beneficial technical effects:
[0074] 1. By collecting calibration instructions and product information, the calibration type and corresponding standard signal are determined. Then, the actual signal is collected according to the calibration type, and the calibration result is determined by combining the standard signal. Finally, a calibration report containing product information and calibration results is generated and output, which facilitates the operator to calibrate the electromagnetic flowmeter converter.
[0075] 2. When the calibration type is the preset excitation calibration, the dual protection of dual-channel acquisition and repeated sampling effectively reduces the random error of single-channel acquisition, making the final actual excitation current value closer to the true value, and greatly improving the measurement accuracy and reliability of the excitation calibration results.
[0076] 3. When the calibration type is the preset current calibration, the standard signal point is determined through the product information. The interval time and acquisition frequency are set in combination with the standard signal point. The interval output control information is executed and the actual current value is acquired as the actual signal according to the acquisition frequency. This ensures that the acquisition of the actual current value can accurately match the output rhythm of each standard signal point. This not only ensures the comprehensiveness of the acquired data, but also improves the measurement accuracy of the actual current value through a reasonable acquisition frequency, providing a high-quality data foundation for current calibration. Attached Figure Description
[0077] Figure 1This is a flowchart of a method for intelligent debugging of electromagnetic flowmeter converters;
[0078] Figure 2 This is the circuit diagram for excitation calibration. Detailed Implementation
[0079] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0080] An intelligent debugging method for electromagnetic flowmeter converters is proposed. By collecting calibration instructions and product information, the calibration type (excitation, current, pulse frequency, etc.) and corresponding standard signals are determined. The actual values of dual-channel excitation, real-time voltage signals, actual current values, pulse output durations, and other actual signals are collected in a targeted manner. The calibration results are obtained by combining the standard signals and a calibration report containing product information is generated, which facilitates the operator to calibrate the electromagnetic flowmeter converter.
[0081] Reference Figure 1 This invention discloses an intelligent debugging method for an electromagnetic flowmeter converter, comprising:
[0082] S1: Collect calibration instructions and product information.
[0083] The calibration command refers to the instruction used to specify the calibration type and related calibration parameters for the electromagnetic flowmeter converter. Product information refers to the unique identifier and characteristic data related to the electromagnetic flowmeter converter to be calibrated, including product number, Bluetooth name, operating current range, etc.
[0084] The calibration command is obtained after being issued by the host computer. Product information can be pre-entered and synchronized to the preset debugging device by the host computer, or it can be obtained by reading the data stored in the converter's internal storage through the debugging device.
[0085] The commissioning equipment refers to the equipment used for calibrating electromagnetic flowmeter converters, such as excitation calibration, meter coefficient calibration, current calibration, and pulse frequency calibration. The commissioning equipment is pre-installed with modules for calibration functions such as excitation calibration, meter coefficient calibration, current calibration, and pulse frequency calibration, so that it can be used directly during use. This allows operators to perform different calibration types with a single device.
[0086] S2: Determine the calibration type and the corresponding standard signal according to the calibration instructions.
[0087] Here, calibration type refers to the specific calibration item specified in the calibration instruction. Standard signal refers to the theoretical reference signal corresponding to the calibration type.
[0088] By extracting core instruction information from the calibration command issued by the host computer, the corresponding calibration type is obtained. Then, by inputting the product information and calibration type into the preset type standard database, the corresponding standard signal is obtained for easy subsequent use.
[0089] The type standard database pre-stores a lookup table of different calibration types, product information and corresponding standard signals, which is obtained after the operator pre-enters the information.
[0090] S3: Acquire the actual signal based on the calibration type.
[0091] The actual signal refers to the physical signal collected during the intelligent debugging process according to the calibration type, which reflects the true working state of the electromagnetic flowmeter converter.
[0092] By collecting actual signals according to different calibration types, it is convenient for subsequent use.
[0093] To further ensure the rationality of the actual signal, it is necessary to perform further separate analysis and calculation on the actual signal, which will be explained in detail through the steps shown below.
[0094] The actual signal acquisition method includes the following steps:
[0095] S311: When the calibration type is the preset excitation calibration, execute the preset first acquisition control information to switch to the first excitation acquisition channel and acquire the first excitation actual value.
[0096] Among them, excitation calibration refers to the type of calibration performed on the excitation current, and is obtained after pre-input by the operator. First-channel acquisition control information refers to the instruction data used to switch to the first excitation data acquisition path and initiate acquisition. First-channel acquisition control information is obtained after pre-input by the operator. First-channel excitation actual value refers to the specific value acquired through the first excitation acquisition channel, reflecting the true state of the current excitation current.
[0097] When the calibration type is determined to be excitation calibration, the first acquisition control information is used to control the acquisition circuit of excitation calibration to switch to the first excitation acquisition channel, so as to acquire the actual value of the first excitation for subsequent use.
[0098] Reference Figure 2The excitation calibration acquisition circuit includes controllers SW1, SW2, and SW3, resistors R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, and R12. Pin 1 of controller SW1 is connected to one end of resistor R1, one end of the second resistor R2, and the X input terminal. The other end of resistor R1, the other end of the second resistor R2, and pin 2 of controller SW1 are connected to pin 1 of controller SW3. Pin 4 of controller SW3 is simultaneously connected to one end of resistors R4, R5, and R6. The other end of resistor R4 is connected to one end of resistor R7. The other ends of resistors R5, R6, R8, and R9 are interconnected. The other end of resistor R7 is connected to one end of resistor R10. The other ends of resistors R8 and R9 are simultaneously connected to one end of resistor R11 and pin 3 of controller SW3. The other end of resistor R11 is connected to the other end of resistor R10. Pin 2 of controller SW3 is simultaneously connected to one end of resistor R12, R3, and pin 2 of controller SW2. Pin 1 of controller SW2, the other end of resistor R12, and the other end of resistor R3 are connected to the Y input terminal.
[0099] The controllers SW1, SW2, and SW3 can all be model AQW212EHA. The first channel acquires control information for the operation of controller SW1. The specific model of the resistor is preset by the operator according to actual needs.
[0100] The first excitation acquisition channel is the channel corresponding to the transition from the X input terminal to the Y input terminal.
[0101] S312: Execute the preset second acquisition control information to switch to the second excitation acquisition channel and acquire the second excitation actual value.
[0102] The second acquisition control information refers to the instruction data used to switch to the second excitation data acquisition path and start acquisition. This second acquisition control information is obtained after pre-input by the operator. The second excitation actual value refers to the specific value acquired through the second excitation acquisition channel, reflecting the true state of the current excitation current. The second acquisition control information is used by controller SW2 for operation.
[0103] The second excitation acquisition channel is the channel corresponding to the transition from the Y input terminal to the X input terminal.
[0104] The second channel of control information is used to switch the excitation calibration acquisition circuit to the second excitation acquisition channel, thereby acquiring the actual excitation value for subsequent use.
[0105] S313: Repeatedly collect the actual excitation values of the first and second channels and calculate the final actual excitation current value, and use the final actual excitation current value as the actual signal.
[0106] The final actual excitation current value refers to the more accurate value that is closer to the real excitation current after data processing of the first and second excitation actual values that were repeatedly collected.
[0107] By performing differential calculations on the actual excitation values of the first and second channels, and then averaging the data from multiple sets of collected data, the final actual excitation current value is obtained. This final actual excitation current value is then used as the actual signal, thereby improving the accuracy of the acquired actual signal.
[0108] S321: When the calibration type is preset meter coefficient calibration, receive the excitation output current signal.
[0109] Among them, meter coefficient calibration refers to the type of meter coefficient calibration, which is obtained after pre-input by the operator.
[0110] The excitation output current signal refers to the excitation current signal output by the electromagnetic flowmeter converter to the intelligent debugging equipment.
[0111] S322: Generates a reference voltage signal based on the excitation output current signal and outputs it to the electromagnetic flowmeter converter.
[0112] The reference voltage signal refers to a voltage signal that has a fixed proportional relationship with the excitation output current signal.
[0113] The excitation output current signal is input into the debugging equipment, where a preset signal conversion circuit samples and converts the signal. A stable reference voltage signal is generated according to a preset ratio and output to the electromagnetic flowmeter converter, facilitating detection and identification by the converter. The signal conversion circuit is preset by the operator according to a pre-defined current-to-voltage conversion ratio.
[0114] S323: Acquires real-time voltage signals and uses them as actual signals.
[0115] Among them, the real-time voltage signal refers to the voltage data fed back to the debugging equipment after the electromagnetic flowmeter converter detects the reference voltage signal output by the debugging equipment.
[0116] By acquiring real-time voltage signals and using them as actual signals, it is convenient to accurately acquire actual signals.
[0117] S331: When the calibration type is the preset current calibration, the standard signal point is determined according to the product information.
[0118] Among them, current calibration refers to the type of calibration performed on the current, which is obtained after pre-input by the operator.
[0119] The standard signal point refers to the specific current value that is preset in current calibration and used as a calibration reference.
[0120] When the calibration type is the preset current calibration, the standard signal point is determined by analyzing the product information, which facilitates subsequent use.
[0121] To further ensure the rationality of the standard signal points, it is necessary to perform further separate analysis and calculation on the standard signal points, which will be explained in detail through the following steps.
[0122] The method for determining standard signal points includes the following steps:
[0123] S3311: Determine the operating current range based on the product information.
[0124] The operating current range refers to the effective range of the output current of the electromagnetic flowmeter converter to be calibrated under normal operating conditions.
[0125] By inputting product information into a preset product database, the operating current range can be matched for convenient subsequent use.
[0126] The product database pre-stores a table mapping different product information to their corresponding operating current ranges. The database is retrieved after the operator queries the corresponding operating current range for different product information and inputs it into the database.
[0127] S3312: Calculate the maximum difference in the operating current range to obtain the operating current difference.
[0128] Among them, the operating current difference refers to the maximum span of the operating current range.
[0129] By retrieving the maximum and minimum values of the operating current range and calculating the difference between the maximum and minimum values as the operating current difference, it is convenient for subsequent use.
[0130] S3313: Retrieve the number of calibrations based on calibration commands.
[0131] The number of calibrations refers to the number of calibration operations that need to be performed under the corresponding calibration type, as specified in the calibration instruction.
[0132] The calibration command retrieves the number of calibrations for convenient subsequent use.
[0133] S3314: Determine the overall estimated time based on the number of calibrations and the type of calibration.
[0134] The total estimated time refers to the time required to calibrate different types of data.
[0135] By inputting the calibration type into a preset type database to obtain the type reference time, and then calculating the total time between the number of calibrations and the type reference time, the overall estimated time is obtained, which is convenient for subsequent use.
[0136] The type database is pre-stored with a database of different calibration types and their corresponding type reference times. The type database is obtained after the operator pre-enters the information.
[0137] S3315: Determine the current reference time based on the overall estimated time.
[0138] Among them, the current reference time refers to the core time basis used for standard signal point acquisition and data processing in the current calibration scenario, based on the overall estimated time allocation.
[0139] The product of the overall estimated time and the preset current reference ratio is calculated, and the calculation result is used as the current reference time for convenient subsequent use.
[0140] The current reference ratio is preset by the operator according to actual needs.
[0141] To further ensure the rationality of the current reference time, it is necessary to perform a further separate analysis and calculation on the current reference time, which will be explained in detail through the steps shown below.
[0142] The method for determining the current reference time includes the following steps:
[0143] S33151: Determine the current percentage coefficient based on the calibration type.
[0144] The current proportion coefficient refers to the proportional parameter used to allocate the overall estimated time.
[0145] By counting the calibration types and using the count as the number of types, the number of types is then input into a preset current ratio database to match and obtain the current ratio coefficient, which is convenient for subsequent use.
[0146] The larger the number of types, the smaller the current percentage coefficient. The current percentage database pre-stores a lookup table of different types and their corresponding current percentage coefficients. The current percentage database is obtained after the operator has pre-entered the data.
[0147] S33152: Calculate the product of the overall estimated time and the current proportion coefficient and use it as the initial time of the current.
[0148] Among them, the initial current time refers to the initial time corresponding to the allocation of the overall estimated time based on the current proportion coefficient.
[0149] The product of the overall estimated time and the current proportion coefficient is calculated, and the result is used as the initial current time for subsequent use.
[0150] S33153: Determine whether the overall estimated time is greater than the preset verification baseline time. If yes, proceed to S33154; if no, proceed to S33156.
[0151] The calibration reference time refers to the reasonable maximum base time threshold for a single complete calibration process. The calibration reference time is obtained after being pre-input by the operator.
[0152] By judging whether the overall estimated time is greater than the preset verification benchmark time, it can be determined whether there is redundancy in the overall estimated time.
[0153] S33154: Calculate the difference between the overall estimated time and the verification baseline time and use it as the estimated excess time.
[0154] The estimated redundant time refers to the time corresponding to the existence of redundancy.
[0155] When the overall estimated time is greater than the preset verification benchmark time, it indicates that there is redundancy in the overall estimated time. Therefore, the difference between the overall estimated time and the verification benchmark time is calculated, and the calculation result is used as the estimated excess time for convenient subsequent use.
[0156] S33155: Determine the current adjustment time based on the estimated excess time and the initial current time, and use the current adjustment time as the current reference time.
[0157] Among them, the current adjustment time refers to the adjustment time corresponding to the initial current time.
[0158] By combining the estimated excess time with the initial current time, the current adjustment time is determined and used as the current reference time, thereby improving the accuracy of the obtained current reference time.
[0159] To further ensure the rationality of the current adjustment time, it is necessary to perform a more detailed separate analysis and calculation of the current adjustment time, which will be explained in detail through the steps shown below.
[0160] The method for determining the current adjustment time includes the following steps:
[0161] S331551: Determine whether the estimated excess time is less than the current initial time. If yes, proceed to S331552; if no, proceed to S331553.
[0162] In this process, it is determined whether the estimated excess time is less than the initial current time, thereby determining whether the excess time can be directly reduced.
[0163] S331552: Calculate the difference between the initial current time and the estimated excess time and use it as the current adjustment time.
[0164] When the estimated excess time is less than the initial current time, it means that the excess time can be directly reduced. Therefore, the difference between the initial current time and the estimated excess time is calculated, and the calculation result is used as the current adjustment time to improve the accuracy of the obtained current adjustment time.
[0165] S331553: Calculate the ratio between the estimated excess time and the initial current time and use it as the excess ratio.
[0166] The excess ratio refers to the ratio between the estimated excess time and the initial current time.
[0167] When the estimated excess time is less than the initial current time, it means that the excess time cannot be directly reduced at this time. Therefore, the excess ratio is calculated for convenient use later.
[0168] S331554: Determine the excess adjustment coefficient based on the excess ratio value.
[0169] The redundant adjustment factor refers to the adjustment factor corresponding to the compression adjustment of the initial current time.
[0170] The excess ratio value is input into a preset excess adjustment database to obtain the excess adjustment coefficient, which is convenient for subsequent use.
[0171] The redundancy adjustment database pre-stores a table of different redundancy ratio values and their corresponding redundancy adjustment coefficients. The redundancy adjustment database is pre-set by the operator according to their needs.
[0172] For example, the excess adjustment database can be set to a excess adjustment coefficient of 0.9 when the excess ratio is ≤1.3; a excess adjustment coefficient of 0.8 when 1.3 < excess ratio ≤1.6; and a excess adjustment coefficient of 0.7 when the excess ratio >1.6.
[0173] S331555: Calculate the product of the redundant adjustment coefficient and the initial current time and use it as the current adjustment time.
[0174] Specifically, by calculating the product between the excess adjustment coefficient and the initial current time, and using the calculation result as the current adjustment time, the accuracy of the obtained current adjustment time is improved.
[0175] S33156: Use the initial current time as the current reference time.
[0176] When the total estimated time is not greater than the preset verification reference time, it means that there is no redundancy in the total estimated time. Therefore, the initial current time is directly used as the current reference time, thereby improving the accuracy of the obtained current reference time.
[0177] S3316: Combine the operating current difference with the current reference time to determine the selected signal point, and use the selected signal point as the standard signal point.
[0178] The selected signal point refers to the specific current value candidate selected for current calibration.
[0179] By combining the analysis of the operating current difference with the current reference time, the selected signal point is determined and used as the standard signal point, thereby improving the accuracy of the acquired standard signal point.
[0180] To further ensure the rationality of the selected signal points, it is necessary to perform further individual analysis and calculation on the selected signal points, which will be explained in detail through the steps shown below.
[0181] The method for determining the signal point includes the following steps:
[0182] S33161: Calculate the quotient between the current reference time and the preset acquisition reference time and use it as the number of acquisitions.
[0183] The data acquisition reference time refers to the reference time required for a single current acquisition. The number of acquisitions refers to the number of times data can be acquired within the current reference time.
[0184] The quotient between the current reference time and the preset acquisition reference time is calculated, and the calculation result is used as the number of acquisitions for convenient subsequent use.
[0185] S33162: Determine the acquisition difference by combining the operating current difference and the number of acquisitions.
[0186] The acquisition difference refers to the average difference between the intervals required for current acquisition.
[0187] The quotient between the number of data acquisitions and the preset number of repetitions is calculated, and the result is used as the single acquisition count. Then, the quotient between the operating current difference and the single acquisition count is calculated, and the result is used as the acquisition difference, which is convenient for subsequent use.
[0188] The number of repetitions refers to the number of times a single signal point is repeatedly sampled. The number of repetitions is obtained after being pre-input by the operator.
[0189] S33163: Select the operating current range based on the acquired difference and use it as the difference signal point.
[0190] Among them, the difference signal point refers to the signal point selected according to the interval of the acquisition difference.
[0191] By selecting signal points within the operating current range according to the interval of the difference in the data collected, and using these selected signal points as difference signal points, it becomes convenient for subsequent use.
[0192] S33164: Determine integer signal points based on the operating current range.
[0193] Among them, integer signal points refer to the signal points corresponding to the integer selection of signal points within the operating current range.
[0194] By selecting integers within the operating current range and using them as integer signal points, it is convenient for subsequent use.
[0195] S33165: Determine the overlap ratio based on the difference signal point and the integer signal point.
[0196] The overlap ratio refers to the index of the similarity between the set of quantized difference signal points and the set of integer signal points.
[0197] By identifying points where the difference signal points and integer signal points overlap, and using these points as overlapping signal points, the ratio between the number of overlapping signal points and the number of integer signal points is calculated and used as the overlap ratio for subsequent use.
[0198] S33166: Determine whether the overlap ratio value is greater than the preset overlap reference ratio value. If yes, proceed to S33167; if no, proceed to S33168.
[0199] The overlap reference ratio is a percentage threshold used to determine the compatibility between the difference signal point and the integer signal point. The overlap reference ratio is obtained after pre-input by the operator.
[0200] By judging whether the overlap ratio is greater than the preset overlap reference ratio, it can be determined whether the difference signal point can be used directly.
[0201] S33167: Use the difference signal point as the selected signal point.
[0202] When the overlap ratio is greater than the preset overlap reference ratio, it means that the difference signal point can be used directly. Therefore, the difference signal point is used as the selection signal point to improve the accuracy of the acquired selection signal point.
[0203] S33168: Select integer signal points based on the difference signal points and use them as selection signal points.
[0204] When the overlap ratio is not greater than the preset overlap reference ratio, it means that the difference signal point cannot be used directly. Therefore, the number of difference signals is retrieved based on the difference signal point, and then the integer signal points with consistent intervals are selected as the selection signal points based on the number of difference signals, thereby improving the accuracy of the obtained selection signal points.
[0205] S332: Determine the interval time and sampling frequency based on the standard signal points.
[0206] The interval time refers to the time interval between two adjacent standard signal points, that is, the time required for the electromagnetic flowmeter converter to switch to the next standard signal point and complete the stable output after the current output of one standard signal point has stabilized. The sampling frequency refers to the number of samplings completed per second for a single standard signal point.
[0207] The interval time is obtained by retrieving the number of standard signal points and calculating the current reference time with the number of standard signal points. The standard signal points are then input into a preset signal stability database to match and obtain the signal stabilization time. The difference between the interval time and the signal stabilization time is calculated to obtain the acquisition duration of a single point. Finally, the acquisition frequency is obtained by calculating the quotient between the number of repetitions and the signal stabilization time, which is convenient for subsequent use.
[0208] S333: Combines standard signal points and interval time to generate interval output control information, and executes the interval output control information.
[0209] Interval output control information refers to the control information used to control the output of current signals corresponding to each standard signal point in a preset order and at a time interval.
[0210] By combining standard signal points with time intervals to form control commands, and using the combined control commands as interval output control information, the interval output control information is executed, which facilitates subsequent data acquisition.
[0211] S334: The actual current value is obtained by acquiring each standard signal point based on the acquisition frequency, and the actual current value is used as the actual signal.
[0212] The actual current value refers to the current value obtained when acquiring each standard signal point.
[0213] By acquiring each standard signal point according to the acquisition frequency, the actual current value is obtained and used as the actual signal, thereby improving the accuracy of the acquired actual signal.
[0214] S341: When the calibration type is preset pulse frequency calibration, determine the target number of pulses based on the product information.
[0215] Among them, pulse frequency calibration refers to the type of pulse frequency calibration, which is obtained through pre-input by the operator. Target pulse count refers to the threshold number of pulses used as a frequency comparison benchmark.
[0216] The target number of pulses is obtained by inputting product information into a preset product database, which facilitates subsequent use.
[0217] The product database contains a pre-stored table of different product information and their corresponding target pulse counts. The product database is retrieved after the operator has pre-entered the information.
[0218] S342: Determine the pulse output control information based on the target number of pulses, and execute the pulse output control information.
[0219] Among them, pulse output control information refers to the control information used to control the output according to the target number of pulses.
[0220] By combining the target number of pulses with preset pulse parameters (output frequency, pulse width, timing logic), a set of instructions is generated as pulse output control information, and the pulse output control information is executed to facilitate subsequent data acquisition.
[0221] S343: Real-time acquisition of the number of output pulses corresponding to the preset pulse reference duration, and uses the number of output pulses as the actual signal.
[0222] The pulse reference duration refers to the reference detection time required for pulse frequency calibration, which is obtained through pre-input by the operator. The number of output pulses refers to the actual number of pulses output.
[0223] By debugging the equipment to collect the number of output pulses in real time and using it as the actual signal, the accuracy of the acquired actual signal is improved.
[0224] S4: Determine the calibration result by combining the standard signal and the actual signal.
[0225] The calibration result refers to the result obtained by quantifying and comparing the deviation between the standard signal and the actual signal.
[0226] When the calibration type is excitation calibration, current calibration, or pulse frequency calibration, the deviation between the actual type signal and the actual signal is directly analyzed to obtain the signal deviation value. When the calibration type is meter coefficient calibration, the meter coefficient is analyzed and calculated using the actual signal to obtain the actual type signal. Then, the deviation between the actual type signal and the actual signal is analyzed to obtain the signal deviation value. The signal deviation value is compared with the preset type reference deviation range of the calibration type. If it falls within the range, the preset verification success is taken as the calibration result; otherwise, the preset verification failure is output as the calibration result for convenient subsequent use.
[0227] S5: Generate a calibration report by combining product information and calibration results, and output the calibration report.
[0228] A calibration report is a standardized document generated based on product information, calibration process data, and final calibration results.
[0229] By combining product information with calibration results and classifying and displaying the corresponding data according to each calibration type, a visual report is generated as a calibration report, which is then output to facilitate operators in calibrating electromagnetic flowmeter converters.
[0230] Based on the same inventive concept, embodiments of the present invention provide an intelligent debugging system for an electromagnetic flowmeter converter, comprising:
[0231] The data acquisition module is used to acquire calibration instructions, product information, actual signals, actual values of the first and second excitation channels, real-time voltage signals, actual current values, and the number of output pulses.
[0232] The memory stores a program for implementing an intelligent debugging method for an electromagnetic flowmeter converter as described above.
[0233] The processor loads and executes programs stored in memory.
[0234] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0235] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. An intelligent debugging method for electromagnetic flowmeter converters, characterized in that, include: S1: Collect calibration instructions and product information; S2: Determine the calibration type and the corresponding standard signal according to the calibration instructions; S3: Acquire actual signals based on calibration type; S4: Determine the calibration result by combining the standard signal and the actual signal; S5: Generate a calibration report by combining product information and calibration results, and output the calibration report.
2. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 1, characterized in that, The actual methods for acquiring signals include: S311: When the calibration type is the preset excitation calibration, execute the preset first acquisition control information to switch to the first excitation acquisition channel and acquire the first excitation actual value; S312: Execute the preset second acquisition control information to switch to the second excitation acquisition channel and acquire the second excitation actual value; S313: Repeatedly collect the actual excitation values of the first and second channels and calculate the final actual excitation current value, and use the final actual excitation current value as the actual signal.
3. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 1, characterized in that, Practical signal acquisition methods also include: S321: When the calibration type is the preset meter coefficient calibration, receive the excitation output current signal; S322: Generates a reference voltage signal based on the excitation output current signal and outputs it to the electromagnetic flowmeter converter; S323: Acquires real-time voltage signals and uses them as actual signals.
4. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 1, characterized in that, Practical signal acquisition methods also include: S331: When the calibration type is the preset current calibration, the standard signal point is determined according to the product information; S332: Determine the interval time and sampling frequency based on the standard signal points; S333: Combines standard signal points and interval time to generate interval output control information, and executes the interval output control information; S334: The actual current value is obtained by acquiring each standard signal point based on the acquisition frequency, and the actual current value is used as the actual signal.
5. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 4, characterized in that, The methods for determining standard signal points include: S3311: Determine the operating current range based on the product information; S3312: Calculate the maximum difference in the operating current range to obtain the operating current difference; S3313: Retrieve the number of calibrations based on calibration commands; S3314: Determine the overall estimated time based on the number and type of calibrations; S3315: Determine the current reference time based on the overall estimated time; S3316: Combine the operating current difference with the current reference time to determine the selected signal point, and use the selected signal point as the standard signal point.
6. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 5, characterized in that, Methods for determining the current reference time include: S33151: Determine the current proportion coefficient according to the calibration type; S33152: Calculate the product of the overall estimated time and the current proportion coefficient and use it as the initial time of the current. S33153: Determine whether the overall estimated time is greater than the preset verification baseline time; S33154: If yes, calculate the difference between the total estimated time and the verification baseline time and use it as the estimated excess time; S33155: Determine the current adjustment time based on the estimated excess time and the current initial time, and use the current adjustment time as the current reference time; S33156: If not, the initial current time will be used as the current reference time.
7. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 6, characterized in that, Methods for determining the current adjustment time include: S331551: Determine whether the estimated excess time is less than the initial current time; S331552: If yes, calculate the difference between the initial current time and the estimated excess time and use it as the current adjustment time; S331553: If not, calculate the ratio between the estimated excess time and the initial current time and use it as the excess ratio. S331554: Determine the excess adjustment coefficient based on the excess ratio value; S331555: Calculate the product of the redundant adjustment coefficient and the initial current time and use it as the current adjustment time.
8. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 5, characterized in that, The methods for determining the selected signal points include: S33161: Calculate the quotient between the current reference time and the preset acquisition reference time and use it as the number of acquisitions; S33162: Determine the sampling difference by combining the operating current difference and the number of samplings; S33163: Select the operating current range based on the acquired difference and use it as the difference signal point; S33164: Determine integer signal points based on the operating current range; S33165: Determine the overlap ratio based on the difference signal point and the integer signal point; S33166: Determine whether the overlap ratio value is greater than the preset overlap reference ratio value; S33167: If yes, then the difference signal point will be used as the selected signal point; S33168: If not, then select the integer signal point based on the difference signal point and use it as the selection signal point.
9. The intelligent debugging method for an electromagnetic flowmeter converter according to claim 1, characterized in that, Practical signal acquisition methods also include: S341: When the calibration type is preset pulse frequency calibration, determine the target number of pulses based on the product information; S342: Determine the pulse output control information based on the target number of pulses, and execute the pulse output control information; S343: Real-time acquisition of the number of output pulses corresponding to the preset pulse reference duration, and uses the number of output pulses as the actual signal.
10. An intelligent debugging system for an electromagnetic flowmeter converter, characterized in that, include: The data acquisition module is used to acquire calibration instructions, product information, actual signals, actual values of the first and second excitation channels, real-time voltage signals, actual current values, and the number of output pulses. The memory stores a program for implementing an intelligent debugging method for an electromagnetic flowmeter converter as described in any one of claims 1 to 9; The processor loads and executes programs stored in memory.