CN107272516A - Interface signal processing method and processing device - Google Patents
Interface signal processing method and processing device Download PDFInfo
- Publication number
- CN107272516A CN107272516A CN201710650298.4A CN201710650298A CN107272516A CN 107272516 A CN107272516 A CN 107272516A CN 201710650298 A CN201710650298 A CN 201710650298A CN 107272516 A CN107272516 A CN 107272516A
- Authority
- CN
- China
- Prior art keywords
- signal
- feedback
- signal processing
- processing circuit
- feedback device
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/21—Pc I-O input output
- G05B2219/21085—Define type of I-O, analog, digital, pulse
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention provides a kind of interface signal processing method and processing device, described device includes:Physical interface, signal processing circuit module and main control module;Comprising the signal processing circuit at least two for handling different type feedback signal in signal processing circuit module, for the feedback device for accessing physical interface to be delivered into corresponding signal processing circuit;Signal processing circuit described in the signal processing circuit module carries out access processing, obtains accessing signal, and the access signal is sent to the main control module;The main control module utilizes feedback device species corresponding with the access signal or protocol type to read the feedback information in the access signal, and the running status of the controlled device is monitored according to the feedback information and/or controlled device is controlled, the technique effect for the feedback signal that at least two types can be read in board need not be changed by realizing.
Description
Technical field
The present invention relates to technical field of servo control, more particularly, to a kind of interface signal processing method and processing device.
Background technology
Feedback device (such as rotary encoder, linear encoder, hereinafter referred to as " encoder ") is servo-driver, frequency conversion
The important component of device, motion controller, programmable logic controller (PLC) etc. (hereinafter referred to as " equipment "), its task be by by
Control the object such as key message such as the position of electric rotating machine, linear electric motors etc., speed with such as pulsed quantity form, analog quantity form,
Digital amount form and various amounts mixed form feed back to the said equipment, so as to realize monitoring of the said equipment to controll plant
And control, such as control of location control, back to zero, speed control.Therefore, in order to obtain and correctly parse various shapes exactly
The feedback information of formula, it usually needs the corresponding feedback information acquisition process scheme (including hardware and software) of design changes them
The numerical data that can be directly used into embedded system.But, due to cost limitation or technology restriction, the said equipment is usual
Only support the encoder of one or two kinds of specifications or agreement.
At present, the encoder of main flow it is as implied above be divided into pulsed quantity form, analog quantity form, digital amount form or
Mixed form etc., can also be divided into absolute value formula (can be divided into full digital, sine and cosine nalog quantity type again), increment type etc..Wherein
Several communications protocol interfaces of the absolute value formula encoder of main flow again using the implementation of Ji great producers is rely on, and such as Germany is western gram (SICK)
Hiperface the and Hiperface DSL protocol interfaces of company, the Endat2.2/ of German Heidenhain (Heidenhain) company
Endat2.1 protocol interfaces, the exploitation of iC-Haus companies of Germany and disclosed open protocol --- BiSS protocol interfaces, industry opening
Agreement SSI protocol interfaces, the T-Format protocol interfaces of river (Tamagawa) companies that rub of Japan, Japanese Nikon (Nikon) public affairs more
A-Format protocol interfaces of department etc..However, the common servo-driver of in the market, frequency converter, controller etc. are needing to support
During the encoder of diversified forms or interface, common way is to change different boards, and this method can bring many to client
Limitation, operates complicated, cumbersome, service efficiency is low.
The content of the invention
In view of this, it is an object of the invention to provide a kind of interface signal processing method and processing device, to alleviate existing skill
Equipment present in art needs to support during the encoder of diversified forms or interface, it is necessary to change board, to client bring it is many not
Just technical problem.
In a first aspect, the embodiments of the invention provide a kind of interface signal processing unit, including:At physical interface, signal
Manage circuit module and main control module;
The signal transacting at least two for handling different type feedback signal is included in the signal processing circuit module
Circuit;The connection end of the physical interface connects with least two signal processing circuits in the signal processing circuit module respectively
Connect, the feedback signal for the feedback device output by the physical interface is accessed is delivered to corresponding signal processing circuit;
Each signal processing circuit in the signal processing circuit module is connected with the main control module respectively, institute
State signal processing circuit described in signal processing circuit module and carry out access processing, obtain accessing signal, by the access signal hair
Deliver to the main control module;
It is described that the main control module utilizes feedback device species corresponding with the access signal or protocol type to read
The feedback information accessed in signal, and according to the feedback information running status of the controlled device is monitored and/or
Controlled device is controlled.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, institute
Stating signal processing circuit module includes:Digital signal processing circuit, pulse signal process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The analog signal processing circuit, for when the feedback signal is analog signal, utilizing Shape correction, isolation
At least one of processing, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
Second aspect, the embodiment of the present invention also provides a kind of interface signal processing method, applied to described in first aspect
In main control module, including:
Feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
Feedback information in the access signal is read according to the feedback device species or protocol type;
The running status of controlled device is monitored according to the feedback information and/or controlled device is controlled.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, institute
State and feedback device species corresponding with access signal or protocol type are determined using predetermined manner, including:
Feedback device species or protocol type that user is inputted according to suggestion content using input equipment are received, it is described to carry
Show that content includes the device information of feedback device;
Or, obtain the hardware encoding comprising feedback device species or protocol type;
Or, read default feedback device species or protocol type in feedback device internal storage space;
Or, receive main control module send feedback device species or protocol type, the feedback device species or
Protocol type is to be inputted by user according to suggestion content using input equipment, and the suggestion content includes the device of feedback device
Information;
Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;
Or, receive main control module send feedback device species or protocol type, the feedback device species or
Protocol type is read by main control module in feedback device internal storage space.
The third aspect, the embodiment of the present invention also provides a kind of interface signal processing unit, including:At physical interface, signal
Manage circuit module, on-site programmable gate array FPGA or complex programmable logic device (CPLD) and main control module;
The signal transacting at least two for handling different type feedback signal is included in the signal processing circuit module
Circuit;The connection end of the physical interface connects with least two signal processing circuits in the signal processing circuit module respectively
Connect, the feedback signal for the feedback device output by the physical interface is accessed is delivered to corresponding signal processing circuit;
Each signal processing circuit in the signal processing circuit module respectively with the FPGA or described
CPLD connections, signal processing circuit described in the signal processing circuit module carries out access processing, obtains accessing signal, will be described
Access signal is sent to the FPGA or CPLD, the FPGA or the CPLD according to corresponding with the access signal
Feedback device species or protocol type read it is described access signal in feedback information;
The FPGA or the CPLD are connected with the main control module, and the main control module is entered using the feedback information
Row is monitored to the running status of controlled device and/or controlled device is controlled.
With reference to the third aspect, the embodiments of the invention provide the possible embodiment of the first of the third aspect, wherein, institute
Stating signal processing circuit module includes:Digital signal processing circuit, pulse signal process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The analog signal processing circuit, for when the feedback signal is analog signal, utilizing Shape correction, isolation
At least one of processing, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
Fourth aspect, the embodiment of the present invention also provides a kind of interface signal processing method, applied to described in the third aspect
In on-site programmable gate array FPGA or complex programmable logic device (CPLD), including:
Feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
Feedback information in the access signal is read according to the feedback device species or protocol type;
The feedback information is sent to main control module.
With reference to fourth aspect, the embodiments of the invention provide the possible embodiment of the first of fourth aspect, wherein, institute
State and feedback device species corresponding with access signal or protocol type are determined using predetermined manner, including:
Feedback device species or protocol type that user is inputted according to suggestion content using input equipment are received, it is described to carry
Show that content includes the device information of feedback device;
Or, obtain the hardware encoding comprising feedback device species or protocol type;
Or, read default feedback device species or protocol type in feedback device internal storage space;
Or, receive main control module send feedback device species or protocol type, the feedback device species or
Protocol type is to be inputted by user according to suggestion content using input equipment, and the suggestion content includes the device of feedback device
Information;
Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;
Or, receive main control module send feedback device species or protocol type, the feedback device species or
Protocol type is read by main control module in feedback device internal storage space.
5th aspect, the embodiment of the present invention also provides a kind of meter for the non-volatile program code that can perform with processor
Calculation machine computer-readable recording medium, described program code makes described in the first possible embodiment of the computing device second aspect
Method.
6th aspect, the embodiment of the present invention also provides a kind of meter for the non-volatile program code that can perform with processor
Calculation machine computer-readable recording medium, described program code makes described in the first possible embodiment of the computing device fourth aspect
Method.
The embodiment of the present invention brings following beneficial effect:In the embodiment of the present invention, in the signal processing circuit module
Include the signal processing circuit at least two for handling different type feedback signal;The connection end of the physical interface respectively with
At least two signal processing circuits connection in the signal processing circuit module, for the feedback by the physical interface is accessed
The feedback signal of device output is delivered to corresponding signal processing circuit;Each letter in the signal processing circuit module
Number process circuit is connected with the main control module respectively, and signal processing circuit described in the signal processing circuit module is accessed
Processing, is obtained accessing signal, and the access signal is sent to the main control module;The main control module can utilize with it is described
Access the corresponding feedback device species of signal or protocol type reads the feedback information accessed in signal, and according to described
Feedback information is monitored to the running status of the controlled device and/or controlled device is controlled.
The embodiment of the present invention can obtain and correctly parse the feedback letter of at least two types exactly from feedback device
Breath, the interface scheme of the digital absolute value encoder of main flow and incremental encoder is designed for uniformity, without by more
Different hardware boards are changed, compatibility and the flexibility of the equipment such as servo-driver is greatly improved, and to a certain extent significantly
Reduce limitation of the user in lectotype selection.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of structure chart of interface signal processing unit provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of interface signal processing method provided in an embodiment of the present invention;
Fig. 3 is the structure chart of another interface signal processing unit provided in an embodiment of the present invention;
Fig. 4 is the flow chart of another interface signal processing method provided in an embodiment of the present invention.
Icon:11- physical interfaces;12- signal processing circuit modules;13- main control modules;14-FPGA or CPLD.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Common servo-driver, frequency converter, controller etc. are needing to support diversified forms or interface in the market
During encoder, common way is to change different boards, and this method can bring many restrictions to client, is operated multiple
Miscellaneous, cumbersome, service efficiency is low, based on this, a kind of interface signal processing method and processing device provided in an embodiment of the present invention, Ke Yicong
Feedback device obtains and correctly parses the feedback information of at least two types exactly, to the digital absolute value encoder of main flow
And the interface scheme of incremental encoder is designed for uniformity, without by changing different hardware boards, greatly improving and watching
Compatibility and the flexibility of the equipment such as driver are taken, and substantially reduces limitation of the user in lectotype selection to a certain extent.
For ease of understanding the present embodiment, a kind of interface signal disclosed in the embodiment of the present invention is handled filled first
Put and describe in detail, in actual applications, interface signal processing unit can be used as servo-driver, frequency converter and controller
Deng important component, as shown in figure 1, the interface signal processing unit includes:Physical interface 11, signal processing circuit mould
Block 12 and main control module 13;
Comprising at least two for handling at the signal of different type feedback signal in the signal processing circuit module 12
Manage circuit;The connection end of the physical interface 11 respectively with least two signal transactings in the signal processing circuit module 12
Circuit is connected, and the feedback signal for the feedback device output by the physical interface is accessed is delivered to corresponding signal transacting electricity
Road;
In embodiments of the present invention, feedback device can refer to rotary encoder, linear encoder etc., the type of feedback signal
Including:Pulsed quantity form, analog quantity form, digital amount form and mixed form, digital absolute value signal, increment type coding
Interface signal and sine and cosine analog signalses of device etc., accordingly, pulsed quantity can be divided into by sending the encoder of feedback signal
Form, analog quantity form, digital amount form or mixed form, can also be divided into absolute value formula (can be divided into full digital, just again
String cosine nalog quantity type), increment type etc..Main control module can refer to single-chip microcomputer and its peripheral circuit, arm processor and its periphery electricity
Road and DSP and its peripheral circuit etc., can specifically be set according to actual needs, and the present invention is not limited
It is fixed.
Each signal processing circuit in the signal processing circuit module 12 connects with the main control module 13 respectively
Connect, signal processing circuit described in the signal processing circuit module 12 carries out access processing, obtain accessing signal, by the access
Signal is sent to the main control module 13;
In embodiments of the present invention, by signal processing circuit module 12 by digital absolute value formula or (including but not only
Be limited to Hiperface, Hiperface DSL, Endat2.2, BiSS-C, SSI, T-Format, A-Format etc.), increment type compile
The interface signal (including but are not limited to ABZ increment types, ABZ+UVW increment types, Hall-type etc.) of code device, and sine and cosine mould
Analog quantity signal (including but are not limited to Hiperface agreements and rotary transformer etc.) is uniformly accessed into processing.
In embodiments of the present invention, the signal processing circuit module 12 includes:Digital signal processing circuit, pulse signal
Process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;In embodiments of the present invention, pulse signal can be with
Refer to square-wave signal etc..
The analog signal processing circuit, for when the feedback signal is analog signal, utilizing Shape correction, isolation
At least one of processing, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
The main control module 13 reads institute using feedback device species corresponding with the access signal or protocol type
State access signal in feedback information, and according to the feedback information running status of the controlled device is monitored and/
Or controlled device is controlled.In embodiments of the present invention, controlled device can refer to electric rotating machine and linear electric motors etc., in reality
In the application of border, the task of feedback device is by the controll plant such as key message such as the position of electric rotating machine, linear electric motors etc., speed
Main control module is fed back to such as pulsed quantity form, analog quantity form, digital amount form and various amounts mixed form, so that
Realize that main control module is monitored to the running status of controlled device and/or controlled device is controlled, such as status monitoring, calmly
Position control, back to zero control, speed control etc..
Main control module 13 just can carry out individual pen and multi-turn position, rotary speed of absolute value encoder etc. based on feedback information
Acquisition of information, or incremental encoder step-by-step counting etc., then, according to fortune of the feedback information to the controlled device
Row state is monitored and/or controlled device is controlled, i.e. by the feedback information by certain processing conversion in master control
It is compared in CPU by the command information (such as target location, target velocity) with default to realize closed-loop control etc..
The state of controlled device is monitored according to feedback information, such as when the state of controlled device exceeds secure threshold, report can be sent
It is alert, fault diagnosis etc. can also be carried out according to feedback information, in actual applications, can also set as needed.
In another embodiment of the present invention, a kind of interface signal processing method is also provided, applied to such as previous embodiment
In described main control module 13, the method that the embodiment of the present invention is provided, the technique effect of its realization principle and generation and foregoing
Device embodiment is identical, to briefly describe, and embodiment of the method part does not refer to part, refers to corresponding in aforementioned means embodiment
Content, as shown in Fig. 2 the described method comprises the following steps.
Step S101, feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
In actual applications, the step S101 includes:Receive what user was inputted according to suggestion content using input equipment
Feedback device species or protocol type, the suggestion content include the device information of feedback device;Or, obtain comprising feedback
The hardware encoding of part category or protocol type;Or, read default feedback device in feedback device internal storage space
Species or protocol type;Or, receive feedback device species or protocol type that main control module is sent, the feedback device
Species or protocol type are to be inputted by user according to suggestion content using input equipment, and the suggestion content includes ultramagnifier
The device information of part;Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;Or
Person, receives feedback device species or protocol type that main control module is sent, the feedback device species or protocol type are
Read by main control module in feedback device internal storage space.
In addition, in actual applications, (can also pull down and combine) mode on such as toggle switch, resistance by hardware circuit true
Feedback device species or protocol type are determined, specifically, feedback device species or protocol type can be pre-set with presetting
Corresponding relation between numbering, is then adjusted to any default in hardware circuit (combination is pulled down on such as toggle switch, resistance)
After numbering, feedback device species corresponding with the preset numbers or protocol type can be defined as step S101 it needs to be determined that
Feedback device species or protocol type.
Step S102, the feedback letter in the access signal is read according to the feedback device species or protocol type
Breath;
Step S103, is monitored according to the feedback information to the running status of controlled device and/or to controlled device
It is controlled.
In another embodiment of the present invention, a kind of interface signal processing unit is also provided, as shown in figure 3, the interface
Signal processing apparatus includes:Physical interface 11, signal processing circuit module 12, on-site programmable gate array FPGA or complexity can
Programmed logic device CPLD 14 and main control module 13;
Comprising at least two for handling at the signal of different type feedback signal in the signal processing circuit module 12
Manage circuit;The connection end of the physical interface 11 respectively with least two signal transactings in the signal processing circuit module 12
Circuit is connected, and the feedback signal for feedback device to be exported to the physical interface 11 is delivered to corresponding signal transacting electricity
Road;
In embodiments of the present invention, feedback device can refer to rotary encoder, linear encoder etc., the type of feedback signal
Including:Pulsed quantity form, analog quantity form, digital amount form and mixed form, digital absolute value signal, increment type coding
Interface signal and sine and cosine analog signalses of device etc., accordingly, pulsed quantity can be divided into by sending the encoder of feedback signal
Form, analog quantity form, digital amount form or mixed form, can also be divided into absolute value formula (can be divided into full digital, just again
String cosine nalog quantity type), increment type etc..
Each signal processing circuit in the signal processing circuit module 12 respectively with the FPGA or described
CPLD 14 is connected, and signal processing circuit described in the signal processing circuit module 12 carries out access processing, obtains accessing signal,
By it is described access signal send to the FPGA or CPLD 14, the FPGA or the CPLD 14 according to it is described
Access the corresponding feedback device species of signal or protocol type reads the feedback information accessed in signal;
In embodiments of the present invention, by signal processing circuit module 12 by digital absolute value formula or (including but not only
Be limited to Hiperface, Hiperface DSL, Endat2.2, BiSS-C, SSI, T-Format, A-Format etc.), increment type compile
The interface signal (including but are not limited to ABZ increment types, ABZ+UVW increment types, Hall-type etc.) of code device, and sine and cosine mould
Analog quantity signal (including but are not limited to Hiperface agreements and rotary transformer etc.) is uniformly accessed into processing.
In embodiments of the present invention, the signal processing circuit module 12 includes:Digital signal processing circuit, pulse signal
Process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation
At least one of processing and noise reduction process mode handle the feedback signal;In embodiments of the present invention, pulse signal can be with
Refer to square-wave signal etc..
The analog signal processing circuit, for when the feedback signal is analog signal, utilizing Shape correction, isolation
At least one of processing, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
The FPGA or CPLD 14 is connected with the main control module 13, and the main control module 13 utilizes described anti-
Feedforward information is monitored to the running status of controlled device and/or controlled device is controlled.Quilt is monitored according to feedback information
The state of equipment is controlled, such as when the state of controlled device exceeds secure threshold, alarm can be sent, can also be according to feedback letter
Breath carries out fault diagnosis etc., in actual applications, can also set as needed.
In another embodiment of the present invention, a kind of interface signal processing method is also provided, applied to such as foregoing second
In on-site programmable gate array FPGA or complex programmable logic device (CPLD) 14 described in device embodiment, the present invention is real
The method that example is provided is applied, the technique effect of its realization principle and generation is identical with aforementioned means embodiment, to briefly describe, side
Method embodiment part does not refer to part, corresponding contents in aforementioned means embodiment is referred to, as shown in figure 4, methods described includes
Following steps.
Step S201, feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
In actual applications, step S201 includes:Receive the feedback that user utilizes input equipment to input according to suggestion content
Part category or protocol type, the suggestion content include the device information of feedback device;Or, obtain and include feedback device
The hardware encoding of species or protocol type;Or, read default feedback device species in feedback device internal storage space
Or protocol type;Or, receive feedback device species or protocol type that main control module is sent, the feedback device species
Or protocol type is to be inputted by user according to suggestion content using input equipment, the suggestion content includes feedback device
Device information;Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;Or,
Feedback device species or protocol type that main control module is sent are received, the feedback device species or protocol type are by leading
Control module is read in feedback device internal storage space.
In addition, in actual applications, (can also pull down and combine) mode on such as toggle switch, resistance by hardware circuit true
Feedback device species or protocol type are determined, specifically, feedback device species or protocol type can be pre-set with presetting
Corresponding relation between numbering, is then adjusted to any default in hardware circuit (combination is pulled down on such as toggle switch, resistance)
After numbering, feedback device species corresponding with the preset numbers or protocol type can be defined as step S101 it needs to be determined that
Feedback device species or protocol type.
Step S202, the feedback letter in the access signal is read according to the feedback device species or protocol type
Breath;
Step S203, main control module 13 is sent to by the feedback information.
In another embodiment of the present invention, a kind of non-volatile program code that can perform with processor is also provided
Computer-readable medium, described program code makes the method described in foregoing first embodiment of the method for the computing device.
In another embodiment of the present invention, a kind of non-volatile program code that can perform with processor is also provided
Computer-readable medium, described program code makes the method described in foregoing first embodiment of the method for the computing device.
In addition, in the description of the embodiment of the present invention, unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected, or be integrally connected;Can
To be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected to by intermediary, Ke Yishi
The connection of two element internals.For the ordinary skill in the art, with concrete condition above-mentioned term can be understood at this
Concrete meaning in invention.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
In the description of the invention, it is necessary to explanation, term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instruction such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Be easy to the description present invention and simplify description, rather than indicate or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" the 3rd " is only used for describing purpose, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of interface signal processing unit, it is characterised in that including:Physical interface, signal processing circuit module and master control mould
Block;
The signal processing circuit at least two for handling different type feedback signal is included in the signal processing circuit module;
The connection end of the physical interface is connected with least two signal processing circuits in the signal processing circuit module respectively, is used
Corresponding signal processing circuit is delivered in the feedback signal of the feedback device output by physical interface is accessed;
Each signal processing circuit in the signal processing circuit module is connected with the main control module respectively, the letter
Signal processing circuit carries out access processing number described in processing circuit module, obtains accessing signal, by the access signal send to
The main control module;
The main control module utilizes feedback device species corresponding with the access signal or protocol type to read the access
Feedback information in signal, and the running status of controlled device is monitored according to the feedback information and/or set to controlled
It is standby to be controlled.
2. interface signal processing unit according to claim 1, it is characterised in that the signal processing circuit module bag
Include:Digital signal processing circuit, pulse signal process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation processing
The feedback signal is handled with least one of noise reduction process mode;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation processing
The feedback signal is handled with least one of noise reduction process mode;
The analog signal processing circuit, for when the feedback signal is analog signal, at Shape correction, isolation
At least one of reason, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
3. a kind of interface signal processing method, it is characterised in that applied in main control module as claimed in claim 1 or 2, wrap
Include:
Feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
Feedback information in the access signal is read according to the feedback device species or protocol type;
The running status of controlled device is monitored according to the feedback information and/or controlled device is controlled.
4. interface signal processing method according to claim 3, it is characterised in that the use predetermined manner is determined with connecing
Enter the corresponding feedback device species of signal or protocol type, including:
Receive in feedback device species or protocol type that user is inputted according to suggestion content using input equipment, the prompting
Hold the device information for including feedback device;
Or, obtain the hardware encoding comprising feedback device species or protocol type;
Or, read default feedback device species or protocol type in feedback device internal storage space;
Or, receive feedback device species or protocol type that main control module is sent, the feedback device species or agreement
Type is to be inputted by user according to suggestion content using input equipment, and device of the suggestion content comprising feedback device is believed
Breath;
Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;
Or, receive feedback device species or protocol type that main control module is sent, the feedback device species or agreement
Type is read by main control module in feedback device internal storage space.
5. a kind of interface signal processing unit, it is characterised in that including:Physical interface, signal processing circuit module, scene can be compiled
Journey gate array FPGA or complex programmable logic device (CPLD) and main control module;
The signal processing circuit at least two for handling different type feedback signal is included in the signal processing circuit module;
The connection end of the physical interface is connected with least two signal processing circuits in the signal processing circuit module respectively, is used
Corresponding signal processing circuit is delivered in the feedback signal of the feedback device output by the physical interface is accessed;
Each signal processing circuit in the signal processing circuit module connects with the FPGA or CPLD respectively
Connect, signal processing circuit described in the signal processing circuit module carries out access processing, obtain accessing signal, the access is believed
Number send to the FPGA or CPLD, the FPGA or the CPLD according to it is described access signal it is corresponding feed back
Part category or protocol type read the feedback information in the access signal;
The FPGA or the CPLD are connected with the main control module, and the main control module carries out quilt using the feedback information
The running status of control equipment is monitored and/or controlled device is controlled.
6. interface signal processing unit according to claim 5, it is characterised in that the signal processing circuit module bag
Include:Digital signal processing circuit, pulse signal process circuit and analog signal processing circuit;
The digital signal processing circuit, for when the feedback signal is data signal, utilizing Shape correction, isolation processing
The feedback signal is handled with least one of noise reduction process mode;
The pulse signal process circuit, for when the feedback signal is pulse signal, utilizing Shape correction, isolation processing
The feedback signal is handled with least one of noise reduction process mode;
The analog signal processing circuit, for when the feedback signal is analog signal, at Shape correction, isolation
At least one of reason, noise reduction process, analog-to-digital conversion process and signal energized process mode handles the feedback signal.
7. a kind of interface signal processing method, it is characterised in that applied to the field programmable gate as described in claim 5 or 6
In array FPGA or complex programmable logic device (CPLD), including:
Feedback device species corresponding with access signal or protocol type are determined using predetermined manner;
Feedback information in the access signal is read according to the feedback device species or protocol type;
The feedback information is sent to main control module.
8. interface signal processing method according to claim 7, it is characterised in that the use predetermined manner is determined with connecing
Enter the corresponding feedback device species of signal or protocol type, including:
Receive in feedback device species or protocol type that user is inputted according to suggestion content using input equipment, the prompting
Hold the device information for including feedback device;
Or, obtain the hardware encoding comprising feedback device species or protocol type;
Or, read default feedback device species or protocol type in feedback device internal storage space;
Or, receive feedback device species or protocol type that main control module is sent, the feedback device species or agreement
Type is to be inputted by user according to suggestion content using input equipment, and device of the suggestion content comprising feedback device is believed
Breath;
Or, receive the hardware encoding comprising feedback device species or protocol type that main control module is sent;
Or, receive feedback device species or protocol type that main control module is sent, the feedback device species or agreement
Type is read by main control module in feedback device internal storage space.
9. a kind of computer-readable medium for the non-volatile program code that can perform with processor, it is characterised in that described
Program code makes the method described in claim 4 described in the computing device.
10. a kind of computer-readable medium for the non-volatile program code that can perform with processor, it is characterised in that described
Program code makes the method described in claim 8 described in the computing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710650298.4A CN107272516B (en) | 2017-08-02 | 2017-08-02 | Interface signal processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710650298.4A CN107272516B (en) | 2017-08-02 | 2017-08-02 | Interface signal processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107272516A true CN107272516A (en) | 2017-10-20 |
CN107272516B CN107272516B (en) | 2023-09-05 |
Family
ID=60074715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710650298.4A Active CN107272516B (en) | 2017-08-02 | 2017-08-02 | Interface signal processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107272516B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN102104987A (en) * | 2009-12-21 | 2011-06-22 | 华为技术有限公司 | Interface data processing method and equipment |
US8041553B1 (en) * | 2008-02-29 | 2011-10-18 | Xilinx, Inc. | Generic software simulation interface for integrated circuits |
CN102624375A (en) * | 2012-04-24 | 2012-08-01 | 广西大学 | Signal processing device compatible with various encoders and resolver interfaces |
CN103389684A (en) * | 2012-05-09 | 2013-11-13 | 周立纯 | Multifunctional double-shaft servo driver |
CN104951421A (en) * | 2015-05-19 | 2015-09-30 | 重庆大学 | Automatic numbering and type recognition method and device for serial bus communication devices |
CN105306324A (en) * | 2015-09-22 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | Ethernet multiplexed communication system and Ethernet interface setting method applied to Ethernet multiplexed communication system |
-
2017
- 2017-08-02 CN CN201710650298.4A patent/CN107272516B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8041553B1 (en) * | 2008-02-29 | 2011-10-18 | Xilinx, Inc. | Generic software simulation interface for integrated circuits |
CN101599053A (en) * | 2008-06-05 | 2009-12-09 | 联想(北京)有限公司 | Support the serial interface controller and the control method of multiple transport protocols |
CN102104987A (en) * | 2009-12-21 | 2011-06-22 | 华为技术有限公司 | Interface data processing method and equipment |
CN102624375A (en) * | 2012-04-24 | 2012-08-01 | 广西大学 | Signal processing device compatible with various encoders and resolver interfaces |
CN103389684A (en) * | 2012-05-09 | 2013-11-13 | 周立纯 | Multifunctional double-shaft servo driver |
CN104951421A (en) * | 2015-05-19 | 2015-09-30 | 重庆大学 | Automatic numbering and type recognition method and device for serial bus communication devices |
CN105306324A (en) * | 2015-09-22 | 2016-02-03 | 上海斐讯数据通信技术有限公司 | Ethernet multiplexed communication system and Ethernet interface setting method applied to Ethernet multiplexed communication system |
Also Published As
Publication number | Publication date |
---|---|
CN107272516B (en) | 2023-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105530240B (en) | Method of a variety of industrial protocols to OPC UA address space automatic mapping | |
US20130096695A1 (en) | Method for configuring a control device | |
US20130282931A1 (en) | Automatic foundation fieldbus device commissioning | |
CN103176417B (en) | The automation control method able to programme of a kind of compatible EPICS and device | |
JP2016115344A (en) | Systems and methods for memory map utilization | |
CN104679498A (en) | Configuration monitoring interface generation method and apparatus | |
CN106200561B (en) | Coder controller and configuration method | |
CN105785905A (en) | Configurable field bus system and configuration method thereof | |
CN207164533U (en) | Interface signal processing unit | |
CN107272516A (en) | Interface signal processing method and processing device | |
US10031504B2 (en) | Method and device for managing and configuring field devices in an automation installation | |
CN105955202A (en) | Network-based economical embedded five-axis numerical control system and control method thereof | |
CN110597191A (en) | Industrial control cloud service system | |
CN117194501B (en) | DCS trend measurement point jump logic configuration method, system, equipment and medium | |
CN204925684U (en) | Control device compatible with incremental encoder interface | |
CN103259879A (en) | Calibration method and device for equipment nodal point codes | |
CN206387423U (en) | Wireless digital encoder | |
CN110572242A (en) | Method for collecting data unified codes of injection molding machine | |
CN207799442U (en) | A kind of control system for piler | |
CN205212682U (en) | Converter | |
CN105556405B (en) | Controller and its programmed method | |
CN109951364B (en) | Charging control management system and method for electric vehicle charging pile | |
CN109596894A (en) | Ac capacitor on-line monitoring method and device | |
CN206775522U (en) | Harbour and port area belt based on EPA transport control system | |
CN102193537A (en) | A plurality of boole input and output technique for device function block |
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 |