CN117234193B - Calibration device for a control system - Google Patents

Calibration device for a control system Download PDF

Info

Publication number
CN117234193B
CN117234193B CN202311497159.4A CN202311497159A CN117234193B CN 117234193 B CN117234193 B CN 117234193B CN 202311497159 A CN202311497159 A CN 202311497159A CN 117234193 B CN117234193 B CN 117234193B
Authority
CN
China
Prior art keywords
calibration
detection unit
detection
analog signal
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311497159.4A
Other languages
Chinese (zh)
Other versions
CN117234193A (en
Inventor
朱宗志
屠烟波
高棋兴
解群眺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Guoli Xin'an Technology Co ltd
Original Assignee
Zhejiang Guoli Xin'an Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Guoli Xin'an Technology Co ltd filed Critical Zhejiang Guoli Xin'an Technology Co ltd
Priority to CN202311497159.4A priority Critical patent/CN117234193B/en
Publication of CN117234193A publication Critical patent/CN117234193A/en
Application granted granted Critical
Publication of CN117234193B publication Critical patent/CN117234193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

Embodiments of the present invention relate to a calibration device for a control system. The apparatus includes: the detection units are coupled with the control unit and are used for detecting input and output of the detection units respectively; a switching unit including a plurality of switches configured to cause at least some of the plurality of switches to be turned on or off based on a calibration mode control instruction regarding the calibration device generated by the control unit so as to change detection paths of the plurality of detection units; and a control unit configured to generate a calibration mode control instruction regarding the calibration device based on the acquired calibration instruction so that the transformed detection path is adapted to a calibration mode of the calibration device, the calibration instruction being related to at least the control system to be calibrated and/or the calibration device. Therefore, the checking and detecting requirements of various types of board cards can be effectively improved, and the operation is simple and the hardware cost is low.

Description

Calibration device for a control system
Technical Field
Embodiments of the present invention relate generally to the field of industrial automation control, and more particularly to a calibration device for a control system.
Background
With the development of industrial automation, the control system is more and more commonly applied to various industries, and the types of board cards mounted in the control system are also more and more. After a period of use, each type of board will have some degree of parameter drift, especially for analog boards. Therefore, the board cards in the system are calibrated and inspected at intervals.
Conventional methods for calibrating control systems, such as a method for dotting each channel by using a high-precision measuring instrument; for example, each signal board card is provided with a corresponding high-precision source card for calibration, such as calibrating an AI (Analog Input) board card with an AO (Analog Output) source card, calibrating an AO board card with an AI source card, calibrating a DI (Digital Input) board card with a DO (Digital Output) source card, and calibrating a DO board card with a DI source card; the former method has large workload and complex operation; the latter requires preparation of a dedicated source card for each signal type board card and also requires re-customization of the source for non-standard signals, which is costly.
In summary, the conventional method for calibrating a control system has the following disadvantages: when coping with the checking and detecting requirements of various types of boards in the control system, the operation is complex and the cost is high.
Disclosure of Invention
Aiming at the problems, the invention provides the calibration equipment for the control system, which can effectively improve the calibration and detection requirements applicable to various types of board cards, and has the advantages of simple operation and low hardware cost.
According to a first aspect of the present invention there is provided a calibration device for a control system comprising: the detection units are coupled with the control unit and are used for detecting input and output of the detection units respectively; a switching unit including a plurality of switches configured to turn on or off at least some of the plurality of switches based on the calibration mode control instruction regarding the calibration device generated by the control unit so as to change the detection paths of the plurality of detection units; and a control unit configured to generate a calibration mode control instruction regarding the calibration device based on the acquired calibration instruction so that the transformed detection path is adapted to the calibration mode of the calibration device, the calibration instruction being related to at least the control system and/or the calibration device to be calibrated.
In some embodiments, the calibration device of the control system further comprises: a signal interface coupled to the switching unit for connection with the control system such that at least a portion of the detection path is accessible by the connected control system for inputting or outputting an electrical signal to at least one of the plurality of detection units; and at least one communication interface configured to be communicatively connected to the control system so that the control unit receives calibration feedback information from the connected control system; and the control unit is configured to be connected with the upper computer so as to receive the calibration instruction sent by the upper computer and/or send the calibration progress to the upper computer.
In some embodiments, the calibration device of the control system further comprises: a mode switching button configured to receive a trigger operation of a user so that the control unit generates a calibration mode control instruction based on the trigger operation of the user; wherein the calibration mode control instructions are indicative of at least one of the following with respect to the calibration device: self-calibration mode, external calibration mode, calibration detection unit to be self-calibrated, signal type to be external calibrated.
In some embodiments, the plurality of detection units comprises: the analog signal detection unit comprises an analog signal output detection unit and an analog signal input detection unit; and a digital signal detection unit including a digital signal output detection unit and a digital signal input detection unit.
In some embodiments, the transformed detection path supports one or more of the following electrical signal transmission relationships: receiving an analog signal output by a control system through an analog signal detection unit; receiving a digital signal output by a control system through a digital signal detection unit; outputting an analog signal to a control system through an analog signal detection unit; outputting a digital signal to a control system through a digital signal detection unit; outputting an analog signal to the digital signal detection unit through the analog signal detection unit; outputting a digital signal to an analog signal detection unit through a digital signal detection unit; receiving the analog signal output by the analog signal input detection unit through the analog signal output detection unit; the digital signal output by the digital signal input detection unit is received by the digital signal output monitoring unit.
In some embodiments, the plurality of switches in the switching unit constitute a plurality of switch branches, the plurality of switch branches comprising: the first switch branch is configured to establish electrical connection between the analog signal output detection unit and the signal interface after the first switch of the first switch branch is closed; the second switch branch is configured to establish electrical connection between the analog signal output detection unit and the analog signal input detection unit after a second switch of the second switch branch is closed; the third switch branch is configured to establish electrical connection between the analog signal input detection unit and the signal interface after a third switch of the third switch branch is closed; the fourth switch branch is configured to establish electrical connection between the digital signal input detection unit and the signal interface after a fourth switch of the fourth switch branch is closed; a fifth switching branch configured to establish an electrical connection between the analog signal input detection unit and the digital signal output detection unit after a fifth switch of the fifth switching branch is closed; a sixth switching branch configured to establish an electrical connection between the digital signal output detection unit and the signal interface after a sixth switch of the sixth switching branch is closed; and a seventh switching branch configured to establish an electrical connection between the digital signal input detection unit and the digital signal output detection unit after the seventh switch of the seventh switching branch is closed.
In some embodiments, the control unit is configured to: in response to determining that the generated calibration mode control instruction indicates the self-calibration mode, controlling the switching unit to enable an electrical connection between the signal interface and the first analog signal detection unit for analog signal detection so as to calibrate the first analog signal detection unit; the control switching unit respectively establishes electrical connection between a first analog signal detection unit in the plurality of detection units and other detection units in the plurality of detection units or between two detection units in the other detection units so as to calibrate the other detection units directly or indirectly based on the calibrated first analog signal detection unit; wherein the first standard analog signal source is an analog input signal or an analog output signal.
In some embodiments, the control unit is further configured to: in response to determining that the generated calibration mode control instruction indicates an external calibration mode, determining a signal type indicated by the received calibration instruction and a target to be calibrated; before the calibration device enters the external calibration mode, the calibration device is caused to enter a self-calibration mode so as to perform self-calibration at least for a detection unit corresponding to the determined signal type based on the determined signal type; and executing a calibration instruction through the calibrated detection unit to calibrate the control system to be calibrated, which is connected with the detection unit.
In some embodiments, the control unit is further configured to: calibrating a plurality of predetermined detection points based on the first standard analog signal source and a calibration accuracy threshold indicated by the calibration instruction, the detection points indicating a proportion of a maximum range to be calibrated with respect to the calibration device; fitting the calibration results of every two adjacent detection points based on the calibration results of each detection point to generate at least one fitting straight line about the measuring range corresponding to the adjacent detection points; and determining self-calibration results of the measuring ranges indicated by the plurality of preset detection points based on the fitting results.
In some embodiments, the control unit is further configured to: in response to determining that one of the fitted lines does not meet the predetermined calibration accuracy threshold, determining at least one new detection point between two adjacent detection points corresponding to the determined fitted line that does not meet the calibration accuracy threshold; calibrating the new detection point; and re-fitting the calibration results of every two adjacent detection points in the range corresponding to the determined fitting straight line which does not accord with the calibration accuracy threshold value based on the calibration results of the new detection points so as to generate at least two new fitting straight lines.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
The above and other features, advantages and aspects of embodiments of the present invention will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements.
Fig. 1 shows a schematic diagram of a configuration for implementing a calibration device for a control system according to an embodiment of the invention.
Fig. 2 shows a second structural schematic diagram for implementing a calibration device for a control system according to an embodiment of the invention.
Fig. 3 shows a third structural schematic diagram for implementing a calibration device for a control system according to an embodiment of the invention.
FIG. 4 shows a flow chart of a method for self-calibration of a control system according to an embodiment of the invention.
Fig. 5 shows a flow chart of a method for external calibration of a control system according to an embodiment of the invention.
Fig. 6 shows a schematic diagram of an analog signal output detection unit structure according to an embodiment of the present invention.
Fig. 7 shows a schematic diagram of an analog signal input detection unit structure according to an embodiment of the present invention.
Fig. 8 shows a schematic diagram of a digital signal output detection unit structure according to an embodiment of the present invention.
Fig. 9 is a schematic diagram showing a structure of a digital signal input detecting unit according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The term "comprising" and variations thereof as used herein means open ended, i.e., "including but not limited to. The term "or" means "and/or" unless specifically stated otherwise. The term "based on" means "based at least in part on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment. The term "another embodiment" means "at least one additional embodiment". The terms "first," "second," and the like, may refer to different or the same object. Other explicit and implicit definitions are also possible below.
As described above, conventional methods for control system calibration, such as dotting each channel with a high precision meter; for example, each signal board is provided with a corresponding high-precision source card for calibration, such as calibrating an AI (AI, analog Signal Input, analog signal input) board with an AO (AO, analog Signal Output, analog signal output) source card, calibrating an AO board with an AI source card, calibrating a DI (Digital Signal Input ) board with a DO (Digital Signal Output, digital signal output) source card, and calibrating a DO board with a DI source card; the former method has large workload and complex operation; the latter requires preparation of a dedicated source card for each signal type board card and also requires re-customization of the source for non-standard signals, which is costly.
In summary, the conventional method for calibrating a control system has the following disadvantages: when coping with the checking and detecting requirements of various types of boards in the control system, the operation is complex and the cost is high.
To at least partially solve one or more of the above problems and other potential problems, an exemplary embodiment of the present invention proposes a solution for calibration of a control system, in which a calibration device for a control system is provided, comprising a plurality of detection units coupled to the control unit for detecting input and output of the detection units, respectively; a switching unit including a plurality of switches configured to turn on or off at least some of the plurality of switches based on the calibration mode control instruction regarding the calibration device generated by the control unit so as to change the detection paths of the plurality of detection units; thus, the detection requirements of different signals can be matched by switching the detection paths.
In addition, the device further comprises a control unit configured to generate a calibration mode control instruction about the calibration device based on the acquired calibration instruction, so that the transformed detection path is adapted to the calibration mode of the calibration device, the calibration instruction being related to at least the control system and/or the calibration device to be calibrated; therefore, the control unit controls the switching unit so as to control the plurality of switches to change the detection channels of the plurality of detection units, so that the calibration of the plurality of detection channels in the calibration equipment and the calibration of each signal channel of the external control system can be realized, the detection requirements of various signals can be met through only one calibration equipment, and the operation is simple and the cost is low.
Fig. 1 shows a schematic diagram of a configuration of a calibration device 100 for implementing a control system according to an embodiment of the invention. The calibration device 100 comprises a plurality of detection units (200, 300), a switching unit 130, a control unit 110, a signal interface 140 and a communication interface 150.
A plurality of detection units (200, 300) coupled to the control unit 110 for detecting input and output of the detection units, respectively.
Regarding the plurality of detection units, each of which is capable of being used for detection of an input or an output of at least one signal type for detection by the corresponding detection unit based on the corresponding detection path for the signal type, to enable self-calibration for the plurality of detection units inside the calibration device 100 or external calibration for an external control system.
It should be appreciated that the analog signal detection unit 200 and the digital signal detection unit 300 illustrated by the plurality of detection units (200, 300) illustrated in fig. 1 are only one illustration, that more detection units may be configured for various signal calibration requirements depending on the actual signal requirements, and that one detection unit may support at least one signal type, e.g. the analog signal detection unit 200 may support detection of both analog signal input signals and analog signal output signals.
It should be noted that the plurality of detection units can be switched by the switch of the switching unit to form a plurality of detection paths, so as to detect signals inside the detection units, signals of other detection units, and signals of an external control system, and the signals obtained by detection are fed back to the control unit 110, so that the control unit 110 can determine the signal calibration result.
The switching unit 130 includes a plurality of switches configured to cause at least some of the plurality of switches to be turned on or off so as to change detection paths of the plurality of detection units (200, 300) based on a calibration mode control instruction regarding the calibration device 100 generated by the control unit 110.
The control unit 110 is configured to generate calibration mode control instructions regarding the calibration device based on the acquired calibration instructions, such that the transformed detection path is adapted to the calibration mode of the calibration device, the calibration instructions being related to at least the control system and/or the calibration device to be calibrated.
As regards the control unit 110, it may be implemented, for example, with an MCU (Micro Controller Unit, micro control unit), CPU (Central Processing Unit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, ASIC (Application Specific Integrated Circuit ), discrete gate or transistor logic device, discrete hardware components, etc. The control unit 110 may have one or more processing units including dedicated processing units such as GPUs, FPGAs, ASICs, and the like, as well as general purpose processing units such as CPUs.
Regarding the calibration instructions, for example, some calibration instructions may be predetermined inside the control unit 110, for example, the calibration instructions may also be generated by receiving input from the outside, operation information. For example, the calibration instruction instructs the calibration apparatus 100 to perform self-calibration, and the control unit 110 controls the switching unit 130 to switch the detection paths so that the plurality of detection units complete self-calibration.
For example, the calibration command instructs the calibration device 100 to calibrate the analog signal output channel of the accessed control system a, and the control unit 110 controls the switching unit 130 to switch the detection path to establish a detection path between the analog signal output channel of the control system a and a unit supporting detection of the analog signal output signal among the plurality of detection units, so that the control unit 110 collects the detection signal about the analog signal output channel of the control system a through the established detection path to complete calibration about the analog signal output channel of the control system a.
The calibration mode control command may include, for example, a switching command for switching the calibration device 100 to the self-calibration mode, switching the calibration device 100 to the external calibration mode, turning on one of the detection paths of the calibration device 100, or the like, and may include information such as a switching command for switching the switching unit to satisfy the mode switching or the path conduction.
Therefore, the calibration device provided by the embodiment of the invention acquires the calibration instruction through the control unit to control the switching unit based on the calibration instruction, so that the switching unit changes the detection paths of the plurality of detection units to meet the detection and calibration of the plurality of signal channels of the control system and the self-calibration of the plurality of detection units of the calibration device.
A signal interface 140, coupled to the switching unit 130, is configured to connect with the control system, such that at least a portion of the detection channels are accessible by the connected control system for inputting or outputting electrical signals to at least one of the plurality of detection units.
For example, referring to fig. 1, a control system a to be calibrated is connected to a calibration device 100 through a signal interface 140, and a calibration command instructs to calibrate a digital signal output channel of the control system a to be calibrated, and the control system a is switched to a digital signal output detection channel of a digital signal detection unit 300 by a switch of a switching unit 130 to perform detection and calibration.
The calibration device 100 further comprises at least one communication interface, e.g. communication interface 150, configured to be communicatively connected to the control system, such that the control unit receives calibration feedback information from the connected control system or transmits calibration feedback information to the connected control system; and the control unit is configured to be connected with the upper computer so as to receive the calibration instruction sent by the upper computer and/or send the calibration progress to the upper computer.
The communication connection may be a wired communication connection or a wireless communication connection, and the manner of the communication connection is determined according to the actual usage scenario of the calibration device 100 and the interface supported by the control system or the host computer to be calibrated.
Regarding the calibration feedback information, for example, the control system a accesses the analog signal input detection path, receives the analog signal output from the analog signal detection unit, and based on the received analog signal, the control system a feeds back its received value to the control unit so that the control unit 110 determines a deviation between its received analog signal value and the actually output analog signal value to transmit the calibration feedback information, for example, calibration feedback information including a calibration result or deviation adjustment information, to the control system a so that the control system a adjusts its corresponding signal path.
The upper computer includes, for example, a mobile terminal, a desktop computer, a server, or the like, on which input, output, and display devices are mounted, and an upper computer device having a communication function, so that a user performs related operations on the upper computer to send operation instructions, such as calibration instructions, to the control unit 110, and meanwhile, may also receive, through the upper computer, calibration progress information, such as a calibration result, information of a calibration link in which the control unit 110 is currently located, so that the user can visually understand information of an operation state of the calibration device 100, a current calibration progress, and the like.
Therefore, the calibration equipment provided by the embodiment of the invention can be connected with an upper computer so as to facilitate a user to issue a calibration instruction and monitor a calibration process; and the calibration feedback information can be timely provided through communication interaction with the control system, so that the control system can complete signal calibration more efficiently.
With continued reference to fig. 1, the calibration device 100 further comprises mode switching buttons, such as key 1 (160) and key 2 (162), configured to receive a trigger operation by a user, so that the control unit generates a calibration mode control instruction based on the trigger operation by the user; the calibration mode control instructions indicate at least one of the following with respect to the calibration device: self-calibration mode, external calibration mode, calibration detection unit to be self-calibrated, signal type to be external calibrated.
Regarding self-calibration, the calibration device calibrates a plurality of detection units inside thereof in a self-calibration mode; with regard to the external calibration, the calibration device calibrates in the external calibration mode for the signal channels of the external control system to be calibrated to which it is connected.
The specific usage of the mode switch buttons (key 1 (160) and key 2 (162)) in fig. 1 will be further described in conjunction with the specific switching mode, and will not be repeated here.
Fig. 2 shows a second structural schematic diagram of a calibration device 100 for implementing a control system according to an embodiment of the invention. The calibration device 100 comprises a plurality of detection units (200, 300), a switching unit 130, a control unit 110, a signal interface 140 and a communication interface 150. Wherein the plurality of detection units includes: the analog signal detecting unit 200 includes an analog signal output detecting unit 210 and an analog signal input detecting unit 220; and a digital signal detecting unit 300 including a digital signal output detecting unit 310 and a digital signal input detecting unit 320.
With continued reference to fig. 1 and 2, in some embodiments, the transformed detection path supports one or more of the following electrical signal transmission relationships: receiving an analog signal output from the control system through the analog signal detection unit 200; receiving a digital signal output from the control system through the digital signal detection unit 300; outputting an analog signal to the control system through the analog signal detecting unit 200; outputting a digital signal to a control system through the digital signal detecting unit 300; outputting an analog signal to the digital signal detecting unit 300 through the analog signal detecting unit 200; outputting a digital signal to the analog signal detecting unit 200 through the digital signal detecting unit 300; receiving the analog signal output from the analog signal input detecting unit 220 through the analog signal output detecting unit 210; the digital signal output from the digital signal input detection unit 320 is received by the digital signal output detection unit 310.
It should be appreciated that the designation of the detection unit as an input detection or output detection unit in this scheme depends on the external signal to be detected by the detection unit. For example, the signal output detection unit detects a signal output channel of the control system, and the signal output detection unit receives a signal output by the control system; for example, the signal input detection unit is configured to detect a signal input channel of the control system, that is, the signal input detection unit outputs a signal to the control system so as to detect the signal input channel of the control system; for example, the signal output detection unit receives a signal output from the signal input detection unit, or receives an external standard signal, or the signal input detection unit outputs a signal to an external standard signal source device for self-calibration.
Thus, the control unit 110 may change the multiple detection paths by controlling the on/off of one or more switches in the switching unit 130, so that the calibration device 100 supports calibration detection of multiple input/output signals.
With continued reference to fig. 2, in some embodiments, the plurality of switches in the switching unit 130 form a plurality of switch branches. For example, the first switch leg is configured such that the first switch T1 of the first switch leg is closed to establish an electrical connection between the analog signal output detection unit 210 and the signal interface 140. For example, the second switching leg is configured such that the second switch closure T2 of the second switching leg establishes an electrical connection between the analog signal output detection unit 210 and the analog signal input detection unit 220 after closing. For example, the third switching leg is configured such that the third switch T3 of the third switching leg is closed to establish an electrical connection between the analog signal input detection unit 220 and the signal interface 140. And a fourth switching leg configured to establish an electrical connection between the digital signal input detection unit 320 and the signal interface 140 after the fourth switch T4 of the fourth switching leg is closed. The fifth switching leg is configured such that an electrical connection between the analog signal input detection unit 320 and the digital signal output detection unit 310 is established after the fifth switch T5 of the fifth switching leg is closed. A sixth switching leg, which is configured to establish an electrical connection between the digital signal output detection unit 310 and the signal interface 140 after the sixth switch T6 of the sixth switching leg is closed. The seventh switching leg is configured such that an electrical connection between the digital signal input detection unit 320 and the digital signal output detection unit 310 is established after the seventh switch T7 of the seventh switching leg is closed.
Therefore, by the specific switch circuit structure in the switching unit provided by the embodiment of the invention, one detection channel can be conducted by closing any switch, and the self-detection and external detection of various input and output signals can be realized by simple control operation.
FIG. 4 illustrates a flow chart of a method 400 for self-calibration of a control system according to an embodiment of the invention. The method 400 may be performed by the control unit 110 as shown in fig. 1-3. It should be understood that method 400 may also include additional steps not shown and/or that the illustrated steps may be omitted, as the scope of the invention is not limited in this respect.
In step 402, if the control unit 110 determines that the generated calibration mode control instruction indicates the self-calibration mode, the switching unit is controlled to implement an electrical connection between the signal interface and the first analog signal detection unit for analog signal detection so as to calibrate the first analog signal detection unit.
In step 404, the control unit 110 controls the switching unit to establish electrical connections between a first analog signal detection unit of the plurality of detection units and other detection units of the plurality of detection units, or between two detection units of the other detection units, respectively, so as to calibrate the other detection units directly or indirectly based on the calibrated first analog signal detection unit; wherein the first standard analog signal source is an analog input signal or an analog output signal.
For example, please refer to the calibration device 100 shown in fig. 1-3, when the switching unit enters the self-calibration mode, an electrical connection is first established between the signal interface 140 and the analog signal detection unit 200. The signal source device providing the first standard analog signal is connected to the signal interface 140, through which the first standard analog signal is provided, and the calibration device 100 calibrates the analog signal detection unit. Specifically, if it is determined that the first standard signal source used for self calibration is an analog input signal or an analog output signal, and if the first standard analog signal source is a standard analog output signal, an electrical connection is established between the analog signal output detection unit 210 and the signal interface 140, and the analog signal output detection unit 210 is first calibrated according to the standard analog output signal.
Regarding establishing electrical connection between the first analog signal detection unit of the plurality of detection units and the other detection units of the plurality of detection units, for example, after calibrating the analog signal output detection unit 210, closing the switch T2 establishes electrical connection between the analog signal output detection unit 210 and the analog signal input detection unit 220 so that the analog signal input detection unit 220 outputs an analog signal to the analog signal output detection unit 210 to calibrate the analog signal input detection unit 220 by the analog signal output detection unit 210 that completes the calibration.
Regarding establishing an electrical connection between two of the other detection units, for example, closing the switch T5, an electrical connection is established between the analog signal input detection unit 220 and the digital signal output unit 310 to calibrate the digital signal output unit 310 by the analog signal input detection unit 220 completing calibration. For example, the switch T7 is closed, and an electrical connection is established between the digital signal output unit 310 and the digital signal input unit 320 to calibrate the digital signal input unit 320 through the digital signal output unit 310 that completes calibration.
Therefore, the calibration equipment for the control system provided by the embodiment of the invention can realize the self calibration of a plurality of detection units in the calibration equipment by only changing different detection channels through one standard analog signal and the switching unit.
Fig. 5 shows a flow chart of a method 500 for external calibration of a control system according to an embodiment of the invention. The method 500 may be performed by the control unit 110 as shown in fig. 1-3. It should be understood that method 500 may also include additional steps not shown and/or that the steps shown may be omitted, as the scope of the invention is not limited in this respect.
In step 502, if the control unit 110 determines that the generated calibration mode control instruction indicates an external calibration mode, the signal type indicated by the received calibration instruction and the target to be calibrated are determined.
Regarding the target to be calibrated, the target to be calibrated comprises an object aimed by a calibration instruction, such as a control system, aimed signal types and measuring range to be calibrated, and the precision requirement of each measuring range can be indicated by the calibration instruction. For example, the control command instructs external calibration, the signal type is digital signal output, and the range of measurement is 0-50% (precision 0.1%o), 50% -100% (precision 0.1%).
In step 504, the control unit 110 causes the calibration device to enter a self-calibration mode before the calibration device enters the external calibration mode, so as to self-calibrate at least the detection unit corresponding to the determined signal type based on the determined signal type.
In step 506, the control unit 110 executes a calibration instruction through the calibrated detection unit to calibrate the control system to be calibrated connected to the detection unit.
It is noted that when the calibration command indicates external calibration, the calibration device first enters a self-calibration mode, and at least completes self-calibration of the detection unit for the external calibration command based on the standard signal source. For example, the calibration command instructs to calibrate the digital signal output channel of the control system a, the calibration apparatus 100 first enters the self-calibration mode, completes the calibration of the digital signal output detection unit 310, and then receives the digital signal output by the control system a through the calibrated digital signal output detection unit 310 to calibrate the digital signal output channel of the control system a. It should be understood that when other channels of the control system to be calibrated need to be calibrated, and so on, self-calibration of the calibration device is completed first, and then the corresponding signal channels of the control system to be calibrated are calibrated through the detection unit with the self-calibration completed.
Therefore, the scheme can form a plurality of detection channels after the switching unit is changed, and the switch on-off relationship is changed so that the accessed control system to be calibrated can be electrically connected with at least part of the detection units to meet the corresponding signal calibration requirement.
In some embodiments, the control unit is further configured to: calibrating a plurality of predetermined detection points based on the first standard analog signal source and a calibration accuracy threshold indicated by the calibration instruction, the detection points indicating a proportion of a maximum range to be calibrated with respect to the calibration device; fitting the calibration results of every two adjacent detection points based on the calibration results of each detection point to generate at least one fitting straight line about the measuring range corresponding to the adjacent detection points; and determining self-calibration results of the measuring ranges indicated by the plurality of preset detection points based on the fitting results.
For example, the predetermined detection points are 0%,50% and 100% of the maximum range, the three detection points are calibrated respectively, and the 3 detection points are fitted respectively to 0% -50%, 50% -100%, and a continuous broken line coverage range of 0% -100% is obtained after the fitting.
In some embodiments, the control unit is further configured to: if the control unit determines that one fitting straight line does not accord with the preset calibration precision threshold, at least one new detection point is determined between two adjacent detection points corresponding to the determined fitting straight line which does not accord with the calibration precision threshold; calibrating the new detection point; and re-fitting the calibration results of every two adjacent detection points in the range corresponding to the determined fitting straight line which does not accord with the calibration accuracy threshold value based on the calibration results of the new detection points so as to generate at least two new fitting straight lines.
For example, in the above fitting result, the range of 0-50% does not meet the predetermined calibration accuracy range, a detection point, for example, 25%, is determined from 0-50%, after 25% detection point is calibrated, 0-25%,25-50% is fitted, further judging whether the new fitting result meets the accuracy threshold, if yes, 0-25%,25-50% and 50% -100% are fitted to generate the final calibration result, so as to complete the calibration. If the range still does not meet the preset calibration precision, continuing to determine a new detection point in the range which does not meet the precision, and fitting again until all the range meets the calibration precision.
In some embodiments, the calibration instructions may have different accuracy threshold requirements, e.g., 0-10%, for each range of the control system to be calibrated, conforming to an accuracy threshold of 1;10-% -50%, meeting the precision threshold 2;50-100%, which meets the precision threshold 3.
Therefore, the signal with poor linearity can be combined by fitting a plurality of measuring range ranges, the accuracy of each measuring range is improved so as to adapt to the signal with poor linearity, and the accuracy in each measuring range can be adjusted so as to enable the measuring range needing to be focused on by a control system to obtain higher calibration accuracy.
Referring to fig. 6, a specific structure of an Analog signal output detection unit 210 (hereinafter referred to as AO detection unit) is illustrated, and in conjunction with fig. 3, the AO detection unit includes a signal switch CON1, an Analog signal input conditioning circuit (hereinafter referred to as AI conditioning circuit), and an ADC (Analog-to-Digital Converter ). The control unit 110 can control the on-off of the switch through the CON1 pin, when the control unit 110 controls the CON1 pin to output a low level, the normally closed switch is closed to a 0 position as shown in fig. 6, when an external current signal is input, the CON1 controls the switch to be switched to a 1 position, and the current signal can flow into the R1 resistor through the signal switch CON 1. The current is converted into a corresponding voltage signal AIN1 through a resistor R1, and finally flows into a pin of the ADC, and the control unit 110 can obtain the signal value of an AO output channel of an external device such as a control system by reading the value of the ADC.
The AO detection unit has two operation modes, namely a self-calibration mode and an external calibration mode. A self-calibration must be performed before the external calibration mode is used. The AO detection unit acquires a standard AO signal through the signal interface 140, and performs multi-point calibration. For example, first, 0% fs (Full Scale, maximum range) is input to the external interface, and the calibration apparatus 100 reads the ADC value to obtain the measured signal y1. Then 20% fs is input to the external interface, and the calibration device 100 obtains the measured signal y2 by reading the ADC value. Fitting the whole straight line according to two points (0% FS, y 1) and (20% FS, y 2) to obtain the slope K and intercept B of the fitted straight line, wherein the specific curve is shown in the following formula, y is the actual output value, xThe theoretical output value is:
similarly, a straight line fit was performed for 20% fs and 50% fs. Straight line fitting was performed for 50% fs and 80% fs. Straight line fits were performed for 80% and 100% fs. The total of 4 straight lines is calculated by selecting different straight lines according to different measuring ranges, so that the accuracy of the analog signal input detection unit 210 of the calibration device on AI detection can be improved.
In the external calibration mode, the calibration device 100 will perform an adaptive calibration. The calibration device 100 will first detect two points, 10% fs and 90% fs, and send the calculated calibration parameters to the control system. The control system will output 50% fs AO to the calibration device 100 and if the accuracy is satisfactory, no calibration needs to be continued. If the accuracy is not satisfactory, the calibration apparatus 100 uses, for example, a dichotomy, straight-line fitting with two points of 10% fs and 50% fs, and straight-line fitting with two points of 50% fs and 90% fs, to improve the calibration accuracy. If the requirement is not met, continuing to use a dichotomy to perform straight line fitting so as to meet the precision requirement.
Referring to fig. 7, a specific structure of an Analog signal input detection unit 220 (hereinafter referred to as AI detection unit) is illustrated, and in conjunction with fig. 3, the AI detection unit includes a signal switch ao_con1, an Analog signal output conditioning circuit (hereinafter referred to as AO conditioning circuit), and a DAC (Digital-to-Analog Converter). The control unit 110 can control the on-off of the relay through the ao_con1 pin. When the control unit 110 controls the ao_con1 pin to output a low level, the normally closed contact of the signal switch is closed at the position of 0 in fig. 7, and the AO signal of the calibration device 100 flows out to the external control system through the AO1, so that the standard current can be output to the control system, and the standard voltage can be output.
The AI detection unit has two modes of operation, a self-calibration mode and an external calibration mode, respectively. A self-calibration must be performed before the external calibration mode is used. As with the AO detection unit self-calibration, the AI detection unit self-calibration mode requires multi-point calibration, requiring calibration of five points, 0% FS, 20% FS, 50% FS, 80% FS, and 100% FS, and fitting 4 lines. Similar to the AO detection unit, the slope K and intercept B of the fitted straight line can be obtained by fitting the whole straight line according to two points (0% FS, y 1) and (20% FS, y 2), the specific straight line is shown in the following formula, wherein y is an actual output value,xthe theoretical output value is:
similarly, a straight line fit was performed for 20% fs and 50% fs. Straight line fitting was performed for 50% fs and 80% fs. Straight line fits were performed for 80% and 100% fs. And 4 straight lines in total are selected for calculation according to different measuring ranges, so that the AO detection accuracy can be improved.
In the external calibration mode, the calibration device 100 will perform an adaptive calibration. The control system will first detect two points, 10% fs and 90% fs, and send the calculated calibration parameters to the control system. The calibration apparatus 100 will output 50% fs AO to the control system and if the accuracy is satisfactory, no calibration needs to be continued. If the accuracy is not satisfactory, the calibration device 100 may use a dichotomy to satisfy the calibration accuracy, similar to the AO detection unit.
Referring to fig. 8, a specific structure of a digital signal output detection unit 310 (hereinafter referred to as a DO detection unit) is illustrated, and in conjunction with fig. 3, the DO detection unit includes a signal switch di_con1 and a digital signal input conditioning circuit (hereinafter referred to as a DI conditioning circuit). The control unit 110 may control on/off of the signal switch di_con1 through the di_con1 pin. When the control unit 110 controls the di_con1 pin to output a high level, the normally open contact of the signal switch is closed at the 1 position IN fig. 8, and the DO signal of the control system is input into the DO detection unit through the IN2, and finally flows into the R2 resistor through the signal switch and resistor voltage division (mainly used for converting the external input voltage range into a level range which can be identified by the control unit 110). By detecting the voltage above R2, it is possible to detect whether the DO signal of the control system (DI signal received by the DO detection unit) is at a high level or a low level.
Referring to fig. 9, a specific structure of a digital signal input detection unit 320 (hereinafter referred to as DI detection unit) is illustrated, where the DI detection unit includes a signal switch do_con1 and a digital signal output conditioning circuit (hereinafter referred to as DO conditioning circuit). The control unit 110 can control the on-off of the signal switch through the DO_CON1 pin, and when the control unit 110 controls the DO_CON1 pin to output a high level, the normally open contact of the signal switch DO_CON1 is closed at the 1 position shown in fig. 9; when DO1 outputs a high level, CH1 will output a high level. When DO1 outputs a low level, CH1 will output a low level, whereby the DI channels of the control system can be calibrated for detection.
It should be understood that the circuit structures shown in fig. 6 to 9 are only schematic, and the internal structure and the component types of each detection unit can be adjusted according to actual use requirements, so that each detection unit can detect and calibrate corresponding signal types.
For ease of understanding, the structure of the disclosed calibration device 100 and its use for performing calibration are further illustrated in connection with fig. 1-9.
In calibration, the calibration device 100 may connect the communication interface 150 to an upper computer, and monitor, control, feedback, etc. the whole calibration process through the upper computer.
The self-calibration mode of the calibration device 100 is used for calibrating signal channels of a plurality of detection units of the self-calibration device 100, so as to ensure the accuracy of the self-calibration device 100. The external calibration mode is established above the self-calibration mode, and after the calibration device 100 completes self-calibration, the signal path of the external control system accessed through the signal interface 140 is calibrated.
The control unit 110 may control the switches T1 to T7 of the switching unit 130 to be turned on and off, for example, when the control signal is 1, the corresponding switch is turned on. When the control signal is 0, the corresponding switch is turned off. Calibration mode specific switch switching is shown in table 1 below:
In the above table, AI represents an analog input signal, AO represents an analog output signal, DI represents a digital input signal, and DO represents a digital output signal, and for convenience of description, the above-described corresponding signals are represented by english abbreviations hereinafter.
From the above table, it can be seen that the self-calibration mode of the calibration device 100 will experience a total of 4 modes of operation. Firstly, the calibration device 100 enters an AI self-calibration mode, at this time, the T1 switch is turned on and the other switches are turned off, and a standard AO signal is provided through the signal interface 140 to serve as an AI signal of the analog signal output unit 210, and the analog signal output unit 210 performs multi-point calibration on each range of AI current, calculates calibration parameters, and stores the calibration parameters in a main control storage (such as a flash memory). By this operation mode, the accuracy of the calibration device 100 to the input analog signal (i.e., the AO signal of the external device) can be ensured. The calibration device 100 can perform corresponding calibration on the self AO, DI and DO signal channels after the calibration on the AI signal channels is completed.
It should be understood that the AI signal detection channel of the calibration device 100 is used for detecting the AI signal channel of the external control system, the AO signal detection channel of the calibration device 100 is used for detecting the AI signal channel of the external control system, the DO signal detection channel of the calibration device 100 is used for detecting the DI signal channel of the external control system, the DI signal detection channel of the calibration device 100 is used for detecting the DO signal channel of the external control system, i.e. the output channel of the external calibration mode corresponds to the input channel of the self-calibration mode, and the input channel of the external calibration mode corresponds to the output channel of the self-calibration mode.
By closing the T2 switch and opening the other switches, the calibration device 100 enters AO self-calibration mode. The analog signal input detection unit 220 of the calibration device 100 is connected to the analog signal output detection unit 210 thereof, the analog signal output detection unit 210 receives the AO signal output by the analog signal input detection unit 220 thereto, the calibration device 100 performs multipoint calibration on each measuring range of the AO voltage and current thereof, and stores the calibrated relevant parameters in the main control memory.
After the calibration device 100 completes the calibration of its AO channel, it needs to calibrate its DI channel. The DI self-calibration mode requires closing switch T5 and the DI channel (digital signal output detection unit 310) of calibration device 100 is connected to the AO channel (digital signal input detection unit 320). The AO channel of the calibration device 100 outputs a voltage signal below 5V, if the DI channel detects that the input is 0 at this time, the DI channel (DO detection unit) of the calibration device detects that the input is normal at this time, otherwise, the error is uploaded to the upper computer through the communication interface, or a prompt is given. The AO channel (AI detection unit) of the calibration device 100 outputs a voltage signal of 15V or more, if the DI channel (DO detection unit) detects that the input is 1 at this time, the DI channel (DO detection unit) of the calibration device 100 detects that it is normal at this time, otherwise, an error is uploaded to the host computer through the communication interface.
After the DI self-calibration of the calibration apparatus 100 is successfully completed, the calibration apparatus 100 finally enters the DO self-calibration mode. At this point the switch T7 is closed and the other switches will be open, the calibration device 100 DO channel (DI detection unit) will be connected to the DI channel (DO detection unit). The DO channel (DI detection unit) outputs high level, if the DI channel (DO detection unit) detects that the input is 1 at the moment, the DO channel (DI detection unit) detects normal at the moment, otherwise, the DO channel (DI detection unit) can upload the error to the upper computer through the communication interface. The DO channel outputs low level, if the DI channel detects that the input is 0 at the moment, the DO channel (DI detection unit) detects that the input is normal at the moment, otherwise, the error information is uploaded to the upper computer through the communication interface.
If the self-calibration results are all normal, the calibration device 100 already has the external control system calibration capability. In the external calibration mode, the calibration device 100 connects the communication interface to the control system to be calibrated, connects the signal interface 150 to the input/output signal interface of the control device with calibration, and can also access the host computer through the communication interface of the calibration device 100 to monitor the whole calibration process.
Continuing with the above example, if key 2 (162) is pressed, the calibration device 100 is set to the AO external calibration mode, which can be seen by the host computer. The calibration device 100 adjusts the switch T1 on and the other switches off, and the calibration device 100 enters the AO external calibration mode. The calibration device 100 may calibrate the AO channel of the external control system, and may perform output control and calibration on the AO channel of the external control system through the communication interface. Firstly, two-point calibration is carried out on two points of 10% and 90% of AO current, 50% of AO is detected, if the accuracy requirement is met, the upper computer displays passing, and if the accuracy requirement is not met, the upper computer displays failing. The selection of calibration points and detection points can be configured at an upper computer.
The key 2 is then activated (162) to set the calibration device 100 to an AI-external calibration mode, which can be seen by the host computer. The calibration device 100 can calibrate the AI current and voltage channels of the external control system by adjusting T3 on and other switches off. By controlling the output value of the calibration device 100, the 10% and 90% ranges of the AI current and voltage of the external control system are calibrated, and the calibration data is transmitted to the external control system. The calibration device 100 controls and outputs 50% of current and voltage signals, the control system detects the modification, if the precision requirement is met, the upper computer displays passing, and if the precision requirement is not met, the upper computer displays failing. The selection of calibration points and detection points can be configured at an upper computer.
The key 2 is again activated (162) to set the calibration device 100 to the DO external calibration mode, which is seen by the host computer. At this time, the calibration device 100 adjusts T6 to be on and the other switches to be off, and the calibration device 100 may control the control system to output high level and low level through the communication interface. When the external control system outputs a high level, if the calibration device 100 detects a high level, it indicates that the external control system outputs normally. When the external control system outputs a low level, if the calibration apparatus 100 detects a low level, it is indicated that the external output is normal. When the calibration device 100 detects that the high level and the low level are normal, the calibration device 100 may send a detection success signal to the control system, or send an error signal to the control system, and may send error information to the upper computer, so that the user may obtain the calibration result in time.
The key 2 is triggered again (162), and the calibration device 100 is set to the DI external calibration mode, wherein the mode in which the calibration device 100 is located can be displayed by the upper computer. At this point the calibration device 100 is turned on by adjusting T4 and the other switches are turned off. The calibration apparatus 100 may control its own DO channel (DI detection unit) to output high and low levels and transmit the same to the control system through the communication interface. The control system sensing a high level when the control system outputs a high level at the calibration device 100 indicates that the control system senses a high level as normal. The control system sensing a low level when the control system outputs a low level at the calibration device 100 indicates that the control system senses a low level as normal. When the control system senses that the high level and the low level are normal, the control system sends detection success information to the calibration equipment 100 through the communication interface, otherwise, sends error information to the calibration equipment 100.
It should be understood that key 1 (160) and key 2 (162) illustrated in fig. 1-3 are only illustrative, and that a plurality of keys may be configured for calibration device 100, such as each key corresponding to a calibration mode, or by toggling the same key to switch calibration modes.
Therefore, the calibration device for the control system provided by the embodiment of the invention can realize the following technical effects: supporting multiple signal types through a single module, and realizing monitoring calibration comprising analog input current, analog output current and voltage, digital signal input and digital signal output through software configuration; only one external standard analog signal source is needed, so that other signals can realize internal self-calibration; the automatic range adjustment and threshold adjustment functions are realized, the automatic range adjustment and threshold adjustment functions can be adapted to various signal types, and a new source card is not required; the system has the functions of automatic detection and calibration, can calculate the calibration parameters and send the calibration parameters to the module to be calibrated; the multi-point calibration self-adaptive calibration method has the advantages of having a multi-point calibration self-adaptive function, having strong adaptability to signals with relatively poor linearity and improving the verification passing rate.
The flowcharts and step diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block of the flowchart or step diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the steps may occur out of the order noted in the figures. For example, two consecutive steps may actually be performed substantially in parallel, and they may sometimes be performed in reverse order, depending on the function involved. It will also be noted that each step of the step diagrams and/or flowchart illustration, and combinations of steps in the step diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of embodiments of the invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvements in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. A calibration device for a control system, comprising:
the detection units are coupled with the control unit and are used for detecting input and output of the detection units respectively; the plurality of detection units comprise an analog signal detection unit and a digital signal detection unit, and one detection unit is used for detecting at least one signal type;
a switching unit including a plurality of switches configured to turn on or off at least some of the plurality of switches based on a calibration mode control instruction regarding the calibration device generated by the control unit so as to change detection paths of the plurality of detection units, the calibration mode including a self-calibration mode, an external calibration mode, the plurality of detection paths including at least a detection path capable of being formed between two detection units; and
a control unit configured to generate a calibration mode control instruction regarding the calibration device based on the acquired calibration instruction so that the transformed detection path is adapted to a calibration mode of the calibration device, the calibration instruction being related to at least the control system to be calibrated and/or the calibration device;
the control unit is further configured to: in response to determining that the generated calibration mode control instruction indicates the self-calibration mode, calibrating the first analog signal detection units, controlling the switching unit to establish electrical connections between the first analog signal detection unit of the plurality of detection units and other detection units of the plurality of detection units, or between two of the other detection units, respectively, so as to calibrate the other detection units directly or indirectly based on the calibrated first analog signal detection units;
Wherein the first standard analog signal source is an analog input signal or an analog output signal.
2. The calibration device of claim 1, further comprising:
a signal interface coupled to the switching unit for connection with the control system such that at least a portion of the detection path is accessible by the connected control system for inputting or outputting an electrical signal to at least one of the plurality of detection units; and
at least one communication interface configured to be communicatively connected to a control system such that the control unit receives calibration feedback information from the connected control system; and the control unit is configured to be connected with the upper computer so as to receive the calibration instruction sent by the upper computer and/or send the calibration progress to the upper computer.
3. The calibration device of claim 1, further comprising:
a mode switching button configured to receive a trigger operation of a user so that the control unit generates a calibration mode control instruction based on the trigger operation of the user;
wherein the calibration mode control instructions indicate at least one of the following with respect to the calibration device: self-calibration mode, external calibration mode, calibration detection unit to be self-calibrated, signal type to be external calibrated.
4. The calibration device of claim 2, wherein the analog signal detection unit comprises an analog signal output detection unit and an analog signal input detection unit; and
the digital signal detection unit comprises a digital signal output detection unit and a digital signal input detection unit.
5. The calibration device of claim 4, wherein the transformed detection path supports one or more of the following electrical signal transmission relationships:
receiving an analog signal output by a control system through an analog signal detection unit;
receiving a digital signal output by a control system through a digital signal detection unit;
outputting an analog signal to a control system through an analog signal detection unit;
outputting a digital signal to a control system through a digital signal detection unit;
outputting an analog signal to the digital signal detection unit through the analog signal detection unit;
outputting a digital signal to an analog signal detection unit through a digital signal detection unit;
receiving the analog signal output by the analog signal input detection unit through the analog signal output detection unit;
the digital signal output by the digital signal input detection unit is received by the digital signal output detection unit.
6. The calibration device of claim 4, wherein the plurality of switches in the switching unit comprise a plurality of switch branches, the plurality of switch branches comprising:
the first switch branch is configured to establish electrical connection between the analog signal output detection unit and the signal interface after the first switch of the first switch branch is closed;
the second switch branch is configured to establish electrical connection between the analog signal output detection unit and the analog signal input detection unit after a second switch of the second switch branch is closed;
the third switch branch is configured to establish electrical connection between the analog signal input detection unit and the signal interface after a third switch of the third switch branch is closed;
the fourth switch branch is configured to establish electrical connection between the digital signal input detection unit and the signal interface after a fourth switch of the fourth switch branch is closed;
a fifth switching branch configured to establish an electrical connection between the analog signal input detection unit and the digital signal output detection unit after a fifth switch of the fifth switching branch is closed;
a sixth switching branch configured to establish an electrical connection between the digital signal output detection unit and the signal interface after a sixth switch of the sixth switching branch is closed;
And a seventh switching branch configured to establish an electrical connection between the digital signal input detection unit and the digital signal output detection unit after the seventh switch of the seventh switching branch is closed.
7. The calibration device of any one of claims 1-6, wherein the control unit is configured to:
in response to determining that the generated calibration mode control instruction indicates the self-calibration mode, the switching unit is controlled to enable an electrical connection between the signal interface and the first analog signal detection unit for analog signal detection so as to calibrate the first analog signal detection unit.
8. The calibration device of claim 7, wherein the control unit is further configured to:
in response to determining that the generated calibration mode control instruction indicates an external calibration mode, determining a signal type indicated by the received calibration instruction and a target to be calibrated;
before the calibration device enters an external calibration mode, the calibration device enters a self-calibration mode so as to carry out self-calibration at least aiming at a detection unit corresponding to the determined signal type based on the determined signal type; and
and executing the calibration instruction through the calibrated detection unit to calibrate the control system to be calibrated, which is connected with the detection unit.
9. The calibration device of claim 7, wherein the control unit is further configured to:
calibrating a plurality of predetermined detection points, which indicate a proportion of a maximum range to be calibrated with respect to the calibration device, based on a first standard analog signal source and a calibration accuracy threshold indicated by a calibration instruction;
fitting the calibration results of every two adjacent detection points based on the calibration results of each detection point to generate at least one fitting straight line about the measuring range corresponding to the adjacent detection points; and
and determining self-calibration results of the measuring ranges indicated by the plurality of preset detection points based on the fitting results.
10. The calibration device of claim 9, wherein the control unit is further configured to:
in response to determining that one of the fitted lines does not meet the predetermined calibration accuracy threshold, determining at least one new detection point between two adjacent detection points corresponding to the determined fitted line that does not meet the calibration accuracy threshold;
calibrating the new detection point; and
and re-fitting the calibration results of every two adjacent detection points in the range corresponding to the determined fitting straight line which does not accord with the calibration accuracy threshold value based on the calibration results of the new detection points so as to generate at least two new fitting straight lines.
CN202311497159.4A 2023-11-10 2023-11-10 Calibration device for a control system Active CN117234193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311497159.4A CN117234193B (en) 2023-11-10 2023-11-10 Calibration device for a control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311497159.4A CN117234193B (en) 2023-11-10 2023-11-10 Calibration device for a control system

Publications (2)

Publication Number Publication Date
CN117234193A CN117234193A (en) 2023-12-15
CN117234193B true CN117234193B (en) 2024-03-01

Family

ID=89093152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311497159.4A Active CN117234193B (en) 2023-11-10 2023-11-10 Calibration device for a control system

Country Status (1)

Country Link
CN (1) CN117234193B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023755A (en) * 2002-06-20 2004-01-22 Anritsu Corp Calibration method of multipath fading signal level and correction method in sensitivity test of mobile wireless machine and mobile wireless machine test system
CN102571089A (en) * 2011-12-31 2012-07-11 北京雪迪龙科技股份有限公司 Analog-to-digital conversion/digital-to-analog conversion self-calibration method and control system applying same
CN103460605A (en) * 2011-03-31 2013-12-18 美国亚德诺半导体公司 Pipelined ADC having error correction
CN110018682A (en) * 2019-05-14 2019-07-16 中国核动力研究设计院 The Analog input mModule automated calibration system and method for nuclear safe level DCS
CN110061742A (en) * 2018-01-19 2019-07-26 创意电子股份有限公司 Analog-digital converter calibration system
CN111707927A (en) * 2020-06-23 2020-09-25 杭州长川科技股份有限公司 Calibration device and method for digital channel
CN112274146A (en) * 2020-09-18 2021-01-29 西安交通大学 Simulation system and method for detection and calibration of NIRS measuring equipment
CN213094182U (en) * 2020-09-10 2021-04-30 北京思迈科华技术有限公司 Data acquisition equipment with self calibration function
CN114660984A (en) * 2020-12-23 2022-06-24 中电智能科技有限公司 Method for realizing automatic calibration of PLC analog input/output module channel
CN115308662A (en) * 2022-08-12 2022-11-08 国核自仪系统工程有限公司 Calibration device, system, method, equipment and medium for analog input channel
CN115373372A (en) * 2022-10-08 2022-11-22 傲拓科技股份有限公司 Calibration method of analog quantity measurement module
EP4092392A1 (en) * 2021-05-21 2022-11-23 Ningbo Water Meter (Group) Co., Ltd. Electromagnetic water meter converter and method for calibrating electromagnetic water meter converter
CN115453957A (en) * 2022-11-10 2022-12-09 浙江国利信安科技有限公司 Digital quantity input acquisition system
CN116719266A (en) * 2023-08-09 2023-09-08 浙江国利信安科技有限公司 Control apparatus

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004023755A (en) * 2002-06-20 2004-01-22 Anritsu Corp Calibration method of multipath fading signal level and correction method in sensitivity test of mobile wireless machine and mobile wireless machine test system
CN103460605A (en) * 2011-03-31 2013-12-18 美国亚德诺半导体公司 Pipelined ADC having error correction
CN102571089A (en) * 2011-12-31 2012-07-11 北京雪迪龙科技股份有限公司 Analog-to-digital conversion/digital-to-analog conversion self-calibration method and control system applying same
CN110061742A (en) * 2018-01-19 2019-07-26 创意电子股份有限公司 Analog-digital converter calibration system
CN110018682A (en) * 2019-05-14 2019-07-16 中国核动力研究设计院 The Analog input mModule automated calibration system and method for nuclear safe level DCS
CN111707927A (en) * 2020-06-23 2020-09-25 杭州长川科技股份有限公司 Calibration device and method for digital channel
CN213094182U (en) * 2020-09-10 2021-04-30 北京思迈科华技术有限公司 Data acquisition equipment with self calibration function
CN112274146A (en) * 2020-09-18 2021-01-29 西安交通大学 Simulation system and method for detection and calibration of NIRS measuring equipment
CN114660984A (en) * 2020-12-23 2022-06-24 中电智能科技有限公司 Method for realizing automatic calibration of PLC analog input/output module channel
EP4092392A1 (en) * 2021-05-21 2022-11-23 Ningbo Water Meter (Group) Co., Ltd. Electromagnetic water meter converter and method for calibrating electromagnetic water meter converter
CN115308662A (en) * 2022-08-12 2022-11-08 国核自仪系统工程有限公司 Calibration device, system, method, equipment and medium for analog input channel
CN115373372A (en) * 2022-10-08 2022-11-22 傲拓科技股份有限公司 Calibration method of analog quantity measurement module
CN115453957A (en) * 2022-11-10 2022-12-09 浙江国利信安科技有限公司 Digital quantity input acquisition system
CN116719266A (en) * 2023-08-09 2023-09-08 浙江国利信安科技有限公司 Control apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于虚拟仪器的数据采集板卡校准技术研究;张志利;侯传勋;姜毅;;自动化仪表(第12期);全文 *

Also Published As

Publication number Publication date
CN117234193A (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US11105783B2 (en) Arrangement and method for calibrating at least two sensors in parallel
CN106323353A (en) Calibration method and device for proximity sensor, and terminal
US20070185680A1 (en) USB transducer for measurement signals
US10677751B2 (en) Sensor calibration device and sensor calibration method
US10204024B2 (en) Sent error generator
CN117234193B (en) Calibration device for a control system
CN115174373B (en) Modbus device point table generation method, device, equipment and storage medium
KR101764679B1 (en) Method for configuring a field device and corresponding field device and system for parameterization
US6131074A (en) Apparatus for calibrating a programmable comparator
KR20130068354A (en) Channel switching device, impedance measuring system, and controlling method thereof
WO2007013514A1 (en) Detection sensor
CN112666868B (en) Data acquisition device with self-calibration and self-inspection functions and use method thereof
KR20100115384A (en) Field device
CN105022013A (en) Programmable resistance calibration instrument
CN114460441A (en) Chip correction method, device and storage medium
KR102013644B1 (en) Error reduction device for automatic calibrator of sensor acquisition instrument
US20210215736A1 (en) Method for calibrating a sensor of a device and sensor system
CN110780182A (en) System and method for detecting LCD/OLED driving chip
US11581898B2 (en) Circuit for analog/digital conversion
CN117723800B (en) Semiconductor detection circuit and method, semiconductor detection apparatus, and storage medium
WO2018078823A1 (en) Analog-to-digital conversion device and analog-to-digital conversion method
CN118243966A (en) Power supply calibration system
JPH07210312A (en) Joy stick lever device provided with correction means
JP3830776B2 (en) Detection switch
JP3566231B2 (en) Detection switch

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Calibration equipment for control systems

Granted publication date: 20240301

Pledgee: Ningbo Tongshang Bank Co.,Ltd. Hangzhou Branch

Pledgor: ZHEJIANG GUOLI XIN'AN TECHNOLOGY Co.,Ltd.

Registration number: Y2024330000980