CN105162470B - A kind of code device signal digital safety transmitting device - Google Patents

A kind of code device signal digital safety transmitting device Download PDF

Info

Publication number
CN105162470B
CN105162470B CN201510465550.5A CN201510465550A CN105162470B CN 105162470 B CN105162470 B CN 105162470B CN 201510465550 A CN201510465550 A CN 201510465550A CN 105162470 B CN105162470 B CN 105162470B
Authority
CN
China
Prior art keywords
signal
value
encoder
transmitted
bcos
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510465550.5A
Other languages
Chinese (zh)
Other versions
CN105162470A (en
Inventor
文长明
文可
郑海霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Middle Industry Science Peace Science And Technology Ltd
Original Assignee
Middle Industry Science Peace Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Middle Industry Science Peace Science And Technology Ltd filed Critical Middle Industry Science Peace Science And Technology Ltd
Priority to CN201510465550.5A priority Critical patent/CN105162470B/en
Priority to CN201810004044.XA priority patent/CN108599772B/en
Publication of CN105162470A publication Critical patent/CN105162470A/en
Application granted granted Critical
Publication of CN105162470B publication Critical patent/CN105162470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of code device signal digital safety transmitting devices.Transmitting device be used for the input signal Asin α, Bcos α, R of same encoder carried out location information, check information Redundant Control and thus generate digital signal, digital signal passes to motor servo driver in the form of message.Transmitting device includes square-wave signal conversion module, signal processing module one, signal processing module two, arbitration modules.Asin α, Bcos α, R are converted into being processed into two signals to be transmitted respectively by two signal processing modules after square-wave signal by square-wave signal conversion module respectively.Two signal processing modules characterize two channels, location information in two channels is added in standard message field by arbitration modules when two signals to be transmitted are identical exports, and the data flow of formation is transmitted by fieldbus or real-time ethernet is to motor servo driver.

Description

A kind of code device signal digital safety transmitting device
Technical field
The present invention relates to a kind of transmitting device more particularly to a kind of code device signal digital safety transmitting devices.
Background technology
The output signal of servo motor built-in encoder is before there is no Digital Transmission or is analog quantity letter Number or TTL square-wave signals.According to the difference of built-in encoder (sensor), the form of output signal difference:
1, SIN/COS encoders:Incremental encoder A/B (1Vpp)+absolute position C/D (1Vpp)+reference point (R);
2, SIN/COS encoders:Incremental encoder A/B (1Vpp)+reference point (R);
3, EnDat encoders:The SIN/COS incremental encoders A/B (1Vpp) of Serial output;
4, SIN/COS encoders:Incremental encoder A/B (1Vpp)+SSI;
5, absolute value encoder:SSI;
6, rotary transformer:AP+AN;BP+BN;
7, TTL encoders:TTL square waves A/B (TTL)+Z (TTL).
Can the encoder output built in servo motor realize Digital Transmission, be whether to determine a digital control system It is the mark of digital ac servo digital control system.Hair changes height and alters [2014] No. 2072 files regulation:Realize that AC servo drives Dynamic internal control and the total digitalization of measuring unit, using the Digital Control interfacing of fieldbus.Measurement said herein What unit referred to is exactly servo motor built-in encoder, it is the sensor for measuring actual position value and values for actual speed.
The servo motor 12 and motor servo driver 11 that digital ac servo digital control system passes through built-in encoder Cooperation realization, as shown in Figure 1 and Figure 2.Servo motor 12 includes built-in encoder signal processing 121, electrical-coil 14, motor system Dynamic 15, motor temperature measures (KTY) 16.Built-in encoder signal processing 121 receives code device signal, passes through interface after processing 13, fieldbus or real-time ethernet are transmitted to motor servo driver 11.Electrical-coil 14, motor braking 15 by motor and Electrical source of power interface 17 is connected to motor servo driver 11.In addition, may include to main shaft in built-in encoder signal processing 121 The control of motor internal temperature sensor, PTC as shown in Figure 2 and KTY 16 and KTY 16 as shown in Figure 1.
Invention content
The present invention provides a kind of code device signal digital safety transmission for realizing the transmission of code device signal digital safety Device.
The present invention solution be:A kind of code device signal digital safety transmitting device, is used for same coding Input signal Asin α, Bcos α, the R of device carried out location information, check information Redundant Control and thus generate digital signal, The digital signal passes to motor servo driver in the form of message by fieldbus or real-time ethernet;The transmission Device includes:Square-wave signal conversion module is used for encoder input signal Asin α, Bcos α, R through difference amplifier, ratio Compared with being converted into square-wave signal respectively after amplifier;Wherein, A, B indicate A phase signals, B phase signals in three-phase alternating current, α respectively Indicate the electrical angle in a signal period, R presentation codes device, which often encloses, undergoes primary absolute position reference point;Signal processing mould Block one characterizes channel one, and encoder input signal Asin α, Bcos α, R for will convert into square-wave signal are processed into be passed Defeated signal one;Signal processing module two characterizes channel two, the encoder input signal Asin for will convert into square-wave signal α, Bcos α, R are processed into signal two to be transmitted;Arbitration modules are used to judge whether two signals to be transmitted to be identical, such as identical Then the location information in two channels is added in standard message field and is exported, the data flow of formation is transmitted by fieldbus To motor servo driver;
Wherein, the signal processing module one includes:Multiplier unit one, be used for encoder input signal Asin α, Bcos α carry out 4 frequencys multiplication;Reference point deposit unit one is used to record encoder input signal R and forms encoder and often encloses experience Primary absolute position track one;Thick counting unit one is used for defeated according to the encoder after a pair of 4 frequencys multiplication in absolute position track Enter signal Asin α, Bcos α calculates coarse position value one, and velocity amplitude one, the coarse positioning are derived according to the coarse position value one Set value one, the velocity amplitude one sequentially forms code one;CRC check unit one is used to set in the lowest order of the code one It sets check code and forms the signal to be transmitted one, a cycle content of the signal one to be transmitted is:Coarse position value one, speed Value one, state value one;
Accordingly, the signal processing module two includes:Multiplier unit two, be used for encoder input signal Asin α, Bcos α carry out 4 frequencys multiplication;Reference point deposit unit two is used to record encoder input signal R and forms encoder and often encloses experience Primary absolute position track two;Thick counting unit two is used for defeated according to the encoder after a pair of 4 frequencys multiplication in absolute position track Enter signal Asin α, Bcos α calculates coarse position value two, and velocity amplitude two, the coarse positioning are derived according to the coarse position value two Set value two, the velocity amplitude two sequentially forms code two;CRC check unit two is used to set in the lowest order of the code two It sets check code and forms the signal to be transmitted two, a cycle content of the signal two to be transmitted is:Coarse position value two, speed Value two, state value two.
Further, the signal processing module one further includes fine counting unit, the fine counting unit for pair One interpolation subdividing of coarse position value forms fine location value.
Preferably, the fine counting unit is provided with mechanical angle λSComputing unit and rotating speed n computing units;Mechanical angle λS Computing unit obtains mechanical angle λ according to formula (1)SWherein, N For the resolution ratio of encoder, every rotaring signal periodicity;Z is movable signal period quantity;α is electrical in a signal period Angle,λSFor the mechanical angle in a signal period;Rotating speed n computing units are turned according to formula (2) Fast n:
The fine counting unit is according to mechanical angle λSThe essence is formed to one interpolation subdividing of coarse position value with rotating speed n Thin positional value makes content alteration in a cycle of the code one at coarse position value one, velocity amplitude one, fine location value, Content alteration in a cycle of the corresponding signal one to be transmitted at coarse position value one, velocity amplitude one, fine location value, State value one.
As being further improved for said program, the transmitting device further includes temperature sensor signal analog-to-digital conversion mould Block, is used for the temperature of measurement motor stator coil, and constituent of the obtained temperature value as transmitting message belongs to data flow A cycle transmits information:" signal one to be transmitted, signal to be transmitted two, temperature value ".
A kind of code device signal digital safety transmitting device of the present invention, for analyzing, handling the defeated of various encoders Enter signal, and the input signal of these analog quantity properties, be transformed into digital signal, in the form of message by fieldbus, Real-time ethernet passes to motor servo driver, these digital signals include actual position value and values for actual speed.
Description of the drawings
Fig. 1 is the structural schematic diagram of feed shaft digital ac servo digital control system.
Fig. 2 is the structural schematic diagram of main shaft digital ac servo digital control system.
Fig. 3 is the module diagram of the code device signal digital safety transmitting device of present pre-ferred embodiments.
Fig. 4 is that hard-wired electrical block diagram is used in Fig. 3.
Fig. 5 is the data using the 1st kind of data flow that code device signal digital safety transmitting device is realized in similar Fig. 3 Flow to schematic diagram.
Fig. 6 is the data using the 2nd kind of data flow that code device signal digital safety transmitting device is realized in similar Fig. 3 Flow to schematic diagram.
Fig. 7 is the data using the 3rd kind of data flow that code device signal digital safety transmitting device is realized in similar Fig. 3 Flow to schematic diagram.
Fig. 8 is the data using the 4th kind of data flow that code device signal digital safety transmitting device is realized in similar Fig. 3 Flow to schematic diagram.
Fig. 9 is a kind of hardware circuit schematic diagram for realizing complete series code device signal digital safety transmitting device in Fig. 3.
Figure 10 is to realize that a kind of hardware circuit of A+B+R incremental encoder signal digital safety transmitting devices in Fig. 3 shows It is intended to.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that A+B+R incremental encoders signal digital safety described herein passes Defeated device specific embodiment is only used to explain the present invention, is not intended to limit the present invention.
The code device signal digital safety transmitting device and its transmission method of the present invention is used for encoder input signal Asin α, Bcos α, R are converted from analog into digital signal, the digital signal in the form of message by fieldbus (such as PROFINET fieldbus) pass to motor servo driver.
Referring to Fig. 3, the code device signal digital safety transmitting device of present pre-ferred embodiments includes square-wave signal Conversion module 31, signal processing module 1, signal processing module 2 33, arbitration modules 34, fine counting unit 35.
Square-wave signal conversion module 31 is used to encoder input signal Asin α, Bcos α, R being converted into square wave letter respectively Number;Wherein, A, B indicate that A phase signals, B phase signals in three-phase alternating current, α indicate the electrical angle in a signal period respectively, R presentation codes device, which often encloses, undergoes primary absolute position reference point.
As shown in figure 4, difference amplifier can be used in square-wave signal conversion module 31, comparison amplifier is transformed into square wave letter Number, realize corresponding function.Specifically, encoder input signal Asin α become by difference amplifier 311, comparison amplifier K_A Corresponding square-wave signal, similarly, encoder input signal Bcos α become phase by difference amplifier 312, comparison amplifier K_B The square-wave signal answered;Encoder input signal R becomes corresponding square wave letter by difference amplifier 312, comparison amplifier K_R Number.
Signal processing module 1 characterize channel one, for will convert into square-wave signal encoder input signal Asin α, Bcos α, R are processed into signal one to be transmitted.Signal processing module 1 includes multiplier unit one, reference point deposit unit one, thick Counting unit one, CRC check unit one.
Multiplier unit one be used for encoder input signal Asin α, Bcos α carry out 4 frequencys multiplication, multiplier unit one can be used as 4 frequency multiplier circuit one shown in Fig. 4.
Reference point deposit unit one, which is used to record encoder input signal R and forms encoder and often enclose, undergoes once absolute Reference point register 1 shown in Fig. 4 can be used in location track one, reference point deposit unit one.
Thick counting unit one is used for according to encoder input signal Asin α, the Bcos after a pair of 4 frequencys multiplication in absolute position track α calculates coarse position value one, and derives velocity amplitude one, the coarse position value one, the speed according to the coarse position value one Value one sequentially forms code one.Coarse counter one shown in Fig. 4 can be used in thick counting unit one.
CRC check unit one is used to form the signal to be transmitted one in the lowest order setting check code of the code one, The a cycle content of the signal to be transmitted one is:Coarse position value one, velocity amplitude one, state value one.CRC check unit one can Using CRC circuit one shown in Fig. 4.
CPU1 with the same function may be used in signal processing module 1.Similarly, signal processing module 2 33 can be with Using CPU2 with the same function.Signal processing module 2 33 characterizes channel two, the coding for will convert into square-wave signal Device input signal Asin α, Bcos α, R are processed into signal two to be transmitted.Signal processing module 2 33 includes multiplier unit two, reference Point deposit unit two, thick counting unit two, CRC check unit two.
Multiplier unit two be used for encoder input signal Asin α, Bcos α carry out 4 frequencys multiplication, multiplier unit one can be used as 4 frequency multiplier circuit two shown in Fig. 4.
Reference point deposit unit two, which is used to record encoder input signal R and forms encoder and often enclose, undergoes once absolute Reference point register two shown in Fig. 4 can be used in location track two, reference point deposit unit two.
Thick counting unit two is used for according to absolute position track two to encoder input signal Asin α, the Bcos after 4 frequencys multiplication α calculates coarse position value two, and derives velocity amplitude two, the coarse position value two, the speed according to the coarse position value two Value two sequentially forms code two.Coarse counter two shown in Fig. 4 can be used in thick counting unit two.
CRC check unit two is used to form the signal to be transmitted two in the lowest order setting check code of the code two, The a cycle content of the signal to be transmitted two is:Coarse position value two, velocity amplitude two, state value two.CRC check unit two can Using CRC circuit two shown in Fig. 4.
Fine counting unit 35 is used to form fine location value, fine counting unit to one interpolation subdividing of coarse position value 35 can be arranged, and can not also be arranged.Fine counting unit 35 is provided with mechanical angle λSComputing unit and rotating speed n computing units.
Mechanical angle λSComputing unit obtains mechanical angle λ according to formula (1)S
Wherein, N is the resolution ratio of encoder, per rotaring signal periodicity;
Z is movable signal period quantity;
α is the electrical angle in a signal period,
λSFor the mechanical angle in a signal period;
Rotating speed n computing units obtain rotating speed n according to formula (2):
Fine counting unit is according to mechanical angle λSThe fine bits are formed to one interpolation subdividing of coarse position value with rotating speed n Value is set, makes the content alteration in a cycle of the code one at coarse position value one, velocity amplitude one, fine location value, accordingly The signal one to be transmitted a cycle in content alteration at coarse position value one, velocity amplitude one, fine location value, state Value one.
Fine counting unit 35 can be integrated in the CPU1 with one 32 function of signal processing module, as shown in figure 4, not When band security function, the calculating of angle of rotor of motor λ s and speed n:In CPU1, code device signal Asin α, Bcos α are via more Road final election device MUX A, MUX B and MUX C and two sample/hold amplifier S&H, 12 A/D converters, Asin α, Bcos α instantaneous value signals are read.
Formula (1) is i.e.
In CPU1, Asin α, Bcos α by comparing obtaining coarse position value one after device K_A, K_B and coarse counter 1, Using fine interpolation software algorithm, the angles α are calculated.Rotor-position (coarse position value one and Fine interpolation α) is transferred to by bus and is watched Take the driver of motor.
The computational methods of rotating speed n are as follows:
In CPU1, reference point register 1 provides additional reference marker.When coarse counter 1 count down to reference When mark position, CPU1 extracts the information of register, and stores coarse position value one and Fine interpolation α.
Arbitration modules 34 believe the position in two channels if identical for judging whether two signals to be transmitted are identical Breath, which is added in standard message field, to be exported, and the data flow of formation passes to motor servo driver by fieldbus.If not Correctly, then warning message is exported in status word.Arbitration modules 34 exchange processing information by switch, and information is correctly then two Location information in channel is added in the field of message and exports, and here it is the positional value 1 of correct information, positional value 2, state values 1, state value 2 (introduction of correct information following article);If analyzing the result is that information errors, the output error letter in state value Breath.Moderator with the same function may be used in arbitration modules 34, and moderator can be integrated in CPU, can also select to carry The CPU2 of moderator, as shown in Figure 4.
There is moderator in CPU2, for CPU2 by the arbitral procedure in piece, what selection was exported by bus is that CPU1 is calculated The positional value that positional value or CPU2 are calculated.It is exported by bus by the signal that moderator is chosen.Reference point deposit in CPU2 Device 2 334 provides zero detection, checks whether the signal period number between two neighboring reference point corresponds to perseverance by software in piece Fixed encoder pulse number.Into the square-wave signal interconnection of CPU2, purpose inverts to detect servo motor.
Code device signal digital safety transmitting device is also provided with memory modules, memory choosing multiple memory. If the memory in circuit includes three kinds, FlashRAM, SRAM and DPRAM.CPU2 and PHY shared drive DPRAM, are controlled by CPU1 The read-write of the memory, the DPRAM are located in CPU2 pieces.
Temperature sensor signal analog-to-digital conversion module can be also arranged in the transmitting device, feed the temperature in motor stator coil Degree sensor signal inputs to the A/D converter of CPU1, is loaded into field as defined in message by the temperature value of calculating, passes Pass motor driver.KTY, PTC temperature sensor signal in spindle motor stator coil inputs to the A/D conversions of CPU1 Device loads into field as defined in message by the temperature value of calculating, passes to motor driver.At this point, " signal to be transmitted One, the temperature sensor signal after signal two to be transmitted, analog-to-digital conversion " is a cycle content of the data flow.
When band security function, functional safety code device signal transmission principle:The mechanical angle λ s' ' and speed n' of rotor It calculates:In CPU1, code device signal Asin α, Bcos α are via adder, subtracter, 45 ° of transposition, 0.707 times of amplitude modulation, anti- To generating+45 ° of Asin'(α) ,+45 ° of-Bcos'(α), (symbol ', it is safety signal only to represent this) ,+45 ° of Asin'(α) ,- + 45 ° of Bcos'(α) there are 45 ° of phase shifts and reversed compared with Asin α, Bcos α.Using multichannel final election device MUX A, MUX B and MUX C and two sample/hold amplifier S&H, 12 A/D converters ,+45 ° of Asin'(α) ,+45 ° of-Bcos'(α) it is instantaneous Value signal is read.
+ 45 ° of Asin'(α) ,+45 ° of-Bcos'(α) send driver to via CPU2 and then by bus, then by total Line sends controller main website to.In main website, there is algorithm to calculate the Electron Angular α of safety signal using these safety signals, and It is added in coarse position value two.Thus the mechanical angle λ s ' of safety signal are calculated.The rotor position that algorithm calculates controller Rotor position λ s in λ s ' and driver are compared.It is similar, n' and n will also be compared:
It should be noted that:Encoder input signal Asin α, the A of Bcos α and B only represent A phase signals and B phase signals, no The amplitude of representation signal.
The code device signal digital safety transmitting device of present pre-ferred embodiments is in use, its transmission method includes Following steps.
1, encoder input signal Asin α, Bcos α, R are converted into square-wave signal respectively;Wherein, A, B indicate three respectively A phase signals, B phase signals in phase alternating current, α indicate that the electrical angle in a signal period, R presentation codes device often enclose experience one Secondary absolute position reference point.
In CPU1, code device signal Asin α, Bcos α are via multichannel final election device MUX A, MUX B and MUX C and two A sample/hold amplifier S&H, 12 A/D converters, Asin α, Bcos α instantaneous value signals are read.
2, encoder input signal Asin α, Bcos α, the R that will convert into square-wave signal are processed into signal one to be transmitted.
The processing step of the signal to be transmitted one includes:4 frequencys multiplication are carried out to encoder input signal Asin α, Bcos α; It records encoder input signal R and forms encoder and often enclose and undergo primary absolute position track one;According to absolute position track Encoder input signal Asin α, Bcos α after a pair of 4 frequencys multiplication calculate coarse position value one, and are spread out according to the coarse position value one Velocity amplitude one is born, the coarse position value one, the velocity amplitude one sequentially form code one;It is set in the lowest order of the code one It sets check code and forms the signal to be transmitted one, a cycle content of the signal one to be transmitted is:Coarse position value one, speed Value one, state value one.
The processing step of the signal to be transmitted one may also include:Fine bits are formed to one interpolation subdividing of coarse position value Set value.
3, encoder input signal Asin α, Bcos α, the R that will convert into square-wave signal are processed into signal two to be transmitted.
The processing step of the signal to be transmitted two includes:4 frequencys multiplication are carried out to encoder input signal Asin α, Bcos α; It records encoder input signal R and forms encoder and often enclose and undergo primary absolute position track two;According to absolute position track Encoder input signal Asin α, Bcos α after a pair of 4 frequencys multiplication calculate coarse position value two, and are spread out according to the coarse position value two Velocity amplitude two is born, the coarse position value two, the velocity amplitude two sequentially form code two;It is set in the lowest order of the code two It sets check code and forms the signal to be transmitted two, a cycle content of the signal two to be transmitted is:Coarse position value two, speed Value two, state value two.
4, judge whether two signals to be transmitted are identical, as identical, the location information in two channels is added to mark It is exported in quasi- message field (MFLD), the data flow of formation passes to motor servo driver by fieldbus.
Wherein, the code device signal digitalized transmission method further includes:The temperature that analog-to-digital conversion measurement motor temperature obtains Sensor signal is spent, " temperature sensor signal after signal one to be transmitted, signal to be transmitted two, analog-to-digital conversion " is the data The a cycle content of stream.
It can be not quite similar to the process of the signal processing of each encoder.The input signal of the present embodiment circuit is encoder Signal+temperature sensor signal, output signal are digitized code device signal+temperature sensor signals.Input signal is mould Analog quantity property, output signal is digital quantity property.Output signal is by bus or real-time ethernet interface, with the side of message Formula high speed serialization exports.According to the difference of message format, output signal (a cycle content of the i.e. described data flow) can be:
Positional value 1+ state value 1+ positional value 2+ state values 2;
Positional value 1+ fine location value 1+ state value 1+ positional value 2+ state values 2;
Positional value 1+ state value 1+ positional value 2+ state value 2+ safety signals positional value 1;
Positional value 1+ fine location value 1+ state value 1+ positional value 2+ state value 2+ safety signals positional value 1;
Positional value 1+ state value 1+ positional value 2+ state value 2+ temperature;
Positional value 1+ fine location value 1+ state value 1+ positional value 2+ state value 2+ temperature;
Positional value 1+ state value 1+ positional value 2+ state value 2+ safety signal positional value 1+ temperature;
Positional value 1+ fine location value 1+ state value 1+ positional value 2+ state value 2+ safety signal positional value 1+ temperature.
The coarse position value one i.e. above of positional value 1, the state value one i.e. above of state value 1, fine location value 1 are above Fine location value, the coarse position value two i.e. above of positional value 2, the state value two i.e. above of state value 2.Safety signal positional value 1, Temperature can be respectively as additional signal, such as the temperature sensor signal after analog-to-digital conversion above.
Wherein, the data flow of " positional value 1+ state value 1+ positional value 2+ state value 2+ temperature ", as shown in Figure 5;" positional value The data flow of 1+ fine location value 1+ state value 1+ positional value 2+ state value 2+ temperature, as shown in Figure 6;" positional value 1+ state values 1 + positional value 2+ state value 2+ safety signal positional value 1+ temperature;" data flow, as shown in Figure 7;" positional value 1+ fine location values The data flow of 1+ state value 1+ positional value 2+ state value 2+ safety signal positional value 1+ temperature ", as shown in Figure 8;
Fig. 9 is a kind of hardware circuit schematic diagram of complete series code device signal digital safety transmitting device, for illustrating Device and method described in the invention can handle complete series code device signal.Dotted line frame 1 is for handling rotary transformer letter Number input;Dotted line frame 2 is for handling the input of A+B+R incremental encoder signals;Dotted line frame 3 is for handling A+B+C+D+R increments volume Code device signal input;Dotted line frame 4 is inputted for temperature sensor signal;Dotted line frame 5 is used for EnDAT, SSI, TTL encoder Signal inputs.
It is a kind of hardware circuit schematic diagram of A+B+R code device signal digital safety transmitting devices shown in Figure 10, is this The code device signal digital safety transmitting device of invention preferred embodiment, in specific implementation two CPU can be used realizes, Specifically, it is ADSP21990 chips that CPU1, which can be used, and CPU2 is fpga chip.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement etc., should all be included in the protection scope of the present invention made by within refreshing and principle.

Claims (4)

1. a kind of code device signal digital safety transmitting device, it is characterised in that:It is used for the letter of the input to same encoder Number Asin α, Bcos α, R carried out location information, check information Redundant Control and thus generate digital signal, the number letter Number motor servo driver is passed to by fieldbus or real-time ethernet in the form of message;The transmitting device includes:
Square-wave signal conversion module is used to passing through encoder input signal Asin α, Bcos α, R into difference amplifier, ratio respectively It is converted into square-wave signal compared with amplifier;Wherein, A, B indicate that A phase signals, B phase signals in three-phase alternating current, α indicate one respectively Electrical angle in a signal period, R presentation codes device, which often encloses, undergoes primary absolute position reference point;
Signal processing module one, characterize channel one, for will convert into square-wave signal encoder input signal Asin α, Bcos α, R are processed into signal one to be transmitted;
Signal processing module two, characterize channel two, for will convert into square-wave signal encoder input signal Asin α, Bcos α, R are processed into signal two to be transmitted;
Arbitration modules are used to judge whether two signals to be transmitted to be identical, by the location information in two channels if identical It is added in standard message field and exports, the data flow of formation passes to servo motor by fieldbus or real-time ethernet and drives Dynamic device;
Wherein, the signal processing module one includes:Multiplier unit one is used for encoder input signal Asin α, Bcos α Carry out 4 frequencys multiplication;Reference point deposit unit one is used to record encoder input signal R and forms encoder and often encloses experience once Absolute position track one;Thick counting unit one is used to input letter according to the encoder after a pair of 4 frequencys multiplication in absolute position track Number Asin α, Bcos α calculate coarse position value one, and derive velocity amplitude one, the coarse position value according to the coarse position value one One, the velocity amplitude one sequentially forms code one;CRC check unit one is used to that school to be arranged in the lowest order of the code one It tests code and forms the signal to be transmitted one, a cycle content of the signal one to be transmitted is:Coarse position value one, velocity amplitude One, state value one;
Accordingly, the signal processing module two includes:Multiplier unit two is used for encoder input signal Asin α, Bcos α carries out 4 frequencys multiplication;Reference point deposit unit two is used to record encoder input signal R and forms encoder and often encloses experience once Absolute position track two;Thick counting unit two is used to input letter according to the encoder after a pair of 4 frequencys multiplication in absolute position track Number Asin α, Bcos α calculate coarse position value two, and derive velocity amplitude two, the coarse position value according to the coarse position value two Two, the velocity amplitude two sequentially forms code two;CRC check unit two is used to that school to be arranged in the lowest order of the code two It tests code and forms the signal to be transmitted two, a cycle content of the signal two to be transmitted is:Coarse position value two, velocity amplitude Two, state value two.
2. code device signal digital safety transmitting device as described in claim 1, it is characterised in that:The signal processing mould Block one further includes fine counting unit, and the fine counting unit is used to form fine bits to one interpolation subdividing of coarse position value Set value.
3. code device signal digital safety transmitting device as claimed in claim 2, it is characterised in that:The fine counting is single Member is provided with mechanical angle λsComputing unit and rotating speed n computing units;Mechanical angle λsComputing unit obtains mechanical angle according to formula (1) λs
Wherein, N is the resolution ratio of encoder, per rotaring signal periodicity;
Z is movable signal period quantity;
α is the electrical angle in a signal period,
λsFor the mechanical angle in a signal period;
Rotating speed n computing units obtain rotating speed n according to formula (2):
The fine counting unit is according to mechanical angle λsThe fine bits are formed to one interpolation subdividing of coarse position value with rotating speed n Value is set, makes the content alteration in a cycle of the code one at coarse position value one, velocity amplitude one, fine location value, accordingly The signal one to be transmitted a cycle in content alteration at coarse position value one, velocity amplitude one, fine location value, state Value one.
4. code device signal digital safety transmitting device as described in claim 1, it is characterised in that:The transmitting device is also Including temperature sensor signal module, the temperature sensor signal module is used for the temperature of measurement motor stator coil, obtains Constituent of the temperature value as transmitting message, belong to a cycle transmission information of data flow:" signal one to be transmitted waits for Transmit signal two, temperature value ".
CN201510465550.5A 2015-07-29 2015-07-29 A kind of code device signal digital safety transmitting device Active CN105162470B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510465550.5A CN105162470B (en) 2015-07-29 2015-07-29 A kind of code device signal digital safety transmitting device
CN201810004044.XA CN108599772B (en) 2015-07-29 2015-07-29 Encoder signal digital transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510465550.5A CN105162470B (en) 2015-07-29 2015-07-29 A kind of code device signal digital safety transmitting device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201810004044.XA Division CN108599772B (en) 2015-07-29 2015-07-29 Encoder signal digital transmission method

Publications (2)

Publication Number Publication Date
CN105162470A CN105162470A (en) 2015-12-16
CN105162470B true CN105162470B (en) 2018-08-03

Family

ID=54803248

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810004044.XA Active CN108599772B (en) 2015-07-29 2015-07-29 Encoder signal digital transmission method
CN201510465550.5A Active CN105162470B (en) 2015-07-29 2015-07-29 A kind of code device signal digital safety transmitting device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201810004044.XA Active CN108599772B (en) 2015-07-29 2015-07-29 Encoder signal digital transmission method

Country Status (1)

Country Link
CN (2) CN108599772B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141316B (en) * 2015-07-29 2019-03-26 中工科安科技有限公司 A kind of servo motor built-in encoder signal processing circuit and its signal processing method
CN106197484B (en) * 2016-06-30 2018-09-11 中工科安科技有限公司 A kind of sine and cosine encoder high-precision signal processing system
US10880062B2 (en) * 2017-06-29 2020-12-29 Qualcomm Incorporated Providing protection for information delivered in demodulation reference signals (DMRS)
CN109347370B (en) * 2018-11-13 2022-03-15 北京金自天正智能控制股份有限公司 Universal synchronous motor speed and position detection system based on PROFINET protocol
US11018694B2 (en) * 2019-06-10 2021-05-25 Hewlett Packard Enterprise Development Lp Fast cyclic redundancy check code generation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0877489A2 (en) * 1997-05-09 1998-11-11 Kollmorgen Corporation Direct resolver to digital converter
CN202142052U (en) * 2011-01-26 2012-02-08 中国铁道科学研究院通信信号研究所 Safe redundant computer system of train-control vehicle-mounted equipment
CN103067202A (en) * 2012-12-25 2013-04-24 卡斯柯信号有限公司 Security arbitration voting system applicable to different calculation links
CN103925350A (en) * 2013-04-19 2014-07-16 杭州电子科技大学 Multi-gear dynamic asymptotic meshing synchronous driving device based on electric servos

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6598196B1 (en) * 2000-02-29 2003-07-22 Agilent Technologies, Inc. Technique for correcting errors in position encoders
DE102010007349B4 (en) * 2009-02-09 2018-03-01 Fuji Electric Co., Ltd. Anomaly monitoring device
CN101709983B (en) * 2009-10-30 2012-04-25 大连光洋科技工程有限公司 On-line actual error compensation system of sine and cosine encoder
CN102111158B (en) * 2010-11-23 2013-05-01 广州数控设备有限公司 Device for subdividing sine signal and cosine signal of position sensor and coding data, and implementation method thereof
CN102636194B (en) * 2012-04-24 2014-09-03 浙江大学 Orthogonal sine and cosine axial angle encoder signal detecting and converting circuit
CN103449268B (en) * 2013-09-23 2015-02-04 哈尔滨工业大学 Weighing-sensor-free self-adaption starting torque compensation method of elevator permanent-magnet dragging guiding system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0877489A2 (en) * 1997-05-09 1998-11-11 Kollmorgen Corporation Direct resolver to digital converter
CN202142052U (en) * 2011-01-26 2012-02-08 中国铁道科学研究院通信信号研究所 Safe redundant computer system of train-control vehicle-mounted equipment
CN103067202A (en) * 2012-12-25 2013-04-24 卡斯柯信号有限公司 Security arbitration voting system applicable to different calculation links
CN103925350A (en) * 2013-04-19 2014-07-16 杭州电子科技大学 Multi-gear dynamic asymptotic meshing synchronous driving device based on electric servos

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
正余弦编码器细分技术的抗干扰设计;黄招彬;《电气传动》;20140131;第76-80页 *

Also Published As

Publication number Publication date
CN108599772A (en) 2018-09-28
CN108599772B (en) 2021-08-24
CN105162470A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105162470B (en) A kind of code device signal digital safety transmitting device
CN105162551B (en) A kind of computational methods of CRC safety check codes for code device signal processing
CN106197484B (en) A kind of sine and cosine encoder high-precision signal processing system
CN106787991B (en) The angle coding/decoding method of rotary transformer in electric boosting steering system
CN101210821A (en) Coarse-fine data coupling method for double passage shaft angle conversion and measurement
CN104603580A (en) Multi-channel rotary encoder
CN105487489A (en) Device of three-channel encoder refinement and positional information acquisition with tested piece synchronization function
CN110133316B (en) Precise speed measurement system and method for photoelectric encoder
CN204761417U (en) Servo motor embeds encoder processing circuit and signal processing module thereof
CN105141316B (en) A kind of servo motor built-in encoder signal processing circuit and its signal processing method
CN204808004U (en) Encoder interface arrangement and module based on PROFINET communication
JP2005061943A (en) Variable reluctance type resolver
JPS592107A (en) Interface apparatus
CN115459773A (en) Method and model for processing VADC sampling signal of rotary transformer
JP2004326338A (en) Data transmission/reception method of encoder, and device
JPH04172203A (en) Serial encoder
KR100384173B1 (en) Apparatus and method for high resolution processing of encoder signal for a motor control
TWI234935B (en) Encoding method of high-resolution magnet inductive encoder
CN111336952A (en) System, method and device for correcting angle of induction synchronizer
CN111446891B (en) Configurable high-speed parallel detection method, system and medium for motor speed and position
CN203116975U (en) Calibrating device for motorcycle road test instruments
Li et al. The design and implementation of universal interface circuit for photoelectric encoder
JPH0774743B2 (en) Absolute length measurement method
Shriram et al. Work-in-Progress: FPGA Implementation of Synchronous Serial Interface for Hardware in Loop Simulation
JPH02186221A (en) Interpolation apparatus of encoder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wen Changming

Inventor after: Wen Ke

Inventor after: Zheng Haixia

Inventor before: Wen Changming

Inventor before: Wen Ke

GR01 Patent grant