CN115862181A - Chain communication display instrument set and chain communication method thereof - Google Patents

Chain communication display instrument set and chain communication method thereof Download PDF

Info

Publication number
CN115862181A
CN115862181A CN202310048841.9A CN202310048841A CN115862181A CN 115862181 A CN115862181 A CN 115862181A CN 202310048841 A CN202310048841 A CN 202310048841A CN 115862181 A CN115862181 A CN 115862181A
Authority
CN
China
Prior art keywords
resistor
transistor
data
voltage
instrument
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
Application number
CN202310048841.9A
Other languages
Chinese (zh)
Other versions
CN115862181B (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.)
Talent Sci Co ltd
Original Assignee
Talent Sci Co 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 Talent Sci Co ltd filed Critical Talent Sci Co ltd
Priority to CN202310048841.9A priority Critical patent/CN115862181B/en
Publication of CN115862181A publication Critical patent/CN115862181A/en
Application granted granted Critical
Publication of CN115862181B publication Critical patent/CN115862181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a chain communication display instrument set and a chain communication method thereof, relating to the technical fields of industrial automatic control, industrial data acquisition and the like, comprising a collector, a controller and a plurality of display instruments connected with the collector and the controller; the collector and the controller are used for collecting operation data in real time and sending address code information; the display instruments are used for displaying the operation data in real time, receiving address code information sent by the collector and the controller, taking the address code as a self code after the address code is successfully verified, removing the address and address verification code data, changing the address and address verification code data into a new data frame again and sending the new data frame to the next linked instrument, all the display instruments obtain the address code, and simultaneously, each instrument receives the correct address and the instrument state and feeds the correct address and the instrument state back to the host collector and the controller through the feedback code. The chain communication between the collector and the controller and the plurality of display instruments is effectively realized.

Description

Chain communication display instrument set and chain communication method thereof
Technical Field
The invention belongs to the technical fields of industrial automatic control, industrial data acquisition and the like, and particularly relates to a chain communication display instrument set and a chain communication method thereof.
Background
In industrial application occasions, more operation data need to be displayed, various meters are adopted for displaying in the prior art, the number of the meters is large, the cost is high, and the maintenance is inconvenient.
With the technical progress, a multifunctional collector or an industrial automatic control device is increasingly adopted to realize the functions of the sensor, the data collection and the calculation, but when the system is operated on site, the critical operation data still needs to be displayed on site in real time for use and management.
Each display instrument is of various types, each of which can display one or more data, and the instruments are arranged on a panel of a control panel cabinet. As shown in fig. 1.
The traditional display mode is as follows:
1) Adopt SPI communication, need a large amount of chip select signals to select equipment, the wiring is complicated, and it is inconvenient to maintain.
2) By adopting an asynchronous serial port mode, wiring is reduced, but each display instrument needs to be provided with an address, the cost is increased, the production management is complex, and the use and the maintenance are inconvenient.
Disclosure of Invention
The invention aims to solve the technical problem of providing a chain communication display instrument group and a chain communication method thereof aiming at the defects of the background technology, which effectively realize the chain communication between a collector and a controller and a plurality of display instruments.
The invention adopts the following technical scheme for solving the technical problems:
a chain communication display instrument group comprises a collector, a controller and a plurality of display instruments connected with the collector and the controller;
the collector and the controller are used for collecting operation data in real time and sending address code information;
the display instruments are used for displaying the operation data in real time, receiving address code information sent by the collector and the controller, taking the address code as a self code after the address code is successfully verified, removing the address and address verification code data, changing the address and address verification code data into a new data frame again and sending the new data frame to the next linked instrument, all the display instruments obtain the address code, and simultaneously, each instrument receives the correct address and the instrument state and feeds the correct address and the instrument state back to the host collector and the controller through the feedback code.
As a further preferable scheme of the chain communication display instrument cluster of the present invention, the collector and the controller include a data collection module, a multiplexing switch, a data preprocessing module, a controller module, a data transmission module, an encoder module, an interface module, and a power supply module; the data acquisition module is connected with the controller through the data preprocessing module, and the controller is respectively connected with the data transmission module, the interface module and the power supply module.
As a further preferable scheme of the chain communication display instrument set, the display instrument set comprises a data receiving module, a decoder, a gain amplifier, a range converter, an RMS-DC converter, an analog-to-digital converter, an MCU module and an LCD display, wherein the data receiving module is connected with the MCU module through the decoder, the gain amplifier, the RMS-DC converter and the analog-to-digital converter in sequence, and the MCU module is respectively connected with the range converter and the LCD display.
As a further preferable solution of the chain communication display instrument set of the present invention, the interface module includes a DALI _ RX end of the controller module, a DALI _ TX end of the MCU data processing module, a VCC voltage end, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a first diode, a second diode, a third diode, a first zener diode, a first triode, a second triode, a third triode, an LM317 chip, a zener control chip, a first capacitor, a second capacitor, and a third capacitor;
the voltage stabilizing control circuit comprises a voltage stabilizing control chip, a first resistor, a second resistor, a first capacitor, a second capacitor and a VCC voltage end, wherein the VCC voltage end is respectively connected with one end of the first capacitor, the Vin end of the voltage stabilizing control chip and the cathode of the first diode;
the DA + end is respectively connected with a grid electrode of a third triode, one end of a seventh resistor and a cathode of a voltage stabilizing diode, an anode of the voltage stabilizing diode is respectively connected with one end of a fifth resistor and one end of a sixth resistor, the other end of the fifth resistor is respectively connected with a cathode of the third diode, one end of a fourth resistor and a 5V voltage end through a first triode, an anode of the third diode is respectively connected with a DALI _ RX end of an MCU and one end of a third resistor, the other end of the third resistor is connected with a 3.3V voltage end, a grid electrode of the third triode is respectively connected with one end of a tenth resistor and a collector electrode of a second triode through an eleventh resistor, the other end of the tenth resistor is connected with a 5V voltage end, a base electrode of the second triode is connected with one end of an eighth resistor and a DALI _ TX end of the MCU through a ninth resistor, the other end of the eighth resistor is connected with a 3.3V voltage end, and the other end of the fourth resistor, the other end of the sixth resistor, an emitter electrode of the second triode and the other end of the seventh resistor are connected with the DA-terminal and grounded.
As a further preferable aspect of the chain communication display instrument set of the present invention, the gain amplifier comprises a reference circuit for providing a bias for the circuit and a variable gain control circuit connected to the reference circuit for controlling and adjusting the gain of the circuit, the variable gain control circuit comprises a transistor M6, a transistor M7, and a transistor M8 connected to each other, a gate of the transistor M8 is connected to a control voltage Vc for operating the transistor M8 as a constant current source in a saturation region, a gate of the transistor M7 is connected to the control voltage Vc for adjusting a voltage value of the gate of the transistor M7, a drain of the transistor M7 is connected to a resistor R1, and a magnitude and a bandwidth of the gain are controlled by adjusting a resistance value of the resistor R1; one end of the resistor R1 is coupled with the drain of the transistor M7 and then coupled with the DC power input end VDD, and the other end of the resistor R1 is coupled with the drain of the transistor M6 and then connected to the output end Vout; the grid electrode of the transistor M6 is connected with the reference circuit; the source of the transistor M6 and the source of the transistor M7 are coupled to the drain of the transistor M8, and the gate of the transistor M7 is coupled to the external control voltage terminal Vc; the source of the transistor M8 is coupled to the ground GND, and the gate of the transistor M8 is coupled to the voltage source Vbias.
As a further preferable aspect of the chain communication display instrument cluster of the present invention, the reference circuit includes a transistor M1, a transistor M2, a transistor M3, a transistor M4, and a transistor M5 connected to each other, the transistor M1 is used as a load tube of the input terminal differential pair; the grid electrode of the transistor M5 is connected with a reference voltage source Vs, so that the transistor M5 works in a saturation region and is used as a constant current source; the source of the transistor M1 is coupled to the source of the transistor M2 and then coupled to the dc power input terminal VDD, and the gate of the transistor M1 is coupled to the drain of the transistor M1 and then coupled to the gate of the transistor M2 and the drain of the transistor M3; the gate of the transistor M3 is coupled to the input terminal inp, and the source of the transistor M3 and the source of the transistor M4 are coupled to the drain of the transistor M5; the gate of the transistor M4 is coupled to the input terminal inn, the source of the transistor M5 is coupled to the ground GND, and the gate of the transistor M5 is coupled to the voltage source Vs.
As a further preferable scheme of the chain communication display instrument cluster of the invention, the decoder comprises a rotary transformer, an excitation circuit, a conditioning circuit, a signal driving circuit and a single chip microcomputer, wherein the rotary transformer is connected with the single chip microcomputer sequentially through the conditioning circuit and the signal driving circuit, and the signal driving circuit is connected with the rotary transformer through the excitation circuit.
As a further preferable aspect of the chain communication display meter cluster of the invention, the excitation circuit comprises a capacitor C1, a capacitor C7, a capacitor C8, a capacitor C12, a resistor R2, a resistor R3, a resistor R4, a resistor R6, a resistor R8 a resistor R11, a resistor R14, a resistor R15, a voltage end of 5V, a voltage end of 12V, an operational amplifier U1, an operational amplifier U2, an EXC interface,
Figure SMS_1
Interface, OUTEXC interface>
Figure SMS_2
An interface; the 5V voltage end is connected with one end of a resistor R4, and the other end of the resistor R4 is respectively connected with one end of a resistor R8, one end of a resistor R2 and a capacitorOne end of the capacitor C7 and one end of the resistor R11 are connected, the other end of the resistor R8 is connected with the other end of the capacitor C7 and grounded, the other end of the resistor R2 is connected with a pin 8 of the operational amplifier U1, the pin 1 of the operational amplifier U1 is respectively connected with one end of the capacitor C1 and a 12V voltage end, the other end of the capacitor C1 is grounded, and the pin 2 of the operational amplifier U1 is respectively connected with the pin 2 of the operational amplifier U1
Figure SMS_3
The interface, one end of a resistor R6 and one end of a capacitor C12, the other end of the resistor R6 is respectively connected with one end of a resistor R3 and a pin 7 of an operational amplifier U1, and the other end of the resistor R3 is connected with ^ or ^ R>
Figure SMS_4
The other end of the capacitor C12 is connected with an OUEXC interface, one end of a resistor R15 and a pin 16 of an operational amplifier U2, the other end of the resistor R11 is connected with a pin 9 of the operational amplifier U2, a pin 10 of the operational amplifier U2 is connected with the other end of the resistor R15 and one end of a resistor R14, and the other end of the resistor R14 is connected with the EXC interface.
As a further preferable scheme of the chain communication display instrument cluster, a Rssar 7F0C004 chip is adopted as a main control MCU by the MCU module, a system clock of a high-speed oscillator in the MCU module can reach 24MHz, a 128KB code Flash, a 2KB data Flash and an 8KB RAM are arranged in the MCU module, the data Flash can be used for storing the operation data of a gas meter, and the RAM is used for storing the operation data of the gas meter.
A chain communication method based on a chain communication display instrument set specifically comprises the following steps;
step 1, a collector and a controller send address code information first;
step 2, each display instrument 1 receives data, verifies the data, uses the data for the instrument display after the data is successfully verified, removes the data from the data 11 to the data 1m and the verification code data of the data 1, changes the data into a new data frame again and sends the new data frame to the next linked instrument, and so on, the execution process is the same, and all the display instruments obtain the data;
step 3, each instrument receives correct data and the instrument state is fed back to the sending host collector and the controller through feedback codes;
after a certain instrument is damaged, the work of a subsequent instrument is not influenced, a fault instrument automatically short-circuits a physical link of the instrument of the fault instrument, after short circuit, data and address codes received by a following instrument are inconsistent and are fed back to the collector and the controller through the feedback code identification, and the collector and the controller automatically re-encode data frames according to fault types to realize self-adaption.
Compared with the prior art, the invention adopting the technical scheme has the following technical effects:
the invention effectively realizes the chain communication between the collector and the controller and a plurality of display instruments, the collector and the controller firstly send address code information, each display instrument 1 receives data, the address code is verified, after the address code is successfully verified, the address code is used as self-coding, simultaneously, the address 1 and the address 1 verification code data are removed, the address 1 and the address 1 verification code data are changed into new data frames again and are sent to the next linked instrument, the operation process is the same by analogy, all the display instruments obtain the address coding, each instrument receives the correct address and the instrument state is fed back to the collector and the controller of the sending host through the feedback code, after a certain instrument is damaged, the work of the subsequent instrument is not influenced, the fault instrument automatically short-circuits the physical link of the instrument, after short circuit, the data received by the subsequent instrument is inconsistent with the address coding, the data are fed back to the collector/controller through the feedback code identification, and the collector/controller automatically re-codes the data frames according to the fault type, thereby realizing the self-adaption.
Drawings
FIG. 1 is a schematic view of a prior art multiple display meter installation;
FIG. 2 is a schematic diagram of the physical linkage of the collector and controller of the present invention with a plurality of display instruments;
FIG. 3 is a schematic diagram of a chain address encoding frame format according to the present invention;
FIG. 4 is a schematic diagram of a chained data frame format of the present invention;
FIG. 5 is a schematic diagram of the structure of the collector and the controller of the present invention;
FIG. 6 is a schematic view of the structure of the display meter of the present invention;
FIG. 7 is a circuit diagram of the interface module of the present invention;
FIG. 8 is a circuit diagram of the gain amplifier of the present invention;
FIG. 9 is a schematic diagram of the structure of the decoder of the present invention;
fig. 10 is a circuit diagram of an excitation circuit of the present invention.
Detailed description of the preferred embodiments
The technical scheme of the invention is further explained in detail by combining the attached drawings:
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A chain communication display instrument group comprises a collector, a controller and a plurality of display instruments connected with the collector and the controller;
the display instrument of the design is characterized in that: the number of the displayed data of each meter is 1 to m, m of each meter can be different, and the number of the installed meters at the same time is not limited.
The physical linking mode is shown in FIG. 2;
the collector, the controller and the display instrument form a chain structure.
The chain address encoded frame format is shown in fig. 3.
The collector and controller play the data, and the data frame is as shown in fig. 4.
The collector and the controller firstly send out address code information, each display instrument 1 receives data, the data is verified, after the data is successfully verified, the data is used for displaying the instrument, meanwhile, the data 11 to the data 1m and the verification code data of the data 1 are removed, the data are changed into new data frames again and sent to the next linked instrument, and the like, the execution process is the same, and all the display instruments obtain the data.
And the data received by each instrument is correct and the state of each instrument is fed back to the collector and the controller of the sending host through feedback codes.
Self-adaptation after a fault occurs
After a certain instrument is damaged, the work of subsequent instruments is not influenced, and the fault instrument automatically short-circuits the physical link of the instrument of the fault instrument.
After short circuit, the data received by the following table is inconsistent with the address code and is fed back to the collector/controller through the feedback code identification, and the collector/controller automatically re-encodes the data frame according to the fault type to realize self-adaptation.
As shown in fig. 5, the collector and the controller include a data collection module, a multiplexing switch, a data preprocessing module, a controller module, a data transmission module, an encoder module, an interface module, and a power module; the data acquisition module is connected with the controller through the data preprocessing module, and the controller is respectively connected with the data transmission module, the interface module and the power supply module.
As shown in fig. 6, the display instrument includes a data receiving module, a decoder, a gain amplifier, a range converter, an RMS-DC converter, an analog-to-digital converter, an MCU module, and an LCD display, the data receiving module is connected to the MCU module through the decoder, the gain amplifier, the RMS-DC converter, and the analog-to-digital converter in sequence, and the MCU module is respectively connected to the range converter and the LCD display.
Firstly, the voltage value of a signal source to be measured is converted into the voltage range of an input signal of the RMS-DC converter through a gain amplifier, then an output signal of the RMS-DC converter is connected to the input end of the analog-to-digital converter, a converted digital signal is input to the microcontroller in a serial mode, and the digital signal is sent to the liquid crystal display to display a measurement result after being processed by software. If the voltage of the input signal to be measured is not in the proper measuring range, the microcontroller outputs a corresponding control signal after judgment, and the gain of the gain amplifier is adjusted through the measuring range converter so as to realize the function of automatically converting the measuring range of the millivoltmeter.
The invention converts the voltage value of the signal source to be measured into the input signal voltage range of the RMS-DC converter through the gain amplifier, then connects the output signal of the RMS-DC converter to the input end of the analog-to-digital converter, inputs the converted digital signal to the microcontroller in a serial mode, and sends the processed digital signal to the liquid crystal display to display the measurement result; if the voltage of the input signal to be measured is not in the proper measuring range, the microcontroller outputs a corresponding control signal after judgment, and the gain of the gain amplifier is adjusted through the measuring range converter so as to realize the function of automatically converting the measuring range of the millivoltmeter;
the digital alternating-current millivoltmeter has the advantages of wide measuring frequency band, high precision, high response speed, high input impedance, small frequency influence error, simplicity in operation, convenience in use, high cost performance and the like, and has the functions of automatic range conversion, over-range alarm and the like; when voltage signals below 1 mV are measured, the maximum resolution can reach 0.001 mV, the measurement requirement of weak signals can be met, and the method has wide market prospect and higher popularization and application value;
the variable gain amplifier provided by the invention realizes a medium-low frequency variable gain amplifier, the variable gain control circuit adopts an analog circuit control structure, the continuous adjustment of gain is realized, the gain adjustable range reaches 44dB, the 3dB bandwidth is 0Hz to 600MHz, the maximum output noise is-25 dB, the working voltage is 3.3V, and the variable gain amplifier has good linearity.
The range converter uses an 8-channel digitally controlled analog electronic switch CD4051 having 3 control inputs A, B, C and INH input, low on-resistance and very low off-leakage current. When INH =1, all channels are blocked. When CBA =000, the input end X0 is conducted, the input signal is amplified by 200 times, and the corresponding range is 0 to 10 mV; when CBA =001, the input end X1 is conducted, the input signal is amplified by 20 times, and the corresponding range is 10 to 100 mV; when CBA =010, the input end X2 is conducted, the input signal is amplified by 2 times, and the corresponding measuring range is 100 to 1 000 mV. The output terminal (X) of CD4051 is connected with the input terminal (Vin) of RMS-DC converter
The RMS-DC converter adopts an RMS-DC conversion device AD637 of ADI company. The RMS-DC conversion device AD637 of ADI company is selected from the comprehensive consideration of factors such as precision, bandwidth, power consumption, input signal level, crest factor and stable time. AD637 belongs to a high accuracy monolithic true-value/DC converter with an input frequency of up to 5 MHz at 1 000 mV (RMS) with an additive error of + -3 dB. An independent buffer amplifier is arranged in the device, and the device can be used as an input buffer, and can also form an active filter to reduce ripples and improve the accuracy of measurement; the input end is provided with a voltage protection circuit, so that even if Vin exceeds a power supply voltage, the chip can not be damaged generally.
The A/D converter employs a 12-bit high-precision chip MAX187 from MAXIM, USA. The MAX187 serial 12-bit analog-to-digital converter can work under a single + 5V power supply, and the analog input voltage is 0-5V. MAX187 is a successive approximation ADC, fast sample/hold (1.5 μ s), on-chip clock, high speed 3-wire serial interface. The MAX187 power supply requires decoupling capacitance, using a 4.7 μ F capacitance in parallel with a 0.1 μ F. Pin 4 is the reference terminal, followed by a 4.7 μ F capacitor, using the internal 4.096V reference voltage scheme.
After the power of MAX187 is up, 20 ms, the capacitor connected to the reference voltage pin is charged completely, and the working state is entered. When the enable terminal CS is set to be at low level, the internal tracking/keeper (T/H) enters a holding state and starts conversion, and the DOUT outputs level after the conversion is finished. At this time, the movement pulse is inputted at the SCLK terminal to read out the 12-bit conversion result from the most significant bit to the least significant bit to the DOUT terminal in sequence. The CS terminal may be set low, a shift pulse may be sent 8.5 μ s later, the conversion result may be read, and the CS terminal may be set high after the entire 12-bit result is read.
As shown in fig. 7, the interface module includes a DALI _ RX end of the controller module, a DALI _ TX end of the MCU data processing module, a VCC voltage end, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a first diode, a second diode, a third diode, a first zener diode, a first triode, a second triode, a third triode, an LM317 chip, a voltage regulation control chip, a first capacitor, a second capacitor, and a third capacitor;
the voltage stabilizing control circuit comprises a voltage stabilizing control chip, a first resistor, a second resistor, a first capacitor, a second capacitor and a VCC voltage end, wherein the VCC voltage end is respectively connected with one end of the first capacitor, the Vin end of the voltage stabilizing control chip and the cathode of the first diode;
the DA + end is respectively connected with a grid electrode of a third triode, one end of a seventh resistor and a cathode of a voltage stabilizing diode, the anode of the voltage stabilizing diode is respectively connected with one end of a fifth resistor and one end of a sixth resistor, the other end of the fifth resistor is respectively connected with the cathode of the third diode, one end of a fourth resistor and a 5V voltage end through a first triode, the anode of the third diode is respectively connected with a DALI _ RX end of an MCU and one end of the third resistor, the other end of the third resistor is connected with a 3.3V voltage end, the grid electrode of the third triode is respectively connected with one end of a tenth resistor and a collector electrode of a second triode through an eleventh resistor, the other end of the tenth resistor is connected with a 5V voltage end, the base electrode of the second triode is connected with one end of an eighth resistor and a DALI _ TX end of the MCU through a ninth resistor, the other end of the eighth resistor is connected with a 3.3V voltage end, the other end of the fourth resistor, the other end of the sixth resistor, the other end of the seventh resistor, the emitter electrode of the second triode and the DA-end of the second triode are connected with the DA-end of the DA-terminal and grounded.
The interface module circuit adopts the voltage-stabilizing control chip of the LM317 to provide the working voltage for the MCU and output stable voltage for the bus interface, effectively improves the disturbance resistance of the interface in transmission, can adapt to the level signal range specified by the DALI 2.0 standard and improves the reliability of the system.
As shown in fig. 8, the gain amplifier includes a reference circuit for providing a bias for the circuit and a variable gain control circuit connected to the reference circuit for controlling the gain of the adjusting circuit, the variable gain control circuit includes a transistor M6, a transistor M7, and a transistor M8 connected to each other, a gate of the transistor M8 is connected to a control voltage Vc for operating the transistor M8 in a saturation region as a constant current source, a gate of the transistor M7 is connected to the control voltage Vc for adjusting a voltage value of the gate of the transistor M7, a drain of the transistor M7 is connected to a resistor R1, and a resistance value of the resistor R1 is adjusted to control a magnitude and a bandwidth of the gain; one end of the resistor R1 is coupled to the drain of the transistor M7 and then coupled to the dc power input terminal VDD, and the other end of the resistor R1 is coupled to the drain of the transistor M6 and then connected to the output terminal Vout; the grid electrode of the transistor M6 is connected with the reference circuit; the source of the transistor M6 and the source of the transistor M7 are coupled to the drain of the transistor M8, and the gate of the transistor M7 is coupled to the external control voltage terminal Vc; the source of the transistor M8 is coupled to the ground GND, and the gate of the transistor M8 is coupled to the voltage source Vbias.
The reference circuit comprises a transistor M1, a transistor M2, a transistor M3, a transistor M4 and a transistor M5 which are connected with each other, wherein the transistor M1 is used as a load tube of an input end differential pair; the grid electrode of the transistor M5 is connected with a reference voltage source Vs, so that the transistor M5 works in a saturation region and is used as a constant current source; the source of the transistor M1 is coupled to the source of the transistor M2 and then coupled to the dc power input terminal VDD, and the gate of the transistor M1 is coupled to the drain of the transistor M1 and then coupled to the gate of the transistor M2 and the drain of the transistor M3; the gate of the transistor M3 is coupled to the input terminal inp, and the source of the transistor M3 and the source of the transistor M4 are coupled to the drain of the transistor M5; the gate of the transistor M4 is coupled to the input terminal inn, the source of the transistor M5 is coupled to the ground GND, and the gate of the transistor M5 is coupled to the voltage source Vs. A variable gain amplifier realizes a medium-low frequency variable gain amplifier, the variable gain control circuit adopts an analog circuit control structure, the continuous adjustment of gain is realized, the gain adjustable range reaches 44dB, the 3dB bandwidth is 0Hz to 600MHz, the maximum output noise is-25 dB, the working voltage is 3.3V, and the variable gain amplifier has good linearity.
As shown in fig. 9, the decoder includes a rotary transformer, an exciting circuit, a conditioning circuit, a signal driving circuit, and a single chip microcomputer, the rotary transformer is connected to the single chip microcomputer through the conditioning circuit and the signal driving circuit in sequence, and the signal driving circuit is connected to the rotary transformer through the exciting circuit. The peripheral circuit of the AD2S1205 minimum system is designed for providing high-frequency stable sine wave excitation for the rotary transformer excitation winding, enabling sine and cosine signals output by the rotary transformer to meet the input requirement of a decoding chip, and ensuring that the angular position/angular speed signals output to a single chip microcomputer by the decoding chip have enough driving capacity. The peripheral circuit mainly comprises an excitation circuit, a signal conditioning circuit and a signal driving circuit.
As shown in figure 10 of the drawings, the excitation circuit comprises a capacitor C1, a capacitor C7, a capacitor C8, a capacitor C12, a resistor R2, a resistor R3, a resistor R4, a resistor R6, a resistor R8 a resistor R11, a resistor R14, a resistor R15, a voltage end of 5V, a voltage end of 12V, an operational amplifier U1, an operational amplifier U2, an EXC interface,
Figure SMS_5
Interface, OUTEXC interface>
Figure SMS_6
An interface; 5V voltage end connecting resistance R4's one end, resistance R4's the other end is connecting resistance R8's one end respectively, resistance R2's one end, electric capacity C7's one end, resistance R11's one end, electric capacity C7's the other end and ground connection are connected to resistance R8's the other end, operational amplifier U1's pin 8 is connected to resistance R2's the other end, electric capacity C1's one end and 12V voltage end are connected respectively to operational amplifier U1's pin 1, electric capacity C1's the other end ground connection, operational amplifier U1's pin 2 connects the ^ respectively>
Figure SMS_7
An interface, one end of a resistor R6 and one end of a capacitor C12, the other end of the resistor R6 is respectively connected with one end of a resistor R3 and a pin 7 of an operational amplifier U1, and the other end of the resistor R3 is connected with the & ltSUB & gt/SUB & gt>
Figure SMS_8
The other end of the capacitor C12 is connected with an OUEXC interface, one end of a resistor R15 and a pin 16 of an operational amplifier U2, the other end of the resistor R11 is connected with a pin 9 of the operational amplifier U2, a pin 10 of the operational amplifier U2 is connected with the other end of the resistor R15 and one end of a resistor R14, and the other end of the resistor R14 is connected with the EXC interface.
The design of the excitation circuit needs to consider the driving strength of the AD2S1205 to the excitation winding, and also needs to consider the gain of the sinusoidal excitation signal, and meanwhile, certain filtering and denoising processing must be carried out on the output signal of the driving chip. As shown in fig. 4, EXC is the output pin of AD2S1205 excitation signal, which is a sine wave signal with center voltage of 2.5V and peak voltage of 3.6V, and the two pins will generate a differential signal with peak voltage of 7.2V. In the design, the rotation transformation ratio is 0.286, if the exciting circuit is a unit gain, the peak value of sine and cosine signals output to the decoding chip by the rotation transformation is only 2V, and the requirement of the input voltage of the decoding chip cannot be met (the input end allowed voltage is 3.15V +/-27%), so that the exciting signal is amplified by a double-power operational amplifier TCA0372 DM.
The MCU module adopts a Ryssa R7F0C004 chip as a main control MCU, the internal high-speed oscillator system clock can reach 24MHz, a 128KB code Flash, a 2KB data Flash and an 8KB RAM are arranged in the chip, the data Flash can be used for storing the operation data of the gas meter, and the RAM is used for storing the operation data of the gas meter.
While certain exemplary embodiments of the present invention have been described above by way of illustration only, it will be apparent to those of ordinary skill in the art that the described embodiments may be modified in various different ways without departing from the spirit and scope of the present invention. Accordingly, the drawings and description are illustrative in nature and should not be construed as limiting the scope of the invention.

Claims (10)

1. A chain communication display instrument cluster, comprising: comprises a collector, a controller and a plurality of display instruments connected with the collector and the controller;
the collector and the controller are used for collecting operation data in real time and sending address code information;
the display instruments are used for displaying the operation data in real time, receiving address code information sent by the collector and the controller, taking the address code as a self code after the address code is successfully verified, removing the address and address verification code data, changing the address and address verification code data into a new data frame again and sending the new data frame to the next linked instrument, all the display instruments obtain the address code, and simultaneously, each instrument receives the correct address and the instrument state and feeds the correct address and the instrument state back to the host collector and the controller through the feedback code.
2. The chain communication display gauge cluster of claim 1, wherein: the collector and the controller comprise a data collection module, a multiplexing switch, a data preprocessing module, a controller module, a data transmission module, an encoder module, an interface module and a power supply module; the data acquisition module is connected with the controller through the data preprocessing module, and the controller is respectively connected with the data transmission module, the interface module and the power supply module.
3. The chain communication display gauge cluster of claim 1, wherein: the display instrument comprises a data receiving module, a decoder, a gain amplifier, a range converter, an RMS-DC converter, an analog-to-digital converter, an MCU module and an LCD, wherein the data receiving module is connected with the MCU module through the decoder, the gain amplifier, the RMS-DC converter and the analog-to-digital converter in sequence, and the MCU module is respectively connected with the range converter and the LCD.
4. The chain communication display gauge cluster of claim 1, wherein: the interface module comprises a DALI _ RX end of the controller module, a DALI _ TX end of the MCU data processing module, a VCC voltage end, a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a first diode, a second diode, a third diode, a first voltage stabilizing diode, a first triode, a second triode, a third triode, a 317 LM chip, a voltage stabilizing control chip, a first capacitor, a second capacitor and a third capacitor;
the voltage stabilizing control circuit comprises a voltage stabilizing control chip, a first resistor, a second resistor, a first capacitor, a second capacitor and a VCC voltage end, wherein the VCC voltage end is respectively connected with one end of the first capacitor, the Vin end of the voltage stabilizing control chip and the cathode of the first diode;
the DA + end is respectively connected with a grid electrode of a third triode, one end of a seventh resistor and a cathode of a voltage stabilizing diode, an anode of the voltage stabilizing diode is respectively connected with one end of a fifth resistor and one end of a sixth resistor, the other end of the fifth resistor is respectively connected with a cathode of the third diode, one end of a fourth resistor and a 5V voltage end through a first triode, an anode of the third diode is respectively connected with a DALI _ RX end of an MCU and one end of a third resistor, the other end of the third resistor is connected with a 3.3V voltage end, a grid electrode of the third triode is respectively connected with one end of a tenth resistor and a collector electrode of a second triode through an eleventh resistor, the other end of the tenth resistor is connected with a 5V voltage end, a base electrode of the second triode is connected with one end of an eighth resistor and a DALI _ TX end of the MCU through a ninth resistor, the other end of the eighth resistor is connected with a 3.3V voltage end, and the other end of the fourth resistor, the other end of the sixth resistor, an emitter electrode of the second triode and the other end of the seventh resistor are connected with the DA-terminal and grounded.
5. The chain communication display instrument cluster of claim 1, wherein: the gain amplifier comprises a reference circuit for providing bias for the circuit and a variable gain control circuit which is connected with the reference circuit and is used for controlling and adjusting the gain of the circuit, wherein the variable gain control circuit comprises a transistor M6, a transistor M7 and a transistor M8 which are connected with each other, a control voltage Vc is connected to the grid electrode of the transistor M8 and is used for enabling the transistor M8 to work in a saturation region to serve as a constant current source, the control voltage Vc is connected to the grid electrode of the transistor M7 and is used for adjusting the voltage value of the grid electrode of the transistor M7, and the drain electrode of the transistor M7 is connected with a resistor R1 and controls the size and the bandwidth of the gain by adjusting the resistance value of the resistor R1; one end of the resistor R1 is coupled with the drain of the transistor M7 and then coupled with the DC power input end VDD, and the other end of the resistor R1 is coupled with the drain of the transistor M6 and then connected to the output end Vout; the grid electrode of the transistor M6 is connected with the reference circuit; the source of the transistor M6 and the source of the transistor M7 are coupled to the drain of the transistor M8, and the gate of the transistor M7 is coupled to the external control voltage terminal Vc; the source of the transistor M8 is coupled to the ground GND, and the gate of the transistor M8 is coupled to the voltage source Vbias.
6. The chain communication display gauge cluster of claim 5, wherein: the reference circuit comprises a transistor M1, a transistor M2, a transistor M3, a transistor M4 and a transistor M5 which are connected with each other, wherein the transistor M1 is used as a load tube of an input end differential pair; the grid electrode of the transistor M5 is connected with a reference voltage source Vs, so that the transistor M5 works in a saturation region and is used as a constant current source; the source of the transistor M1 is coupled to the source of the transistor M2 and then coupled to the dc power input terminal VDD, and the gate of the transistor M1 is coupled to the drain of the transistor M1 and then coupled to the gate of the transistor M2 and the drain of the transistor M3; the gate of the transistor M3 is coupled to the input terminal inp, and the source of the transistor M3 and the source of the transistor M4 are coupled to the drain of the transistor M5; the gate of the transistor M4 is coupled to the input terminal inn, the source of the transistor M5 is coupled to the ground GND, and the gate of the transistor M5 is coupled to the voltage source Vs.
7. The chain communication display instrument cluster of claim 1, wherein: the decoder comprises a rotary transformer, an excitation circuit, a conditioning circuit, a signal driving circuit and a single chip microcomputer, wherein the rotary transformer is sequentially connected with the single chip microcomputer through the conditioning circuit and the signal driving circuit, and the signal driving circuit is connected with the rotary transformer through the excitation circuit.
8. The chain communication display gauge cluster of claim 1, wherein: the excitation circuit comprises a capacitor C1, a capacitor C7, a capacitor C8, a capacitor C12, a resistor R2, a resistor R3, a resistor R4, a resistor R6, a resistor R8, a resistor R11, a resistor R14, a resistor R15, a 5V voltage end, a 12V voltage end, an operational amplifier U1, an operational amplifier U2, an EXC interface, a voltage-sensitive resistor (EXC) and a voltage-sensitive resistor (EXC) which are connected in series with each other,
Figure QLYQS_1
Interface, OUTEXC interface>
Figure QLYQS_2
An interface; the 5V voltage end is connected with one end of a resistor R4, and the other end of the resistor R4One end of the resistor is connected with one end of a resistor R8, one end of a resistor R2, one end of a capacitor C7 and one end of a resistor R11 respectively, the other end of the resistor R8 is connected with the other end of the capacitor C7 and is grounded, the other end of the resistor R2 is connected with a pin 8 of an operational amplifier U1, a pin 1 of the operational amplifier U1 is connected with one end of the capacitor C1 and a 12V voltage end respectively, the other end of the capacitor C1 is grounded, and a pin 2 of the operational amplifier U1 is connected with a pin 2 of the operational amplifier U1 respectively
Figure QLYQS_3
The interface, one end of a resistor R6 and one end of a capacitor C12, the other end of the resistor R6 is respectively connected with one end of a resistor R3 and a pin 7 of an operational amplifier U1, and the other end of the resistor R3 is connected with ^ or ^ R>
Figure QLYQS_4
The other end of the capacitor C12 is connected with an OUEXC interface, one end of a resistor R15 and a pin 16 of an operational amplifier U2, the other end of the resistor R11 is connected with a pin 9 of the operational amplifier U2, a pin 10 of the operational amplifier U2 is connected with the other end of the resistor R15 and one end of a resistor R14, and the other end of the resistor R14 is connected with the EXC interface.
9. The chain communication display gauge cluster of claim 1, wherein: the MCU module adopts a Ryssa R7F0C004 chip as a main control MCU, the internal high-speed oscillator system clock can reach 24MHz, a 128KB code Flash, a 2KB data Flash and an 8KB RAM are arranged in the chip, the data Flash can be used for storing the operation data of the gas meter, and the RAM is used for storing the operation data of the gas meter.
10. A chain communication method of a chain communication display instrument cluster based on any one of claims 1 to 9, characterized in that: the method specifically comprises the following steps;
step 1, a collector and a controller send address code information first;
step 2, each display instrument 1 receives data, verifies the data, uses the data for the instrument display after the data is successfully verified, removes the data from the data 11 to the data 1m and the verification code data of the data 1, changes the data into a new data frame again and sends the new data frame to the next linked instrument, and so on, the execution process is the same, and all the display instruments obtain the data;
step 3, each instrument receives correct data and the instrument state is fed back to the sending host collector and the controller through feedback codes;
after a certain instrument is damaged, the work of a subsequent instrument is not influenced, a fault instrument automatically short-circuits a physical link of the instrument of the fault instrument, after short-circuit, data and address codes received by a following instrument are inconsistent and are fed back to the collector and the controller through the feedback code identification, and the collector and the controller automatically re-encode data frames according to fault types to realize self-adaption.
CN202310048841.9A 2023-02-01 2023-02-01 Chain type communication display instrument group and chain type communication method thereof Active CN115862181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310048841.9A CN115862181B (en) 2023-02-01 2023-02-01 Chain type communication display instrument group and chain type communication method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310048841.9A CN115862181B (en) 2023-02-01 2023-02-01 Chain type communication display instrument group and chain type communication method thereof

Publications (2)

Publication Number Publication Date
CN115862181A true CN115862181A (en) 2023-03-28
CN115862181B CN115862181B (en) 2023-06-02

Family

ID=85657390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310048841.9A Active CN115862181B (en) 2023-02-01 2023-02-01 Chain type communication display instrument group and chain type communication method thereof

Country Status (1)

Country Link
CN (1) CN115862181B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201060229Y (en) * 2007-05-09 2008-05-14 张少勇 Bus type digital instrument
CN106597917A (en) * 2016-11-02 2017-04-26 武汉智明力强光电系统有限公司 Intelligent industrial control instrument suitable for integrated signal management
CN106878125A (en) * 2013-10-25 2017-06-20 美国亚德诺半导体公司 Dual-wire communications system and application
CN109993958A (en) * 2019-05-08 2019-07-09 深圳市共济科技股份有限公司 A kind of data collection system and method for RS485 bus
CN213069024U (en) * 2020-06-11 2021-04-27 宝雨控股有限公司 Multifunctional instrument of digital display power network
CN213690938U (en) * 2020-11-18 2021-07-13 杭州中沛电子有限公司 LORA changes NB-IOT's data collection station
CN114363109A (en) * 2022-01-05 2022-04-15 北京芯格诺微电子有限公司 Pulse width modulation single-wire bus communication method based on edge synchronization

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201060229Y (en) * 2007-05-09 2008-05-14 张少勇 Bus type digital instrument
CN106878125A (en) * 2013-10-25 2017-06-20 美国亚德诺半导体公司 Dual-wire communications system and application
CN106597917A (en) * 2016-11-02 2017-04-26 武汉智明力强光电系统有限公司 Intelligent industrial control instrument suitable for integrated signal management
CN109993958A (en) * 2019-05-08 2019-07-09 深圳市共济科技股份有限公司 A kind of data collection system and method for RS485 bus
CN213069024U (en) * 2020-06-11 2021-04-27 宝雨控股有限公司 Multifunctional instrument of digital display power network
CN213690938U (en) * 2020-11-18 2021-07-13 杭州中沛电子有限公司 LORA changes NB-IOT's data collection station
CN114363109A (en) * 2022-01-05 2022-04-15 北京芯格诺微电子有限公司 Pulse width modulation single-wire bus communication method based on edge synchronization

Also Published As

Publication number Publication date
CN115862181B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
CN204425298U (en) A kind of faint AC signal amplitude lock-in amplifier
CN107219402B (en) A kind of circuit for quick measurement of DC resistance for power module port
CN203706198U (en) PCB (printed circuit board) version number identification circuit and device
CN208506629U (en) A kind of power supply circuit based on far-end feedback
CN103605396B (en) Output current of converter treatment circuit and method
CN209961315U (en) Dynamic and static railroad track scale weighing instrument
CN209070006U (en) A kind of current sensor
CN107132167A (en) High precision two line system industrial dust detection means
CN104615030A (en) Portable function signal generator
WO2022247089A1 (en) Smart electricity meter terminal
CN203881815U (en) Simple high-precision DC electronic load
CN115862181B (en) Chain type communication display instrument group and chain type communication method thereof
CN105119587A (en) Magnetic loss automatic test platform and sinusoidal excitation signal source used by same
CN102539912B (en) Mains frequency detection method for load monitor
CN210776309U (en) Data acquisition device of intelligent home system
CN208188198U (en) New electric energy metering and equipment for monitoring power quality
CN207991999U (en) High precision two line system industrial dust detection device
CN202692936U (en) Rotation angle measuring device
CN2472151Y (en) Controller for tracking solar radiation
CN210776344U (en) Digital temperature control meter
CN204740578U (en) Automatic adjust mutual capacitive touch panel of response window width
CN212622765U (en) High-precision broadband digital display millivoltmeter based on STC89C52
CN204789728U (en) FPC alternating voltage detection circuitry and variable frequency air conditioner
CN211263652U (en) Line load and fault detection system based on STM32 singlechip
CN218915296U (en) Energy-saving controller of NB-IoT split air conditioner

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