Summary of the invention
This utility model provides a kind of integrated observing and controlling smart jack, overcomes the deficiency of above-mentioned prior art, and it can have
Effect solves existing smart jack and can not measure the electricity consumption situation of electrical equipment, records storage, show and asking of reporting
Topic and in the case of there is electricity consumption hidden danger in electrical equipment can not and alarm and the problem of protection electrical equipment.
The technical solution of the utility model is realized by following measures: a kind of integrated observing and controlling smart jack, including
Jack body, also include the signal acquisition module being located on jack body, focus on module, power module, communication module and
Peripheral functionality expansion module, described signal acquisition module include voltage collection circuit, current collection circuit, AD sampling unit and
Temperature and Humidity circuit;Peripheral functionality expansion module includes that control relay circuit, pwm control circuit, push-button unit, USB fill
Electrical interface circuit, LCD display unit and buzzer alarm circuit;The input of current sampling circuit is defeated with the first of 220V alternating current
Going out end electrical connection, the input of voltage sampling circuit electrically connects with the second outfan of 220V alternating current, the input of power module
End electrically connects with the 3rd outfan of 220V alternating current, the outfan of power module respectively with the input of signal sampling module,
Focusing on the input electrical connection of the input of module, the input of peripheral functionality expansion module and communication module, electric current is adopted
The outfan of sample circuit electrically connects with the first input end of AD sampling unit, the outfan of voltage sampling circuit and AD sample circuit
Second input electrical connection, the outfan of AD sampling unit electrically connects with the first input end focusing on module, humiture
Testing circuit electrically connects with the I/O interface focusing on module, communication module and the 2nd I/O interface focusing on module
Electrical connection, push-button unit electrically connects with the 3rd I/O interface focusing on module, USB charhing unit with focus on module
4th I/O interface electrical connection, the first outfan focusing on module electrically connects with the input of control relay circuit, concentrates
Second outfan of processing module electrically connects with the input of pwm control circuit, focuses on the 3rd outfan and LCD of module
The input electrical connection of display unit, the 4th outfan focusing on module electrically connects with the input of buzzer alarm circuit.
Further optimization and/or improvements to above-mentioned utility model technical scheme are presented herein below:
4th outfan of the above-mentioned zero cross detection circuit that may also include, the input of zero cross detection circuit and 220V alternating current
Electrical connection, the outfan of zero cross detection circuit electrically connects with the second input focusing on circuit.
Above-mentioned communication module can be RS485 communication unit.
Above-mentioned control relay circuit mainly can include relay drive circuit, audion, relay, diode and corresponding
Resistance, the input of relay drive circuit is electrically connected with the first resistance, the outfan of relay drive circuit and second electricity
Resistance electrical connection, the outfan of the second resistance electrically connects with audion, and the input of audion also and is connected to the 3rd resistance, audion
Outfan electrically connect with input with relay after diodes in parallel, the outfan of relay is electrically connected with load.
Above-mentioned USB charging inlet circuit can include two-way charging inlet.
This utility model sample circuit road each to smart jack voltage, current signal carry out real-time sampling, then via concentration
Processing module carries out operational analysis to sampled data, accurately draws the electric current of every road electrical equipment, voltage and power consumption information also
Show according to the storage of user's request record, LCD processing the data obtained or report to local IHD.This utility model passes through
The communication mode of RS485 realizes two-way communication between socket and local IHD, can accept and perform basis while sending power information
The various control order that ground IHD sends;Good peripheral functionality expansion module arranges connection interface and combines with local IHD
User provides more convenient and various service, has security alarm function, to electricity consumption exist potential safety hazard early warning and going out
Power supply can be automatically cut off during existing problem, effectively protect the security of the lives and property of user.By providing relay to lead to each road interface
Disconnected control circuit, arranges the function of interface extreme enrichment smart jack in conjunction with local IHD and function of socket.
Detailed description of the invention
This utility model is not limited by following embodiment, can come with practical situation according to the technical solution of the utility model
Determine specific embodiment.
In this utility model, for the ease of describing, the description of the relative position relation of each parts is all according to description
The Butut mode of accompanying drawing 1 is described, such as: the position relationship of forward and backward, upper and lower, left and right etc. is based on Figure of description
Butut direction determine.
Below in conjunction with embodiment and accompanying drawing, this utility model is further described:
As shown in accompanying drawing 1,2, a kind of integrated observing and controlling smart jack, including jack body, also include being located on jack body
Signal acquisition module, focus on module, power module, communication module and peripheral functionality expansion module, described signal is adopted
Collection module includes voltage collection circuit, current collection circuit, AD sampling unit and Temperature and Humidity circuit;Peripheral functionality expanded mode
Block includes control relay circuit, pwm control circuit, push-button unit, USB charging inlet circuit, LCD display unit and buzzing report
Alert circuit;The input of current sampling circuit electrically connects with the first outfan of 220V alternating current, the input of voltage sampling circuit
End electrically connects with the second outfan of 220V alternating current, and the input of power module is electrically connected with the 3rd outfan of 220V alternating current
Connect, the outfan of power module respectively with the input of signal sampling module, focus on the input of module, peripheral functionality expands
The input of exhibition module and the input electrical connection of communication module, the outfan of current sampling circuit and the first of AD sampling unit
Input electrically connects, and the outfan of voltage sampling circuit electrically connects with the second input of AD sample circuit, AD sampling unit
Outfan electrically connects with the first input end focusing on module, Temperature and Humidity circuit and the I/O focusing on module
Interface electrically connect, communication module electrically connects with the 2nd I/O interface focusing on module, push-button unit with focus on module
3rd I/O interface electrical connection, USB charhing unit electrically connects with the 4th I/O interface focusing on module, focuses on module
First outfan electrically connects with the input of control relay circuit, and the second outfan focusing on module controls electricity with PWM
The input electrical connection on road, the 3rd outfan focusing on module electrically connects with the input of LCD display unit, focuses on
4th outfan of module electrically connects with the input of buzzer alarm circuit.Here, focusing on module is existing known technology,
Use model be the singlechip chip of STM8S207CB, this chip have the Flash memory space of 128KB, 6KB internal RAM with
And the EEPROM memory space of 2KB, for common user profile, parameter arranges and the storage of electricity consumption data is enough, it is not necessary to
External storage equipment.LCD display unit communicates control by I2C.Temperature and Humidity module is for the abnormal prison of surrounding
Survey;Buzzer alarm circuit can give a warning under electrical equipment crosses stream, overload and surrounding abnormal conditions, it is possible to according to user
Setting provide prompt tone;Wherein Temperature Humidity Sensor uses low power dissipation temperature-humidity sensor, numeral output, has I2C interface.
Humidity typical is measured scope and is reached 0 to 80%, and representative temperature is measured scope and reached-40 DEG C to 80 DEG C, and under typicalness, humidity is surveyed
Accuracy of measurement error is ± 2%, and temperature measurement accuracy error is ± 0.3 DEG C.Monolithic is directly arrived in the signal output of this Temperature Humidity Sensor
Inside machine, single-chip microcomputer can judge for the humiture data that Temperature Humidity Sensor is transmitted, when occurring that dangerous situation is, and will
Early warning can be carried out by buzzer alarm circuit.Buzzer alarm circuit can also arrange timed reminding according to user's request simultaneously.Press
Multiple buttons of key unit show content for user setup timing information, mode of operation and LCD.Here power module is existing
Known technology, by being connected with 220V alternating current, is converted into by power module and includes positive and negative 12V, positive and negative 9V, 5V, 3.3V electricity
Source signal and 2.5V reference power supply.
According to actual needs above-mentioned integrated observing and controlling smart jack can be made further optimization and/or improvements:
As shown in accompanying drawing 1,2, also include zero cross detection circuit, the of the input of zero cross detection circuit and 220V alternating current
Four outfan electrical connections, the outfan of zero cross detection circuit electrically connects with the second input focusing on circuit.Zero passage detection
During circuit work, the 220V ac signal of electrical network produces the AC signal that amplitude is slightly smaller, amplitude through transformator at secondary side
Slightly smaller AC signal is input in two optocouplers, and circuit CHECK end is connected with single-chip microcomputer, and this current potential can be in signal mistake
Zero period, produce a pulse signal, by arranging the external interrupt triggering mode of single-chip microcomputer, it is achieved AC signal zero crossing is examined
Survey.
As shown in Figure 2, PWM output control circuit includes MOC3021, bidirectional triode thyristor BTA08-800B and corresponding capacitance
Resistance device, wherein the pressure voltage of BTA08-800B can reach 800V, the condition of opening of bidirectional triode thyristor comprise gate voltage with
And controllable silicon two ends pressure reduction reaches requirement, closedown condition includes that gate voltage is less than switching voltage, and controllable silicon two ends pressure reduction
Less than conducting demand, therefore PWM output control circuit zero cross detection circuit to be combined uses.By single-chip microcomputer at exchange letter
Change the state of PWM output during number zero passage, it is achieved silicon controlled break-make controls, and then realize the power adjustments to electrical equipment.
As shown in accompanying drawing 1,3,4, described voltage sampling circuit uses high-accuracy voltage transformer mode to realize, described
Current sampling circuit uses high precision current transformer mode to realize, and AD sampling unit uses the mode of 6 tunnel synchronous acquisition to realize.
As shown in Figure 3,220V ac voltage signal is converted into little electricity after two 110K high-precision metal membrane resistances
Stream signal, small area analysis signal is YE-PT03-2mA/2mA high precision electro flow pattern voltage transformer through model, diode D18,
D19 plays amplitude limit effect, plays the effect that back-end circuit carries out protecting, and small area analysis signal is through high cmrr operational amplifier
After the IV change-over circuit of composition, be converted into sampling A/D chip can voltage signal in sample range, wherein R82 and C114 constitutes this
The phase compensating circuit of design, final signal filters the interference of signal medium-high frequency through the filter circuit that C118, C121 and R90 form
After, it is input to the port of AD sampling unit, by AD sampling A/D chip, signal is sampled.
As shown in Figure 4, current sampling circuit operation principle is essentially identical with voltage sampling circuit.Current signal is through model
After the high precision current transformer of CT07-5/2.5W, transformer secondary side can produce small area analysis signal, and small area analysis signal is through IV
It is input to AD sampling unit interface after change-over circuit and filter circuit, by the AD sampling A/D chip that model is AD7656, signal is entered
Row sampling.Wherein 1 tunnel of 6 tunnel synchronous acquisition signals of AD sampling unit here is used for voltage signal sampling, and other 5 tunnels are used for
Current signal is sampled, and measures with the accurate of electric parameter that this realizes multichannel electric equipment.AD samples power circuit, due to integrated
The used A/D chip of observing and controlling smart jack is that high-precision adc sampling converts chip, higher to power requirement, needs to use ultralow stricture of vagina
Wave circuit provides voltage for chip, and therefore circuit uses TPS7A4901, TPS7A3001 to produce the confession of positive and negative 9V ultralow ripple voltage
Electricity.For producing relevant voltage signal, employing TPS65131 and produce the power supply of positive and negative 12V voltage in design, this power supply chip produces
The electric current of raw about 2A.Here A/D chip also needs to use outside reference source signal as the reference voltage, and size is 2.5V, selected
REF3225 a reference source chip provides.
As shown in accompanying drawing 1,5, described communication module is RS485 communication unit.This RS485 communication unit uses
SPRS485EN chip, PS2501L chip is used for isolated from power, is used for protecting former-section circuit;RT1 Yu RT2 is thermal resistor,
With TVS pipe instrument, rear end is played a protective role.Wherein the power supply of SPRS485EN chip is provided by special RS485 power supply, should
RS485 power supply is produced by DCH010505S isolation, and RS485 ground connection also individually to be separated simultaneously, prevents external signal to master control
Part causes damage.RS485_RXD, RS485_TXD are connected with the UART part of main control chip respectively.This RS485 communication unit
It is mainly used in communicating with local IHD, to set up better bidirectional transfer of information mode.
Control relay circuit as shown in accompanying drawing 1,6 include relay drive circuit, audion, relay, diode and
Corresponding resistance, the input of relay drive circuit electrically connects with the first resistance, the outfan of relay drive circuit and the
Two resistance electrical connections, the outfan of the second resistance electrically connects with audion, and the input of audion also and is connected to the 3rd resistance, and three
The outfan of pole pipe electrically connects with input with relay after diodes in parallel, and the outfan of relay is electrically connected with load.
Here, relay drive circuit includes optocoupler and audion, uses PS2501L chip, and optocoupler is used for insulation blocking
Front-end circuit.Here the first resistance is R32, and the second resistance is R34, and the 3rd resistance is R37.During relay work, diode
D5 is formed when inverse electromotive force is excessive and goes the same way, and plays the effect of protective relay;OUT1 end is connected with single-chip microcomputer, by arranging
OUT1 output high level or low level, thus control conducting and the shutoff of audion Q2, and then realize the break-make of relay, it is achieved
The break-make of electrical equipment controls function.
As shown in Figure 1, described USB charging inlet circuit includes two-way charging inlet.Two-way charging inlet is based on double
Passage precision scalable current limiting power supplies switch TPS2561A and dual pathways USB special charging port controller TPS2513 chipset
Becoming, TPS2561A controls to be connected with main control singlechip chip with information feedback pin, plays current-limiting protection in USB charging process
Effect.TPS2513 has automatically monitoring USB data circuit voltage characteristic, can automatically provide correct characteristic voltage at data wire.
USB special charging port controller has two-way output, and normal input voltage is 4.5V-5.5V, can be that usb data circuit provides
Correct electrical characteristic.
Above technical characteristic constitutes embodiment of the present utility model, and it has stronger adaptability and implementation result, can
Increase and decrease non-essential technical characteristic according to actual needs, meet the demand of different situations.