Summary of the invention
The purpose of this utility model provides and a kind ofly the special change acquisition terminal of abnormal conditions and alarm occurring.
This special change acquisition terminal that the utility model provides, comprise microcontroller, data acquisition unit, data processing unit, parameter setting and query unit, memory cell, control unit, local function unit, terminal maintenance unit, monitoring unit, ambient temperature detecting unit, smoke detection unit and transfer of data communication unit, monitoring unit links to each other with the main USB interface of microcontroller by camera, and with the stealing picture that gathers or video information transmission to microcontroller; The ambient temperature detecting unit reaches microcontroller with the temperature value that gathers by the AD port by temperature sensor, is used for the detection of operating ambient temperature; The smoke detection unit is crossed the IO port by Smoke Sensor with the smog information exchange that detects and is reached microcontroller, is used for the safety detection of the on-the-spot smog situation of electricity consumption; The transfer of data communication unit adopts the plug and play type communication module, is used for the transmission of image and monitor data.
Described monitoring unit comprises camera, and camera is in standby mode for a long time, when the main website that checks meter sends acquisition instructions or has a node to trigger, then carries out IMAQ, compression and format conversion, reaches microcontroller by USB again, carries out this locality storage; When triggering collection, when the electricity filching behavior that namely opens the door occured, microcontroller reached the main website that checks meter with warning message, and notified the main website reads image data of checking meter, after the main website that checks meter reads and finishes, and the microcontroller of announcement.
Described ambient temperature detecting unit comprises temperature sensor, the temperature of its place environment of temperature sensor senses, and in real time temperature data is reached microcontroller by the AD signal.
Described smoke detection unit comprises Smoke Sensor, Smoke Sensor namely has smog or non smoke with the smog information that the detects information with switching value, reaches microcontroller by the I/O port, when smog was arranged, microcontroller reached the main website that checks meter with warning message immediately.
Described transfer of data communication unit adopts the plug and play type communication module, can select the different communication mode of GPRS, CDMA or 3G.
The utility model adopts the private network mode, has guaranteed information security.Support the storage of the external storage card of large capacity, image adopts first local storage, after the mode that sends out, even because the bad situation of communication disruption that causes of network signal occurs, do not have losing of view data yet.The utility model can be fetched Power System Control Centers with image information again by the long-range mode that reads after private network is reached the standard grade.From charged pool, also can move more than 3 hours in the situation that have a power failure.Be equipped with simultaneously detailed log recording, have good grounds when guaranteeing abnormal.
The utility model increases camera function in large user's terminal, can effectively capture field condition, recovers loss for power customer strong evidence is provided.Adopt infrared photography, TF card storing technology, JPEG and 3GP Image Compression, when occur reporting to the police, initiatively gather image and the 3G communication network by WCDMA with the image uploading main website that checks meter, thereby realize remote image monitoring and stealing evidence obtaining to metering device.
The terminal wireless communication module is plug and play type, according to the disparate modules that inserts, can support at present GPRS/CDMA/3G RFDC and traditional ethernet communication.The real-time of this mode is good, and networking convenience, small investment, easy care, favorable expandability access.
The utility model carries out image or video monitoring to electricity filching behavior, in time these images or video information is uploaded onto the server when sending warning, is conducive to electric administrative department and finds fast electricity filching behavior, reduces to greatest extent energy loss.Meanwhile, the temperature of the utility model energy real-time monitoring terminal operational environment and the smog situation at electricity consumption scene, in time find electricity consumption hidden danger, establish solid foundation for promoting level of customer service and lifting electricity consumption field management and security protection, thereby can more effectively prevent and treat stealing, ensure Electrical Safety and electric power enterprise interests.
Embodiment
Along with developing rapidly of electronic technology, mechanics of communication and computer technology, and the actual needs of electrical network electric energy metrical monitoring, blank that the realization camera head is made a video recording, the electricity anti-theft system of negative control terminal copy reading pattern has come out gradually.This GPRS/CDMA/3G large user's terminal with advanced level, in terminal, anti-electricity-theft realization and the various communication technology are combined, realized networked anti-electricity-theftly, carried out anti-electric theft monitoring by the mode of IMAQ, remedied to a great extent the large blank of current anti-theft electricity technology.
For reaching the flexibility of hardware configuration, the utility model adopts modular mentality of designing.As shown in Figure 1, the utility model comprises microcontroller, data acquisition unit, data processing unit, parameter setting and query unit, memory cell, control unit, local function unit, terminal maintenance unit, monitoring unit, ambient temperature detecting unit, smoke detection unit and transfer of data communication unit, monitoring unit links to each other with the main USB interface of microcontroller by camera, and with the stealing picture that gathers or video information transmission to microcontroller; The ambient temperature detecting unit reaches microcontroller with the temperature value that gathers by the AD port by temperature sensor, is used for the detection of operating ambient temperature; The smoke detection unit is crossed the IO port by temperature sensor with the smog information exchange that detects and is reached microcontroller, is used for the safety detection of the on-the-spot smog situation of electricity consumption; The transfer of data communication unit adopts the plug and play type communication module, is used for the transmission of image and monitor data.
As shown in Figure 2, mainly be to comprise an external camera on the monitoring unit hardware, this camera is with the software that can resolve the data of being sent by the utility model, and links to each other with microcontroller by USB interface, is responsible for Real Time Monitoring is carried out at the scene.
The anti-electric theft monitoring function of this unit mainly realizes by software.Consider practical situations, this terminal for electric power system of the utility model can not be as the monitoring of market, had take in 7 * 24 hours, so trigger condition needs to judge, therefore the utility model need to carry out image or video acquisition when triggering is arranged, so this trigger condition need to be judged.
Basic working modes is divided into two kinds: when receiving the photographing command of the main website that checks meter, the unconditional triggering taken pictures; When the state of measuring gate of the present utility model changes, trigger and take pictures.
During work, camera is in standby mode for a long time, waits IMAQ to be triggered.
When receiving when checking meter the main website photographing command, the unconditional triggering taken pictures.After opening, namely initiatively triggers measuring gate IMAQ; Judge at first whether the photo of taking pictures last time receives that the main website that checks meter reads reading of issuing after finishing and confirms order.Confirm order as receiving, then trigger photographing command.Otherwise continue regularly to produce alarm, until receive the affirmation order.
Take pictures finish after, carry out IMAQ and compressing and converting form, send terminal to by USB, terminal is carried out this locality storage, produces the active reporting warning message, the notice main website that checks meter has photo to read.In alarm report information, comprise IP address of terminal, FTP service and log in the communication relevant informations such as port numbers, FTP login user name, password, photo read path.
Check meter after main website receives report and alarm, the Application standard File Transfer Protocol logs in terminal according to the relevant communication information in the warning information, obtains the photo that this is taken pictures.Read finish after, terminal issued to read confirms order.
Terminal is deleted this photo of taking pictures after receiving and confirming order, waits for the triggering of next time taking pictures.As not receiving that after taking pictures the main website that checks meter confirms order, then repeats the active reporting warning message in 20 minutes.Until receive the affirmation order.
This monitoring unit Application standard File Transfer Protocol, this agreement is mature and stable, can tabulate easily, and transmission resumes operation; Exploitation is easily saved a large amount of exploitation debug times.The process of reading can freely be controlled by main station system for reading meter, and the utility model active reporting information is few, avoids producing the flow waste.The main website that checks meter can read all or part of photo repeatedly, avoids a large amount of acquisition terminals that specially become to upload simultaneously the impact that image information causes the main website server of checking meter, and the transmission load can freely be controlled distribution by main station system for reading meter; The problems such as file covering of simultaneously also avoiding terminal active transmission photo to cause.
Collection and the compression to the simulation camera signals realized in this unit, is in order to reduce actual size volume of the present utility model.Used camera adopts the infrared type camera, even such night also can guarantee to adopt image; And have video and two kinds of monitor modes of picture, with applicable different communication mode.Moreover, angle arbitrarily be laid and be adjusted to this external camera can according to field condition, satisfies to greatest extent monitoring requirement.
As shown in Figure 3, the ambient temperature detecting unit is responded to temperature or the transformer temperature of operational environment, and in real time temperature data is passed to terminal by the AD signal by PT100 thermal resistance collection module.The AD data here are to pass to microcontroller in 7 * 24 hours; The data of preserving simultaneously support to check meter that main website reads voluntarily or by the utility model active upload dual mode, and can the set temperature threshold value, surpass this threshold value and then report to the police to the main website that checks meter.
PT100 thermal resistance collection module reaches signal conditioning circuit with temperature variant resistance signal by current circuit, generates the DC analogue quantity signal of 4-20mA, and this analog signal gathers via the AD sample port of microcontroller.Microcontroller is by comparing this sampled value and set temperature threshold, if do not have this threshold value of surpassing then continue to wait for reading in of new sampled value; If surpass this threshold value, then report the main website that checks meter, and send the GSM alarming short message to the relevant staff.At this moment, if microcontroller has been received the affirmation message of the main website that checks meter, then again wait for reading in of new adopted value; If do not receive this confirmation message, then continue to report the main website that checks meter, until receive till the affirmation message of this main website.
Temperature sensor of the present utility model has adopted PT100 thermal resistance collection module, and its model is W301A1T4.In addition, also can adopt infrared temperature sensor or light temperature sensor to realize the warning function of ambient temperature.
As shown in Figure 4, the smoke detection unit carries out smoke detection by the optics labyrinth, sends smoke condition (smog is namely arranged, or non smoke) to microcontroller by switching value.Smog criterion is according to state accurate " GB 4715-2005 spot-type smoke detector ".The utility model reports to the police for immediately the main website that checks meter when being determined with smog, thereby realizes the managerial role of electricity consumption site safety.
Microcontroller of the present utility model is specified a certain line state amount (being an IO mouth of microcontroller), as the Smoke Detection alarm status.When the corresponding states amount reports the displacement alarm, the generation of expression smoke alarm or the elimination of smoke alarm.
The utility model adopts rack tailored version photoelectric smoke detector (being called for short afterwards Smoke Sensor), and its model is JTY-GD-T12, the switching value port of its signal output part access microcontroller.When Smoke Sensor detects smog, there is the switching value signal to enter microcontroller, this microcontroller judges whether to detect smog according to signal value, if do not detect smog, then the state of this IO mouth is checked in repeating query.If detect smog, then this result is reported the main website that checks meter, and send the GSM alarming short message to the relevant staff; Microcontroller is waited for the affirmation message of main website of checking meter, if receive this message, then the state of this IO mouth is checked in repeating query; If do not receive this message, then continue to report to the main website that checks meter the message of smog alarm, until receive till the affirmation message of this main website that checks meter.
In addition, adopt other smoke detectors or transducer, also can realize function of smoking alarm of the present utility model.
Transfer of data communication unit of the present utility model is the module plug and play type.Can support GPRS, CDMA, 3G RFDC and traditional ethernet communication according to the disparate modules that inserts at present, realize the transmission of image and monitor data.On the software, in the situation that use the different communication mode, signal message or data message are converted to the transformat of corresponding communication mode according to relevant communications protocol, communication is achieved thus.In addition, some communication modes such as carrier communication, small wireless communication can realize that also the information of stealing image of the present utility model uploads.
As shown in Figure 5, the utility model is specially to become in the various functional requirements that the acquisition terminal relevant criterion requires satisfying state net III type, has increased the function of image anti-electric theft monitoring (picture/video), operating ambient temperature detection and warning, operational environment smoke detection and warning.
The UART0 port of microcontroller is serial ports 0, controls and communication with the GPRS/CDMA module, realizes local data is uploaded to the main website that checks meter.Its GPIO port is general input/output port, mainly is partial function is implemented control, such as communication control modular power source (module can be restarted unusually or after crashing), remote control output etc.The AD port is the analog quantity sampling end, is used for receiving the data of temperature sensor.UART4 is serial ports 4, and the fixed ESAM encryption chip of state's network planning carries out data interaction.UART1 and UART2 are two-way RS485 meter reading communication mouths, satisfy the relevant regulations of state's network mark standard.UART5 carries out data interaction with 6515 metering modules.Wherein, 6515 meterings are for electric energy metrical, and 6515 for being a kind of chip that alternating current source capsule electric current is measured.The SPI interface is Serial Peripheral Interface--Serial Peripheral Interface (SPI), and two-way SPI interface is used for identification the utility model terminal hardware ID, 6515 metering modules is carried out upgrade maintenance, for voice alarm function module of the present utility model provides driving.In the iic bus (Inter-Integrated Circuit), one group is to carry out data interaction with outside high precision clock, and one group is the flash chip that connects the 2kb capacity of state's net requirement, is used for the storage calibration data.The data/address bus of this microcontroller and address bus are used for carrying out the external function expansion, such as reading in of the switching value of liquid crystal display, button operation, smog alarm etc.Maintenance serial port is used for the terminal software attended operation such as upgrade.The utility model has used WDT(watch dog) watchdog technique.The effect of external hardware house dog is after program exception the utility model to be resetted, and guarantees its normal operation.Microcontroller is divided into several roads with main USB by the built-in USB-HUB of the utility model, is respectively applied to utilizing camera interface and USB flash disk.Wherein USB flash disk can be used for the upgrading terminals program or reads the data of getting storage in the terminal.The built-in timer conter of microcontroller is used for CT(current transformer current transformer) the detection input.
The microcontroller chip that microcontroller adopts atmel corp to produce, its model is AT91SAM9260.This is the core devices of the utility model function, be responsible for the local triggering signal of monitoring transducer generation or the image triggering signal at center, receive the view data of image compression module and write local TF card in the mode of file, then communicate by letter with monitoring server.Key control unit is also monitored operating states such as power supply, communication module, IMAQ compression modules simultaneously.
Power unit comprises 100V, the secondary conversion transformer of 220V power supply, reserve battery discharge and recharge pipeline, for video camera provides the DC5V power supply, also carry out power supply for other functional modules and supply with.During implementation, primary power source (220V, 100V inputs conversion portion) is selected popular on the market modular power source.Reserve battery adopts the large and little lithium battery of volume of capacity, adopts simultaneously the pressure-limit current-limit mode to charge, and circuit is simple and reliable, can support the utility model to move approximately more than 3 hours under power-off condition.
The utility model adopts the private network mode, has guaranteed information security.Support the storage of the external storage card of large capacity, image adopts first local storage, after the mode that sends out, even since the bad situation of communication disruption that causes of network signal occur, can not losing by view data yet.The utility model can be fetched Power System Control Centers with image information again by the long-range mode that reads after private network is reached the standard grade.The utility model has detailed log recording, has good grounds when guaranteeing abnormal.