CN209372040U - Data collection station based on STM8L series - Google Patents

Data collection station based on STM8L series Download PDF

Info

Publication number
CN209372040U
CN209372040U CN201821975807.7U CN201821975807U CN209372040U CN 209372040 U CN209372040 U CN 209372040U CN 201821975807 U CN201821975807 U CN 201821975807U CN 209372040 U CN209372040 U CN 209372040U
Authority
CN
China
Prior art keywords
connect
cpu
data collection
collection station
external equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201821975807.7U
Other languages
Chinese (zh)
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.)
Sichuan Zhongke Chuan Xin Technology Co Ltd
Original Assignee
Sichuan Zhongke Chuan Xin Technology 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 Sichuan Zhongke Chuan Xin Technology Co Ltd filed Critical Sichuan Zhongke Chuan Xin Technology Co Ltd
Priority to CN201821975807.7U priority Critical patent/CN209372040U/en
Application granted granted Critical
Publication of CN209372040U publication Critical patent/CN209372040U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model discloses the data collection stations based on STM8L series, collector is connect with AD conversion input terminal, AD conversion output end is connect with the CPU, warning circuit input terminal is connect with CPU, and warning circuit output end is connect with alarm, and power supply unit is connect with CPU, storage unit is connect with CPU, local host is communicated to connect by SWIM interface and CPU, and external equipment and CPU are communicated to connect, and also device is connect external equipment with the remote host by wireless communication.The utility model has the beneficial effects that structure is simple, perfect in shape and function, terminal is using low-power chip STM8L series, acquisition analog voltage input is converted by high-precision AD, and communicated by RS-485 serial ports, remote transmission is realized, when being not turned on alarm, power consumption maximum 0.1W, meets low power dissipation design when terminal works.

Description

Data collection station based on STM8L series
Technical field
The utility model belongs to field of communication technology, and in particular to the data collection station based on STM8L series.
Background technique
Data collection station mainly application with it is explosion-proof and have the site environments such as power supply, data collection station makes to pass through sensor Current information is acquired, is handled by terminal signaling, it is that user can be made really to allow equipment real-time online, checks number convenient for user According to the situation with observation scene.
Current data collection station function is relatively simple, and power consumption is larger, lacks the protection circuit to terminal itself.
Utility model content
To overcome technological deficiency of the existing technology, the utility model discloses the data acquisitions based on STM8L series Terminal, structure is simple, perfect in shape and function, and terminal realizes low power dissipation design using low-power chip STM8L series.
Technical solution adopted by the utility model to solve its technical problems is the data based on STM8L series to acquire eventually End, including power supply unit, CPU, storage unit, local host, remote host, wireless communication device, external equipment, alarm electricity Road, alarm, AD conversion and collector;
Collector is connect with AD conversion input terminal, and AD conversion output end is connect with the CPU, warning circuit input terminal with CPU connection, warning circuit output end are connect with alarm, and power supply unit is connect with CPU, and storage unit is connect with CPU, this landlord Machine is communicated to connect by SWIM interface and CPU, and external equipment and CPU are communicated to connect, external equipment also device by wireless communication It is connect with the remote host.
Preferably, CPU is connect by RS-485 interface with external equipment.
Preferably, CPU is connect by I2C bus with AD conversion output end.
Preferably, the collector is crack probe.
Preferably, the model STM8L051 of the CPU.
It preferably, further include power conversion module, power supply unit includes mains adapter and battery, mains adapter and electricity Chi Jun is connect by power conversion module with CPU.
Preferably, the RS-485 interface is provided with interface protective circuit.
Preferably, external equipment takes MODBUS interface to be communicated with CPU.
The utility model has the beneficial effects that structure is simple, perfect in shape and function, terminal is serial using low-power chip STM8L, The analog voltage input for acquiring external 0V-5V is converted by high-precision AD, and is communicated by RS-485 serial ports, realizes long distance From transmission, when being not turned on alarm, power consumption maximum 0.1W when terminal works meets low power dissipation design;The terminal has interface guarantor Protection circuit, machine system safety and stability.
Detailed description of the invention
Fig. 1 is a kind of specific embodiment schematic illustration of the utility model.
Fig. 2 is another specific embodiment schematic illustration of the utility model.
Fig. 3 is a kind of specific embodiment schematic illustration of power supply unit described in the utility model.
Fig. 4 is a kind of specific embodiment schematic illustration of warning circuit described in the utility model.
Fig. 5 is a kind of specific embodiment schematic illustration of amplifying circuit described in the utility model.
Fig. 6 is a kind of specific embodiment schematic illustration of interface protective circuit described in the utility model.
Appended drawing reference: the first chip of U1-, the second chip of U2-, R1- first resistor, R2- second resistance, R3- third electricity Resistance, the 4th resistance of R4-, the 5th resistance of R5-, the 6th resistance of R6-, the 7th resistance of R7-, the 8th resistance of R8-, the 9th resistance of R9-, The tenth resistance of R10-, R11- eleventh resistor, R12- twelfth resistor, R13- thirteenth resistor, the 14th resistance of R14-, R15- 15th resistance, the 16th resistance of R16-, F1- fuse one, F2- fuse two, C1- first capacitor, the second capacitor of C2-, C3- Third capacitor, the 4th capacitor of C4-, the 5th capacitor of C5-, the breakdown pipe of D1- first, the breakdown pipe of D2- second, D3- third breakdown pipe, The breakdown pipe of D4- the 4th, the breakdown pipe of D5- the 5th, the breakdown pipe of D6- the 6th, the breakdown pipe of D7- the 7th, the breakdown pipe of D8- the 8th, D9- the 9th Breakdown pipe, the first NPN triode of Q1-, the second NPN triode of Q2-, Q3-PMOS pipe, the first PNP triode of Q4-, L1- inductance, The first supply voltage of VCC1-, the second supply voltage of VCC2-.
Specific embodiment
More detailed description is done to the embodiments of the present invention below in conjunction with attached drawing and appended drawing reference, makes to be familiar with ability The technology people in domain can implement accordingly after studying this specification carefully.It should be appreciated that specific embodiment described herein is only to solve The utility model is released, is not used to limit the utility model.
In the description of the present invention, it should be noted that the orientation of the instructions such as term " on ", "horizontal", "inner" or Positional relationship is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of describing the present invention and simplifying the description, Rather than the device or element of indication or suggestion meaning must have a particular orientation, be constructed and operated in a specific orientation, because This should not be understood as limiting the present invention.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " is pacified Dress ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in utility model.
Embodiment: referring to attached drawing 1, the attached data collection station shown in Fig. 2 based on STM8L series, including power supply unit, CPU, storage unit, local host, remote host, wireless communication device, external equipment, warning circuit, alarm, AD conversion and Collector;
Collector is connect with AD conversion input terminal, and AD conversion output end is connect with the CPU, warning circuit input terminal with CPU connection, warning circuit output end are connect with alarm, and power supply unit is connect with CPU, and storage unit is connect with CPU, this landlord Machine is communicated to connect by SWIM interface and CPU, and external equipment and CPU are communicated to connect, external equipment also device by wireless communication It is connect with the remote host.
In the present embodiment, the analog voltage input for acquiring external 0V-5V is converted by high-precision AD, and pass through RS-485 and go here and there It mouthful is communicated, realizes remote transmission, when being not turned on alarm, power consumption is only 0.1W when terminal works, meets low-power consumption and sets Meter.
Terminal is serial using low-power chip STM8L, and the model STM8L051 of CPU in the present embodiment, local host is used In debugging and program downloading, CPU controls AD conversion and realizes analog-to-digital conversion to the signal that collector acquires, and CPU passes through I2C interface The data of collector acquisition are read out and are stored, wherein storage is completed by storage unit, and CPU acquires the value of crack probe, When being more than alarm threshold value, CPU exports high level to warning circuit, and warning circuit controls alarm and starts to work.
CPU connects external equipment by RS-485 interface, and device connects remote host to the external equipment by wireless communication, After external equipment and remote host successful connection, CPU can in this way by data transmit can remote host, and can be with Remote host carries out data interaction, realizes that monitoring center is implemented to grasp various regions detection data with this, shifts to an earlier date after accomplishing data analysis Early warning.Wherein, wireless communication device can be the communications such as GPRS, GPS.
Power supply unit is CPU power supply, and the present apparatus takes the power supply mode of dual power supply, i.e. mains adapter and battery, alternating current Adapter is the direct current that alternating current is converted to terminal and can be used directly, if two power supplys one of them break down, it is another A to be used as backup power source for used in terminal, general battery is as backup power source, if power down failure occurs for alternating current, reserve battery will be CPU power supply, power conversion module are used for the power supply source of CPU switching.
I2C bus is a kind of simple, the bidirectional two-line synchronous serial bus developed by Philips company.It is only needed Both threads can transmit information between the device being connected in bus;SWIM interface only needs a transmission line, can be completed Two-way transmission;RS-485 interface is electrical standard coffret, can be in remote item using the digital communications network of the standard Effectively transmitted signal, RS-485 interface are provided with interface protective circuit, interface protection under part and under environment that electronic noise is big Circuit can effectively avoid the interference of electrostatic and radiation to terminal;MODBUS interface is completed by MODBUS agreement, MODBUS association View is a kind of serial communication protocol, is Modicon company (present Schneider Electric Devices Schneider Electric) in 1979 Year is delivered to be communicated using programmable logic controller (PLC).MODBUS agreement has become the industry mark of industrial circle communication protocol Standard, and be common connection type between industrial electrical equipment now.
Wherein, AD conversion only needs on a small quantity using TI-16 ADS111X series of high speed acquisition chips, the family chip Basic passive circuit can work normally, and the chip uses small package SMT technique, maximum can save onboard area, Route is simple and reliable.It is directed to the part AD Acquisition Circuit in design, digital circuit interference is fundamentally isolated from hardware circuit, and remote The high EMC performance device such as off-frequency rate switching device and inductance.
As shown in Fig. 3, which indicates a kind of specific embodiment of power supply unit, and power supply unit takes dual power supply Power supply mode, the power supply output of power supply unit are two voltage values, and one is the first supply voltage VCC1, and one is 3.3V direct current Voltage, 3.3V DC voltage is by the second chip U2 reduced output voltage, wherein the second chip U2 takes switch chip XL15 series to set Meter, the chip pin decide through consultation justice by producing the chip factory, and third breakdown pipe D3 avoids the input voltage of power supply unit excessively high, the 4th Breakdown pipe D4 avoids input voltage reverse connection, and the tenth resistance R10 is current-limiting resistance, inductance L1, the 5th breakdown pipe D5 and the second chip U2 collectively forms basic BUCK reduction voltage circuit, and switch buck efficiency avoids the second chip U2 from losing in 95% or so, the 6th breakdown pipe D6 Effect burns back end device, and its pressure stabilizing value is 5V, and the voltage value after the second chip U2 decompression is 3.3V, and the second chip U2 is It is depressured chip, the model XL-1509 used.
As shown in Fig. 4, which indicates a kind of specific embodiment of warning circuit, the power supply of the warning circuit by First supply voltage VCC1 is provided, which realizes in such a way that field-effect tube drives metal-oxide-semiconductor, and second resistance R2 is to alarm electricity Stream carries out current limliting, avoids the excessive faiture alarm device of alarm current, and microprocessor exports control instruction to the first NPN triode Q1 base Pole, if microprocessor exports high level, the conducting of the first NPN triode Q1, the first NPN triode Q1 collector level, which is pulled low, is led The first PNP triode Q4 is caused to be connected, so that PMOS tube Q3 be made to be connected, alarm receives alarm current, issues alarm.
As shown in Fig. 5, which indicates a kind of specific embodiment of amplifying circuit, and the amplifying circuit is for acquiring Device acquires the amplification of signal, since acquisition signal is popped one's head in as small-signal in crack, is conducive to after amplifying circuit amplifies Detection accuracy is improved, discharge circuit input terminal is connect with collector output end, which is amplified using triode, the 9th electricity The multiple that R9 and the second NPN triode Q2 determines amplifying circuit is hindered, the first breakdown pipe D1 and the second breakdown pipe D2 protect the 2nd NPN Triode Q2 avoids overtension and negative voltage occurs, and amplified voltage signal transports to AD conversion through the second NPN triode Q2 The voltage of input terminal, amplifying circuit is provided by the second supply voltage VCC2.
As shown in Fig. 6, which is a kind of specific embodiment of the interface protective circuit of RS-485 interface, fuse One F1 and two F2 of fuse avoids signal input is excessive late-class circuit is caused to damage, when the electric current of signal input is excessive, insurance One F1 of silk and two F2 fuse protection late-class circuit of fuse, the 7th breakdown pipe D7, the 8th breakdown pipe D8 and the 9th breakdown pipe D9 are equal For both-end voltage-stabiliser tube, the first chip U1 is protected to be entered abnormal potential.Wherein, the first chip U1 is RS-485 interface chip, and The model SP3485 of first chip U1, the chip have the characteristics that low in energy consumption.
The above content is the further descriptions made in conjunction with specific preferred embodiment to the utility model, cannot recognize Determine specific embodiment of the present utility model to be only limited to these instructions.For the common skill of the utility model technical field For art personnel, the other embodiments obtained in the case where not departing from the technical solution of the utility model be should be included in practical In novel protection scope.

Claims (8)

1. the data collection station based on STM8L series, it is characterised in that: including power supply unit, CPU, storage unit, this landlord Machine, remote host, wireless communication device, external equipment, warning circuit, alarm, AD conversion and collector;
Collector is connect with AD conversion input terminal, and AD conversion output end is connect with the CPU, and warning circuit input terminal and CPU connect It connects, warning circuit output end is connect with alarm, and power supply unit is connect with CPU, and storage unit is connect with CPU, and local host is logical It crosses SWIM interface and CPU to communicate to connect, external equipment and CPU are communicated to connect, external equipment also device and institute by wireless communication State remote host connection.
2. the data collection station as described in claim 1 based on STM8L series, it is characterised in that: CPU is connect by RS-485 Mouth is connect with external equipment.
3. the data collection station as described in claim 1 based on STM8L series, it is characterised in that: CPU passes through I2C bus It is connect with AD conversion output end.
4. the data collection station as described in claim 1 based on STM8L series, it is characterised in that: the collector is to split Seam probe.
5. the data collection station as described in claim 1 based on STM8L series, it is characterised in that: the model of the CPU STM8L051。
6. the data collection station as described in claim 1 based on STM8L series, it is characterised in that: further include power supply conversion Module, power supply unit include mains adapter and battery, and mains adapter and battery pass through power conversion module and CPU connects It connects.
7. the data collection station as claimed in claim 2 based on STM8L series, it is characterised in that: the RS-485 interface It is provided with interface protective circuit.
8. the data collection station as claimed in claim 2 based on STM8L series, it is characterised in that: external equipment is taken MODBUS interface is communicated with CPU.
CN201821975807.7U 2018-11-28 2018-11-28 Data collection station based on STM8L series Active CN209372040U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821975807.7U CN209372040U (en) 2018-11-28 2018-11-28 Data collection station based on STM8L series

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821975807.7U CN209372040U (en) 2018-11-28 2018-11-28 Data collection station based on STM8L series

Publications (1)

Publication Number Publication Date
CN209372040U true CN209372040U (en) 2019-09-10

Family

ID=67834391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821975807.7U Active CN209372040U (en) 2018-11-28 2018-11-28 Data collection station based on STM8L series

Country Status (1)

Country Link
CN (1) CN209372040U (en)

Similar Documents

Publication Publication Date Title
CN204188728U (en) A kind of substation transformer fuse load factor prediction unit
CN209372040U (en) Data collection station based on STM8L series
CN209311606U (en) A kind of multifunctional electric meter
WO2017152316A1 (en) Power measurement device employing power carrier technology
CN201616016U (en) Automatic protection and intelligent monitor of water source well
CN218733305U (en) Wireless charging device
CN205038257U (en) Electric alternating current that asks for keeps apart changer
CN208939661U (en) A kind of power supply box monitoring system
CN210864387U (en) Automobile generator control system based on single chip microcomputer
CN203690936U (en) Carrier communication composite switch
CN203643552U (en) Digital fault indicator for power distribution network
CN210328092U (en) Electric quantity and dimming control two-in-one circuit
CN110267417B (en) Explosion-proof loop control device and explosion-proof lamp
CN209372858U (en) A kind of crack integration simplified collection alarm terminal
CN208125825U (en) Wireless telemetering phase checking device
CN108132426B (en) Alarm detector for broken line of current transformer
CN110247479A (en) Line feed terminals line loss device and its data processing method
CN205537811U (en) Wireless water gauge adapter of safe type of essence based on WIA -PA industry wireless network
CN109884575A (en) A kind of single-phase electrical appliance research and application system
CN203289194U (en) Level raiser of wireless communication-based remote monitoring system of distribution transformer
CN210577755U (en) Novel residual current protector
CN208672707U (en) A kind of supply voltage range detection means
CN202997504U (en) Electronic overload relay with open-phase protection function
CN214539916U (en) Intelligent measurement and control device with power-off detection function
CN209844834U (en) Direct current power module

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant