CN106525139B - The control method of fish self-operated measuring unit - Google Patents

The control method of fish self-operated measuring unit Download PDF

Info

Publication number
CN106525139B
CN106525139B CN201611253054.4A CN201611253054A CN106525139B CN 106525139 B CN106525139 B CN 106525139B CN 201611253054 A CN201611253054 A CN 201611253054A CN 106525139 B CN106525139 B CN 106525139B
Authority
CN
China
Prior art keywords
state
fish
roller
measurement
return
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
CN201611253054.4A
Other languages
Chinese (zh)
Other versions
CN106525139A (en
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.)
HENAN ACADEMY OF FISHERY SCIENCE
Original Assignee
HENAN ACADEMY OF FISHERY SCIENCE
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 HENAN ACADEMY OF FISHERY SCIENCE filed Critical HENAN ACADEMY OF FISHERY SCIENCE
Priority to CN201611253054.4A priority Critical patent/CN106525139B/en
Publication of CN106525139A publication Critical patent/CN106525139A/en
Application granted granted Critical
Publication of CN106525139B publication Critical patent/CN106525139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Automation & Control Theory (AREA)
  • Processing Of Meat And Fish (AREA)

Abstract

The invention discloses a kind of fish self-operated measuring unit and its control programs.Including controller, weighing-appliance, two to roller apparatus and non-cpntact measurement equipment, controller is connect by data line with weighing-appliance, to roller apparatus and non-cpntact measurement equipment, non-cpntact measurement equipment is provided between two pairs of roller apparatus, to roller apparatus mainly by rolling out platform, form to roller driving wheel and to roller driven wheel, roller driving wheel is mounted on on rod platform, and be mounted on to rolling out connecting below platform to roller motor, to being equipped with axis sliding block on roller driven wheel, axis sliding block is slidably connected with to rod platform, and axis sliding block side is provided with spring.Using the present invention can body length of rapid survey fish especially live fish, weight, the data such as the body in each section of fish body is high, body is wide, greatly improve working efficiency, reduce the damage to live fish, studied for fish and more detailed basic data is provided.

Description

The control method of fish self-operated measuring unit
The control method of fish self-operated measuring unit
Technical field
The invention belongs to aquatic products to study automatic measuring device field, and in particular to a kind of control of fish self-operated measuring unit Method processed.
Background technique
In aquatic science research, to fish progress body length, body is high, body is wide, measured body weight, is researching fish growth rule Rule obtains the indispensable means of fish essential information.At present rely primarily on ruler amount, manual weighing carry out, only obtain weight, Body is long, fish body is most wide and 4 data of highest, and the measurement to living body fish is even more an arduous process, and measurement individual amount is huge, Live fish struggle, bounce, can not rapid survey, need to take a substantial amount of time, manpower, measurement efficiency is low, precision is low, to the damage of fish Wound is big.
Summary of the invention
The object of the present invention is to provide a kind of control method of fish self-operated measuring unit, can rapid survey fish body The data such as the body in each section of length, weight, fish body is high, body is wide, greatly improve working efficiency, reduce the damage to live fish.
The object of the present invention is achieved in the following manner: fish self-operated measuring unit, including controller, weighing-appliance, Two to roller apparatus and non-cpntact measurement equipment, controller by data line and weighing-appliance, to roller apparatus and non-cpntact measurement Equipment connection, is provided with non-cpntact measurement equipment between two pairs of roller apparatus, to roller apparatus mainly by roll out platform, to roller driving wheel Formed with to roller driven wheel, roller driving wheel be mounted on on rod platform, and be mounted on to roll out below platform to roller motor Connection, to axis sliding block is equipped on roller driven wheel, axis sliding block is slidably connected with to rod platform, and axis sliding block side is provided with spring.
It further include electronic tag reading apparatus, electronic tag reading apparatus is mounted on weighing-appliance and close to weighing-appliance To between roller apparatus.
It is described to be provided with elastic material coating to roller driving wheel and to the driven wheel surface of roller.
The non-cpntact measurement equipment includes measuring part and light source, and measuring part is by vertical measurement component and horizontal measurement Component is constituted, and light source is made of perpendicular light source and horizontal light source, and vertical measurement component is placed on the top in fish body channel, vertical light Source is placed on the lower section in fish body channel, and horizontal measurement component and horizontal light source are individually positioned in the two sides in fish body channel.
The measuring part is linear CCD sensor, and light source is CCD light source.
The weighing-appliance includes electronic scale, and electronic scale is mounted on rotatable platform, rotatable platform and rotatable platform motor Connection.
It is provided on the electronic scale with baltimore groove.
The control method of fish self-operated measuring unit, including main program, to roller motor control interrupt routine, line array CCD pass Sensor measures interrupt routine and weighs interrupt routine, and main program cycle executes do-nothing operation, waits each interrupt response, each interrupt response Afterwards, each interrupt routine is executed,
The work step of main program are as follows: each interrupt routine module is carried out initialization process by (A);(B) starting is to roller motor; (C) communication connection transmission data are established with computer;(D) Reflector is inquired;(E) if fault-free mark, execution step is recycled (C);(F) if faulty mark, each interrupt routine module is out of service;(G) error code is shown;(H) it shuts down;
To the work step of roller motor control interrupt routine are as follows: (a) is to roller motor tachometric survey;(b) PID control is to roller electricity Machine PWM;(c) it interrupts and returns;
The work step of linear CCD sensor measurement interrupt routine are as follows: (1) detecting state position, mode bit include state 0 Prepare, state 1 is ready, state 2 measures;(2) prepare if state 0, measurement data memory is determined whether, if having in measurement data It deposits, then increases one piece of measurement data memory newly, then state 1 is set indicate, interrupts and returns;If without request measurement data memory, Reflector and code are set, then interrupts and returns;(3) ready if state 1, it is wide to determine whether linear CCD sensor shade Signal is spent, if there is linear CCD sensor shade width signal, a fish is increased newly and measures opening flag, record both direction line Array ccd sensor shade width and to roller motor revolving speed, is then arranged state 2 and indicates, interrupt and return;If no line array CCD sensing Device shade width signal, then interrupt return;(4) it is measured if state 2, determines whether linear CCD sensor shade width signal, If there is linear CCD sensor shade width signal, records both direction linear CCD sensor shade width and roller motor is turned Speed is interrupted and is returned;If setting linear CCD sensor without linear CCD sensor shade width signal and being measured mark, so Setting state 0 indicates afterwards, interrupts and returns;
Weigh the work step of interrupt routine are as follows: (one) detecting state position, mode bit include that state 0 prepares, state 1 claims Amount, 2 removal of state, 3 return of state;(2) prepare if state 0, read fish and measure opening flag, if there is measurement opening flag, Then electronic scale is reset, and setting state 1 indicates, is then interrupted and is returned;If interrupting return without measurement opening flag;(3) if State 1 weighs, and reads electronic scale weighing data, if there is electronic scale weighing data, records weighing data, removes fish measurement mark Will starts rotatable platform motor lateral rotation, and setting state 2 indicates, then interrupts and returns;If without electronic scale weighing data, It interrupts and returns;(4) if 2 removal of state, lateral rotation signal in place is detected the presence of, if there is lateral rotation signal in place, is stopped Rotation stop moving platform motor lateral rotation, starting rotatable platform motor return rotation, setting state 3 indicates, then interrupts and returns;If Without lateral rotation signal in place, then return is interrupted;(5) if 3 return of state, return signal in place is detected the presence of, if there is return Signal in place, then rotatable platform motor stalls, setting state 0 indicate that then interruption returns;If without return in place signal It interrupts and returns.
Electronic tag reads interrupt routine, and electronic tag reads the work step of interrupt routine are as follows: 1. detecting state position, shape State position includes that state 0 prepares, state 1 is ready, state 2 is read;2. preparing if state 0, electronic tag is determined whether, if there is electricity Subtab is then arranged the mark of state 1, then interrupts and return;If interrupting return without electronic tag;3. it is ready if state 1, It reads fish and measures opening flag, if there is measurement opening flag, the mark of state 2 is set, then interrupts and returns;If no measurement starts Mark, then interrupt return;4. being read if state 2, electronic tag signal is detected if there is electronic tag signal and records electronics Label data sets electronic tag complement mark, and state 0 is then arranged and indicates, interrupts and returns;If without electronic tag signal, It reads this fish and is measured mark, if being measured mark, set electronic tag and do not complete mark, then state is set 0 mark, interrupts and returns, if interrupting return without mark is measured.
The beneficial effects of the present invention are: using the present invention can rapid survey fish especially live fish body length, weight, fish The data such as the body in each section of body is high, body is wide, while electronic labeling information can be read, working efficiency is greatly improved, is reduced Damage to live fish provides more detailed basic data for fish research;It, only need to be compared with when being measured using the present invention to fish body Few step, and it can be completed in a short time the growth traits acquisition to a fish, the contact repeatedly to fish body is avoided, Reduce stress reaction caused by data acquisition.
Detailed description of the invention
Fig. 1 is structural schematic diagram of the invention.
Fig. 2 is structural schematic diagram of the invention.
Fig. 3 is the structural schematic diagram to roller apparatus.
Fig. 4 is the structural schematic diagram of non-cpntact measurement equipment.
Fig. 5 is the flow chart of main program.
Fig. 6 is the flow chart to roller motor control interrupt routine.
Fig. 7 is the flow chart of linear CCD sensor measurement interrupt routine.
Fig. 8 is the flow chart for weighing interrupt routine.
Fig. 9 is the flow chart that electronic tag reads interrupt routine.
Specific embodiment
Embodiment 1: as shown in figure 1, figure 3 and figure 4, fish self-operated measuring unit, including controller, weighing-appliance, two it is right Roller apparatus 1 and non-cpntact measurement equipment 8, controller 13 is by data line 19 with weighing-appliance, to roller apparatus 1 and non-cpntact measurement Equipment 8 connects, and portable computer 14 turns the record information in controller by wired or wireless and 13 connection communication of controller It is stored in portable computer 14 to be handled, power supply 20 is that controller 13 provides the energy, is provided between two pairs of roller apparatus 1 non- Contact measurement equipment 8, to roller apparatus 1 mainly by rolling out platform 11, forming to roller driving wheel 2 and to roller driven wheel 3, actively to roller It takes turns 2 and roller driven wheel 3 is vertically disposed in certain interval to rolling out above platform 11, to roller driving wheel 2 and to 3 table of roller driven wheel Face is provided with elastic material coating, to reduce to fish injury, is mounted on roller driving wheel 2 on rod platform 11, and pass through Shaft coupling be mounted on to rolling out connect to roller motor 12 for the lower section of platform 11, to being equipped with axis sliding block 10, axis cunning on roller driven wheel 3 Block 10 is slidably connected with to rod platform 11, and 11 side of axis sliding block is provided with spring 9, to roller driven wheel 3 as axis sliding block 10 can be with To far from sliding to 2 direction of roller driving wheel, then pressing to roller driven wheel 3 to roller driving wheel 2, controller is controlled to roller spring 9 Motor drive rotates roller driving wheel with certain speed, and when fish body head is facing forward, back is sent into upward to roller gap, fish body body Width is strutted to roller driven wheel, and spring compression makes to be close to two sides of fish body with to roller driving wheel to roller driven wheel to roller driven wheel, Roller driving wheel is rotated, fish body is at the uniform velocity conveyed backward;Non-cpntact measurement equipment 8 includes measuring part and light source, and measuring part is Linear CCD sensor, light source are CCD light source, and measuring part is made of vertical measurement component 4 and horizontal measurement component 6, light source by Perpendicular light source 7 and horizontal light source 5 are constituted, and vertical measurement component 4 is placed on the top in fish body channel, and perpendicular light source 7 is placed on fish The lower section in body channel, horizontal measurement component 6 and horizontal light source 5 are individually positioned in the two sides in fish body channel, when fish body fish head most before When portion is by entering linear CCD measuring device section to roller apparatus, fish body blocks light source, senses in the line array CCD of both direction Projection is formed on device, trigger controller starts to monitor projection width, and vertical direction linear CCD sensor obtains the wide number of fish body body According to horizontal direction linear CCD sensor obtains the high data of fish body body, and as fish body is at the uniform velocity advanced, controller is all at certain intervals Phase record fish body body is wide and body is high, while recording each gap periods fish body forward speed, until fish tail passes through, line array CCD Sensor is monitored less than projection, and controller stops recording, by being somebody's turn to do to all intervals and fish body forward speed COMPREHENSIVE CALCULATING Fish length, the body in each section be high, the wide data of body;Weighing-appliance includes electronic scale 16, and electronic scale 16 is mounted on rotatable platform On 18, rotatable platform 18 is connect by shaft coupling with rotatable platform motor 17, is provided on electronic scale 16 with baltimore groove, is worked as survey Fish is measured after exporting in slide-in electronic scale baltimore groove to roller apparatus, controller starts electronic scale and weighs, fish body weight data are recorded, After the completion of weighing, controller start rotatable platform motor rotation, drive can lateral rotation rotatable platform and electronic scale side rotary Turn, fish removal, controls rotatable platform return, complete the measurement of a fish.
Controller controls two and at the uniform velocity rotates to roller motor, monitors vertically and horizontally linear CCD sensor signal, once prison It has measured fish body and section is measured by linear CCD sensor, controller continuous cycles monitor linear CCD sensor signal, record It is scaled fish body body height, the wide information of body, while record fish body forward speed in real time, is measured when fish tail passes through linear CCD sensor Behind section, controller completes the body height in long, each section of body of a fish, the wide data record of body.When to be slipped to electronic scale recessed for fish After in type disk, controller records the weight information of this fish, and starts rotation electronic scale platform motor rotation, removal this fish, Motor return completes the measurement of a fish.
As shown in figures 5-8, the control method of fish self-operated measuring unit, including main program, to roller motor control interrupt journey Sequence, linear CCD sensor measurement interrupt routine and weighing interrupt routine, main program cycle execute do-nothing operation, and each interruption is waited to ring It answers, after each interrupt response, executes each interrupt routine, the work step of main program are as follows: (A) carries out each interrupt routine module initial Change processing;(B) starting is to roller motor;(C) communication connection transmission data are established with computer;(D) Reflector is inquired;(E) if nothing Reflector then recycles and executes step (C);(F) if faulty mark, each interrupt routine module is out of service;(G) display is wrong Accidentally code;(H) it shuts down;To the work step of roller motor control interrupt routine are as follows: (a) is to roller motor tachometric survey;(b) PID is controlled System is to roller motor PWM;(c) it interrupts and returns;
The work step of linear CCD sensor measurement interrupt routine are as follows: (1) detecting state position, mode bit include that state 0 is quasi- It is standby, state 1 is ready, state 2 measure;(2) prepare if state 0, measurement data memory is determined whether, if having in measurement data It deposits, then increases one piece of measurement data memory newly, then state 1 is set indicate, interrupts and returns;If being set without measurement data memory Then Reflector and code are interrupted and are returned;(3) ready if state 1, determine whether linear CCD sensor shade width letter Number, if there is linear CCD sensor shade width signal, increases a fish newly and measure opening flag, record both direction line array CCD Sensor shade width and to roller motor revolving speed, is then arranged state 2 and indicates, interrupt and return;If without linear CCD sensor shade Width signal then interrupts return;(4) it is measured if state 2, linear CCD sensor shade width signal is determined whether, if wired Array ccd sensor shade width signal, then record both direction linear CCD sensor shade width and to roller motor revolving speed, in It is disconnected to return;If setting linear CCD sensor without linear CCD sensor shade width signal and being measured mark, be then arranged State 0 indicates, interrupts and returns;
Weigh the work step of interrupt routine are as follows: (one) detecting state position, mode bit include that state 0 prepares, state 1 claims Amount, 2 removal of state, 3 return of state;(2) prepare if state 0, read fish and measure opening flag, if there is measurement opening flag, Then electronic scale is reset, and setting state 1 indicates, is then interrupted and is returned;If interrupting return without measurement opening flag;(3) if State 1 weighs, and reads electronic scale weighing data, if there is electronic scale weighing data, records weighing data, removes fish measurement mark Will starts rotatable platform motor lateral rotation, and setting state 2 indicates, then interrupts and returns;If without electronic scale weighing data, It interrupts and returns;(4) if 2 removal of state, lateral rotation signal in place is detected the presence of, if there is lateral rotation signal in place, is stopped Rotation stop moving platform motor lateral rotation, starting rotatable platform motor return rotation, setting state 3 indicates, then interrupts and returns;If Without lateral rotation signal in place, then return is interrupted;(5) if 3 return of state, return signal in place is detected the presence of, if there is return Signal in place, then rotatable platform motor stalls, setting state 0 indicate that then interruption returns;If without return in place signal It interrupts and returns.
The course of work: manually fish head, feeding a pair of rolls equipment entrance, controller control are even to roller motor in advance, back up Speed rotation, to roller driving wheel and at the uniform velocity advancing to roller driven wheel clamping fish body two sides by spring compression, when fish head front enters When non-cpntact measurement equipment section, trigger controller starts the numbers such as synchronizing cycle record fish body body wide, body is high, fish body forward speed According to, fish body is at the uniform velocity advanced, and fish head enters another pair roller apparatus entrance, at the uniform velocity advanced by two groups of front and backs to roller apparatus clamping fish body, It prevents and treats live fish and struggles and beat, relatively stable state is formed in non-contact measurement device for measuring section, when fish tail passes through non-cpntact measurement Behind equipment section, controller terminates this fish body height, the wide measurement of body, and comprehensive fish body forward speed completes whole fish length, each section Face body is wide, the high data record of body, when fish body it is whole by roller apparatus after, slide into meausring apparatus, controller read weighing data Afterwards, control meausring apparatus side turns, and fish body removal, meausring apparatus return completes the measurement task of a fish.Portable computer with Measurement data is transferred to computer and is handled by controller communication.
Embodiment 2: as shown in figs. 2 to 4, unlike the first embodiment weighing-appliance and close to weighing-appliance to roller Electronic tag reading apparatus 15 is installed, electronic tag is typically all electronic tag near the fish body dorsal fin in muscle between equipment Reading device is placed on to roller apparatus outlet port top, records electronic tag data, the measurement with this fish convenient for controller Information is merged.
Controller controls two and at the uniform velocity rotates to roller motor, monitors vertically and horizontally linear CCD sensor signal, once prison Fish body is measured by linear CCD sensor sensor measurement section, controller continuous cycles monitor linear CCD sensor letter Number, record is scaled fish body body height, the wide information of body, while record fish body forward speed in real time, senses when fish tail passes through line array CCD After device measures section, controller completes the body height in long, each section of body of a fish, the wide data record of body.It is attached in fish body dorsal fin When close electronic tag is close to electronic tag reading apparatus, controller records the label information of this fish.When fish is slipped to electronics After in scale concave disk, controller records the weight information of this fish, and start rotation electronic scale platform motor rotation, removal this Fish, motor return complete the measurement of a fish.
As shown in Fig. 5~9, the control method of fish self-operated measuring unit, different from embodiment 1 is being to increase electronics mark Label read interrupt routine, and electronic tag reads the work step of interrupt routine are as follows: 1. detecting state position, mode bit include state 0 Prepare, state 1 is ready, state 2 is read;2. preparing if state 0, determines whether electronic tag, if there is electronic tag, be arranged State 1 indicates, then interrupts and returns;If interrupting return without electronic tag;3. it is ready if state 1, it reads fish measurement and starts Mark is arranged the mark of state 2, then interrupts and return if there is measurement opening flag;If without measurement opening flag, interruption is returned It returns;4. being read if state 2, electronic tag signal is detected if there is electronic tag signal and records electronic tag data, is set Then electronic tag complement mark is arranged state 0 and indicates, interrupts and return;If reading the measurement of this fish without electronic tag signal Complement mark sets electronic tag and does not complete mark if being measured mark, and state 0 is then arranged and indicates, interruption is returned It returns, if interrupting return without mark is measured.
The course of work: manually fish head, feeding a pair of rolls equipment entrance, controller control are even to roller motor in advance, back up Speed rotation, to roller driving wheel and at the uniform velocity advancing to roller driven wheel clamping fish body two sides by spring compression, when fish head front enters When non-cpntact measurement equipment section, trigger controller starts the numbers such as synchronizing cycle record fish body body wide, body is high, fish body forward speed According to, fish body is at the uniform velocity advanced, and fish head enters another pair roller apparatus entrance, at the uniform velocity advanced by two groups of front and backs to roller apparatus clamping fish body, It prevents and treats live fish and struggles and beat, relatively stable state is formed in non-contact measurement device for measuring section, when fish tail passes through non-cpntact measurement Behind equipment section, controller terminates this fish body height, the wide measurement of body, and comprehensive fish body forward speed completes whole fish length, each section Face body is wide, the high data record of body, and the electronic tag near dorsal fin position is read close to roller apparatus outlet top electronic tag When device, controller, which is read, records the electronic tag data of this fish, when fish body it is whole by roller apparatus after, slide into and weigh dress It sets, after controller reads weighing data, control meausring apparatus side turns, and fish body removal, meausring apparatus return completes a fish Measurement task.Measurement data is transferred to computer and is handled by portable computer and controller communication.
Linear CCD sensor in the present invention can also be changed to camera, principle is consistent.
What has been described above is only a preferred embodiment of the present invention, it is noted that for those skilled in the art, Without depart from that overall concept of the invention, several changes and improvements can also be made, these also should be considered as of the invention Protection scope.

Claims (2)

1. the control method of fish self-operated measuring unit, the self-operated measuring unit includes controller, weighing-appliance, two to roller Equipment and non-cpntact measurement equipment, controller are connect by data line with weighing-appliance, to roller apparatus and non-cpntact measurement equipment, It is provided with non-cpntact measurement equipment between two pairs of roller apparatus, reads dress to electronic tag is provided between roller apparatus and weighing-appliance It sets, the weighing-appliance includes electronic scale, and electronic scale is mounted on rotatable platform, and rotatable platform is connect with rotatable platform motor,
To roller apparatus mainly by being mounted on to roller driving wheel flat to rod to rolling out platform, forming to roller driving wheel and to roller driven wheel On platform, and be mounted on to rolling out connecting below platform to roller motor, to being equipped with axis sliding block on roller driven wheel, axis sliding block with it is right Rod platform is slidably connected, and axis sliding block side is provided with spring;
The non-cpntact measurement equipment includes measuring part and light source, and the measuring part is linear CCD sensor, and light source is CCD light source, and the measuring part is made of vertical measurement component and horizontal measurement component, light source is by perpendicular light source and horizon light Source is constituted, and vertical measurement component is placed on the top in fish body channel, and perpendicular light source is placed on the lower section in fish body channel, horizontal measurement Component and horizontal light source are individually positioned in the two sides in fish body channel,
It is characterized by comprising main program, to roller motor control interrupt routine, linear CCD sensor measurement interrupt routine and title Interrupt routine is measured, main program cycle executes do-nothing operation, waits each interrupt response, after each interrupt response, each interrupt routine is executed,
The work step of main program are as follows: each interrupt routine module is carried out initialization process by (A);(B) starting is to roller motor;(C) Communication connection transmission data are established with computer;(D) Reflector is inquired;(E) it if fault-free mark, recycles and executes step (C); (F) if faulty mark, each interrupt routine module is out of service;(G) error code is shown;(H) it shuts down;
To the work step of roller motor control interrupt routine are as follows: (a) is to roller motor tachometric survey;(b) PID control is to roller motor PWM;(c) it interrupts and returns;
Linear CCD sensor measurement interrupt routine work step are as follows: (1) detecting state position, mode bit include state 0 prepare, State 1 is ready, state 2 measures;(2) prepare if state 0, determine whether measurement data memory, if there is measurement data memory, It increases one piece of measurement data memory newly, then state 1 is set indicate, interrupts and returns;If setting failure mark without measurement data memory Then will and code are interrupted and are returned;(3) ready if state 1, linear CCD sensor shade width signal is determined whether, if having Linear CCD sensor shade width signal then increases a fish newly and measures opening flag, records both direction linear CCD sensor Shade width and to roller motor revolving speed, is then arranged state 2 and indicates, interrupt and return;If no linear CCD sensor shade width letter Number, then interrupt return;(4) it is measured if state 2, linear CCD sensor shade width signal is determined whether, if there is line array CCD Sensor shade width signal, then record both direction linear CCD sensor shade width and to roller motor revolving speed, interruption is returned It returns;If setting linear CCD sensor without linear CCD sensor shade width signal and being measured mark, state is then arranged 0 mark, interrupts and returns;
Weigh the work step of interrupt routine are as follows: (one) detecting state position, mode bit include that state 0 prepares, state 1 weighs, shape 2 removal of state, 3 return of state;(2) prepare if state 0, read fish and measure opening flag, if there is measurement opening flag, electricity Sub- scale is reset, and setting state 1 indicates, is then interrupted and is returned;If interrupting return without measurement opening flag;(3) if state 1 It weighs, reads electronic scale weighing data, if there is electronic scale weighing data, record weighing data, remove fish measurement mark, starting Rotatable platform motor lateral rotation, setting state 2 indicates, then interrupts and returns;If interruption is returned without electronic scale weighing data It returns;(4) if 2 removal of state, lateral rotation signal in place is detected the presence of, if there is lateral rotation signal in place, is stopped operating Platform motor lateral rotation, starting rotatable platform motor return rotation, setting state 3 indicates, then interrupts and returns;If without lateral Rotate in place signal, then interrupts return;(5) if 3 return of state, return signal in place is detected the presence of, if there is return to believe in place Number, then rotatable platform motor stalls, setting state 0 indicate that then interruption returns;It interrupts and returns if no return in place signal It returns.
2. the control method of fish self-operated measuring unit according to claim 1, it is characterised in that: further include electronic tag Interrupt routine is read, electronic tag reads the work step of interrupt routine are as follows: 1. detecting state position, mode bit include that state 0 is quasi- It is standby, state 1 is ready, state 2 read;2. preparing if state 0, determines whether electronic tag, if there is electronic tag, shape is set State 1 indicates, then interrupts and returns;If interrupting return without electronic tag;3. it is ready if state 1, it reads fish measurement and starts to mark Will is arranged the mark of state 2, then interrupts and return if there is measurement opening flag;If interrupting return without measurement opening flag; 4. reading if state 2, electronic tag signal is detected, if there is electronic tag signal, electronic tag data is recorded, sets electronics Then label complement mark is arranged state 0 and indicates, interrupts and return;If reading this fish without electronic tag signal and being measured Mark sets electronic tag and does not complete mark if being measured mark, and state 0 is then arranged and indicates, interrupts and returns, if Without mark is measured, then return is interrupted.
CN201611253054.4A 2016-12-30 2016-12-30 The control method of fish self-operated measuring unit Active CN106525139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611253054.4A CN106525139B (en) 2016-12-30 2016-12-30 The control method of fish self-operated measuring unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611253054.4A CN106525139B (en) 2016-12-30 2016-12-30 The control method of fish self-operated measuring unit

Publications (2)

Publication Number Publication Date
CN106525139A CN106525139A (en) 2017-03-22
CN106525139B true CN106525139B (en) 2019-06-28

Family

ID=58336265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611253054.4A Active CN106525139B (en) 2016-12-30 2016-12-30 The control method of fish self-operated measuring unit

Country Status (1)

Country Link
CN (1) CN106525139B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117571103A (en) * 2017-11-30 2024-02-20 山东新希望六和集团有限公司 Experimental fry weighing equipment that uses
CN111290327B (en) * 2020-02-02 2020-12-18 湖北省农业科学院农产品加工与核农技术研究所 Fish posture judgment device and method
CN113155198A (en) * 2021-05-08 2021-07-23 上海海洋大学 Automatic measuring equipment and method for weight and overall dimension of fish body

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369995Y (en) * 2009-03-09 2009-12-30 中国水产科学研究院东海水产研究所 Fish growth measuring device
CN102860346A (en) * 2012-10-10 2013-01-09 中国水产科学研究院渔业机械仪器研究所 Machining method and machining equipment for removing heads and viscera of small fishes
CN103344281A (en) * 2013-07-04 2013-10-09 中国水产科学研究院黄海水产研究所 Fish body growth character fast measuring device and measuring method
JP2013236608A (en) * 2012-05-14 2013-11-28 Hitoshi Yoshida Instrument for length measuring/making and like of fishing line and like
CN104482860A (en) * 2014-12-05 2015-04-01 浙江大学宁波理工学院 Automatic measuring device and method for fish type morphological parameters
CN105852867A (en) * 2016-03-28 2016-08-17 中国环境科学研究院 Fish physiological parameter automatic recording device and method
CN206300684U (en) * 2016-12-30 2017-07-04 河南省水产科学研究院 Fish self-operated measuring unit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201369995Y (en) * 2009-03-09 2009-12-30 中国水产科学研究院东海水产研究所 Fish growth measuring device
JP2013236608A (en) * 2012-05-14 2013-11-28 Hitoshi Yoshida Instrument for length measuring/making and like of fishing line and like
CN102860346A (en) * 2012-10-10 2013-01-09 中国水产科学研究院渔业机械仪器研究所 Machining method and machining equipment for removing heads and viscera of small fishes
CN103344281A (en) * 2013-07-04 2013-10-09 中国水产科学研究院黄海水产研究所 Fish body growth character fast measuring device and measuring method
CN104482860A (en) * 2014-12-05 2015-04-01 浙江大学宁波理工学院 Automatic measuring device and method for fish type morphological parameters
CN105852867A (en) * 2016-03-28 2016-08-17 中国环境科学研究院 Fish physiological parameter automatic recording device and method
CN206300684U (en) * 2016-12-30 2017-07-04 河南省水产科学研究院 Fish self-operated measuring unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
淡水养殖鱼类体长的测量方法;周碧云 等;《上海水产大学学报》;19950630;第4卷(第2期);第147-151段

Also Published As

Publication number Publication date
CN106525139A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN206402937U (en) Fish automatic measurement marking device
CN106525139B (en) The control method of fish self-operated measuring unit
CN110420882A (en) Based on intelligence manufacture mode crankshaft magnetic powder inspection transfer line system and method
CN204165517U (en) A kind of accurate axle external diameter and the automatic detection device of beating
CN103389415A (en) Detection system and detection method used for detecting resistance of glass heating wire and detecting whether wire breakage exists
CN204929582U (en) Corn seed investigating machine
CN101601512B (en) Portable non-contact human dimension automatic measurement device used for clothing customization
CN109136448A (en) It is a kind of to move gun apparatus and automatic Steelmaking system certainly
CN105783990A (en) Panoramic image measurement system for corn ear indoor accurate seed assessment and testing
CN112005931A (en) Abnormal body temperature automatic inspection system for flat-rearing broiler chickens based on raspberry group
CN206300684U (en) Fish self-operated measuring unit
CN210231944U (en) Three-dimensional machine vision-based 3D laser cutting system
CN216931665U (en) Device for automatically cutting pig carcass
CN205246015U (en) Pottery brick plane degree on -line measuring device
CN110455413A (en) A kind of medium-and-large-sized livestock farm body-temperature monitoring device and monitoring method
CN106768057B (en) Double-roller type fish three-dimensional scanning measuring device and control method thereof
CN103357595B (en) Automatic screening machine
CN102506790B (en) Device for automatically detecting row length of nuclear fuel dynamic pallets
CN210109127U (en) Graded detection assembly line
CN207973180U (en) A kind of automatic feeding
CN114931112B (en) Sow body ruler detection system based on intelligent inspection robot
CN210089613U (en) Iron notch detection mechanism that targets in place
CN206410733U (en) Pair roller type fish three-dimensional scanning measurement device
CN209716777U (en) A kind of laser mark printing device
CN106768056B (en) Non-contact fish automatic measuring device and control program thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant