The apparatus for feedback of sensor signal of high voltage converter
Technical field
The present invention relates to the apparatus for feedback of sensor signal of a kind of novel structure, anti-interference function is strong, transmission rate is high high voltage converter, belong to the technical field of the supporting control appliance of intelligent speed-regulating of high voltage converter.
Background technology
On the transmission control technology of the frequency converter of high-power vector control, improve the speed adjustable range, torque characteristics of frequency converter and ability such as response fast if desired, so the transducer of the frequency converter corollary equipment that is absolutely necessary.The frequency converter transducer here is mainly used in the velocity of rotation and the motor rotor position of feedback motor, at present the transducer of the frequency converter that uses all is that interface with production firm is as the criterion basically, these Application of Interface too big problem not in the industrial control process of small-power, low pressure.But, if be applied in the strong jamming occasion of high-power, a lot of problems will appear.For example: the poor stability of signal, poor anti jamming capability, transmission range are near, and transmission error rates is high, has a greatly reduced quality with regard to the functional reliability that causes frequency converter like this.
The general purpose transducer of frequency converter is an encoder now: a kind of detecting element that is used for speed control or position control system, photoelectric encoder for example: convert the geometry of machinery displacement on the rotor to pulse or digital quantity by opto-electronic conversion, so that reflect the running speed of this motor and the positional information of rotating shaft thereof to the main control unit of frequency converter.The interface of this encoder has two: one is that another is a positional information with the rate signal of difference output, and interface message adopts the output of serial or parallel signal.Wherein parallel signal is when the length Distance Transmission, shared spatial volume height big and cost all is the problem that the designer must consider, in addition, also there is following common problem in above-mentioned interface: poor anti jamming capability, and transmission range is short, and speed is slow, error rate height, real-time difference etc., environment has under the abominable condition of work of high-voltage high-power frequency transformator of very strong electromagnetic interference and electromagnetic radiation especially around, and traditional transducer is in paralysis and can't operate as normal substantially.Therefore, be badly in need of now a kind of apparatus for feedback of sensor signal that can address the above problem well of research and development, so that make that the characteristic of high-voltage high-power frequency transformator of high-performance, high reliability is embodied.This urgent problem also just becomes the focus that those skilled in the art pay close attention to naturally.
Summary of the invention
In view of this, the apparatus for feedback of sensor signal that the purpose of this invention is to provide a kind of high voltage converter, this device can solve well and have when existing product sensor is used for high voltage converter that transmission reliability is poor, transmission range is short, response speed is slow and variety of issue such as volume is big, with the needs of the intelligent speed-regulating control technology that satisfies high-voltage high-power frequency transformator.
In order to achieve the above object, the invention provides a kind of apparatus for feedback of sensor signal of high voltage converter, it is characterized in that: the control circuit of this device comprises: to the input signal from transducer strengthen error correcting capability and and go here and there conversion process the on-site programmable gate array FPGA chip, the output signal of this fpga chip is transferred to the optical fiber and/or the differential twisted pair of master control set, and input signal is carried out interface circuit error checking and correction and string and conversion process, that adopt the master control set that fpga chip forms; And the interface circuit of the sensor input signal that is linked in sequence, signal transformation circuit, the output of this signal transformation circuit be connected to strengthen error correcting capability and and go here and there the input of fpga chip of conversion process, this fpga chip is provided with two output circuits: one is connected output signal with the optical fiber driver by power amplifier and delivers to the master control set interface circuit via optical fiber, another then delivers to master control set interface circuit via differential twisted pair with signal by photoelectrical coupler and differential driver;
The control circuit of this device is provided with two groups of power supplys, wherein one group of power supply is used for the circuit of output terminal of photoelectrical coupler and the externally differential driver power supply of output differential signal, and another group power supply is used for the inlet circuit power supply to input signal interface circuits, signal transformation circuit, fpga chip, power amplifier, optical fiber driver and photoelectrical coupler.
The output circuit of described fpga chip is to select wherein one or two to enter operating state according to the on-the-spot actual state of high voltage converter: the Optical Fiber Transmission as the passive light signal is applicable to the speed height, transmission range is long or be not subjected to the occasion of electromagnetic interference; The transmission feature of differential twisted pair is that cost is low, distance, anti-tampering effective, is applicable to the less demanding occasion of message transmission rate.
Described to sensor input signal strengthen error correcting capability and and go here and there the circuit structure of fpga chip inner control logic of conversion process and comprise: the data latching module that is linked in sequence, data check module, data coding module, data are carried out and go here and theres the output module of changing and data check module and clock circuit; Wherein the data check module receives the output of data coding module, and after the coded data of input was added the error checking and correction information processing, its output signal was connected to the output module that carries out and go here and there conversion; The output of clock circuit is connected to data latching module, data check module, data coding module respectively and also goes here and there the output module of conversion.
The interpolation error checking and correction information that described data check module is carried out the coded data of input is to add parity check CRC information.
The circuit structure of the fpga chip inner control logic of the interface circuit of described master control set comprises: input interface module, data decode module, data latching and the output module that data are gone here and there and changed that are linked in sequence, and data check module and clock circuit; Wherein the data check module receives the output of data decode module, and after the decoded data to input carried out the error checking and correction processing, its output signal was connected to data latching and output module; The output of clock circuit is connected to the input interface module and the data decode module of string and conversion respectively.
The innovation that the technical maximum characteristics of the apparatus for feedback of sensor signal of high voltage converter of the present invention are processing of circuit structure and device: utilize a kind of on-site programmable gate array FPGA chip that integrated level is the highest in the application-specific integrated circuit ASIC to make up control circuit.
As everyone knows, fpga chip provides the highest logic density, the abundantest characteristic and the highest performance.Present FPGA device can provide up to 800 ten thousand " system doors " (logic density relatively), the inner control logic module of this advanced device and I/O module can realize the simulation of cpu performance, characteristics such as mass storage, Clock management system also are provided, are used to realize user's control logic.The user also can be placed on the programming data to FPGA in the Flash chip, is loaded among the FPGA by powering on, and again it is carried out initialization.Also can be online to its programming, realization system on-line reorganization, this characteristic can make up a CPU of customization according to different computing tasks and in real time, therefore, the extensive use of FPGA has become the popular domain of current research: from data processing and storage, up to instrument and meter, telecommunications and Digital Signal Processing etc.
Along with developing rapidly of microelectric technique, another characteristics of fpga chip are that price reduces greatly: only before the several years, the FPGA device of maximum-norm is tens thousand of system doors only also, and operating rate has only 40MHz, and more expensive relatively, state-of-the-art at that time FPGA device is approximately wanted 150 dollars.Yet the FPGA that has most advanced characteristic today can provide 1,000,000 logical capacity, be operated in 300MHz, and the chip of higher levels of integrated characteristic (as processor and memory) also is provided, and its cost has been low to moderate less than 10 dollars.
The present invention is applied to the apparatus for feedback of sensor signal of high voltage converter with fpga chip with innovating, make that this device control circuit is simple in structure, reliable operation, powerful, with low cost, antijamming capability is strong, and transmission speed is fast, transmission range is long, and the error rate is low.Variety of issue such as solved fully that the transmission reliability that original device exists is poor, interference free performance is low, transmission range is short, response speed is slow and volume is big, can fully satisfy the needs of the intelligent speed-regulating control technology of high-voltage high-power frequency transformator, have good popularization and application prospect.
Description of drawings
Fig. 1 is the apparatus for feedback of sensor signal operation principle or the flow diagram of high voltage converter of the present invention.
Fig. 2 is the transducer installation site schematic diagram of high voltage converter apparatus for feedback of sensor signal of the present invention.
Fig. 3 is that the control circuit structure of the apparatus for feedback of sensor signal of high voltage converter of the present invention is formed block diagram.
Fig. 4 is the fpga chip inner control logic block diagram on the transducing signal dash receiver in the apparatus for feedback of sensor signal of high voltage converter of the present invention.
Fig. 5 transmits the master control set interface circuit fpga chip inner control logic block diagram that receives the serial data transducing signal via cable in the apparatus for feedback of sensor signal of high voltage converter of the present invention.
Embodiment
For making 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.
Referring to Fig. 1, the present invention is a kind of apparatus for feedback of sensor signal of high voltage converter, its control circuit (going out with solid box among the figure) mainly comprises: to the input signal from electromechanical transducer strengthen error correcting capability and and go here and there conversion process the on-site programmable gate array FPGA chip, the output signal of this fpga chip is transferred to the optical fiber and/or the differential twisted pair of master control set, and input signal is carried out interface circuit error checking and correction and string and conversion process, that adopt the master control set that fpga chip forms.
The technical scheme and the operation principle of apparatus of the present invention are: rotor-position and tach signal that the encoder of installing on this device reception machine shaft sends through the coding of fpga chip with after also string is changed, send at a high speed with serial data; Receive serial data at receiving terminal with fpga chip again, decode and go here and there and conversion process after, convert thereof into the CPU that the predetermined data form is uploaded to the main control unit of high voltage converter and handle.Apparatus of the present invention have solved that the existing product data line is many, distance, problem that the error rate is high, specially each data bit is carried out CRC check in sending module, and the verification result code is added in the serial carry-out bit; Whether with verification correct, can solve the interference error code mistake that may occur in the transmission like this if with fpga chip data being decoded again at receiving terminal, efficiently solve the problem that signal electromagnet disturbs.Wherein the physical transfer of serial signal can adopt differential transfer or Optical Fiber Transmission, makes the reliable transmission that can realize data when the less demanding and environmental requirement of operational environment is harsh.
Referring to Fig. 2, introduce the installation site of transducer of the present invention (being encoder): in the rotating shaft of motor afterbody, in the tachometric survey and rotor-position control of the heavy-duty motor that high voltage converter drives, the extensive use encoder feeds back to the main control unit of high voltage converter with the position data of its motor speed data that measure and rotor, so that this heavy-duty motor is realized intelligence adjusting rotating speed.
Referring to Fig. 3, the structure that describes control circuit of the present invention in detail is formed: the control circuit of apparatus of the present invention comprises: the input signal of the transducer 1 that is linked in sequence (speed of service and the rotor position information of reflection motor) interface circuit 3, signal transformation circuit 4 (the chip model of using for embodiment in the bracket: form) by this schmitt trigger 74HC14 chip, the output of this signal transformation circuit 4 be connected to strengthen error correcting capability and and go here and there the input of fpga chip 2 of conversion process, fpga chip 2 carries out the serial data coding according to the real-time clock that crystal oscillator 5 provides to the input data of transducer 1, CRC check and also string conversion, this fpga chip 2 has two output circuits: by power amplifier 8 (75451 chip) and optical fiber driver 9 (HFBR-2521 chip) output signal is delivered to master control set interface circuit 7 via optical fiber transmission line 13 for one, another is to become RS485 differential level deliver to master control set interface circuit 7 conversion of signals with differential driver 10 (MAX485 chip) via difference twisted pair transmission line 14 by photoelectrical coupler 9 (HCPL-0631 chip).Wherein photoelectrical coupler 9 plays the purpose that the differential level signal of output transmission and internal electric signal are isolated.
This part control circuit of this device is provided with two groups of power supplys, wherein B group power supply 11 is used for the circuit of output terminal of photoelectrical coupler 9 and outwards differential driver 10 power supplies of output differential signal, this group power supply is mainly the differential level power supply of external transmission, and its control power supply with device inside is isolated.Another group A group power supply 6 is used for the inlet circuit power supply to fpga chip 2, input signal interface circuits 3, signal transformation circuit 4, power amplifier 8, optical fiber driver 12 and photoelectrical coupler 9.
The output circuit of fpga chip 2 of the present invention is to select wherein one or two according to the on-the-spot practical working situation of high voltage converter: the Optical Fiber Transmission as the passive light signal is applicable to the speed height, transmission range is long or be not subjected to the occasion of electromagnetic interference; The characteristics of differential twisted pair transmission are that cost is low, distance, anti-tampering effective, are applicable to the less demanding occasion of message transmission rate.
Referring to Fig. 4, introduce the control logic flow process of the fpga chip 2 in this device below.The FPGA advantage is to handle large-scale data by real-time parallel, and can improve the integrated level and the functional reliability of whole system.Its data process method is as follows: the encoder data of 21 pairs of inputs of data latching module latchs, and 22 pairs of latch datas of data check module carry out verification, is latched to prevent disturbed misdata; After 24 pairs of correct data of data coding module are carried out encoding process, add the CRC parity bit information by the data that 25 pairs of data check modules are somebody's turn to do after encoding, wherein data and 26 of output modules of string conversion convert parallel data to serial data, simultaneously check information is added in this transmission data flow, form data flow serial output.In the entire process process, clock 23 plays important sequencing control effect, all needs clock to participate in the signal processing of data latching module 21, data check module 22 and data and string conversion output module 26.
Because looking actual demand selects for use, the data flow of serial output has Optical Fiber Transmission and RS485 differential level dual mode, therefore, receive the decode input interface in the interface circuit also to dual mode should be arranged as the serial data of its supporting main control unit, a kind of is RS485 differential level receiver, and another kind is a fiber optic receiver, after Data Receiving is come in, again through string and conversion and decoding processing, be reduced into the speed and position signalling of rotor after, feed back to master controller and handle.
Referring to Fig. 5, specifically introduce the circuit structure and the operation principle of fpga chip inner control logic of the interface circuit of master control set: serial data realizes the displacement input through the control of clock 73, and serial data also changes that input module 71 plays a part to receive serial data and displacement is latched.Data after string and the conversion are input in the data decode module 72, carry out decoding processing and convert the predetermined data form to by 72 pairs of inputs of data decode module data, by data check module 74 the check digit data decode is come out simultaneously, carry out data latching through data latching module 75 according to the correctness of check digit again, correct data is latched, and lose misdata, final dateout is carried out s operation control for master controller.
Apparatus of the present invention are manufactured experimently out model machine, and have carried out test and implemented, and implement the effect highly significant of trial run, and antijamming capability is strong, and transmission speed is fast, and transmission range is long, and transmission error rates is low, dynamic stability good, have realized the goal of the invention of expection.