CN113159263A - Metering method based on photoelectric sensor and Hall sensor - Google Patents

Metering method based on photoelectric sensor and Hall sensor Download PDF

Info

Publication number
CN113159263A
CN113159263A CN202110619869.4A CN202110619869A CN113159263A CN 113159263 A CN113159263 A CN 113159263A CN 202110619869 A CN202110619869 A CN 202110619869A CN 113159263 A CN113159263 A CN 113159263A
Authority
CN
China
Prior art keywords
sensor
hall
photoelectric
photoelectric sensor
hall sensor
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.)
Pending
Application number
CN202110619869.4A
Other languages
Chinese (zh)
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.)
Langfang Xinao Intelligent Technology Co Ltd
Original Assignee
Langfang Xinao Intelligent Technology Co Ltd
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 Langfang Xinao Intelligent Technology Co Ltd filed Critical Langfang Xinao Intelligent Technology Co Ltd
Priority to CN202110619869.4A priority Critical patent/CN113159263A/en
Publication of CN113159263A publication Critical patent/CN113159263A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/272Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using photoelectric means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M1/00Design features of general application
    • G06M1/27Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum
    • G06M1/274Design features of general application for representing the result of count in the form of electric signals, e.g. by sensing markings on the counter drum using magnetic means; using Hall-effect devices

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention discloses a metering method based on a photoelectric sensor and a Hall sensor, belonging to the technical field of metering and comprising a counting wheel, the Hall sensor, the photoelectric sensor and a controller; the controller controls the counting wheel to rotate; when the magnet rotates to a position corresponding to the Hall sensor, the light reflecting paste corresponds to the photoelectric sensor; the magnet is attracted with the Hall sensor; after the controller receives the information of the change of the Hall signal, the controller controls the photoelectric sensor to change the working state; the photoelectric sensor receives the light reflected by the light reflecting sticker and changes, so that a photoelectric signal generated by the photoelectric sensor changes; after the controller receives the information of the change of the photoelectric signal; the controller controls the counting wheel to count. The method of the invention not only avoids strong magnetic interference, but also avoids electric energy loss and strong light interference caused by long-time work of the photoelectric sensor.

Description

Metering method based on photoelectric sensor and Hall sensor
Technical Field
The invention belongs to the technical field of metering, and particularly relates to a metering method based on a photoelectric sensor and a Hall sensor.
Background
At present, three common counting methods are reed pipe counting, photoelectric sensor counting and Hall sensor counting, and all the three methods have certain defects, for example, the reed pipe sampling is attracted by magnetic steel, although the volume is small and the cost is low, the anti-electromagnetic interference capability is low, and the matching is carried out by the anti-electromagnetic interference technology; the Hall element in the Hall sampling is a magnetic sensor, and needs power supply based on Hall effect, so that the Hall element has a small current loss for a long time and has poor anti-electromagnetic interference capability; the light-emitting element in the photoelectric sampling is generally a light-emitting diode or a laser diode, and the current consumption is larger compared with a reed switch and a Hall device. Therefore, a metering method with strong magnetic interference resistance and small current consumption is urgently needed.
Disclosure of Invention
In view of the above problems, the present invention provides a method for measuring a quantity based on a photosensor and a hall sensor, comprising:
the device comprises a counting wheel, a Hall sensor, a photoelectric sensor and a controller;
the controller controls the counting wheel to rotate;
when the magnet rotates to a position corresponding to the Hall sensor, the light reflecting sticker corresponds to the photoelectric sensor;
the magnet is attracted with the Hall sensor;
the Hall signal generated by the Hall sensor changes;
after the controller receives the information of the change of the Hall signal, the controller controls the photoelectric sensor to change the working state;
the photoelectric sensor receives the light reflected back by the light reflecting sticker and changes, so that a photoelectric signal generated by the photoelectric sensor changes;
after the controller receives the information of the change of the photoelectric signal;
the controller controls the counting wheel to count.
Preferably, when the hall sensor is not attracted to the magnet, the photoelectric sensor is in a power-off state or a low-power consumption state; the magnet is attracted with the Hall sensor, and the photoelectric sensor is in a normal working state.
Preferably, the output end of the magnet after being attracted to the hall sensor is the enable control end of the photoelectric sensor.
Preferably, the controller controls the counting wheel to count includes:
and after the controller sequentially receives the information of the change of the Hall signal and the information of the change of the photoelectric signal, the controller controls the counting wheel to count.
Preferably, the controller sets a certain time, and if the time is exceeded, the hall signal sent by the hall sensor remains unchanged, and then the photoelectric sensor returns to the initial working state.
Preferably, the information of the hall signal change and the information of the photoelectric signal change are both enhancement information.
Preferably, the counting wheel is a print wheel or a counting device moving synchronously with the print wheel.
Compared with the prior art, the invention has the beneficial effects that:
according to the method, after the controller sequentially receives the information of the change of the Hall signal and the information of the change of the photoelectric signal, the controller controls the counting wheel to count, and meanwhile, the working state of the photoelectric sensor is switched along with the change of the Hall sensor.
Drawings
FIG. 1 is a schematic flow chart of a metering method based on a photoelectric sensor and a Hall sensor according to the present invention;
fig. 2 is a schematic structural diagram of a metering method based on a photoelectric sensor and a hall sensor in the invention.
Reference numerals
1. A counting wheel; 2. a Hall sensor; 3. a photosensor; 4. a magnet; 5. and (5) reflecting the light.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Referring to fig. 1, the invention discloses a metering method based on a photoelectric sensor and a hall sensor, comprising a counting wheel 1, a hall sensor 2, a photoelectric sensor 3 and a controller;
specifically, the counting wheel 1 is a character wheel or a counting device which moves synchronously with the character wheel; photoelectric sensor 3 and photoelectric sensor 3 are certain angle interval with the centre of a circle of count wheel 1 and set up, and the controller respectively with count wheel 1, hall sensor 2 and photoelectric sensor 3 control connection, be equipped with at least one magnet 4 and at least one reflection of light subsides 5 on the count wheel 1, and when a magnet 4 and hall sensor 2 corresponded, the reflection of light subsides 5 corresponded in photoelectric sensor 3.
The controller controls the counting wheel 1 to rotate;
when the magnet 4 rotates to a position corresponding to the Hall sensor 2, the reflecting sticker 5 corresponds to the photoelectric sensor 3;
the magnet 4 is attracted with the Hall sensor 2;
the hall signal generated by the hall sensor 2 changes;
after the controller receives the information of the change of the Hall signal, the photoelectric sensor 3 is controlled to change the working state;
specifically, when the hall sensor 2 is not attracted to the magnet 4, the photoelectric sensor 3 is in a power-off state or a low-power consumption state; magnet 4 and hall sensor 2 actuation, photoelectric sensor 3 is in normal operating condition, sets up like this and can switch photoelectric sensor 3's state for this photoelectric sensor 3's consumption electric energy is little. The output end of the magnet 4 after being attracted with the Hall sensor 2 is the enabling control end of the photoelectric sensor 3, so that electric energy is further saved.
The photoelectric sensor 3 receives the light reflected back by the light reflecting sticker 5 and changes, so that a photoelectric signal generated by the photoelectric sensor 3 changes;
specifically, the controller sets a certain time, and after the time, the hall signal sent by the hall sensor 2 remains unchanged, so that the photoelectric sensor 3 is restored to the initial working state, the photoelectric sensor 3 is ensured not to be in the working state for a long time, and the electric energy is saved by the arrangement.
After the controller receives the information of the change of the photoelectric signal;
the controller controls the counting wheel 1 to count, and after the controller receives the information of the change of the Hall signal and the information of the change of the photoelectric signal in sequence, the controller controls the counting wheel 1 to count. According to the arrangement, the method not only overcomes the electromagnetic interference, but also solves the problem that the photoelectric sensor 3 consumes much energy.
Further, when the hall signal changes, but the photoelectric sensor 3 is not switched to a working state, which may be electromagnetic interference, the controller enters a fault handling process; or when the Hall signal is not changed, but the photoelectric signal is changed, which may be strong light interference, the controller also enters a fault handling process.
In the present embodiment, both the information of the hall signal change and the information of the photoelectric signal change are enhancement information.
In this embodiment, the controller, the hall sensor 2, and the photoelectric sensor 3 are all conventional devices, the controller may be a single chip, a control chip, or the like, and software processes involved in control connection between the controller and the hall sensor 2, the photoelectric sensor 3, and the counter wheel 1 are all conventional technologies.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A metering method based on a photoelectric sensor and a Hall sensor is characterized by comprising a counting wheel, the Hall sensor, the photoelectric sensor and a controller;
the controller controls the counting wheel to rotate;
when the magnet rotates to a position corresponding to the Hall sensor, the light reflecting sticker corresponds to the photoelectric sensor;
the magnet is attracted with the Hall sensor;
the Hall signal generated by the Hall sensor changes;
after the controller receives the information of the change of the Hall signal, the controller controls the photoelectric sensor to change the working state;
the photoelectric sensor receives the light reflected back by the light reflecting sticker and changes, so that a photoelectric signal generated by the photoelectric sensor changes;
after the controller receives the information of the change of the photoelectric signal;
the controller controls the counting wheel to count.
2. The metering method based on the photoelectric sensor and the Hall sensor as claimed in claim 1, wherein when the Hall sensor is not attracted to the magnet, the photoelectric sensor is in a power-off state or a low power consumption state; the magnet is attracted with the Hall sensor, and the photoelectric sensor is in a normal working state.
3. The metering method based on the photoelectric sensor and the Hall sensor as claimed in claim 2, wherein the output end of the magnet after being attracted with the Hall sensor is an enabling control end of the photoelectric sensor.
4. The photosensor and hall sensor based metering method of claim 3 wherein the controller controlling the counting wheel to count comprises:
and after the controller sequentially receives the information of the change of the Hall signal and the information of the change of the photoelectric signal, the controller controls the counting wheel to count.
5. The photosensor and hall sensor based metrology method of claim 4 wherein the controller sets a time beyond which the hall signal sent by the hall sensor remains constant and the photosensor returns to an initial operating state.
6. The photosensor and hall sensor based metrology method of claim 5 wherein the information of the hall signal change and the information of the photoelectric signal change are enhancement information.
7. The photosensor and hall sensor based metrology method of claim 1 wherein the counting wheel is a print wheel or a counting device that moves in synchronization with a print wheel.
CN202110619869.4A 2021-06-03 2021-06-03 Metering method based on photoelectric sensor and Hall sensor Pending CN113159263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110619869.4A CN113159263A (en) 2021-06-03 2021-06-03 Metering method based on photoelectric sensor and Hall sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110619869.4A CN113159263A (en) 2021-06-03 2021-06-03 Metering method based on photoelectric sensor and Hall sensor

Publications (1)

Publication Number Publication Date
CN113159263A true CN113159263A (en) 2021-07-23

Family

ID=76875670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110619869.4A Pending CN113159263A (en) 2021-06-03 2021-06-03 Metering method based on photoelectric sensor and Hall sensor

Country Status (1)

Country Link
CN (1) CN113159263A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201873847U (en) * 2010-09-13 2011-06-22 南通纺织职业技术学院 Industrial sewing machine servo control device based on DC (direct current) brushless motor
CN104811105A (en) * 2015-05-08 2015-07-29 江苏工程职业技术学院 Single-Hall three-phase brushless direct current motor used for high speed industrial sewing machine and control method thereof
CN204924390U (en) * 2015-04-27 2015-12-30 杭州市余杭区质量计量监测中心 Detection apparatus for diaphragm type gas table equivalent gyration volume
CN106643951A (en) * 2016-11-15 2017-05-10 金卡高科技股份有限公司 Novel pulse metering device in fuel gas meter end and metering method
CN207439480U (en) * 2017-11-07 2018-06-01 重庆创元智能仪表系统有限公司 A kind of comprehensive gas metering equipment of photoelectricity Hall
CN110422600A (en) * 2019-06-26 2019-11-08 江苏海宏信息科技有限公司 A method of it is even wrapped for bagged material conveyer belt counting and detecting device and its judgement
CN209858601U (en) * 2019-03-18 2019-12-27 安徽科技学院 Rotating speed measuring system based on Hall sensor
CN210426641U (en) * 2019-08-30 2020-04-28 武汉力拓达科技有限公司 Metering device
CN212569965U (en) * 2020-08-10 2021-02-19 深圳市和鸣微科技有限公司 Hall switch-based commodity anti-dismounting device
CN214896661U (en) * 2021-06-03 2021-11-26 廊坊新奥智能科技有限公司 Metering device based on photoelectric sensor and Hall sensor

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201873847U (en) * 2010-09-13 2011-06-22 南通纺织职业技术学院 Industrial sewing machine servo control device based on DC (direct current) brushless motor
CN204924390U (en) * 2015-04-27 2015-12-30 杭州市余杭区质量计量监测中心 Detection apparatus for diaphragm type gas table equivalent gyration volume
CN104811105A (en) * 2015-05-08 2015-07-29 江苏工程职业技术学院 Single-Hall three-phase brushless direct current motor used for high speed industrial sewing machine and control method thereof
CN106643951A (en) * 2016-11-15 2017-05-10 金卡高科技股份有限公司 Novel pulse metering device in fuel gas meter end and metering method
CN207439480U (en) * 2017-11-07 2018-06-01 重庆创元智能仪表系统有限公司 A kind of comprehensive gas metering equipment of photoelectricity Hall
CN209858601U (en) * 2019-03-18 2019-12-27 安徽科技学院 Rotating speed measuring system based on Hall sensor
CN110422600A (en) * 2019-06-26 2019-11-08 江苏海宏信息科技有限公司 A method of it is even wrapped for bagged material conveyer belt counting and detecting device and its judgement
CN210426641U (en) * 2019-08-30 2020-04-28 武汉力拓达科技有限公司 Metering device
CN212569965U (en) * 2020-08-10 2021-02-19 深圳市和鸣微科技有限公司 Hall switch-based commodity anti-dismounting device
CN214896661U (en) * 2021-06-03 2021-11-26 廊坊新奥智能科技有限公司 Metering device based on photoelectric sensor and Hall sensor

Similar Documents

Publication Publication Date Title
CN101504292B (en) Multi-slewing absolute magnetic encoder capable of reducing standby power consumption
CN107656467A (en) A kind of method based on Internet of Things Distribution Management System and its on-line monitoring
CN214896661U (en) Metering device based on photoelectric sensor and Hall sensor
CN104280157A (en) Low-power-consumption transmitter
CN113159263A (en) Metering method based on photoelectric sensor and Hall sensor
CN103298087A (en) Low power consumption method for wireless sensor network node based on state machine
CN101609577A (en) The remote supervisory operation of vending machine implement device
CN108759957B (en) Gas metering device based on non-magnetic technology
CN206097305U (en) IC -card industry intelligent monitoring gas table controller
CN201552585U (en) Robot motion control system based on cRIO controller
CN203703309U (en) Circuit control system of remote control valve
CN201417147Y (en) Multi-turn absolute type magnetic encoder capable of reducing power consumption of stand-by power source
CN114995255A (en) Electric energy source low-loss comprehensive control management system for underwater unattended equipment
CN108661898A (en) A kind of intelligent water pump controller for wisdom agricultural irrigation
CN202350855U (en) Low-power-consumption intelligent water meter
CN203733217U (en) IC card intelligent gas meter
CN204596020U (en) A kind of gas meter movement circuit supporting remote meter reading and IC-card
CN207344811U (en) A kind of concrete spraying health promotion system
CN208722049U (en) A kind of electric car long-distance monitorng device
CN202676340U (en) Relay contact pressure detection mechanism
CN207424153U (en) The power-off monitoring system of icp ms
CN207198578U (en) A kind of MES terminal systems
CN207131963U (en) Electric operator power-off valve position display control program
CN206863119U (en) A kind of electricity statistic device
CN215910098U (en) Touch interaction system of automatic plug test machine of solar junction box connector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Li Jingong

Inventor after: Qi Yuwang

Inventor after: Liang Lishui

Inventor after: Liu Xiaoguang

Inventor after: Wang Kaiqiang

Inventor after: Wang Shuo

Inventor after: Liu Duanfang

Inventor before: Li Jingong

Inventor before: Qi Yuwang

Inventor before: Liang Lishui

Inventor before: Liu Xiaoguang

Inventor before: Wang Kaiqiang

Inventor before: Wang Shuo

Inventor before: Liu Duanfang

CB03 Change of inventor or designer information