Invention content
According to an aspect of the present invention, a kind of solar environment friendly type litter-bin is provided, the litter-bin includes that bracket drives
Dynamic equipment, human body detecting device, infrared detection equipment, weight rate detection device and Ling Yang SPCE061A chips, Ling Yang
SPCE061A chips respectively with carriage drive equipment, human body detecting device, infrared detection equipment, weight rate detection device
Connection determines whether that starting human body detecting device and infrared detection sets for the output based on weight rate detection device
It is standby, it is additionally operable to determine whether that the transmission of carriage drive equipment is fallen based on the output of human body detecting device and infrared detection equipment
Trigger signal is to stretch out and hold up the bracket main body positioned at litter-bin lower position.
More specifically, in the solar environment friendly type litter-bin, including:Carriage drive equipment, with Ling Yang SPCE061A
Chip connects, for receive fall trigger signal when, control, which holds up structure and stretches out structural union, realizes bracket main body
It stretches out and holds up operation;Stretch out structure, be located at litter-bin lower position, connect with carriage drive equipment, be used for by bracket main body from
Litter-bin lower position protrudes horizontally up litter-bin side, and sends out end after stretching and stretch out signal;Hold up structure, position
In litter-bin lower position, respectively with carriage drive equipment and stretch out structure connect, for receive terminate stretching signal when,
Bracket main body is risen into default hold up highly;Bracket main body, respectively with stretch out structure and hold up structure connect, normality for positioned at
Litter-bin lower position, for being protected to the litter-bin human body that falls when in picking-up state is stretched out;Weight rate is examined
Measurement equipment, positioned at box body downside position of keeping a public place clean, including weight detector and timer, weight detector for detecting in real time
The output of the load weight kept a public place clean on box body, output and timer of the weight rate detection device based on weight detector is true
Surely the load weight change rate kept a public place clean on box body sends out weight change when load weight change rate is more than default change rate
Pre-warning signal sends out weight change normal signal when load weight change rate is less than or equal to default change rate;CCD sensings are set
It is standby, positioned at the side for box body of keeping a public place clean, shot with horizontal shooting direction to obtain high definition side image backwards to litter-bin side;It is empty
Area image enhances equipment, connect with CCD sensing equipments to receive high definition side image, including the sub- equipment of direct greyscale transformation and directly
Side's figure corrects sub- equipment, and the direct sub- equipment of greyscale transformation is connect with CCD sensing equipments, direct for being executed to high definition side image
To obtain the first enhancing image, the sub- equipment of histogram modification connect with the sub- equipment of direct greyscale transformation, is used for greyscale transform process
The first enhancing image is received, and histogram modification processing is executed to obtain the second enhancing image to the first enhancing image, wherein is straight
It connects greyscale transform process and operation is carried out to each pixel value of high definition side image using logarithmic function, it will be each after operation
A the first enhancing of pixel value composition image, histogram modification processing change the first enhancing image by changing the shape of histogram
Gray scale be laid out to enhance the first enhancing image, obtain the second enhancing image;Wiener filtering equipment enhances equipment with spatial domain picture
Histogram modification sub- equipment connection, for receiving the second enhancing image, and first is executed to the second enhancing image and is filtered
To obtain the first filtering image, wherein first is filtered for making the first filtering image and second enhance the mean square error of image
Poor minimum is to remove speckle noise and white noise in the second enhancing image;Modified medium filtering equipment, sets with Wiener filtering
Standby connection is to obtain the first filtering image, including the sub- equipment of noise measuring, module select sub- equipment and be filtered sub- equipment, make an uproar
The sub- equipment of sound detection is connect with Wiener filtering equipment, is analyzed with true by the gray value of the pixel to the first filtering image
The distribution radius in each fixed noise profile region, and using the maximum value in the distribution radius in each noise profile region as most
Big distribution radius output, module select sub- equipment to be connect with the sub- equipment of noise measuring, for receiving maximum distribution radius, and are based on
Be maximally distributed radius selection carry out medium filtering filter module, be filtered sub- equipment respectively with Wiener filtering equipment and module
It selects sub- equipment to connect, median filter process is carried out to obtain second for the first filtering image of filter module pair based on selection
Filtering image, wherein median filter process include that each pixel in the first filtering image is carried out as target pixel points
It handles below:With the centre of form of the filter module of position of the target pixel points in the first filtering image alternatively in the first filtering
Multiple pixels are taken out in image as multiple reference image vegetarian refreshments, take maximum value in the pixel value of multiple reference image vegetarian refreshments and most
Small value is as pixel maximum and pixel minimum, to determine the average value of pixel maximum and pixel minimum using as pixel
Average value, if its pixel value is less than pixel average, its pixel value is replaced with 0 for each reference image vegetarian refreshments, if
Its pixel value is more than or equal to pixel average, then retains its pixel value, finally being averaged the pixel value of multiple reference image vegetarian refreshments
It is worth and is exported as the pixel value of target pixel points;Human body detecting device is connect with modified medium filtering equipment, by the second filtering
All pixels point group adult body subgraph of the pixel gray value in human body intensity value ranges in image, when human body subgraph institute
It when the sum of the pixel occupied is more than or equal to presetted pixel point quantity, sends out that there are human body signals, otherwise, sends out no human body letter
Number;Alternating current access interface, connect with line, the Alternating Current Power Supply signal for receiving line input;Current transformer
And sample circuit, connect with A phase lines, B phase lines and the C phase lines in line, for A phase lines, B phase lines and
Current signal in C phase lines is sampled respectively;A phase lines, B phase lines in voltage sample circuit, with line and C
Phase line connects, for being sampled respectively to the voltage signal in A phase lines, B phase lines and C phase lines;Current signal tune
Circuit is managed, is connect with current transformer and sample circuit, for carrying out signal condition to sampling current;Voltage signal conditioning electricity
Road is connect with voltage sample circuit, for carrying out signal condition to sampling voltage;AD73360 chips, respectively with current signal tune
Reason circuit is connected with voltage signal conditioning circuit, and 16 are executed respectively to the sampling current after conditioning and the sampling voltage after conditioning
A/D is converted, and is obtained digital current signal and digital voltage signal, is also determined number based on digital current signal and digital voltage signal
The virtual value of word current signal and the virtual value of digital voltage signal;Alternating Current Power Supply conversion equipment, with the A phase lines in line
Road, B phase lines are connected with C phase lines, for executing conversion of the alternating current to direct current;It shows equipment, connects with AD73360 chips
It connects, the virtual value of virtual value and digital voltage signal for real-time display digital current signal;Infrared detection equipment, is located at
Keep a public place clean the side of box body, for detecting whether there is object to pass through from the side for box body of keeping a public place clean, and detected object from
The side of box body keep a public place clean when passing through, sends out object and skims over signal;Solar energy detection device is located on the litter-bin, is used for
Current solar energy intensity is detected in real time;Power supply unit, including solar powered device, accumulator, switching switch and voltage turn
Parallel operation, switching switch are connect with solar energy detection device, solar powered device and accumulator respectively, when the residue electricity of accumulator
When the insufficient and current solar energy intensity of amount is optionally greater than preset strength, solar powered device is switched to by solar powered
Device is powered, and electric pressure converter and switching switch connection will be converted to 3.3V voltages by the 5V voltages for switching switch input,
Wherein solar powered device is located on the litter-bin, and solar powered device includes solar energy photovoltaic panel;Wireless charging is set
It is standby, it is connect respectively with solar energy detection device and accumulator, when the solar energy intensity that the remaining capacity of accumulator is insufficient and current
When less than preset strength, establishes and connected to start wireless charging operation with neighbouring wireless charging terminal, wireless charging device is also
It is connect with electric pressure converter to realize that voltage is converted;Sound-light alarm equipment is connect with Ling Yang SPCE061A chips, including sound report
Alert sub- equipment and light alarm sub- equipment be used for receive fall trigger signal or fall pre-warning signal when carry out corresponding acousto-optic
Alarm operation;User input equipment is connect with static storage device, is used under the operation of user, into static storage device
Input preset content;Ling Yang SPCE061A chips are set with CCD sensing equipments, carriage drive equipment, weight rate detection respectively
Standby, human body detecting device is connected with infrared detection equipment, after receiving weight change pre-warning signal, is started human testing and is set
Standby, infrared detection equipment and CCD sensing equipments are then receiving there are human body signal and are receiving object and skim over signal
When, trigger signal of falling is sent out, when receiving no human body signal and receiving object and skim over signal, sends out the early warning letter that falls
Number, and do not receive object and skim over signal and receive only there are human body signal, send out the pre-warning signal that falls;Static storage is set
It is standby, for having prestored presetted pixel point quantity, preset strength, default change rate and default picking-up height;
Wherein, module select sub- equipment based on maximum distribution radius selection carry out medium filtering filter module include:Most
Big distribution radius is bigger, and the filter module of the progress medium filtering of selection is bigger, and maximum distribution radius is smaller, in the progress of selection
The filter module of value filtering is smaller;Wherein, it includes 3 × 3,5 × 5,7 × 7 that module, which selects filter module selective in sub- equipment,
With 9 × 9.
More specifically, in the solar environment friendly type litter-bin:User input equipment is keyboard array.
More specifically, in the solar environment friendly type litter-bin:Infrared detection equipment include RF transmitter and
Infrared receiver.
More specifically, in the solar environment friendly type litter-bin:Infrared detection equipment includes microcontroller.
More specifically, in the solar environment friendly type litter-bin:Microcontroller be ARM microcontrollers, respectively with infrared ray
Transmitter is connected with infrared receiver.
More specifically, in the solar environment friendly type litter-bin:Ling Yang SPCE061A chips and static storage device quilt
It is integrated on one piece of integrated circuit board.
Specific implementation mode
The embodiment of the solar environment friendly type litter-bin of the present invention is described in detail below with reference to accompanying drawings.
Fig. 1 is the block diagram according to the solar environment friendly type litter-bin shown in embodiment of the present invention, described to keep a public place clean
Case includes carriage drive equipment, human body detecting device, infrared detection equipment, weight rate detection device and Ling Yang
SPCE061A chips, Ling Yang SPCE061A chips respectively with carriage drive equipment, human body detecting device, infrared detection equipment,
Weight rate detection device connects, and determines whether that starting human testing sets for the output based on weight rate detection device
Standby and infrared detection equipment, is additionally operable to determine whether bracket based on the output of human body detecting device and infrared detection equipment
Driving equipment transmission falls trigger signal to stretch out and hold up the bracket main body positioned at litter-bin lower position.
Then, continue that the concrete structure of the solar environment friendly type litter-bin of the present invention is further detailed.
The litter-bin includes:Carriage drive equipment is connect with Ling Yang SPCE061A chips, for receive fall it is tactile
When signalling, control, which holds up structure and stretches out structural union, realizes that the stretching of bracket main body holds up operation.
The litter-bin includes:Structure is stretched out, is located at litter-bin lower position, is connect with carriage drive equipment, being used for will
Bracket main body is protruded horizontally up from litter-bin lower position to litter-bin side, and is sent out end after stretching and stretched out signal;
Structure is held up, litter-bin lower position is located at, is connect respectively with carriage drive equipment and stretching structure, for receiving end
When stretching out signal, bracket main body is risen into default hold up highly.
The litter-bin includes:Bracket main body is connect with stretching structure and picking-up structure respectively, and normality is positioned at litter-bin
Lower position, for being protected to the litter-bin human body that falls when in picking-up state is stretched out.
The litter-bin includes:Weight rate detection device is examined positioned at box body downside position of keeping a public place clean, including weight
Instrument and timer are surveyed, weight detector for detecting the load weight kept a public place clean on box body, weight rate detection device in real time
The output of output and timer based on weight detector determines the load weight change rate kept a public place clean on box body, works as load weight
When change rate is more than default change rate, weight change pre-warning signal is sent out, when load weight change rate is less than or equal to default variation
When rate, weight change normal signal is sent out.
The litter-bin includes:CCD sensing equipments, positioned at the side for box body of keeping a public place clean, backwards to litter-bin side with level
Shooting direction is shot to obtain high definition side image;Spatial domain picture enhances equipment, is connect with CCD sensing equipments to receive high definition side
Face image, including the sub- equipment of direct greyscale transformation and the sub- equipment of histogram modification, the direct sub- equipment of greyscale transformation are set with CCD sensings
Standby connection, for executing direct greyscale transform process to high definition side image to obtain the first enhancing image, histogram modification
Equipment is connect with the sub- equipment of direct greyscale transformation, and histogram is executed for receiving the first enhancing image, and to the first enhancing image
Correcting process is to obtain the second enhancing image, wherein direct greyscale transform process is using logarithmic function to high definition side image
Each pixel value carries out operation, and by each pixel value composition the first enhancing image after operation, histogram modification processing is logical
It crosses the gray scale for changing the shape of histogram to change the first enhancing image to be laid out to enhance the first enhancing image, obtains the second enhancing
Image.
The litter-bin includes:Wiener filtering equipment, the sub- equipment of histogram modification for enhancing equipment with spatial domain picture are connect,
For receiving the second enhancing image, and first is executed to the second enhancing image and is filtered to obtain the first filtering image, wherein
First is filtered for making the first filtering image and second enhance the mean square error minimum of image to remove the second enhancing figure
Speckle noise and white noise as in.
The litter-bin includes:Modified medium filtering equipment is connect with Wiener filtering equipment to obtain the first filtering figure
Picture, including the sub- equipment of noise measuring, module select sub- equipment and are filtered sub- equipment, the sub- equipment of noise measuring and Wiener filtering
Equipment connects, and is analyzed by the gray value of the pixel to the first filtering image to determine each noise profile region
Distribution radius, and using the maximum value in the distribution radius in each noise profile region as maximum distribution radius output, module choosing
It selects sub- equipment to connect with the sub- equipment of noise measuring, be carried out for receiving maximum distribution radius, and based on maximum distribution radius selection
The filter module of medium filtering is filtered sub- equipment and selects sub- equipment to connect with Wiener filtering equipment and module respectively, is used for
The first filtering image of filter module pair based on selection carries out median filter process to obtain the second filtering image, and wherein intermediate value is filtered
Wave processing includes carrying out following processing as target pixel points for each pixel in the first filtering image:With object pixel
The centre of form of the filter module of position alternatively o'clock in the first filtering image takes out multiple pixels in the first filtering image
It selects and takes as multiple reference image vegetarian refreshments maximum value in the pixel value of multiple reference image vegetarian refreshments and minimum value using as pixel maximum
Value and pixel minimum determine the average value of pixel maximum and pixel minimum using as pixel average, for each
Reference image vegetarian refreshments replaces its pixel value, if its pixel value is more than or equal to if its pixel value is less than pixel average with 0
Pixel average then retains its pixel value, finally using the average value of the pixel value of multiple reference image vegetarian refreshments as target pixel points
Pixel value output.
The litter-bin includes:Human body detecting device is connect with modified medium filtering equipment, will be in the second filtering image
All pixels point group adult body subgraph of the pixel gray value in human body intensity value ranges, occupied by human body subgraph
It when the sum of pixel is more than or equal to presetted pixel point quantity, sends out that there are human body signals, otherwise, sends out no human body signal.
The litter-bin includes:Alternating current access interface, connect with line, the exchange for receiving line input
Power supply signal;Current transformer and sample circuit connect with A phase lines, B phase lines and the C phase lines in line, are used for
Current signal in A phase lines, B phase lines and C phase lines is sampled respectively;In voltage sample circuit, with line
A phase lines, B phase lines connected with C phase lines, for in A phase lines, B phase lines and C phase lines voltage signal distinguish
It is sampled;Current signal conditioning circuit is connect with current transformer and sample circuit, for carrying out signal tune to sampling current
Reason;Voltage signal conditioning circuit is connect with voltage sample circuit, for carrying out signal condition to sampling voltage.
The litter-bin includes:AD73360 chips connect with current signal conditioning circuit and voltage signal conditioning circuit respectively
Connect, 16 A/D conversion executed respectively to the sampling current after conditioning and the sampling voltage after conditioning, obtain digital current signal and
Digital voltage signal also determines the virtual value and number electricity of digital current signal based on digital current signal and digital voltage signal
Press the virtual value of signal.
The litter-bin includes:Alternating Current Power Supply conversion equipment, with A phase lines, B phase lines and the C phase lines in line
Road connects, for executing conversion of the alternating current to direct current;It shows equipment, is connect with AD73360 chips, be used for real-time display number
The virtual value of word current signal and the virtual value of digital voltage signal.
The litter-bin includes:Infrared detection equipment, positioned at the side for box body of keeping a public place clean, for detecting whether there is object
Pass through from the side for box body of keeping a public place clean, and when detecting that object passes through from the side for box body of keeping a public place clean, sends out object and skim over
Signal.
The litter-bin includes:Solar energy detection device is located on the litter-bin, for detecting the current sun in real time
It can intensity;Power supply unit, including solar powered device, accumulator, switching switch and electric pressure converter, switching switch respectively with
Solar energy detection device, solar powered device are connected with accumulator, when the sun that the remaining capacity of accumulator is insufficient and current
When energy intensity is optionally greater than preset strength, solar powered device is switched to be powered by solar powered device, voltage is converted
Device and switching switch connection, will be converted to 3.3V voltages, wherein solar energy electric supplier by the 5V voltages for switching switch input
Part is located on the litter-bin, and solar powered device includes solar energy photovoltaic panel.
The litter-bin includes:Wireless charging device connect with solar energy detection device and accumulator, works as accumulator respectively
Remaining capacity insufficient and current solar energy intensity when being less than preset strength, established with neighbouring wireless charging terminal connect with
Start wireless charging operation, wireless charging device is also connect with electric pressure converter to realize that voltage is converted.
The litter-bin includes:Sound-light alarm equipment is connect with Ling Yang SPCE061A chips, including the sub- equipment of audible alarm
With light alarm sub- equipment be used for receive fall trigger signal or fall pre-warning signal when carry out corresponding sound-light alarm operation.
The litter-bin includes:User input equipment is connect with static storage device, is used under the operation of user, to
Preset content is inputted in static storage device;Ling Yang SPCE061A chips, respectively with CCD sensing equipments, carriage drive equipment, again
Quantitative change rate detection device, human body detecting device are connected with infrared detection equipment, after receiving weight change pre-warning signal, are opened
Dynamic human body detecting device, infrared detection equipment and CCD sensing equipments, are then receiving there are human body signal and are receiving object
When part skims over signal, trigger signal of falling is sent out, when receiving no human body signal and receiving object and skim over signal, sends out pendant
Pre-warning signal is fallen, and does not receive object and skims over signal and receive only there are human body signal, sends out the pre-warning signal that falls.
The litter-bin includes:Static storage device, for having prestored presetted pixel point quantity, preset strength, pre-
If change rate and default picking-up height.
Wherein, module select sub- equipment based on maximum distribution radius selection carry out medium filtering filter module include:Most
Big distribution radius is bigger, and the filter module of the progress medium filtering of selection is bigger, and maximum distribution radius is smaller, in the progress of selection
The filter module of value filtering is smaller.Wherein, it includes 3 × 3,5 × 5,7 × 7 that module, which selects filter module selective in sub- equipment,
With 9 × 9.
Optionally, in the platform:User input equipment is keyboard array;Infrared detection equipment includes infrared ray hair
Emitter and infrared receiver;Infrared detection equipment includes microcontroller;Microcontroller be ARM microcontrollers, respectively with it is infrared
Line transmitter is connected with infrared receiver;From and Ling Yang SPCE061A chips and static storage device be integrated in one piece it is integrated
On circuit board.
In addition, filter is as its name suggests the device being filtered to wave." wave " is that a very extensive physics is general
It reads, in electronic technology field, " wave " is narrowly confined to refer in particular to describe the values of various physical quantitys fluctuations at any time
Process.The process is converted into the function of time of voltage or electric current by the effect of various kinds of sensors, referred to as various physical quantitys
Time waveform, or referred to as signal.Because the independent variable time is continuous value, referred to as continuous time signal,
Habitually it is referred to as analog signal again.
With the generation and rapid development of digital electronic computer technology, for ease of calculation machine to signal at
Reason produces the complete theoretical and method that continuous time signal is transformed into discrete-time signal under sampling theorem guidance.
That is, only the sample value with original analog signal on series of discrete time coordinate point original signal can be expressed without losing
Lose any information since the expression of wave, waveform, signal these concepts be various physical quantitys in objective world variation, naturally
It is the carrier for the various information that modern society depends on for existence.Information needs to propagate, and what is leaned on is exactly the transmission of waveform signal.Signal exists
Its generation, conversion, transmission each link may be distorted due to the presence of environment and interference, even quite a lot of
In the case of, this distortion is also very serious, and signal and its entrained information is caused to be embedded in noise dearly.In order to
These noises are filtered out, the signal of script is restored, need to be filtered using various filters.
It is understood that although the present invention has been disclosed in the preferred embodiments as above, above-described embodiment not to
Limit the present invention.For any person skilled in the art, without departing from the scope of the technical proposal of the invention,
Many possible changes and modifications all are made to technical solution of the present invention using the technology contents of the disclosure above, or are revised as
With the equivalent embodiment of variation.Therefore, every content without departing from technical solution of the present invention is right according to the technical essence of the invention
Any simple modifications, equivalents, and modifications made for any of the above embodiments still fall within the range of technical solution of the present invention protection
It is interior.