Sower seed manure monitoring method
Technical field
The present invention relates to a kind of sower seed manure monitoring method.
Background technology
In the prior art, the integrated level of the seed manure observation circuit of sower is relatively poor, real-time a little less than, monitoring reliability is not ideal enough, especially when sower required wide cut (24) seeding unit dense planting flat planting, existing seed manure detection system can not satisfy the detection requirement.Simultaneously,, make photoelectric sensor be disturbed easily, influence monitoring effect because the operating environment complexity of sower has dust in the seed manure.
Summary of the invention
Goal of the invention of the present invention is to provide a kind of sower seed manure monitoring method, and is real-time, and monitoring is reliable.
Realize the technical scheme of the object of the invention:
A kind of sower seed manure monitoring method, it is characterized in that: each seeding unit of sower is equipped with sensor, seeding unit control module, sensor is sent to the seeding unit control module with detection signal, and the seeding unit control module is judged seeding state, the fertilizer state of seeding unit; Each seeding unit control module is sent to the sower main control unit with detection information, and the sower main control unit is realized the seed manure monitoring according to the detection information that sends to sower.
Sower main control unit and each seeding unit control module constitute LAN, and the sower main control unit is a host node, adopt the RS485 half-duplex operation.
The sower main control unit sends order in the mode of broadcasting to each seeding unit control module, and each seeding unit control module is with conversational mode, in that the corresponding timesharing time sends Frame to the sower main control unit separately.
Each seeding unit is provided with fertile stream signal processing unit, and this processing unit is judged the fertilizer state according to the signal that sensor sends, and information is sent to the seeding unit control module.
Sensor is arranged on the discharging tube and defertilizing tube of seeding unit.
Each seeding unit control module comprises upward stifled, the stifled detection down of kind of a grain number, broadcast leakage number, discharging tube to the seeding status detection.
The fertile stream of each seeding unit signal processing unit comprises upward stifled, following stifled detection of dark fertile state, shallow fertile state, defertilizing tube to the fertilizer status detection.
Seeding state and fertilizer state-detection adopt the analog signal input, and the A/D sample frequency is 1KHz; According to peak value, the pulsewidth of sampling pulse, judge whether this pulse is effective impulse.
The beneficial effect that the present invention has:
The present invention is provided with the seeding unit control module on each seeding unit, sower main control unit and each seeding unit control module constitute LAN, adopts the RS485 half-duplex operation, and the reliability height, antijamming capability is strong, transfer rate is high, compatibility is good.
Simultaneously, the design of this unit is more convenient for installing combination, easily failure judgement, change easily and upgrade because each seeding unit control module has certain independence, can not influence each other, further improved the reliability of system.
The present invention monitors more comprehensive to the seed manure of sower, can carry out upward stifled, the following stifled seeding state-detection of kind of a grain number, broadcast leakage number, discharging tube, can carry out the fertilizer state-detection of upward blocking up, blocking up down of dark fertile state, shallow fertile state, defertilizing tube.
Seeding state of the present invention and fertilizer state-detection adopt the analog signal input, and the A/D sample frequency is 1KHz; According to peak value, the pulsewidth of sampling pulse, judge whether this pulse is effective impulse, can effectively reduce because the dust disturb sensor to the influence that monitoring reliability causes, makes detection more reliable.
Description of drawings
Fig. 1 is a LAN topological diagram of the present invention;
Fig. 2 is a sower control module partial circuit theory diagram of the present invention;
Oscillogram when Fig. 3 detects for kind of grain.
Embodiment
Each seeding unit of sower is equipped with sensor, seeding unit control module, and sensor is arranged on the discharging tube and defertilizing tube of seeding unit, and sensor is sent to the seeding unit control module with detection signal.The seeding unit control module is judged seeding state, the fertilizer state of seeding unit; Each seeding unit control module is sent to the sower main control unit with detection information, and the sower main control unit is realized the seed manure monitoring according to the detection information that sends to sower.
As shown in Figure 1, in the present embodiment, sower has 24 seeding units, correspondingly is provided with 24 seeding unit control modules, and sower main control unit and each seeding unit control module constitute LAN, and the sower main control unit is a host node, adopts the RS485 half-duplex operation.
The sower main control unit sends order in the mode of broadcasting to each seeding unit control module, each seeding unit control module is numbered, the seeding unit control module postpones corresponding time timesharing to sower main control unit transmit data frames according to numbering separately, the time window that every frame data send is decided to be 30ms, the sower main control unit is realized according to letter sorting of the numbering in the Frame and statistical data
PrisonSurvey.
As shown in Figure 2, seeding unit is provided with fertile stream signal processing unit, and this processing unit is judged the fertilizer state according to the signal that sensor sends, and information is sent to the seeding unit control module.The fertile stream of seeding unit signal processing unit comprises upward stifled, following stifled detection of dark fertile state, shallow fertile state, defertilizing tube to the fertilizer status detection.The seeding unit control module comprises stifled, the stifled detection down of going up of kind of a grain number, broadcast leakage number, discharging tube to the seeding status detection, and the seeding unit control module also can detect the seeding unit rotating speed.
When seeding state and fertilizer state-detection, adopt the analog signal input, the A/D sample frequency is 1KHz; According to peak value, the pulsewidth of sampling pulse, judge whether this pulse is effective impulse.
Seeding state-detection (planting grain detects) is identical with fertilizer state-detection operation principle, further describes seeding state-detection (planting grain detects) process below:
The seeding speed of seeding unit is 10/second to the maximum, generally also more than 5/second, and every minimum 100ms of being of time window that seed passes through, the pulse width that seed forms is the wideest to be about 20ms.Under the constant condition of signal gain amplifier, along with dust increases, the pulse signal waveform of planting grain will change.Take all factors into consideration antijamming capability and do not lose useful signal, decided the threshold level of back waveform recognition, and the time period between pulse is determined the minimum level of no pulse according to former waveform.
As shown in Figure 3, the waveform when the kind grain is detected is divided into 3 periods respectively, is indicated by ptr process pointer.Calculate level (minimum level) V_av of dummy status when not having pulse, get the mean value of the sampled data of this period.The maximum MAX of pulse is the maximum in the period of ptr=1 sampled data.The triggering threshold level V_dr=(MAX-V_av)/2 of current measured pulse.Judge in the period of ptr=2 whether pulse is effective, when overtime (second_seed>3), judge whether to determine upper and lower stifled warning.
V_dr---determines it is the triggering level that pulse arrives
Ptr-----process pointer
The overtime timing of Second_seed-, this variable can increase 1 by per second in the time task
The sampled value that Vi---is current, (10 A/D Vi=0-1023)
X_buff[]---be the sampled data memory buffer, use 100 unit
Count------is the sensing x_buff[of current period (one of ptr=0-2)] pointer
Take out Vi and start A/D
1), triggering level v_dr
2) judge in limited time