CN207882697U - A kind of orthogonal intersection code signal converter - Google Patents
A kind of orthogonal intersection code signal converter Download PDFInfo
- Publication number
- CN207882697U CN207882697U CN201721413263.0U CN201721413263U CN207882697U CN 207882697 U CN207882697 U CN 207882697U CN 201721413263 U CN201721413263 U CN 201721413263U CN 207882697 U CN207882697 U CN 207882697U
- Authority
- CN
- China
- Prior art keywords
- frequency
- circuit
- signal
- stm32
- converted
- 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
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The utility model belongs to experiment and the detection technique field of AEROSPACE APPLICATION industry, and in particular to a kind of orthogonal intersection code signal converter;Including STM32 chips, frequency pressure conversion chip and journey circuit is adjusted, wherein the STM32, frequency press conversion chip, journey circuit adjusted to be sequentially connected, the STM32 is also directly connected to journey circuit is adjusted;The chip of the STM32 is decoded orthogonal coding, is converted to direction signal and frequency signal;Voltage is converted to using frequency pressure conversion chip in DA conversions below;In the decoding circuit of the orthogonal coding part of be set forth in STM32, the 24V orthogonal codings of flowmeter carry out being sent to STM32 after voltage is converted into 3.3v level signals by high speed photo coupling, STM32 interrupts the analysis of the decoding and direction that are encoded using input capture, to realize the function of quadruplicated frequency circuit, direction signal and frequency signal are demodulated.
Description
Technical field
The invention belongs to the experiment of AEROSPACE APPLICATION industry and detection technique fields, and in particular to a kind of orthogonal intersection code signal turn
Parallel operation.
Background technology
1, the content of related art
(1) patentCN102843118AA kind of quadruple for orthogonal encoder and distinguishing direction and device are disclosed,
The method includes:Record the current state of AB pulse signals and previous next state;Analyze AB pulse signals current state with
Previous next state simultaneously counts:If the state change of AB pulse signals is corresponded to the first variable condition, increase by 1, direction are counted
Signal is the first setting value;If the state change of AB pulse signals is corresponded to the second variable condition, reduction 1, direction are counted
Signal is the second setting value.Described device includes memory module, the current state for recording AB pulse signals and previous shape
State and encoder direction signal;Analysis module, for being carried out to the variation of AB pulse signals current state and preceding state
Analysis;Counting module, for carrying out incremented or decremented according to the judging result of the analysis module.The present invention improves just
Hand over the stability and anti-interference of encoder quadruple signal
(2) patent CN201320867122.1 discloses a kind of rotary incremental encoder orthogonal pulses decoding circuit, it is wrapped
Include signal isolation circuit, it is characterised in that:Further include four XOR gates U1-1, U1-2, U1-3 and U1-4, four monostable triggers
U2, U3, U4 and U5, after signal isolation circuit, P2 accesses monostable trigger U4 and U5 input by orthogonal pulses signal P1 and P2
End, monostable trigger U4 and U5 output are connected to XOR gate U1-3, the orthogonal pulses signal P1 after signal isolation circuit and
P2 accesses XOR gate U1-2, and XOR gate U1-2 output ends are separately connected with monostable trigger U2, U3 input terminal, monostable trigger
U2, U3 output are connected to XOR gate U1-1, and XOR gate U1-2 output ends and XOR gate U1-3 output ends access XOR gate U1-4 are defeated
Enter end;It solves the prior art orthogonal pulses of rotary incremental encoder are carried out to be easy to that interference is mixed existing for sensing and subdivision
Enter in signal, and cannot eliminate automatically, the problems such as to influence result count precision.
2, the problems of the prior art and defect
Patent is all realized using hardware circuit and chip disclosed in above-mentioned two kinds, and there is no in view of being converted into simulating
The problems such as stagnant ring or complicated circuit for occurring in practical applications when amount.
Invention content
The object of the present invention is in view of the shortcomings of the prior art, provide a kind of simple circuit, can overcome in practical application
The orthogonal intersection code signal converter of existing stagnant ring problem.
The technical scheme is that:
A kind of orthogonal intersection code signal converter, including STM32 chips, frequency pressure conversion chip and tune journey circuit, wherein described
STM32 chips, adjust journey circuit to be sequentially connected at frequency pressure conversion chip, and the STM32 chips are also directly connected to journey circuit is adjusted.
The STM32 chips are decoded orthogonal coding, are converted to direction signal and frequency signal;Turn in DA below
It changes middle use frequency pressure conversion chip and is converted to voltage.
In the decoding circuit of the orthogonal coding part of be set forth in STM32 chips, the 24V orthogonal codings of flowmeter are by high speed
Optocoupler carries out voltage and is converted into being sent to STM32 chips after 3.3v level signals, STM32 chips using input capture interrupt into
The analysis of the decoding and direction of row coding demodulates direction signal and frequency signal to realize the function of quadruplicated frequency circuit.
The frequency and direction signal that microcontroller obtains are exported by two digital output pins of STM32 chips, frequency letter
It number is put by low-pass filter circuit after LM331 frequency pressure conversion chips are converted to the voltage signal directly proportional with frequency
Greatly, the direction signal of STM32 chips output switches the pin of amplification tuningout circuit by relay so that amplification tuningout circuit is defeated
Go out the flow signal with directional correlation.
The beneficial effects of the invention are as follows:
The flowmeter secondary meter designed using the utility model, by detection and similar flowmeter secondary meter phase
Than the not only design of circuit greatly simplifies, but also there is no be distorted the stagnant ring of flowmeter.
Description of the drawings
Fig. 1 is orthogonal intersection code signal schematic diagram;
Fig. 2 is orthogonal intersection code signal handling principle figure;
Fig. 3 is decoding circuit module map;
Fig. 4 is level road pressure conversion circuit module map.
Specific implementation mode
The present invention is further introduced with embodiment below in conjunction with the accompanying drawings:
A kind of orthogonal intersection code signal converter, including STM32 chips, frequency pressure conversion chip and tune journey circuit, wherein described
STM32 chips, adjust journey circuit to be sequentially connected at frequency pressure conversion chip, and the STM32 chips are also directly connected to journey circuit is adjusted.
The STM32 chips are decoded orthogonal coding, are converted to direction signal and frequency signal;Turn in DA below
It changes middle use frequency pressure conversion chip and is converted to voltage.
In the decoding circuit of the orthogonal coding part of be set forth in STM32 chips, the 24V orthogonal codings of flowmeter are by high speed
Optocoupler carries out voltage and is converted into being sent to STM32 chips after 3.3v level signals, STM32 chips using input capture interrupt into
The analysis of the decoding and direction of row coding demodulates direction signal and frequency signal to realize the function of quadruplicated frequency circuit.
The frequency and direction signal that microcontroller obtains are exported by two digital output pins of STM32 chips, frequency letter
It number is put by low-pass filter circuit after LM331 frequency pressure conversion chips are converted to the voltage signal directly proportional with frequency
Greatly, the direction signal of STM32 chips output switches the pin of amplification tuningout circuit by relay so that amplification tuningout circuit is defeated
Go out the flow signal with directional correlation.
The present invention is novel to be realized in frequency conversion section by the way of software, as shown in Fig. 2, using a STM32 core
Piece is decoded orthogonal coding, is converted to direction signal and frequency signal.Turned using frequency pressure in DA conversions below
It changes chip and is converted to voltage.
It is illustrated in figure 3 the realization of the decoding circuit part of the orthogonal coding part based on STM32 chips.Flowmeter
24V orthogonal codings carry out being sent to STM32 chips, STM32 chips after voltage is converted into 3.3v level signals by high speed photo coupling
The analysis that the decoding and direction that are encoded are interrupted using input capture, to realize the function of quadruplicated frequency circuit, the side of demodulating
To signal and frequency signal.
The frequency and direction signal that microcontroller as shown in Figure 4 obtains are defeated by two digital output pins of STM32 chips
Go out, frequency signal is after LM331 frequency pressure conversion chips are converted to the voltage signal directly proportional with frequency by low-pass filtering electricity
Road is amplified, and the direction signal of STM32 chips output switches the pin of amplification tuningout circuit by relay so that amplification is adjusted
The flow signal of inclined circuit output and directional correlation.
Claims (1)
1. a kind of orthogonal intersection code signal converter, it is characterised in that:Including STM32 chips, frequency pressure conversion chip and journey circuit is adjusted,
The wherein described STM32 chips, adjust journey circuit to be sequentially connected at frequency pressure conversion chip, and the STM32 chips are also direct with tune journey circuit
Connection;
The STM32 chips are decoded orthogonal coding, are converted to direction signal and frequency signal;In DA conversions below
Voltage is converted to using frequency pressure conversion chip;
In the decoding circuit of the orthogonal coding part of the STM32 chips, the 24V orthogonal codings of flowmeter by high speed photo coupling into
Row voltage is sent to STM32 chips after being converted into 3.3v level signals, and STM32 chips are encoded using input capture interruption
Decoding and the analysis in direction demodulate direction signal and frequency signal to realize the function of quadruplicated frequency circuit;
The frequency and direction signal that microcontroller obtains are exported by two digital output pins of STM32 chips, frequency signal warp
It crosses after LM331 frequency pressure conversion chips are converted to the voltage signal directly proportional with frequency and is amplified by low-pass filter circuit,
The direction signal of STM32 chips output switches the pin of amplification tuningout circuit by relay so that amplification tuningout circuit output
With the flow signal of directional correlation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721413263.0U CN207882697U (en) | 2017-10-30 | 2017-10-30 | A kind of orthogonal intersection code signal converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721413263.0U CN207882697U (en) | 2017-10-30 | 2017-10-30 | A kind of orthogonal intersection code signal converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207882697U true CN207882697U (en) | 2018-09-18 |
Family
ID=63500927
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721413263.0U Active CN207882697U (en) | 2017-10-30 | 2017-10-30 | A kind of orthogonal intersection code signal converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207882697U (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218239A (en) * | 2018-09-28 | 2019-01-15 | 天津市英贝特航天科技有限公司 | A kind of the frequency pressure decoder and its working method of frequency modulation(PFM) type orthogonal encoder |
CN113075420A (en) * | 2021-03-30 | 2021-07-06 | 河南九域恩湃电力技术有限公司 | Digital signal processing method and application thereof in flow velocity measurement |
CN113091839A (en) * | 2021-03-30 | 2021-07-09 | 河南九域恩湃电力技术有限公司 | Computer readable medium, electromagnetic flowmeter, and electromagnetic flowmeter |
-
2017
- 2017-10-30 CN CN201721413263.0U patent/CN207882697U/en active Active
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109218239A (en) * | 2018-09-28 | 2019-01-15 | 天津市英贝特航天科技有限公司 | A kind of the frequency pressure decoder and its working method of frequency modulation(PFM) type orthogonal encoder |
CN113075420A (en) * | 2021-03-30 | 2021-07-06 | 河南九域恩湃电力技术有限公司 | Digital signal processing method and application thereof in flow velocity measurement |
CN113091839A (en) * | 2021-03-30 | 2021-07-09 | 河南九域恩湃电力技术有限公司 | Computer readable medium, electromagnetic flowmeter, and electromagnetic flowmeter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN207882697U (en) | A kind of orthogonal intersection code signal converter | |
CN102619501A (en) | Data transmission system in petroleum logging instrument | |
CN203148603U (en) | Force sensor signal transmitter with multi-type signal output | |
CN206075260U (en) | A kind of computer data acquiring control system based on FPGA | |
CN201667011U (en) | Embedded multi-input multi-output data acquisition template | |
CN201569663U (en) | Brushless DC motor speed measurement device based on hall element | |
CN102082535A (en) | Brushless direct current motor speed detector based on hall element and control method thereof | |
CN104330582A (en) | Reactor coolant pump rotation speed measuring method based on FPGA | |
CN203241084U (en) | Vortex street flow converter based on application-specific integrated circuit | |
CN203299274U (en) | High tension switchgear phase measurement circuit | |
CN205388479U (en) | Rotary encoder based on anisotropic magnetic resistance | |
CN202500555U (en) | Data transmission system in petroleum logger | |
CN202886003U (en) | Intelligent multichannel temperature collection instrument | |
CN205826054U (en) | A kind of intelligent telemetering liquid seal photoelectric direct reading water meter | |
CN104391182A (en) | Multichannel pulse amplitude analyzer in simple differential circuit | |
CN204869543U (en) | Injection molding machine operating condition detecting system | |
CN207650989U (en) | A kind of intelligence instrument data collection architecture | |
CN210323825U (en) | Control circuit compatible with rotary digital potentiometer and analog potentiometer simultaneously | |
CN2932317Y (en) | Roller-type digital circle for human-machine universal identification | |
CN102435364B (en) | Instantaneous energy-based soft sensing method of electric actuator torque | |
CN206848359U (en) | A kind of high precision electro flow measurement circuitry | |
CN209345136U (en) | A kind of data transmission device analog quantity being converted into digital quantity | |
CN214669308U (en) | Measuring device | |
CN204515832U (en) | A kind of counter code disc | |
CN204442349U (en) | A kind of counting uses Gray's code-disc |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |