CN101739019B - Method and equipment to debug the system controlled volume by the host computer - Google Patents

Method and equipment to debug the system controlled volume by the host computer Download PDF

Info

Publication number
CN101739019B
CN101739019B CN2008101796272A CN200810179627A CN101739019B CN 101739019 B CN101739019 B CN 101739019B CN 2008101796272 A CN2008101796272 A CN 2008101796272A CN 200810179627 A CN200810179627 A CN 200810179627A CN 101739019 B CN101739019 B CN 101739019B
Authority
CN
China
Prior art keywords
controlled volume
host computer
value
slave computer
reference quantization
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.)
Expired - Fee Related
Application number
CN2008101796272A
Other languages
Chinese (zh)
Other versions
CN101739019A (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.)
Sako Power Technology Corporation
Original Assignee
SAKO ELECTRIC 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 SAKO ELECTRIC CO Ltd filed Critical SAKO ELECTRIC CO Ltd
Priority to CN2008101796272A priority Critical patent/CN101739019B/en
Publication of CN101739019A publication Critical patent/CN101739019A/en
Application granted granted Critical
Publication of CN101739019B publication Critical patent/CN101739019B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method and an equipment to debug the system controlled volume by the host computer.In the invention by modifying the referential quantized value in the host computer system and compensating the sampling bias of the controlled volume caused by passing the signal processing circuit or the analog-digital converter. Through these processes, the adjustable devices in the hardware circuits are saved and the remote production debugging is realized to enhance the debug efficiency.

Description

A kind of method and apparatus of system controlled volume being debugged by host computer
Technical field
The present invention relates to a kind of method and apparatus of system controlled volume being debugged by host computer.
Background technology
In the production debug process, because the existence of the discreteness of signal conditioning circuit and analog-digital converter, quantization error will appear in the value of feedback of controlled volume, usually, this quantization error will superpose through closed loop computing and controlled volume, and further develop into output error or display error.Existing solution is in the deviation range that allows, and the adjustable device of design potentiometer and so in signal conditioning circuit in conjunction with detecting instrument, is regulated adjustable device and made corresponding its standard value of controlled volume.But the existing method of adjustable device exists many problems in this adjusting hardware circuit: 1, hardware design has a plurality of signal IO channel usually, needs the adjustable device of adjusting a lot, and the production debug process bothers complexity, poor operability very much; 2, debugging method is original, can not realize the Remote debugging, if slave computer is in the environment that the commissioning staff can not arrive, just can't debug.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method and apparatus of system controlled volume being debugged by host computer, the adjustable device in the hardware circuit had both been saved in this invention, had realized long-range production debugging again, had improved debugging efficiency.
To achieve these goals, the present invention adopts a kind of method of system controlled volume being debugged by host computer, and this method may further comprise the steps:
Detect the actual value of controlled volume;
The standard value that the actual value of above-mentioned controlled volume is corresponding with it is made comparisons, if equate, and execution in step A then; Otherwise, execution in step B;
Steps A: the operation upper computer software sends preservation reference quantization value (AD to slave computer Set) instruction;
Step B: the operation upper computer software sends increasing or decreasing reference quantization value (AD to slave computer Set) instruction.
In the method for the present invention, described step B is further comprising the steps of:
If the actual value of described controlled volume is greater than the standard value corresponding with it, execution in step B1; If the actual value of described controlled volume is less than the standard value corresponding with it, execution in step B2 then;
Step B1: the operation upper computer software sends reference quantization value (AD to slave computer Set) subtract 1 the instruction;
Step B2: the operation upper computer software sends reference quantization value (AD to slave computer Set) add 1 the instruction.
The present invention also provides a kind of device of system controlled volume being debugged by host computer, comprises upper computer software, detecting instrument, slave computer.
Described upper computer software is used for sending instruction to slave computer;
Described detecting instrument is used to measure the actual value of slave computer controlled volume;
Described slave computer comprises CPU, analog-digital converter and data storage element.
Wherein,
Described CPU is used to control computing;
Described analog-digital converter is used to quantize controlled volume;
Described data storage element is used to store reference quantization value (AD Set).
The key distinction of technical scheme of the present invention and prior art is: the present invention is by revising the reference quantization value (AD in the upper computer software Set), the sampling deviation that the compensation controlled volume occurs behind signal processing circuit or analog-digital converter had both been saved the adjustable device in the hardware circuit, had realized long-range production debugging again, had improved debugging efficiency.
Description of drawings
Fig. 1 is the schematic flow sheet that the present invention debugs system controlled volume by host computer;
The structural representation of Fig. 2 device that to be the present invention debug system controlled volume by host computer.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing.
The core of the inventive method is that the standard value that the actual value of controlled volume is corresponding with it makes comparisons, and regulates reference quantization value (AD according to comparative result Set), the sampling deviation that the compensation controlled volume occurs behind signal processing circuit or analog-digital converter.
Fig. 1 is the schematic flow sheet that the present invention debugs system controlled volume by host computer.This flow process starts from step 101.In step 102, the commissioning staff uses detecting instrument to read the actual value of slave computer controlled volume.In step 103, the standard output valve that the result of step 102 is corresponding with it compares.
If the result of step 103 be " greater than ", then enter step 104; If the result of step 103 be " less than ", then enter step 105; If the result of step 103 then enters step 106 for " equaling ".
In step 104, the operation upper computer software sends reference quantization value (AD to slave computer Set) subtract 1 instruction, after the computing of CPU closed loop, detecting instrument shows that the actual value of this controlled volume reduces.This step of repeatable operation is " equaling " until the result of step 103.
In step 105, the operation upper computer software sends reference quantization value (AD to slave computer Set) add 1 instruction, after the computing of CPU closed loop, detecting instrument shows that the actual value of this controlled volume increases.This step of repeatable operation is " equaling " until the result of step 103.
In step 106, upper computer software sends to slave computer and preserves reference quantization value (AD Set) instruction, at this moment, slave computer is with reference quantization value (AD Set) be solidificated in the data storage element.Each when slave computer starts, with reference quantization value (AD Set) carry out the closed loop computing as the closed loop input quantity.
In step 107, finish debugging.
Method of the present invention is compared with prior art, and prior art is the adjustable device in the conditioning signal modulate circuit, and the shortcoming of this adjustment method is that the process trouble is complicated, poor operability; The present invention is by upper computer software, revises reference quantization value (AD Set), and then compensation to replace adjustment method of the prior art, both saved the adjustable device in the hardware circuit because of the sampling error that signal conditioning circuit and analog-digital converter cause, again for realized long-range debugging provide may, improved debugging efficiency.
Adopt method of the present invention, must make the device of system controlled volume being debugged by host computer adapt to the enforcement of this method, the structural representation of the device that Fig. 2 debugs system controlled volume by host computer for the present invention.The device of system controlled volume being debugged by host computer comprises upper computer software, detecting instrument and slave computer.
Wherein upper computer software is used for sending instruction to slave computer;
Detecting instrument wherein is used to measure the actual value of slave computer controlled volume;
Wherein slave computer comprises CPU, analog-digital converter and data storage element.
CPU in the slave computer is used to control computing;
Analog-digital converter in the slave computer is used to quantize controlled volume;
Data storage element in the slave computer is used to store reference quantization value (AD Set).

Claims (4)

1. a method of system controlled volume being debugged by host computer is characterized in that, may further comprise the steps:
Detect the actual value of controlled volume;
The standard value that the actual value of above-mentioned controlled volume is corresponding with it is made comparisons, if equate, and execution in step A then; Otherwise, execution in step B;
Steps A: the operation host computer sends preservation reference quantization value (AD to slave computer Set) instruction;
Step B: the operation host computer sends increasing or decreasing reference quantization value (AD to slave computer Set) instruction.
2. method of system controlled volume being debugged by host computer as claimed in claim 1 is characterized in that step B is further comprising the steps of:
If the actual value of described controlled volume is greater than the standard value corresponding with it, execution in step B1; If the actual value of described controlled volume is less than the standard value corresponding with it, execution in step B2 then;
Step B1: the operation host computer sends reference quantization value (AD to slave computer Set) subtract 1 the instruction;
Step B2: the operation host computer sends reference quantization value (AD to slave computer Set) add 1 the instruction.
3. a device of system controlled volume being debugged by host computer is characterized in that, comprises upper computer software, detecting instrument, slave computer;
Described upper computer software is used for the standard value that the actual value of controlled volume is corresponding with it computing of comparing, and sends the instruction of regulating the reference quantization value to slave computer according to comparative result;
Described detecting instrument is used to measure the actual value of slave computer controlled volume;
Described slave computer comprises CPU, analog-digital converter and data storage element.
4. the device of system controlled volume being debugged by host computer as claimed in claim 3 is characterized in that:
Described CPU is used to control computing;
Described analog-digital converter is used to quantize controlled volume;
Described data storage element is used to store reference quantization value (AD Set).
CN2008101796272A 2008-11-23 2008-11-23 Method and equipment to debug the system controlled volume by the host computer Expired - Fee Related CN101739019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101796272A CN101739019B (en) 2008-11-23 2008-11-23 Method and equipment to debug the system controlled volume by the host computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101796272A CN101739019B (en) 2008-11-23 2008-11-23 Method and equipment to debug the system controlled volume by the host computer

Publications (2)

Publication Number Publication Date
CN101739019A CN101739019A (en) 2010-06-16
CN101739019B true CN101739019B (en) 2011-10-12

Family

ID=42462587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101796272A Expired - Fee Related CN101739019B (en) 2008-11-23 2008-11-23 Method and equipment to debug the system controlled volume by the host computer

Country Status (1)

Country Link
CN (1) CN101739019B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6047220A (en) * 1996-12-31 2000-04-04 Rosemount Inc. Device in a process system for validating a control signal from a field device
GB2344438A (en) * 1998-12-04 2000-06-07 Ibm Reducing track misregistration due to digital-to-analog converter quantization noise
CN1975343A (en) * 2006-12-14 2007-06-06 天津大学 Digital capacitance corner sensor calibrating system and calibrating method
CN201035403Y (en) * 2006-06-16 2008-03-12 荆州市明德科技有限公司 Portable synthetic parameter checking device for petroleum, chemical automation system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6047220A (en) * 1996-12-31 2000-04-04 Rosemount Inc. Device in a process system for validating a control signal from a field device
GB2344438A (en) * 1998-12-04 2000-06-07 Ibm Reducing track misregistration due to digital-to-analog converter quantization noise
CN201035403Y (en) * 2006-06-16 2008-03-12 荆州市明德科技有限公司 Portable synthetic parameter checking device for petroleum, chemical automation system
CN1975343A (en) * 2006-12-14 2007-06-06 天津大学 Digital capacitance corner sensor calibrating system and calibrating method

Also Published As

Publication number Publication date
CN101739019A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN203909605U (en) Process control system
WO2007143420A3 (en) Apparatus and method for converting between device description languages in a process control system
EP1975769A3 (en) Method and apparatus for unified storage system
Li et al. Latent variable iterative learning model predictive control for multivariable control of batch processes
US7844846B2 (en) System and method for analyzing dynamic CPU voltage
CN101739019B (en) Method and equipment to debug the system controlled volume by the host computer
WO2009067952A1 (en) An art control method and a device thereof
CN103955371A (en) Design and development method for universal software module for performing data acquisition on serial-port instrument
CN104932269B (en) A kind of robust non-fragile guaranteed cost control method for considering control input constraint
CN115308662A (en) Calibration device, system, method, equipment and medium for analog input channel
CN106484639A (en) A kind of method that CPU register information is obtained by ipmi agreement
CN101644614B (en) Air pressure monitoring device
Ju et al. Adaptive output feedback event-triggered tracking control for nonlinear systems with unknown control coefficient
Zhai et al. Hybrid stabilization of linear time-invariant systems with two quantizers
US11120716B2 (en) Method for detecting gamma voltage value, gamma chip, and computer-readable storage medium
EP2798315A1 (en) Circuit arrangement for reducing power dissipation in an active current output of a field device
Liberzon A hybrid control framework for systems with quantization
CN114970253B (en) Angle calculation method of vertical shaft drilling machine, terminal and storage medium
Huang et al. Design and Research of Microcontroller I/O Control Technology
CN105068937A (en) Unit test method of Linux kernel module
CN105573292A (en) Stage equipment performance matching test and debugging system
CN111665408A (en) High-protection distribution box fault detection method and device
TWI579690B (en) Intelligent test robot system
US20140076032A1 (en) Waterproof testing system and method thereof
French Robust stability of iterative learning control schemes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SANKE ELECTRIC APPLIANCE GROUP CO., LTD.

Free format text: FORMER NAME: SANKE ELECTRICAL CO., LTD.

CP03 Change of name, title or address

Address after: No. 258 Department of science and Technology Park Economic Development Zone, Yueqing city 325600 eleven weft road in Zhejiang Province

Patentee after: Sako Power Technology Corporation

Address before: The economic development zone of Yueqing City, eleven weft road 325600 Zhejiang province No. 258 China Electrical Appliance Co. Ltd.

Patentee before: Sako Electric Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111012

Termination date: 20141123

EXPY Termination of patent right or utility model