CN105259841B - A kind of industrial many reference amounts data acquisition unit - Google Patents
A kind of industrial many reference amounts data acquisition unit Download PDFInfo
- Publication number
- CN105259841B CN105259841B CN201510764255.XA CN201510764255A CN105259841B CN 105259841 B CN105259841 B CN 105259841B CN 201510764255 A CN201510764255 A CN 201510764255A CN 105259841 B CN105259841 B CN 105259841B
- Authority
- CN
- China
- Prior art keywords
- pin
- electric capacity
- resistance
- module
- power supply
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24D—DOMESTIC- OR SPACE-HEATING SYSTEMS, e.g. CENTRAL HEATING SYSTEMS; DOMESTIC HOT-WATER SUPPLY SYSTEMS; ELEMENTS OR COMPONENTS THEREFOR
- F24D19/00—Details
- F24D19/10—Arrangement or mounting of control or safety devices
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2614—HVAC, heating, ventillation, climate control
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Thermal Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention discloses a kind of industrial many reference amounts data acquisition unit.The collector includes Signal-regulated kinase, AD conversion module, kernel control module, LCD MODULE, communication interface module and power module;Wherein Signal-regulated kinase is connected with AD conversion module, AD conversion module is connected with kernel control module, kernel control module is connected with LCD MODULE, communication interface module respectively, and power module is connected with Signal-regulated kinase, AD conversion module, kernel control module and communication interface module respectively.Compared with prior art, the beneficial effects of the invention are as follows, using 32 ARM chips STM32F103ZET6 based on Cotex M3 kernels as kernel control module, using 24 high precision analogue conversion chip AD7799 as AD conversion module, the data-handling capacity and acquisition precision of many reference amounts can greatly be improved, and it is simple in construction.
Description
Technical field
The present invention relates to data acquisition device, and in particular to a kind of industrial many reference amounts data acquisition unit.Especially suitable for
Central heating network monitors.
Background technology
Data acquisition is an indispensable part in modern project science and technology, and the data acquisition of high quality is to improving China
Sci-Tech Level is significant.With the continuous improvement of China's commercial production levels, the requirement to data acquisition unit
More and more higher, not only need to realize the collection to many reference amounts data, and to ensure the high accuracy of gatherer process.
At present, industry spot Multi-sensor Fusion parameter detecting is more and more applied, data acquisition on the market
Device is to realize single data acquisition function based on single-chip microcomputer design mostly, is limited to the computing capability of single-chip microcomputer, available data is adopted
Problems be present in storage:(1)Data-handling capacity does not reach the requirement of industry spot many reference amounts data acquisition;(2)Precision compared with
It is low, easily it is disturbed and causes the mistake of data to gather.
The content of the invention
The technical problem to be solved in the present invention is to overcome available data collector data-handling capacity insufficient, and precision is relatively low
The problem of, there is provided a kind of industrial many reference amounts data acquisition unit.
To solve technical problem, the present invention adopts the technical scheme that:A kind of industrial many reference amounts data acquisition unit, it is special
Sign is:Including Signal-regulated kinase, AD conversion module, kernel control module, LCD MODULE, communication interface module and electricity
Source module;Wherein Signal-regulated kinase is connected with AD conversion module, and AD conversion module is connected with kernel control module, core control
Module is connected with LCD MODULE, communication interface module respectively, power module respectively with Signal-regulated kinase, AD conversion mould
Block, kernel control module and communication interface module connection.
Compared with prior art, the invention has the advantages that using 32 ARM chips based on Cotex-M3 kernels
STM32F103ZET6 is as kernel control module, using 24 high precision analogue conversion chip AD7799 as AD conversion module,
The data-handling capacity and acquisition precision of many reference amounts can greatly be improved, and it is simple in construction.
Brief description of the drawings
Fig. 1 is the port assignment figure of the present invention;
Fig. 2 is the schematic block circuit diagram of the present invention;
Fig. 3 is the temperature collection circuit schematic diagram of one passage of Signal-regulated kinase in Fig. 2;
Fig. 4 is the pressure acquisition circuit theory diagrams of one passage of Signal-regulated kinase in Fig. 2;
Fig. 5 is the flow collection circuit theory diagrams of one passage of Signal-regulated kinase in Fig. 2;
Fig. 6 is one A/D convertor circuit schematic diagram of AD conversion module in Fig. 2;
Fig. 7 is the isolated form RS485 circuit theory diagrams of communication interface module in Fig. 2;
Fig. 8 is the power circuit principle figure of power module in Fig. 2;
Fig. 9 is collector control flow chart;
Figure 10 is the data acquisition flow figure of AD7799 modulus conversion chips in Fig. 1;
Figure 11 is the communication flow diagram of RS485 interface communications chip in Fig. 1.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described:
Reference picture 1, data acquisition unit port of the invention include four road pressure signal collection ports 1(P1-P4), power end
Mouth 2(DC24V), liquid crystal display window 3, four tunnel flow signal acquisition ports 4(S1-S4), six road temperature signal collection ports 5
(T1-T6), PORT COM 6(PLC).Pressure, flow, temperature signal collection port connection external sensor, six road temperature signals
Gather the external connection PT100 RTDs of port 5, inside connection three-wire system bridge for measuring temperature circuit;Pressure, the connection of flow collection port
4-20mA analog signal sensors, inside connection sampling resistor circuit;Liquid crystal display window display gathers each channel data
Real time data;Power port connects 24V dc sources and powered for the collector;PORT COM connection PLC carries out data exchange.
Reference picture 2, data acquisition unit of the invention include Signal-regulated kinase, AD conversion module, kernel control module, liquid
Brilliant display module, communication interface module and power module;Wherein Signal-regulated kinase is connected with AD conversion module, AD conversion module
It is connected with kernel control module, kernel control module is connected with LCD MODULE, communication interface module respectively, power module point
It is not connected with Signal-regulated kinase, AD conversion module, kernel control module and communication interface module.
The Signal-regulated kinase of the present invention includes the temperature collect module of six passages, the pressure acquisition module and four of four-way
The flow collection module three parts of passage, the temperature collection circuit of each passage of reference picture 3, wherein temperature collect module use
One model TL431ACLP controllable accurate source of stable pressure D10, model BAT54S Schottky diode D11, one
Model LM258D dual operational amplifier, respectively operational amplifier U11A, operational amplifier U11B, wherein controllable accurate are steady
Potential source D10 3 pin connect power supply VCC ends through resistance R10, while connect resistance R11, resistance R13 and resistance R14 one end, resistance
1 pin of the R11 other end and a resistance R12 termination controllable accurate source of stable pressure D10, resistance the R12 other end and controllable accurate
It is grounded after source of stable pressure D10 2 pin connection;Resistance R13 other end connection temperature sensor positive pole T1+, the resistance R14 other end
By resistance R15 jointing temp sensor negative pole T1-, while the resistance R13 other end is through resistance R16 concatenation operation amplifiers U11A
3 pin and resistance R18 one end, the resistance R14 other end is connected to operational amplifier U11A 2 pin and resistance R19 through resistance R17
One end, resistance R19 other end concatenation operation amplifier U11A 1 pin and resistance R190 one end, operational amplifier U11A
4 pin connection electric capacity C190 one end, while be connected with operational amplifier U11B 4 pin and be followed by power supply-VCC ends, with resistance R18
The other end connection after be grounded;The resistance R190 other end is connected with operational amplifier U11B 5 pin, while connects electric capacity again
It is grounded after C192, electric capacity C190 and resistance the R18 other end;Operational amplifier U11B 6 pin are through resistance R191 and electric capacity C191
One end connection after be grounded, the operational amplifier U11B 8 pin connection electric capacity C191 other end, while again and operational amplifier
U11A 8 pin connection is followed by power supply VCC ends;Operational amplifier U11B 6 pin through resistance R192 concatenation operation amplifiers U11B 7
Pin, while 3 pin of operational amplifier U11B 7 pin through resistance R193 connection Schottky diodes D11, while as the circuit
Output end T1, Schottky diode D11 2 pin connect power supply VCC ends, 1 pin ground connection.
The temperature collection circuit all the way of temperature collect module is by PT100 temperature sensors, resistance R13, resistance R14, resistance
R15 forms bridge circuit, and T1+ connects PT100 temperature sensor positive poles, and T1- connects PT100 temperature sensor negative poles, by TL431ACLP
Controllable accurate source of stable pressure D10 provides power supply, and TL431ACLP controllable accurate source of stable pressure D10 is by the double computings of two LM258 low-power consumption
Amplifier forms amplifying circuit, BAT54S Schottky diode D11 starting voltage clamping actions.
Reference picture 4, the pressure acquisition circuit of each passage of pressure acquisition module of the present invention use a model
BAT54S Schottky diode D81, model LM258D operational amplifier U80A, a two-way TVS diode
The voltage signal P1V of D80, wherein resistance R83 one end connection pressure sensor output, resistance R83 other end connection resistance
R80 and resistance R81 one end, then connect the current signal P1I of pressure sensor output, resistance R81 other end connection electricity
Hold C80 and two-way TVS diode D80 one end and operational amplifier U80A 3 pin, operational amplifier U80A 4 pin connect power supply-
VCC, while connect electric capacity C84 one end, operational amplifier U80A 2 pin through resistance R84 connection Schottky diodes D81 3
1 pin of pin and operational amplifier U80A, operational amplifier U80A 8 pin are connected with electric capacity C86 one end is followed by power supply VCC ends,
Electric capacity C86 other end ground connection, Schottky diode D81 2 pin connect power supply VCC ends, 1 pin ground connection, while operational amplifier
U80A 1 pin is connected through resistance R82 with electric capacity C82 one end, while as the output end P1 of the circuit, electric capacity C82, electric capacity
C84, two-way TVS diode D80, electric capacity C80 and resistance R80 other end connection after be grounded.
Pressure acquisition module is changed by the sampling resistor R80 4-20mA exported to pressure sensor, and P1V connects sensing
The voltage signal of device output, P1I connect the current signal of sensor output, and two-way TVS diode D80 can eliminate signal because of moment arteries and veins
Disturbed caused by punching, LM258 low-power consumption dual operational amplifiers U80A forms a voltage follower, BAT54S Schottky diodes
D81 starting voltage clamping actions.
Reference picture 5, the flow collection circuit of each passage of flow collection module of the invention use a model
BAT54S Schottky diode D121, two-way a TVS diode D120 and a model LM258D operational amplifier
The voltage signal S1V of U20A, wherein resistance R123 one end connection traffic sensor output, resistance R123 other end connection electricity
R121 and resistance R120 one end is hindered, then the current signal S1I of connection traffic sensor output, the resistance R121 other end connects
Connect electric capacity C120 and two-way TVS diode D120 one end and operational amplifier U20A 3 pin, operational amplifier U20A 2 pin
1 pin of 3 pin, operational amplifier U20A and resistance R122 one end through resistance R124 connection Schottky diodes D121, computing
Amplifier U20A 4 pin connection power supply-VCC ends and electric capacity C124 one end, operational amplifier U20A 8 pin connection power supply VCC
End, while be grounded through electric capacity C126, Schottky diode D121 2 pin connect power supply VCC ends, and 1 pin ground connection, resistance R122's is another
End is connected with electric capacity C122 one end, while as the output end S1 of the circuit, electric capacity C122, electric capacity C124, the poles of two-way TVS bis-
It is grounded after pipe D120, electric capacity C120 and resistance R120 other end connection.
The 4-20mA that flow collection module is exported by sampling resistor R120 flow sensors is changed, and S1V connects sensing
The voltage signal of device output, S1I connect the current signal of sensor output, and two-way TVS diode D120 can eliminate signal because of moment
The interference of pulses generation, LM258 low-power consumption dual operational amplifiers U20A form a voltage follower, the pole of BAT54S Schottky two
Pipe D121 starting voltage clamping actions.
The kernel control module of the present invention is made using 32 ARM chips STM32F103ZET6 based on Cotex-M3 kernels
For data processing core.
Reference picture 6, AD conversion module of the invention is using five model AD7799 modulus conversion chip, model
TLP281-1 photoelectrical coupler is with forming an A/D convertor circuit, the photoelectrical coupler of the circuit per a piece of modulus conversion chip
T8 1 pin connects 3.3V power supplys through resistance R718, and 2 pin connect ARM chips, 3 pin ground connection, and 2 pin of 4 pin and modulus conversion chip U70 connect
Connect, then connect power supply VCC ends through resistance R719, modulus conversion chip U70 4 pin, 6 pin, 8 pin are grounded after connecting, and 9 pin meet ARM
Chip, 13 pin connect electric capacity C702 and electric capacity C704 one end, and then one end with 14 pin, electric capacity C700 and electric capacity C701 is connected
It is followed by power supply VCC ends, electric capacity C701, electric capacity C700, electric capacity C704 and electric capacity the C702 other end are with modulus conversion chip U70's
It is grounded after 12 pin, 11 pin and the connection of 10 pin.
AD conversion module uses five 24 high precision analogue conversion chip AD7799, respectively to six road temperature signals, four
Road pressure signal, four road flow signals carry out analog-to-digital conversion.By taking a piece of modulus conversion chip AD7799 as an example, using photoelectric coupling
Device and modulus conversion chip AD7799 composition A/D convertor circuits, are needed for each modules such as+5V, -5V ,+3.3V by 24V Power converts
Power supply.
Reference picture 7, communication interface module of the invention use three model 6N137 photo-coupler, respectively optocoupler
Clutch U81, photo-coupler U82 and photo-coupler U83, with a piece of model 6LB184 RS485 interface communications chip composition every
Release RS485 circuits, the photo-coupler U81 of the circuit 8 pin connection electric capacity C180, resistance R183 one end are followed by 3.3V electricity
Source, photo-coupler U81 6 pin are connected with the resistance R183 other end is followed by ARM chips, photo-coupler U81 5 pin and electric capacity
It is grounded after C180 other end connection, 2 pin connect power supply VCC ends through resistance R180, and 3 pin are connected with communication chip U117 1 pin;
Photo-coupler U82 2 pin connect 3.3V power supplys through resistance R181, and 3 pin connect ARM chips, 8 pin connection electric capacity C181's and resistance R184
One end is followed by power supply VCC ends, and 5 pin are grounded after being connected with the electric capacity C181 other end, after 6 pin are connected with the resistance R184 other end
Connect communication chip U117 2 pin and 3 pin;Photo-coupler U83 2 pin connect 3.3V power supplys through resistance R182, and 3 pin connect ARM chips, and 8
Pin connection electric capacity C182 and resistance R185 one end is followed by power supply VCC ends, and 5 pin are grounded after being connected with the electric capacity C182 other end, and 6
Pin is connected 4 pin for being followed by communication chip U117 with the resistance R185 other end;Communication chip U117 8 pin and electric capacity C183 and electricity
Resistance R187 one end connection is followed by power supply VCC ends, electric capacity C183 other end ground connection, communication chip U117 7 pin and the connection of 5 pin
It is grounded after resistance R186, connecting resistance R188 behind the simultaneous communications chip U117 two-way TVS diode D150 of 7 pin connection one end
One end, communication chip U117 6 pin connection resistance R187 and two-way TVS diode D150 the other end after connecting resistance R189 one
End.
Communication interface module passes through High-Speed Coupled Device 6N137, DC-DC, RS485 interface communication chip with isolation
6LB184 forms isolated form RS485 circuits, eliminates common-mode voltage influences, realizes the isolation transmission of signal, two-way TVS diode
D150 can eliminate signal because of interference caused by momentary pulse.Communication interface module is that the RS485 based on MODBUS-RTU agreements is total
Line, it is connected with PLC.
Reference picture 8, power module of the invention use model LM2596SV-5 regulator U2, model
B0509S-2WR2 insulating power supply module U4, model B0509S-1WR2 insulating power supplies module U9, model B0505S-1WR2 every
From power module U7, model 1117M3 three terminal regulator U3, model MC78M05 three-terminal voltage-stabilizing module U5, model
MC79M05 three-terminal voltage-stabilizing modules U6 power circuit, the regulator U2 of the circuit 1 pin and electric capacity C01 positive pole
Connection is followed by 24V power supplys, and regulator U2 5 pin and 3 pin are connected with electric capacity C01 negative pole is followed by 24V power supply ground terminals,
Regulator U2 2 pin connection diode D01 negative pole and inductance L01 one end, diode D01 positive pole and electric capacity
C02 negative pole is connected, and regulator U2 4 pin are connected to after being connected with the positive pole of the inductance L01 other end and electric capacity C02
Electric capacity C015, electric capacity C028 and electric capacity C70 positive pole and three terminal regulator U3 3 pin, at the same electric capacity C015, electric capacity C028 and
Electric capacity C70 positive pole is respectively coupled to insulating power supply module U4 1 pin, insulating power supply module U9 2 pin and insulating power supply module U7
2 pin, electric capacity C015, electric capacity C028 and electric capacity C70 negative pole is respectively coupled to insulating power supply module U4 2 pin, insulating power supply mould
Block U9 1 pin and insulating power supply module U7 1 pin, at the same insulating power supply module U4 2 pin and insulating power supply module U9 1 pin and
Insulating power supply module U7 1 pin connects 24V power supply ground terminals respectively, insulating power supply module U4 6 pin and electric capacity C107, electric capacity C108 and
Three-terminal voltage-stabilizing module U5 1 pin, insulating power supply module U4 4 pin and electric capacity C107, electricity are connected to after electric capacity C109 one end connection
Hold 2 pin that three-terminal voltage-stabilizing module U5 is connected to after C108 connects with the electric capacity C109 other end, insulating power supply module U9 4 pin and electricity
Appearance C25, electric capacity C26 are connected to three-terminal voltage-stabilizing module U6 2 pin, insulating power supply module U9 3 pin after being connected with electric capacity C27 one end
Three-terminal voltage-stabilizing module U6 1 pin, while three-terminal voltage-stabilizing are connected to after being connected with electric capacity C25, electric capacity C26 and electric capacity the C27 other end
Module U5 2 pin are connected with three-terminal voltage-stabilizing module U6 2 pin, insulating power supply module U4 4 pin and insulating power supply module U9 4 pin
It is grounded, insulating power supply module U7 4 pin connection electric capacity C71 one end is followed by power supply VCC ends, insulating power supply module U7 4 pin
It is grounded after the connection electric capacity C71 other end, three terminal regulator U3 2 pin connection electric capacity C06, electric capacity C07, electric capacity C08 and electric capacity
C09 one end is followed by 3.3V power supplys, and three terminal regulator U3 1 pin connects electric capacity C06, electric capacity C07, electric capacity C08 and electric capacity C09
The other end is followed by 24V power supply ground terminals.
Power management module connection+24V dc sources, it is depressured to obtain+5V power supplys by LM2596 regulators,
Gained+5V power supplys are divided into the transmission of four tunnels.The first via+5V power supplys are through DC-DC insulating power supply module B0509S-2W acquisitions+9V electricity
Source, then through three-terminal voltage-stabilizing module MC78M05 acquisition+5V power supplys;Second tunnel+5V power supplys are through DC-DC insulating power supply modules B0509S-
1W acquisition+9V power supplys, then through three-terminal voltage-stabilizing module MC79M05 acquisition -5V power supplys;3rd tunnel+5V power supplys are through RS485 interfaces DC-
DC insulating power supply modules B0505S-1W obtains working power+5V needed for RS485 modules;4th tunnel+5V power supplys are through three terminal regulator
1117M3 obtains working power+3.3V needed for ARM chips STM32F103ZET6.
The LCD MODULE of the present invention uses model LCD12864 liquid crystal displays.
Flow chart of data processing of the present invention is as follows:Communication interface module connects PLC, uplink gathered data, down forwards
Acquisition instructions.Down forward instruction:The acquisition instructions from host computer are received, by kernel control module analysis instruction data and are opened
Dynamic data acquisition.Uplink transmission data:Industry spot multichannel external sensor signal is gathered, by signal respectively through each signal condition
Module is amplified, filtering process, is completed to change by AD conversion module AD7799, is sent into kernel control module
STM32F103ZET6 carries out multiple sensor data processing, and the data of collection are encapsulated.After the completion of processing, data are sent
LCD12864 is shown, while is uploaded to host computer according to MODBUS-RTU agreements through PORT COM RS485 buses.
Reference picture 9, flow of the invention are:Global interrupt is first shut off, to cpu clock, delay function, interruption, LED ends
Each functional modules such as mouth, LCD port, AD7799, MODBUS slave station parameter, serial ports and house dog are initialized, and are then turned on
Global interrupt, house dog timing is set, by AD7799 modulus conversion chip data acquisitions, the data of collection passed through
LCD12864 liquid crystal displays are shown, carry out RS484 communications.
Reference picture 10, AD7799 modulus conversion chips perform following steps:
Step 1 is by writing communication register, and write operation is to write configuration register next time for selection;
For step 2 by writing configuration register, it is unipolarity to set AD7799 modulus conversion chips, multiplication factor 8, is led to
Road is 0, prohibits the use of buffer, and constant-current source output enables;
Step 3 is by writing communication register, and write operation is WriteMode register next time for selection;
Step 4 selects low level earthed switch, operator scheme is arranged to continuous modulus of conversion by WriteMode register
Formula, conversion frequency 50HZ;
Step 5 judges zero degree calibration bits(/INT0)Whether it is 0;If zero degree calibration bits are 0, by writing communication register
Device, selection is next time read data register;If zero degree calibration bits are not 0, step 5 is continued executing with, program, which enters, to be waited,
Until detect that zero degree calibration bits are 0;
Step 6 detection data prepare whether carry-out bit RDY is 0;If it is 0 that data, which prepare carry-out bit RDY, judge to read
Whether number process malfunctions;If it is not 0 that data, which prepare carry-out bit RDY, step 6 is continued executing with, program, which enters, to be waited, until inspection
It is 0 to measure data to prepare carry-out bit RDY;
Step 7 judges whether reading process malfunctions;If reading process does not malfunction, data are read;If reading process
Error, then return to step two, reconfigure AD7799 modulus conversion chips.
Reference picture 11, RS485 interface communications chip perform following steps:
Step 1 initialization of (a) serial ports simultaneously open serial ports;
Step 2 judges whether communication test is correct;If communication test is correct, sends and instruct to slave;If communication is surveyed
Try incorrect, then return to step one, initializes to serial ports again;
Step 3 receives slave data;
Step 4 judges CRC check(That is CRC)It is whether correct;If CRC check is correct, judge that slave is
No return error code;If CRC check is incorrect, instruction is resend, continues executing with step 3;
If step 5 slaves do not return to error code, make normal processing;If slave returns to error code, make
Error handle.
Claims (9)
- A kind of 1. industrial many reference amounts data acquisition unit, it is characterised in that:Including Signal-regulated kinase, AD conversion module, core Control module, LCD MODULE, communication interface module and power module;Wherein Signal-regulated kinase connects with AD conversion module Connect, AD conversion module is connected with kernel control module, and kernel control module connects with LCD MODULE, communication interface module respectively Connect, power module is connected with Signal-regulated kinase, AD conversion module, kernel control module and communication interface module respectively;Described kernel control module uses 32 ARM chips STM32F103ZET6 based on Cotex-M3 kernels;Described communication interface module uses three model 6N137 photo-coupler, respectively photo-coupler U81, optical coupling Device U82 and photo-coupler U83, isolated form RS485 circuits are formed with a piece of model 6LB184 RS485 interface communications chip, The photo-coupler U81 of the circuit 8 pin connection electric capacity C180, resistance R183 one end are followed by 3.3V power supplys, photo-coupler U81's 6 pin are connected with the resistance R183 other end is followed by ARM chips, after photo-coupler U81 5 pin are connected with the electric capacity C180 other end Ground connection, 2 pin connect power supply VCC ends through resistance R180, and 3 pin are connected with communication chip U117 1 pin;Photo-coupler U82 2 pin warp Resistance R181 connects 3.3V power supplys, and 3 pin connect ARM chips, and 8 pin connection electric capacity C181 and resistance R184 one end is followed by power supply VCC ends, 5 pin are grounded after being connected with the electric capacity C181 other end, and 6 pin are connected with the resistance R184 other end and are followed by the 2 of communication chip U117 Pin and 3 pin;Photo-coupler U83 2 pin connect 3.3V power supplys through resistance R182, and 3 pin connect ARM chips, 8 pin connection electric capacity C182 and electricity Resistance R185 one end is followed by power supply VCC ends, and 5 pin are grounded after being connected with the electric capacity C182 other end, and 6 pin are another with resistance R185's End connection is followed by communication chip U117 4 pin;After communication chip U117 8 pin are connected with electric capacity C183 and resistance R187 one end Power supply VCC ends are connect, the electric capacity C183 other end is grounded, and is grounded after communication chip U117 7 pin and 5 pin connection resistance R186, together When communication chip U117 7 pin connect one end of connecting resistance R188 behind two-way TVS diode D150 one end, communication chip U117 6 pin connection resistance R187 and two-way TVS diode D150 the other end after connecting resistance R189 one end.
- A kind of 2. industrial many reference amounts data acquisition unit according to claim 1, it is characterised in that:The signal condition mould Block includes temperature collect module, the pressure acquisition module of four-way and the flow collection module three parts of four-way of six passages, Wherein the temperature collection circuit of each passage of temperature collect module uses model TL431ACLP controllable accurate voltage stabilizing Source D10, model BAT54S Schottky diode D11, model LM258D dual operational amplifier, it is respectively Operational amplifier U11A, operational amplifier U11B, wherein controllable accurate source of stable pressure D10 3 pin connect power supply VCC ends through resistance R10, Resistance R11, resistance R13 and resistance R14 one end, the resistance R11 other end and a resistance R12 controllable essence of termination are connected simultaneously Close source of stable pressure D10 1 pin, the resistance R12 other end are grounded after being connected with controllable accurate source of stable pressure D10 2 pin;Resistance R13's Other end connection temperature sensor positive pole T1+, the resistance R14 other end is by resistance R15 jointing temp sensor negative pole T1-, together When resistance R13 3 pin and resistance R18 of the other end through resistance R16 concatenation operation amplifiers U11A one end, resistance R14's is another One end is connected to operational amplifier U11A 2 pin through resistance R17 and resistance R19 one end, resistance R19 other end concatenation operation are put Big device U11A 1 pin and resistance R190 one end, operational amplifier U11A 4 pin connection electric capacity C190 one end, while with fortune The 4 pin connection for calculating amplifier U11B is followed by power supply-VCC ends, is grounded after being connected with the resistance R18 other end;Resistance R190's is another One end is connected with operational amplifier U11B 5 pin, while again after connection electric capacity C192, electric capacity C190 and resistance the R18 other end Ground connection;Operational amplifier U11B 6 pin are grounded after resistance R191 is connected with electric capacity C191 one end, operational amplifier U11B's The 8 pin connection electric capacity C191 other end, while be connected again with operational amplifier U11A 8 pin and be followed by power supply VCC ends;Operation amplifier 7 pin of device U11B 6 pin through resistance R192 concatenation operation amplifiers U11B, while operational amplifier U11B 7 pin are through resistance R193 connection Schottky diodes D11 3 pin, while connect as the output end T1 of the circuit, Schottky diode D11 2 pin Power supply VCC ends, 1 pin ground connection.
- A kind of 3. industrial many reference amounts data acquisition unit according to claim 2, it is characterised in that:The pressure acquisition mould The pressure acquisition circuit of each passage of block is using model BAT54S Schottky diode D81, a model LM258D operational amplifier U80A, a two-way TVS diode D80, wherein resistance R83 one end connection pressure sensor are defeated The voltage signal P1V gone out, resistance R83 other end connection resistance R80 and resistance R81 one end, then connect pressure sensor The current signal P1I of output, resistance R81 other end connection electric capacity C80 and two-way TVS diode D80 one end and computing are put Big device U80A 3 pin, operational amplifier U80A 4 pin meet power supply-VCC, while connect electric capacity C84 one end, operational amplifier 1 pin of 3 pin and operational amplifier U80A of U80A 2 pin through resistance R84 connection Schottky diodes D81, operational amplifier U80A 8 pin are connected with electric capacity C86 one end is followed by power supply VCC ends, electric capacity C86 other end ground connection, Schottky diode D81 2 pin connect power supply VCC ends, 1 pin ground connection, while operational amplifier U80A 1 pin is connected through resistance R82 with electric capacity C82 one end, Output end P1 as the circuit simultaneously, electric capacity C82, electric capacity C84, two-way TVS diode D80, electric capacity C80 and resistance R80 It is grounded after other end connection.
- A kind of 4. industrial many reference amounts data acquisition unit according to claim 2, it is characterised in that:The flow collection mould The flow collection circuit of each passage of block uses model BAT54S Schottky diode D121, a two-way TVS Diode D120 and a model LM258D operational amplifier U20A, wherein resistance R123 one end connection traffic sensor The voltage signal S1V of output, resistance the R123 other end connect resistance R121 and resistance R120 one end, and then connection traffic passes Sensor output current signal S1I, resistance R121 the other end connection electric capacity C120 and two-way TVS diode D120 one end and Operational amplifier U20A 3 pin, 3 pin of operational amplifier U20A 2 pin through resistance R124 connection Schottky diodes D121, fortune Calculate amplifier U20A 1 pin and resistance R122 one end, operational amplifier U20A 4 pin connection power supply-VCC ends and electric capacity C124 One end, operational amplifier U20A 8 pin connection power supply VCC ends, while be grounded through electric capacity C126, Schottky diode D121's 2 pin connect power supply VCC ends, 1 pin ground connection, and the resistance R122 other end is connected with electric capacity C122 one end, while as the circuit Output end S1, electric capacity C122, electric capacity C124, two-way TVS diode D120, electric capacity C120 and resistance R120 other end connection after Ground connection.
- A kind of 5. industrial many reference amounts data acquisition unit according to claim 1, it is characterised in that:AD conversion module uses Five model AD7799 modulus conversion chip, model TLP281-1 photoelectrical coupler and every a piece of modulus conversion chip An A/D convertor circuit is formed, the photoelectrical coupler T8 of the circuit 1 pin connects 3.3V power supplys through resistance R718, and 2 pin connect ARM cores Piece, 3 pin ground connection, 4 pin are connected with modulus conversion chip U70 2 pin, then connect power supply VCC ends, analog-to-digital conversion core through resistance R719 Piece U70 4 pin, 6 pin, 8 pin are grounded after connecting, and 9 pin connect ARM chips, and 13 pin connect electric capacity C702 and electric capacity C704 one end, so It is connected afterwards with one end of 14 pin, electric capacity C700 and electric capacity C701 and is followed by power supply VCC ends, electric capacity C701, electric capacity C700, electric capacity C704 It is grounded after being connected with the electric capacity C702 other end with modulus conversion chip U70 12 pin, 11 pin and 10 pin.
- A kind of 6. industrial many reference amounts data acquisition unit according to claim 1, it is characterised in that:Power module uses type Number it is LM2596SV-5 regulator U2, model B0509S-2WR2 insulating power supplies module U4, model B0509S- 1WR2 insulating power supply module U9, model B0505S-1WR2 insulating power supply module U7, model 1117M3 three terminal regulator U3, Model MC78M05 three-terminal voltage-stabilizing module U5, model MC79M05 three-terminal voltage-stabilizing modules U6 power circuit, the circuit are opened Pass voltage regulator U2 1 pin is connected with electric capacity C01 positive pole is followed by 24V power supplys, regulator U2 5 pin and 3 pin Be connected with electric capacity C01 negative pole and be followed by 24V power supply ground terminals, regulator U2 2 pin connection diode D01 negative pole and Inductance L01 one end, diode D01 positive pole are connected with electric capacity C02 negative pole, regulator U2 4 pin and inductance Electric capacity C015, electric capacity C028 and electric capacity C70 positive pole and three ends are connected to after the positive pole connection of the L01 other end and electric capacity C02 Voltage-stablizer U3 3 pin, while electric capacity C015, electric capacity C028 and electric capacity C70 positive pole are respectively coupled to the 1 of insulating power supply module U4 2 pin of pin, insulating power supply module U9 2 pin and insulating power supply module U7, electric capacity C015, electric capacity C028 and electric capacity C70 negative pole 1 pin of insulating power supply module U4 2 pin, insulating power supply module U9 1 pin and insulating power supply module U7 is respectively coupled to, is isolated simultaneously Power module U4 2 pin and insulating power supply module U9 1 pin and insulating power supply module U7 1 pin connect 24V power supply ground terminals respectively, every 6 pin from power module U4 are connected to three-terminal voltage-stabilizing module U5 after being connected with electric capacity C107, electric capacity C108 and electric capacity C109 one end 1 pin, insulating power supply module U4 4 pin are connected to three ends after being connected with electric capacity C107, electric capacity C108 and electric capacity the C109 other end Voltage stabilizing module U5 2 pin, insulating power supply module U9 4 pin are connected to after being connected with electric capacity C25, electric capacity C26 and electric capacity C27 one end Three-terminal voltage-stabilizing module U6 2 pin, insulating power supply module U9 3 pin are connected with electric capacity C25, electric capacity C26 and electric capacity the C27 other end Three-terminal voltage-stabilizing module U6 1 pin is connected to afterwards, while three-terminal voltage-stabilizing module U5 2 pin are connected with three-terminal voltage-stabilizing module U6 2 pin, every 4 pin of 4 pin and insulating power supply module U9 from power module U4 are grounded, insulating power supply module U7 4 pin connection electric capacity C71's One end is followed by power supply VCC ends, being grounded after the insulating power supply module U7 4 pin connection electric capacity C71 other end, three terminal regulator U3's One end that 2 pin connect electric capacity C06, electric capacity C07, electric capacity C08 and electric capacity C09 is followed by 3.3V power supplys, and three terminal regulator U3 1 pin connects The other end for meeting electric capacity C06, electric capacity C07, electric capacity C08 and electric capacity C09 is followed by 24V power supply ground terminals.
- A kind of 7. industrial many reference amounts data acquisition unit according to claim 1, it is characterised in that:LCD MODULE is adopted With model LCD12864 liquid crystal displays.
- A kind of 8. industrial many reference amounts data acquisition unit according to claim 5, it is characterised in that:AD7799 analog-to-digital conversions Chip performs following steps:Step 1 is by writing communication register, and write operation is to write configuration register next time for selection;Step 2 is by writing configuration register, and it is unipolarity to set AD7799 modulus conversion chips, multiplication factor 8, and passage is 0, buffer is prohibitted the use of, constant-current source output enables;Step 3 is by writing communication register, and write operation is WriteMode register next time for selection;Step 4 selects low level earthed switch, operator scheme is arranged to continuous translative mode, turns by WriteMode register It is 50HZ to change frequency;Step 5 judges whether zero degree calibration bits are 0;If zero degree calibration bits are 0, by writing communication register, select next Secondary is read data register;If zero degree calibration bits are not 0, step 5 is continued executing with, program, which enters, to be waited, until detecting zero It is 0 to spend calibration bits;Step 6 detection data prepare whether carry-out bit RDY is 0;If it is 0 that data, which prepare carry-out bit RDY, reading mistake is judged Whether journey malfunctions;If it is not 0 that data, which prepare carry-out bit RDY, step 6 is continued executing with, program, which enters, to be waited, until detecting It is 0 that data, which prepare carry-out bit RDY,;Step 7 judges whether reading process malfunctions;If reading process does not malfunction, data are read;If reading process malfunctions, Then return to step two, reconfigure AD7799 modulus conversion chips.
- A kind of 9. industrial many reference amounts data acquisition unit according to claim 1, it is characterised in that:RS485 interface communications Chip performs following steps:Step 1 initialization of (a) serial ports simultaneously open serial ports;Step 2 judges whether communication test is correct;If communication test is correct, sends and instruct to slave;If communication test is not Correctly, then return to step one, initializes to serial ports again;Step 3 receives slave data;Step 4 judges whether CRC check is correct;If CRC check is correct, judge whether slave returns to error code;If CRC Verify incorrect, then resend instruction, continue executing with step 3;If step 5 slaves do not return to error code, make normal processing;If slave returns to error code, make mistake Processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510764255.XA CN105259841B (en) | 2015-11-11 | 2015-11-11 | A kind of industrial many reference amounts data acquisition unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510764255.XA CN105259841B (en) | 2015-11-11 | 2015-11-11 | A kind of industrial many reference amounts data acquisition unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105259841A CN105259841A (en) | 2016-01-20 |
CN105259841B true CN105259841B (en) | 2018-03-30 |
Family
ID=55099581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510764255.XA Expired - Fee Related CN105259841B (en) | 2015-11-11 | 2015-11-11 | A kind of industrial many reference amounts data acquisition unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105259841B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106325170A (en) * | 2016-10-21 | 2017-01-11 | 深圳市艾而特工业自动化设备有限公司 | Servo tightening control system |
CN106527301A (en) * | 2016-12-30 | 2017-03-22 | 河北省电力建设调整试验所 | Portable data acquisition and analysis instrument |
CN109412542B (en) * | 2018-12-10 | 2022-11-04 | 中国航发南方工业有限公司 | Pressure signal conditioning circuit and electronic controller |
CN113162221B (en) * | 2021-05-10 | 2022-10-14 | 上海西隆电力科技有限公司 | Power supply signal separator, acoustic emission signal acquisition and separation system and method |
CN114115181A (en) * | 2021-11-12 | 2022-03-01 | 天津航空机电有限公司 | Voltage acquisition circuit of solid-state power controller |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002268728A (en) * | 2001-03-08 | 2002-09-20 | Yamatake Sangyo Systems Co Ltd | Synchronization diagnosing and monitoring system and its device and its program |
CN1527561A (en) * | 2003-09-22 | 2004-09-08 | 中兴通讯股份有限公司 | RS-485 multipoint communication method |
CN101581295A (en) * | 2009-06-22 | 2009-11-18 | 北京航空航天大学 | Airborne hydraulic pump source fault diagnosis system based on DSP |
CN205121266U (en) * | 2015-11-11 | 2016-03-30 | 天津市鑫鼎源科技发展有限公司 | Industrial many reference amounts data collection station |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6788994B2 (en) * | 2002-06-10 | 2004-09-07 | Mori Seiki Co., Ltd. | Operation data accumulation and transmission device, operation management device, and operation management system |
-
2015
- 2015-11-11 CN CN201510764255.XA patent/CN105259841B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002268728A (en) * | 2001-03-08 | 2002-09-20 | Yamatake Sangyo Systems Co Ltd | Synchronization diagnosing and monitoring system and its device and its program |
CN1527561A (en) * | 2003-09-22 | 2004-09-08 | 中兴通讯股份有限公司 | RS-485 multipoint communication method |
CN101581295A (en) * | 2009-06-22 | 2009-11-18 | 北京航空航天大学 | Airborne hydraulic pump source fault diagnosis system based on DSP |
CN205121266U (en) * | 2015-11-11 | 2016-03-30 | 天津市鑫鼎源科技发展有限公司 | Industrial many reference amounts data collection station |
Also Published As
Publication number | Publication date |
---|---|
CN105259841A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105259841B (en) | A kind of industrial many reference amounts data acquisition unit | |
CN203981869U (en) | Based on FlexRay bus electric energy Watch Error detection system | |
CN205121266U (en) | Industrial many reference amounts data collection station | |
CN106094630A (en) | A kind of rail vehicle debugging signal automatic acquisition device | |
CN204155436U (en) | A kind of wireless sensing node for civil structure health monitoring | |
CN201530833U (en) | Digital water temperature difference real-time distributed measuring device on blast furnace cooling wall | |
CN202886003U (en) | Intelligent multichannel temperature collection instrument | |
CN202974509U (en) | Thermocouple online verification and calibration system | |
CN202904042U (en) | Solar cell matrix environmental data acquisition unit | |
CN211181045U (en) | Wisdom agricultural is with multi-functional temperature and humidity sensor | |
CN201885822U (en) | Acquisition module for configurable thermal resistance | |
CN204242168U (en) | A kind of calculating blade administration module based on RS485 bus | |
CN203759084U (en) | Multi-communication mode electric power meter | |
CN202974475U (en) | Storage battery temperature measuring equipment | |
CN201319135Y (en) | System architecture based on FPGA for industrial composite signal acquiring equipment | |
CN107064679A (en) | New Electric Quality Monitoring and monitoring method | |
CN203870788U (en) | Heat data acquisition device based on MBUS bus | |
CN104570811A (en) | Multifunctional wireless acquisition controller | |
CN203053406U (en) | RS-485 bus-based laser displacement sensing device | |
CN202649813U (en) | Intelligent detecting system of main transformer oil temperature and winding temperature controllers | |
CN206906472U (en) | A kind of high accuracy number current measurement module | |
CN205209560U (en) | No line type low -power consumption flow sensor | |
CN202083554U (en) | Multi-path temperature pressure on-line monitoring system | |
CN105403355B (en) | A kind of high-precision vacuum tube vacuum-degree tester and method of testing | |
CN220207838U (en) | Three-component data measuring device for magnetic field in three-dimensional space |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180330 Termination date: 20211111 |