CN103513586A - Frequency converter remote control method based on serial instruction sequence - Google Patents

Frequency converter remote control method based on serial instruction sequence Download PDF

Info

Publication number
CN103513586A
CN103513586A CN201210223999.7A CN201210223999A CN103513586A CN 103513586 A CN103513586 A CN 103513586A CN 201210223999 A CN201210223999 A CN 201210223999A CN 103513586 A CN103513586 A CN 103513586A
Authority
CN
China
Prior art keywords
queue
frequency converter
frequency
instruction
serial
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.)
Pending
Application number
CN201210223999.7A
Other languages
Chinese (zh)
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.)
Dalian Institute of Chemical Physics of CAS
Original Assignee
Dalian Institute of Chemical Physics of CAS
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 Dalian Institute of Chemical Physics of CAS filed Critical Dalian Institute of Chemical Physics of CAS
Priority to CN201210223999.7A priority Critical patent/CN103513586A/en
Publication of CN103513586A publication Critical patent/CN103513586A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a frequency converter remote stepless speed regulation method based on a serial instruction sequence. The method can be applied to a remote host computer for stepless speed regulation of a frequency converter. According to the method, a queue is used for establishing a frequency set value sequence to make numerical values input by a panel generate a series of instructions sequentially and completely, and the instructions are sent to the frequency converter sequentially so as to realize remote stepless speed regulation. According to the scheme, a control host computer, control software, a communication bus and the frequency converter are included. The serial instruction sequence refers to frequency set values which are stored in a queue mode, wherein the frequency set values are sequentially output from the queue and then subjected to ASCII instruction coding to form a string of instruction sequences. According to the implementation scheme of the method, the control host computer 1, the control software 2, the communication bus 3 and the frequency converter 4 are included. By means of the frequency converter remote stepless speed regulation method based on the serial instruction sequence, remote stepless regulation of the frequency converter is realized in a serial port bus mode.

Description

Frequency converter long-range control method based on serial command sequence
Technical field
The present invention relates to a kind of frequency converter long-range control method based on serial command sequence.
Background technology
The remote of frequency converter adopts bus-control conventionally, at the manual target setting frequency of host computer sending controling instruction again, this mode of operation is applicable to gear speed governing, but often needs do frequency converter continuous fine adjustment in experimentation exploratoryly, be step-less adjustment, with upper type operation inconvenience.Remote stepless regulates controlling software design requirement higher because when regulating continuously, can exist the crawl of panel input numerical value less than or the capped problem of instruction, will be difficult to reach the effect of step-less adjustment.
Summary of the invention
A kind of frequency converter long-range control method based on serial command sequence providing in order to solve above-mentioned deficiency is provided, can on distance host, realizes the stepless speed regulation of frequency converter.
The technical solution adopted in the present invention comprises main control system, controls software, communication bus and frequency converter, concrete grammar is: utilize queue to build frequency setting value sequence, make the numerical value of panel input successively, intactly generate a series of instructions and sequentially be sent to frequency converter, realize remote stepless speed governing.
The described queue that utilizes builds frequency setting value sequence, refer in controlling software program design and adopt the producer/consumer Design Mode, in producer's circulation, the frequency numerical value of panel input was captured to queue by certain scan period, in consumer's circulation, the numerical value in queue is taken out successively by certain hour interval; Described serial command sequence, refers to the frequency setting value of storing in queue mode, carry out ASCII instruction encoding from queue is exported successively, forms a string instruction sequence.
Described main control system comprises communication interface, controls software and display screen; Described control software is realized the function that the speed-regulating instruction based on serial command sends; Described communication bus is serial communication bus; Described main control system is connected by communication bus with frequency converter.
Described certain scan period is that program captures from panel the time interval that data are sent into queue at every turn, according to whether carrying out speed governing operation, extends or shortens; Described whether carrying out speed governing operation and determined by the extent of twice circulation medium frequency setting value; Described certain time interval is that program sends the time interval of instruction at every turn to frequency converter, can at least be made as the frequency converter time delay stand-by period to add 300 milliseconds again.
Method flow is: program starts to carry out, circulation 1 judges whether to carry out manual adjustments, if carrying out manual adjustments, setting the input value scan period is that T1(T1 is about 0.5 second), if do not carrying out manual adjustments, the scan period of setting input value is T2(T2 > T1, be 3 ~ 5 seconds), then judge whether to arrive scanning constantly, if arrive scanning constantly, setpoint frequency value is sent into queue, otherwise without operation, continue to judge whether just in manual adjustments; Circulation 2 is asynchronous with circulation 1, first judge whether queue is empty, if queue is empty, without operating and continuing to judge whether queue is empty, if queue is not empty, reads a frequency setting value in queue, set up communication instruction, instruction is sent to frequency converter, through time delay, waits for after (300 ~ 600 milliseconds), continue execution and judge whether queue is empty operation.
Advantage of the present invention is that the frequency converter remote stepless of having realized under serial communication bus mode regulates.
Accompanying drawing explanation
Fig. 1 is the enforcement block diagram of the frequency converter long-range control method based on serial command sequence.
Fig. 2 is the programming flowchart of the frequency converter long-range control method based on serial command sequence.
Embodiment
The present invention is described in detail by the following examples and with reference to accompanying drawing.
Fig. 1 is the enforcement block diagram of the frequency converter long-range control method based on serial command sequence, and the present invention adopts main control system to be directly connected by serial communication bus with frequency converter.
Utilize queue to build frequency setting value sequence, make the numerical value of panel input successively, intactly generate a series of instructions and sequentially be sent to frequency converter, realize remote stepless speed governing.The described queue that utilizes builds frequency setting value sequence, refer in controlling software program design and adopt the producer/consumer Design Mode, in producer's circulation, the frequency numerical value of panel input was captured to queue by certain scan period, in consumer's circulation, the numerical value in queue is taken out successively by certain hour interval; Described serial command sequence, refers to the frequency setting value of storing in queue mode, carry out ASCII instruction encoding from queue is exported successively, forms a string instruction sequence; Described certain scan period is that program captures from panel the time interval that data are sent into queue at every turn, according to frequent operation degree, extends or shortens; Described certain time interval is that program sends the time interval of instruction at every turn to frequency converter, can equal the frequency converter time delay stand-by period to add 300 milliseconds again.
Shown in Fig. 2 is the programming flowchart of the frequency converter long-range control method based on serial command sequence, as shown in the figure.
Circulation 1: program starts to carry out, judge whether to carry out manual adjustments, if carrying out manual adjustments, setting the input value scan period is that T1(T1 is about 0.5 second), if do not carrying out manual adjustments, the scan period of setting input value is T2(T2 > T1, be 3 ~ 5 seconds), then judge whether to arrive scanning constantly, if arrive scanning constantly, setpoint frequency value is sent into queue, otherwise without operation, continue to judge whether just in manual adjustments.For example, when carrying out stepless speed regulation by 0Hz to 5Hz, detect numerical value in frequency input control and change, setting the scan period is short period T1, otherwise set the scan period, is long period T2.According to setting the scan period, carry out ensuing frequency values and obtain and send into queue.
Circulation 2: circulate 2 with circulation 1 for asynchronous.First judge whether queue is empty, if queue is empty, without operating and continuing to judge whether queue is empty, if queue is not empty, read a frequency setting value in queue, set up communication instruction, instruction is sent to frequency converter, through time delay, wait for after (300 ~ 600 milliseconds), continue execution and judge whether queue is empty operation.In queue, element is fallen out successively with the order of joining the team, and each goes out group element and sets up ASCII instruction, by serial ports write-in program, sends to frequency converter, and frequency converter can send and return to confirmation to Industry Control computer after receiving instruction, therefore needs time delay to wait for.

Claims (6)

1. the frequency converter long-range control method based on serial command sequence, can be applicable to the stepless speed regulation to frequency converter on distance host, comprise main control system, control software, communication bus and frequency converter, it is characterized in that, between main control system and frequency converter, adopt universal serial bus to be connected, by serial command sequence, control software and produce frequency setting value sequence, encoded rear transmission is also controlled frequency converter, realizes the remote stepless speed governing of frequency converter.
2. method according to claim 1, is characterized in that: control in software program design and utilize the producer/consumer Model Establishment procedural model.
3. method according to claim 1, it is characterized in that: the described queue that utilizes builds frequency setting value sequence, refer to and adopt the producer/consumer Design Mode, in producer's circulation, the frequency numerical value of panel input was captured to queue by the scan period, in consumer's circulation, the numerical value in queue was taken out successively by the time interval; Described serial command sequence, refers to the frequency setting value of storing in queue mode, carry out ASCII instruction encoding from queue is exported successively, forms a string instruction sequence.
4. method according to claim 1, is characterized in that: described control software is realized the function that the speed-regulating instruction based on serial command sends; Described communication bus is serial communication bus.
5. method according to claim 1, is characterized in that: the described scan period is that program captures from panel the time interval that data are sent into queue at every turn, according to whether carrying out speed governing operation, extends or shortens; Described whether carrying out speed governing operation and determined by the extent of twice circulation medium frequency setting value; Described certain time interval is that program sends the time interval of instruction at every turn to frequency converter, can at least be made as the frequency converter time delay stand-by period to add 300 milliseconds again.
6. method according to claim 1, is characterized in that:
Method flow is: program starts to carry out, and circulates 1 to judge whether to carry out manual adjustments, if carrying out manual adjustments, setting the input value scan period is T1, and T1 is about 0.5 second), if do not carrying out manual adjustments, the scan period of setting input value is T2, T2 > T1, T2 is 3 ~ 5 seconds, then judges whether to arrive scanning constantly, if arrive scanning constantly, setpoint frequency value is sent into queue, otherwise without operation, continue to judge whether just in manual adjustments; Circulation 2 is asynchronous with circulation 1, first judge whether queue is empty, if queue is empty, without operating and continuing to judge whether queue is empty, if queue is not empty, reads a frequency setting value in queue, set up communication instruction, instruction is sent to frequency converter, after time delay is waited for 300 ~ 600 milliseconds, continues execution and judge whether queue is empty operation.
CN201210223999.7A 2012-06-29 2012-06-29 Frequency converter remote control method based on serial instruction sequence Pending CN103513586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210223999.7A CN103513586A (en) 2012-06-29 2012-06-29 Frequency converter remote control method based on serial instruction sequence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210223999.7A CN103513586A (en) 2012-06-29 2012-06-29 Frequency converter remote control method based on serial instruction sequence

Publications (1)

Publication Number Publication Date
CN103513586A true CN103513586A (en) 2014-01-15

Family

ID=49896505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210223999.7A Pending CN103513586A (en) 2012-06-29 2012-06-29 Frequency converter remote control method based on serial instruction sequence

Country Status (1)

Country Link
CN (1) CN103513586A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772257B1 (en) * 1999-12-23 2004-08-03 Intel Corporation Method and apparatus for processing interrupts
US7395366B1 (en) * 2002-09-27 2008-07-01 Cypress Semiconductor Corp. System, method, and apparatus for connecting USB peripherals at extended distances from a host computer
CN201690359U (en) * 2010-06-07 2010-12-29 中国北车股份有限公司大连电力牵引研发中心 Frequency converter remote controller for tram
CN202231603U (en) * 2011-10-10 2012-05-23 常州苏控自动化设备有限公司 Frequency converter
CN202231741U (en) * 2011-09-21 2012-05-23 上海精星物流设备工程有限公司 Frequency converter communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772257B1 (en) * 1999-12-23 2004-08-03 Intel Corporation Method and apparatus for processing interrupts
US7395366B1 (en) * 2002-09-27 2008-07-01 Cypress Semiconductor Corp. System, method, and apparatus for connecting USB peripherals at extended distances from a host computer
CN201690359U (en) * 2010-06-07 2010-12-29 中国北车股份有限公司大连电力牵引研发中心 Frequency converter remote controller for tram
CN202231741U (en) * 2011-09-21 2012-05-23 上海精星物流设备工程有限公司 Frequency converter communication system
CN202231603U (en) * 2011-10-10 2012-05-23 常州苏控自动化设备有限公司 Frequency converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙杨等: "基于LabVIEW的变频器监测控制系统设计", 《工业计量》 *

Similar Documents

Publication Publication Date Title
CN104853503B (en) The collection system and lamp control system of light fixture operating state data
EP2860599A1 (en) Control device with PLC programmable logic controller and with a touchscreen
CN103677838A (en) RTU sensor adaptation layer based on virtual sensors and design method of RTU sensor adaptation layer
CN103377093B (en) A kind of multimedia synchronization method of multi-system equipment, electronic equipment
CN202543178U (en) Intelligent control device for yellow wine fermentation based on Internet of Things
CN103513586A (en) Frequency converter remote control method based on serial instruction sequence
CN105591573B (en) The synchronisation control means and device of a kind of multi-machine system, a kind of multi-machine system
US20120130539A1 (en) Robot control system and control method using the same
CN201851021U (en) Rotary drill platform leveling control system
CN106375409A (en) Method for automatically generating smart device control interface
CN103925090B (en) Dynamic energy conservation system, dynamic energy conservation method and engineering machinery
CN111997879B (en) Multi-pump water supply control method and system, water pump driver and storage medium
WO2010002190A3 (en) Terminal apparatus using a peripheral apparatus of another terminal via the control of one terminal, and interface method thereof
CN102473345A (en) Remote control of a plurality of devices
CN103631452A (en) Scanning control device, scanning controller and scanning control method of infrared touch screen
CN204350149U (en) Based on the serial ports matrix switcher of FPGA
JP5358989B2 (en) Motor drive communication system
CN108363322B (en) Engineering machinery control module, work machine control system and method
CN105182807A (en) Data collection processing system based on 3G network and method
CN202100438U (en) Constant-power control device of variable displacement pump and concrete pumping device
CN104896953A (en) Cement kiln grate cooler control method and system
CN211061865U (en) Intelligent multi-motor control system with WIFI
CN202870582U (en) Building intelligent system and automatic device thereof
CN206195804U (en) A controlling means for remote use computer
CN104035386A (en) Frequency converter controller and frequency converter control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140115