CN112164175A - Cashbox state detection method and device, electronic equipment and storage medium - Google Patents

Cashbox state detection method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112164175A
CN112164175A CN202010839397.9A CN202010839397A CN112164175A CN 112164175 A CN112164175 A CN 112164175A CN 202010839397 A CN202010839397 A CN 202010839397A CN 112164175 A CN112164175 A CN 112164175A
Authority
CN
China
Prior art keywords
cashbox
current value
driving
time period
coil
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.)
Granted
Application number
CN202010839397.9A
Other languages
Chinese (zh)
Other versions
CN112164175B (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202010839397.9A priority Critical patent/CN112164175B/en
Publication of CN112164175A publication Critical patent/CN112164175A/en
Application granted granted Critical
Publication of CN112164175B publication Critical patent/CN112164175B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/009Depositing devices
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B47/0001Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof
    • E05B47/0002Operating or controlling locks or other fastening devices by electric or magnetic means with electric actuators; Constructional features thereof with electromagnets
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B65/00Locks or fastenings for special use
    • E05B65/0075Locks or fastenings for special use for safes, strongrooms, vaults, fire-resisting cabinets or the like
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D11/00Devices accepting coins; Devices accepting, dispensing, sorting or counting valuable papers
    • G07D11/009Depositing devices
    • G07D11/0096Accepting paper currency or other valuables in containers, e.g. in code-marked envelopes
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines
    • G07F19/20Automatic teller machines [ATMs]
    • G07F19/209Monitoring, auditing or diagnose of functioning of ATMs
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/005Opening, closing of the circuit
    • E05B2047/0052Opening, closing of the circuit opening the circuit by detection of current increase
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B47/00Operating or controlling locks or other fastening devices by electric or magnetic means
    • E05B2047/0048Circuits, feeding, monitoring
    • E05B2047/0067Monitoring
    • E05B2047/0069Monitoring bolt position

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Electromagnetism (AREA)
  • Finance (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The application provides a cashbox state detection method, a cashbox state detection device, electronic equipment and a storage medium, wherein the cashbox state detection method comprises the following steps: acquiring a driving current value of a driving coil in a cashbox, wherein the driving current value of the driving coil changes in the process of ejecting the cashbox; and when the driving current value is a target current value, judging that the state of the cashbox is an ejection state, wherein the target current value is the minimum current value of the driving current value. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.

Description

Cashbox state detection method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of information detection technologies, and in particular, to a cashbox status detecting method and apparatus, an electronic device, and a storage medium.
Background
The cashbox is one of main hardware accessories in the cash register system, is used by being connected with a cash register, a bill printer or a computer through a driving box, and can be integrated with the cash register or be a separated component. The cashbox is used for temporarily storing cash. The interior of the coin box is generally divided into a plurality of cells for holding different denominations of paper money and coins. The closed and ejected states of the cashbox are shown in figures 1(a) and 1(b), respectively.
In the related art, a position detection switch is mainly configured on the side surface or the rear surface of the cashbox to detect whether the cashbox is in a closed state or a popup state, and specifically, when the position detection switch is in the closed state, the cashbox is judged to be in the closed state; and when the position detection switch is in an off state, judging that the cashbox is in a popup state.
However, this manner of sensing the status of the cashbox in the related art requires additional position sensing switches to be disposed on the cashbox, which increases the cost and structural complexity of the cashbox.
Disclosure of Invention
In order to solve the technical problem, the application shows a cashbox state detection method, a cashbox state detection device, an electronic device and a storage medium.
In a first aspect, an embodiment of the present application provides a cashbox state detection method, which is applied to cashbox control equipment, and the method includes:
acquiring a driving current value of a driving coil in a cashbox, wherein the driving current value of the driving coil changes in the process of ejecting the cashbox;
and when the driving current value is a target current value, judging that the state of the cashbox is an ejection state, wherein the target current value is the minimum current value of the driving current value.
Optionally, the obtaining of the driving current value of the driving coil in the cashbox includes:
determining a value of current through a current sampling resistor, wherein the current sampling resistor is a resistor connected in series in a cashbox drive circuit of the cashbox control device;
the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
Optionally, the process of changing the driving current value of the driving coil during the process of ejecting the cashbox includes:
the driving current value of the driving coil is gradually increased in a first time period, wherein the movable bolt in the driving coil does not move in the first time period;
gradually increasing the driving current value of the driving coil within a second time period, wherein the movable bolt moves in the driving coil within the second time period, and the increasing rate of the driving current value within the second time period is smaller than the increasing rate of the driving current value within the first time period;
the driving current value of the driving coil is gradually reduced in a third time period, wherein the movable bolt moves outside the driving coil in the third time period;
and gradually increasing the driving current value of the driving coil within a fourth time period until the driving current value of the driving coil is increased to a maximum value, wherein the movable bolt in the driving coil stops moving within the fourth time period.
Optionally, when the driving current value is a target current value, the method further includes:
and reducing the driving voltage value of the cashbox driving circuit.
Optionally, if a variation of the driving current value of the driving coil does not conform to a variation law of the first time period, the second time period, the third time period and the fourth time period during the process of ejecting the cashbox, the method further includes:
determining that a fault occurs in the process of ejecting the cashbox.
In a second aspect, an embodiment of the present application provides a cashbox state detecting apparatus, which is applied to cashbox control equipment, and the apparatus includes:
the cashbox comprises a driving current value acquisition module, a driving current value acquisition module and a control module, wherein the driving current value acquisition module is used for acquiring the driving current value of a driving coil in the cashbox, and the driving current value of the driving coil changes in the process of ejecting the cashbox;
and the pop-up state detection module is used for judging that the state of the cashbox is a pop-up state when the driving current value is a target current value, and the target current value is the minimum current value of the driving current value.
Optionally, the driving current value obtaining module is specifically configured to:
determining a value of current through a current sampling resistor, wherein the current sampling resistor is a resistor connected in series in a cashbox drive circuit of the cashbox control device;
the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
Optionally, the driving current value obtaining module includes a driving current value obtaining unit, and the driving current value obtaining unit is configured to obtain the following variation process of the driving current value:
the driving current value of the driving coil is gradually increased in a first time period, wherein the movable bolt in the driving coil does not move in the first time period;
gradually increasing the driving current value of the driving coil within a second time period, wherein the movable bolt moves in the driving coil within the second time period, and the increasing rate of the driving current value within the second time period is smaller than the increasing rate of the driving current value within the first time period;
the driving current value of the driving coil is gradually reduced in a third time period, wherein the movable bolt moves outside the driving coil in the third time period;
and gradually increasing the driving current value of the driving coil within a fourth time period until the driving current value of the driving coil is increased to a maximum value, wherein the movable bolt in the driving coil stops moving within the fourth time period.
Optionally, the apparatus further comprises:
and the driving voltage value changing module is used for reducing the driving voltage value of the cashbox driving circuit when the driving current value is the target current value.
Optionally, the apparatus further comprises:
and the cashbox fault detection module is used for judging that a fault occurs in the cashbox popping process if the change of the driving current value of the driving coil does not accord with the change rule of the first time period, the second time period, the third time period and the fourth time period in the cashbox popping process.
In a third aspect, embodiments of the present application provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the cashbox status detecting method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the cashbox status detecting method according to the first aspect.
According to the technical scheme, when the cashbox state is detected, the driving current value of the driving coil in the cashbox is obtained, and the popping state of the cashbox is judged by detecting the valley of the driving current value by utilizing the change characteristic of the driving current value of the driving coil in the popping process of the cashbox. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
Drawings
Figure 1(a) is a schematic view of a cashbox in a closed state and figure 1(b) is a schematic view of a cashbox in an ejected state;
FIG. 2 is a flow chart illustrating steps of a cashbox status detection method according to an embodiment of the present application;
FIG. 3 is a flow chart of steps in a process of varying a drive current value of a drive coil during ejection of a cashbox as provided by an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating a variation of a driving current value of a driving coil during the process of ejecting the cashbox according to an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a cashbox and cashbox control device provided by an embodiment of the application;
FIG. 6 is a block diagram of a cashbox status detecting apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
In the related art, it is mainly detected whether the cashbox is in a closed state or a pop-up state by configuring a position detection switch at a side surface or a rear surface of the cashbox, thereby increasing the cost and complexity of the cashbox. Meanwhile, the service life of the position detection switch limits the wide application of the existing cashbox state detection mode to a certain extent.
In addition, in practical applications, a large number of existing cashboxes on the market currently are not provided with position detection switches, and for the cashboxes without the position detection switches, the detection of the cashbox ejecting state cannot be carried out by adopting the existing cashbox state detection method.
Therefore, the embodiment of the application provides a cashbox state detection method and device, electronic equipment and a storage medium.
In a first aspect, a cashbox status detecting method provided by an embodiment of the present application is first explained in detail.
As shown in fig. 2, a flowchart of steps of a cashbox status detecting method provided in an embodiment of the present application may specifically include the following steps:
s210, a drive current value of the drive coil in the cashbox is acquired.
Wherein the driving current value of the driving coil is changed during the money box is ejected.
Specifically, in the process of implementing the embodiment of the present application, the inventors found that: the driving coil in the existing cashbox is internally provided with a movable bolt which can be a movable iron core. In the process of ejecting the cashbox, the movable lock tongue moves, so that the driving current value of the driving coil in the cashbox can be changed.
The change characteristic of the drive current of the drive coil in the cashbox is similar to the change characteristic of the current generated by applying direct current to the inductor, but the current value passing through the inductor is different from the current value constantly rising after applying direct current to the inductor. Because the movable lock tongue is arranged in the driving coil in the cashbox, certain back electromotive force can be generated on the driving coil after the lock tongue is pulled, and a valley section appears in the rising process of the driving current. Therefore, the cashbox ejection detection can be carried out by utilizing the change characteristics of the driving current of the driving coil in the cashbox, a position detection switch does not need to be configured in the cashbox, and the cashbox ejection detection method is compatible with almost all cashboxes on the market.
In one embodiment, obtaining the driving current values of the driving coils in the cashbox may include the following steps, step a1 and step a 2:
step a1, a value of current through the current sampling resistor is determined.
The current sampling resistor is a resistor connected in series in a cashbox driving circuit of the cashbox control equipment.
Step a2, the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
In this embodiment, a current sampling resistor may be connected in series in the cashbox drive circuit of the cashbox control apparatus in order to accurately collect the drive current value through the drive coil in the cashbox. It will be appreciated that the value of the current through the current sampling resistor is the value of the drive current through the drive coil in the cashbox.
In practical application, the current value passing through the current sampling resistor can be obtained by measuring the voltage at the two ends of the current sampling resistor and dividing the voltage at the two ends of the current sampling resistor by the current sampling resistor, and the current value passing through the current sampling resistor is determined as the driving current value of the driving coil in the cashbox. Thereby achieving a drive current value to the drive coil in the cashbox.
It should be noted that for the sake of completeness and clarity of the description of the scheme, the following embodiments will explain in detail the process of changing the driving current value of the driving coil of the cashbox during the process of ejecting the cashbox.
And S220, judging that the state of the cashbox is an ejecting state when the driving current value is the target current value.
Wherein the target current value is a minimum current value of the driving current values.
Specifically, because the movable lock tongue is arranged in the driving coil in the cashbox, in the process of popping the cashbox, the lock tongue can generate certain back electromotive force on the driving coil after being pulled, and a valley section appears in the rising process of the driving current. Therefore, after the drive current value of the drive coil in the cashbox is acquired, when it is detected that the drive current value reaches a low valley, that is, a minimum current value, it is possible to judge that the state of the cashbox is the pop-up state.
According to the technical scheme, when the cashbox state is detected, the driving current value of the driving coil in the cashbox is obtained, and the popping state of the cashbox is judged by detecting the valley of the driving current value by utilizing the change characteristic of the driving current value of the driving coil in the popping process of the cashbox. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
For completeness of the scheme and clarity of description of the scheme, the process of changing the driving current value of the driving coil of the cashbox during the cashbox is ejected will be explained in detail in the following embodiments.
In one embodiment, the process of changing the drive current value of the drive coil during ejection of the cashbox, as shown in fig. 3, may include the following:
in the first period, the driving current value of the driving coil is gradually increased S310.
And in the first time period, the movable bolt in the driving coil does not move.
Specifically, during the first time period T1, the cashbox controlling device has just applied a driving voltage to the cashbox, the movable latch in the driving coil does not move, and at this time, the driving coil is equivalent to an inductor, so that the driving current value of the driving coil gradually increases after the cashbox controlling device applies a voltage to the driving coil.
And S320, gradually increasing the driving current value of the driving coil in a second time period.
And in the second time period, the movable bolt in the driving coil moves in the driving coil, and in the second time period, the increasing speed of the driving current value is smaller than that in the first time period.
Specifically, during the second time period T2, the movable bolt in the driving coil starts to move in the driving coil, and during the movement, there is frictional resistance between the movable bolt and the driving coil, and the driving coil applies work to the movable bolt, so the driving current value of the driving coil in the second time period T2 increases at a rate that is less than the rate of the increase of the driving current value in the first time period T1.
S330, the driving current value of the driving coil is gradually decreased in the third period.
And in the third time period, the movable bolt in the driving coil moves outside the driving coil.
Specifically, in a third time period T3, the movable bolt is separated from the driving coil, there is no frictional resistance between the movable bolt and the driving coil, the acceleration of the movable bolt increases, the magnetic potential energy is converted into the kinetic energy of the movable bolt, the driving current value of the driving coil gradually decreases until the movable bolt stops moving, the driving current value of the driving coil decreases to the minimum, and at this time, the cashbox is in the pop-up state.
And S340, gradually increasing the driving current value of the driving coil in a fourth time period until the driving current value of the driving coil is increased to the maximum value.
And in the fourth time period, the movable bolt in the driving coil stops moving.
Specifically, in the fourth time period T4, after the movable bolt stops moving, the driving coil is equivalent to an inductor again, and the driving current value of the driving coil gradually increases until the driving current value of the driving coil increases to the internal resistance current-limiting value of the driving coil.
As shown in fig. 4, the driving current values of the driving coils in four periods, i.e., the first period T1, the first period T2, the third period T3 and the fourth period T4, are schematically changed. In fig. 4, the horizontal axis is used to represent time, and the vertical axis is used to represent the magnitude of the current value, in practical applications, the unit of time and the unit of the current value may be determined according to practical situations, which is not specifically limited in this embodiment of the present application. Fig. 4 is used only to describe the variation tendency of the drive current values of the drive coils in four periods.
Therefore, by the technical scheme provided by the embodiment of the application, the change situation of the driving current value of the driving coil in the cashbox popping process can be accurately acquired, and the cashbox popping state can be judged by detecting the valley of the driving current value.
On the basis of the above embodiment, after the cashbox is detected to be in the ejection state, in order to reduce the generation of additional heat of the driving coil caused by the continuous application of the driving voltage by the driving coil, the service life and the reliability of the driving coil are reduced. In one embodiment, when the driving current value is the target current value, the cashbox state detecting method may further include:
the driving voltage value of the cashbox driving circuit is reduced.
In this embodiment, when the driving current value is the target current value, indicating that the cashbox is in the pop-up state has been detected, in order to reduce the generation of a large amount of additional heat by the driving coil, the driving voltage value of the cashbox driving circuit may be reduced, and thus, the driving voltage value applied to the driving coil of the cashbox is also reduced. In practical application, the driving voltage value of the cashbox driving circuit can be reduced to 0.
Therefore, according to the technical scheme provided by the embodiment, after the cashbox is detected to be in the popping state, the driving voltage value of the cashbox driving circuit is reduced, a large amount of extra heat generated by the driving coil can be reduced, the service life of the driving coil can be prolonged, and the reliability of the driving coil is improved. In addition, the cashbox driving power occupies a higher proportion in the system input power, and the stability of the system is reduced due to the overlong driving time, so that the stability of the system can be improved by reducing the driving voltage value of the cashbox driving circuit.
On the basis of the above-described embodiment, if a variation in the drive current value of the drive coil does not conform to a variation law of the first period, the second period, the third period, and the fourth period during the money box being ejected, the money box state detecting method may further include the steps of:
a fault is determined in the process of ejecting the cashbox.
In this embodiment, if the variation of the driving current value of the driving coil does not conform to the variation rule of the first time period, the second time period, the third time period and the fourth time period during the ejection of the cashbox, it indicates that the cashbox is out of order during the ejection, such as the cashbox is jammed. And the fault can be reported, so that the work personnel can repair the cashbox in time, and the cashbox can be recovered to a normal working state.
It can be seen that through the technical scheme that this embodiment provided, through monitoring cashbox pop-up in-process, the change situation of the drive current value of drive coil is favorable to realizing cashbox fault detection.
For clarity of description of the scheme, the cashbox status detecting method of the embodiment of the application will be explained in detail with reference to specific examples.
As shown in fig. 5, a schematic diagram of the cashbox and cashbox control apparatus is shown.
As can be seen from fig. 5, the cashbox is connected to the cashbox control device by a cashbox connecting line. The cashbox control device is provided with a driving circuit, and the processor applies cashbox control signals to the driving circuit; and, realize current collection through connecting a current sampling resistance (not shown in fig. 5) in series in the drive circuit, namely gather the drive current value of the drive coil (not shown in fig. 5) in the cashbox, and carry out the valley detection to the drive current value, when detecting that the drive current value is in the valley, the treater judges that the cashbox is in the pop-up state, at this moment, the treater can change cashbox control signal, namely fall the drive voltage value of drive circuit to 0, in order to avoid the cashbox drive coil to produce extra heat.
Therefore, according to the technical scheme provided by the embodiment of the application, under the condition that an additional position detection switch is not configured for the cashbox, the detection of the popup state of the cashbox can be realized by utilizing the characteristic of change of the driving current of the driving coil of the cashbox. Therefore, the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
In a second aspect, an embodiment of the present application provides a cashbox status detecting apparatus, which is applied to a cashbox control device, and as shown in fig. 6, the apparatus includes:
a driving current value obtaining module 610 for obtaining a driving current value of a driving coil in a cashbox, wherein the driving current value of the driving coil changes in a process of ejecting the cashbox;
and an eject state detection module 620, configured to determine that the state of the cashbox is an eject state when the driving current value is a target current value, where the target current value is a minimum current value of the driving current value.
According to the technical scheme, when the cashbox state is detected, the driving current value of the driving coil in the cashbox is obtained, and the popping state of the cashbox is judged by detecting the valley of the driving current value by utilizing the change characteristic of the driving current value of the driving coil in the popping process of the cashbox. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
Optionally, the driving current value obtaining module is specifically configured to:
determining a value of current through a current sampling resistor, wherein the current sampling resistor is a resistor connected in series in a cashbox drive circuit of the cashbox control device;
the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
Optionally, the driving current value obtaining module includes a driving current value obtaining unit, and the driving current value obtaining unit is configured to obtain the following variation process of the driving current value:
the driving current value of the driving coil is gradually increased in a first time period, wherein the movable bolt in the driving coil does not move in the first time period;
gradually increasing the driving current value of the driving coil within a second time period, wherein the movable bolt moves in the driving coil within the second time period, and the increasing rate of the driving current value within the second time period is smaller than the increasing rate of the driving current value within the first time period;
the driving current value of the driving coil is gradually reduced in a third time period, wherein the movable bolt moves outside the driving coil in the third time period;
and gradually increasing the driving current value of the driving coil within a fourth time period until the driving current value of the driving coil is increased to a maximum value, wherein the movable bolt in the driving coil stops moving within the fourth time period.
Optionally, the apparatus further comprises:
and the driving voltage value changing module is used for reducing the driving voltage value of the cashbox driving circuit when the driving current value is the target current value.
Optionally, the apparatus further comprises:
and the cashbox fault detection module is used for judging that a fault occurs in the cashbox popping process if the change of the driving current value of the driving coil does not accord with the change rule of the first time period, the second time period, the third time period and the fourth time period in the cashbox popping process.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
In a third aspect, an embodiment of the present application provides an electronic device, as shown in fig. 6, including a memory 610, a processor 710, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the steps of the cashbox status detecting method according to the first aspect.
According to the technical scheme, when the cashbox state is detected, the driving current value of the driving coil in the cashbox is obtained, and the popping state of the cashbox is judged by detecting the valley of the driving current value by utilizing the change characteristic of the driving current value of the driving coil in the popping process of the cashbox. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the cashbox status detecting method according to the first aspect.
According to the technical scheme, when the cashbox state is detected, the driving current value of the driving coil in the cashbox is obtained, and the popping state of the cashbox is judged by detecting the valley of the driving current value by utilizing the change characteristic of the driving current value of the driving coil in the popping process of the cashbox. It can be seen that through the technical scheme provided by the embodiment of the application, when the pop-up state of the cashbox is detected, a position detection switch is not required to be configured in the cashbox, so that the cost and the structural complexity of the cashbox are saved, and the detection mode is compatible with almost all cashboxes on the market.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. The term "comprising" is used to specify the presence of stated elements, but not necessarily the presence of stated elements, unless otherwise specified.
The cashbox state detection method, the cashbox state detection device, the electronic equipment and the storage medium provided by the application are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the method and the core idea of the application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. A cashbox status detection method, applied to cashbox control equipment, the method comprising:
acquiring a driving current value of a driving coil in a cashbox, wherein the driving current value of the driving coil changes in the process of ejecting the cashbox;
and when the driving current value is a target current value, judging that the state of the cashbox is an ejection state, wherein the target current value is the minimum current value of the driving current value.
2. The method of claim 1, wherein the obtaining drive current values for drive coils in a cashbox comprises:
determining a value of current through a current sampling resistor, wherein the current sampling resistor is a resistor connected in series in a cashbox drive circuit of the cashbox control device;
the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
3. The method of claim 1, wherein the varying the drive current value of the drive coil during ejection of the cashbox comprises:
the driving current value of the driving coil is gradually increased in a first time period, wherein the movable bolt in the driving coil does not move in the first time period;
gradually increasing the driving current value of the driving coil within a second time period, wherein the movable bolt moves in the driving coil within the second time period, and the increasing rate of the driving current value within the second time period is smaller than the increasing rate of the driving current value within the first time period;
the driving current value of the driving coil is gradually reduced in a third time period, wherein the movable bolt moves outside the driving coil in the third time period;
and gradually increasing the driving current value of the driving coil within a fourth time period until the driving current value of the driving coil is increased to a maximum value, wherein the movable bolt in the driving coil stops moving within the fourth time period.
4. The method according to any one of claims 1 to 3, wherein when the drive current value is a target current value, the method further comprises:
and reducing the driving voltage value of the cashbox driving circuit.
5. The method of claim 3, wherein if the change in the drive current value of the drive coil during the ejection of the cashbox does not conform to the change rules of the first, second, third, and fourth time periods, the method further comprises:
determining that a fault occurs in the process of ejecting the cashbox.
6. A cashbox state detection device, which is applied to cashbox control equipment, and comprises:
the cashbox comprises a driving current value acquisition module, a driving current value acquisition module and a control module, wherein the driving current value acquisition module is used for acquiring the driving current value of a driving coil in the cashbox, and the driving current value of the driving coil changes in the process of ejecting the cashbox;
and the pop-up state detection module is used for judging that the state of the cashbox is a pop-up state when the driving current value is a target current value, and the target current value is the minimum current value of the driving current value.
7. The apparatus according to claim 6, wherein the driving current value obtaining module is specifically configured to:
determining a value of current through a current sampling resistor, wherein the current sampling resistor is a resistor connected in series in a cashbox drive circuit of the cashbox control device;
the value of the current passing through the current sampling resistor is determined as the value of the drive current of the drive coil in the cashbox.
8. The apparatus according to claim 6, wherein the driving current value obtaining module includes a driving current value obtaining unit, and the driving current value obtaining unit is configured to obtain the following variation of the driving current value:
the driving current value of the driving coil is gradually increased in a first time period, wherein the movable bolt in the driving coil does not move in the first time period;
gradually increasing the driving current value of the driving coil within a second time period, wherein the movable bolt moves in the driving coil within the second time period, and the increasing rate of the driving current value within the second time period is smaller than the increasing rate of the driving current value within the first time period;
the driving current value of the driving coil is gradually reduced in a third time period, wherein the movable bolt moves outside the driving coil in the third time period;
and gradually increasing the driving current value of the driving coil within a fourth time period until the driving current value of the driving coil is increased to a maximum value, wherein the movable bolt in the driving coil stops moving within the fourth time period.
9. The apparatus of any one of claims 6 to 8, further comprising:
and the driving voltage value changing module is used for reducing the driving voltage value of the cashbox driving circuit when the driving current value is the target current value.
10. The apparatus of claim 8, further comprising:
and the cashbox fault detection module is used for judging that a fault occurs in the cashbox popping process if the change of the driving current value of the driving coil does not accord with the change rule of the first time period, the second time period, the third time period and the fourth time period in the cashbox popping process.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the cashbox status detecting method of any one of claims 1-5 are implemented when the program is executed by the processor.
12. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the cashbox status detecting method of any one of claims 1-5.
CN202010839397.9A 2020-08-19 2020-08-19 Cashbox state detection method and device, electronic equipment and storage medium Active CN112164175B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010839397.9A CN112164175B (en) 2020-08-19 2020-08-19 Cashbox state detection method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010839397.9A CN112164175B (en) 2020-08-19 2020-08-19 Cashbox state detection method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112164175A true CN112164175A (en) 2021-01-01
CN112164175B CN112164175B (en) 2022-08-02

Family

ID=73859621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010839397.9A Active CN112164175B (en) 2020-08-19 2020-08-19 Cashbox state detection method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112164175B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU6012490A (en) * 1989-08-04 1991-02-07 Hitachi Limited Dc high-speed vacuum circuit breaker and electric motor vehicle equipped with this circuit breaker
FR2741103A1 (en) * 1995-11-15 1997-05-16 Brink S Sa Electronic control system for locks of cash storage safes in cash dispenser
FR2774527A1 (en) * 1998-02-05 1999-08-06 Bp Automation Sarl Automatic door closing mechanism
FR2783923A1 (en) * 1998-09-30 2000-03-31 Peugeot Testing correct closure of petrol tank flap by superimposing an alternating current on latch retraction operating current and detecting change in solenoid impedance
TW200941411A (en) * 2008-03-19 2009-10-01 Universal Scient Ind Co Ltd Detecting device for a cash drawer and point of sale terminal
WO2015033101A1 (en) * 2013-09-09 2015-03-12 Cash Bases Limited Cash till drawer apparatus
CN104622049A (en) * 2013-11-06 2015-05-20 深圳桑达商用机器有限公司 Magnetic suspension type intelligent drawer and operation method thereof
CN205302496U (en) * 2015-12-15 2016-06-08 辽宁通银沐源网络金融服务股份有限公司 POS machine cash box intelligent driving control system
CN106655927A (en) * 2016-11-22 2017-05-10 北京三快在线科技有限公司 Motor control method and device, motor driving system and door lock
CN207216788U (en) * 2017-08-18 2018-04-10 珠海三威注塑模具有限公司 A kind of control circuit of Cash Drawer electromagnetic lock
CN207503298U (en) * 2017-10-13 2018-06-15 李立华 A kind of gate identification system
CN109424678A (en) * 2017-08-25 2019-03-05 宝山钢铁股份有限公司 A kind of electromagnetic brake
CN110292338A (en) * 2018-03-22 2019-10-01 青岛海尔洗碗机有限公司 A kind of drawer type household electrical appliance and its switch door control method
CN110443917A (en) * 2019-07-12 2019-11-12 阿里巴巴集团控股有限公司 Detection method, device and the equipment that electronic switch door gear and electronic cutting are closed the door
CN110930602A (en) * 2019-11-19 2020-03-27 中国工商银行股份有限公司 Bank note box integrated processing device, bank operation system and related method

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU6012490A (en) * 1989-08-04 1991-02-07 Hitachi Limited Dc high-speed vacuum circuit breaker and electric motor vehicle equipped with this circuit breaker
FR2741103A1 (en) * 1995-11-15 1997-05-16 Brink S Sa Electronic control system for locks of cash storage safes in cash dispenser
FR2774527A1 (en) * 1998-02-05 1999-08-06 Bp Automation Sarl Automatic door closing mechanism
FR2783923A1 (en) * 1998-09-30 2000-03-31 Peugeot Testing correct closure of petrol tank flap by superimposing an alternating current on latch retraction operating current and detecting change in solenoid impedance
TW200941411A (en) * 2008-03-19 2009-10-01 Universal Scient Ind Co Ltd Detecting device for a cash drawer and point of sale terminal
WO2015033101A1 (en) * 2013-09-09 2015-03-12 Cash Bases Limited Cash till drawer apparatus
CN104622049A (en) * 2013-11-06 2015-05-20 深圳桑达商用机器有限公司 Magnetic suspension type intelligent drawer and operation method thereof
CN205302496U (en) * 2015-12-15 2016-06-08 辽宁通银沐源网络金融服务股份有限公司 POS machine cash box intelligent driving control system
CN106655927A (en) * 2016-11-22 2017-05-10 北京三快在线科技有限公司 Motor control method and device, motor driving system and door lock
CN207216788U (en) * 2017-08-18 2018-04-10 珠海三威注塑模具有限公司 A kind of control circuit of Cash Drawer electromagnetic lock
CN109424678A (en) * 2017-08-25 2019-03-05 宝山钢铁股份有限公司 A kind of electromagnetic brake
CN207503298U (en) * 2017-10-13 2018-06-15 李立华 A kind of gate identification system
CN110292338A (en) * 2018-03-22 2019-10-01 青岛海尔洗碗机有限公司 A kind of drawer type household electrical appliance and its switch door control method
CN110443917A (en) * 2019-07-12 2019-11-12 阿里巴巴集团控股有限公司 Detection method, device and the equipment that electronic switch door gear and electronic cutting are closed the door
CN110930602A (en) * 2019-11-19 2020-03-27 中国工商银行股份有限公司 Bank note box integrated processing device, bank operation system and related method

Also Published As

Publication number Publication date
CN112164175B (en) 2022-08-02

Similar Documents

Publication Publication Date Title
CN105023349B (en) Cash box choosing method and cash box during withdrawal
CN102216918B (en) Method and apparatus for acquiring device identification information
CN108152738B (en) Motor working condition monitoring method and device
DE102010002656A1 (en) Free-fall detection system for protecting hard drives in mobile devices
WO2011010410A1 (en) Test apparatus, additional circuit, and board for testing
CN107026516A (en) Receiver in wireless charging system removes detection
CN112164175B (en) Cashbox state detection method and device, electronic equipment and storage medium
CN110333440A (en) Detection method and detection device for circuit breaker, computer equipment and storage medium
CN104502837A (en) Diagnostic method and device for mechanical fault of circuit breaker
CN111327247A (en) Motor control method and system
CN104835245B (en) The method of the installation of medium cassette installation detecting device and detection medium cassette
CN103529233A (en) Method for operating a speed sensing device
CN108230546B (en) Banknote thickness abnormality detection method and device, terminal device and storage medium
US20150287259A1 (en) System to classify an item of value
US9280881B2 (en) Cassette detecting device and medium processing device using the same
CN110599668B (en) Abnormal detection method and system for number of paper money in money box, server and financial equipment
CN103649522A (en) Method and device for monitoring a meshing process of a meshing pinion of a starter motor
CN113284289B (en) Method and device for initializing position of medium bearing assembly
CN104349005B (en) The control method of image forming apparatus and image forming apparatus
CN111325959A (en) Wireless passive sensor signal detection circuit and method
JP3864537B2 (en) Temperature sensor abnormality detection method and temperature detection apparatus
CN107170144B (en) Money digging control method, money digging control device and money depositing and withdrawing system
KR970005400B1 (en) Coin processor
CN112991612A (en) Detection data generation method, electronic equipment and storage medium
CN110304108A (en) It can prevent from losing the axle counting system and axis-counting device of axis

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
GR01 Patent grant
GR01 Patent grant