Method and device for eliminating magnetic noise of magnetic floating roller and terminal equipment

文档序号:702067 发布日期:2021-04-13 浏览:26次 中文

阅读说明:本技术 消除磁性浮动辊磁噪声的方法、装置及终端设备 (Method and device for eliminating magnetic noise of magnetic floating roller and terminal equipment ) 是由 蒋玉萍 于 2019-09-25 设计创作,主要内容包括:本发明适用于纸币识别技术领域,提供了一种消除磁性浮动辊磁噪声的方法、装置及终端设备,磁性浮动辊包括金属轴、辊轮和磁性定位点;辊轮套穿于所述金属轴上,磁性定位点设置在金属轴上辊轮未覆盖的位置,所述方法包括:采集磁性浮动辊空转时各个磁信号通道的磁背景信号;根据磁背景信号及磁性定位点,确定各个磁信号通道的背景磁噪点;采集纸币通过磁性浮动辊时的初始纸币磁信号;根据各个磁信号通道的初始纸币磁信号及对应的背景磁噪点,输出消除磁噪声后的纸币磁信号。本申请将检测得到的初始纸币磁信号减去磁性浮动辊空转时的背景磁噪点,能够消去遗留在磁性浮动辊上的磁粉对纸币磁信号检测造成的影响,提高磁性鉴别机构的准确性。(The invention is suitable for the technical field of paper money identification, and provides a method, a device and terminal equipment for eliminating magnetic noise of a magnetic floating roller, wherein the magnetic floating roller comprises a metal shaft, a roller and a magnetic positioning point; the roller is sleeved on the metal shaft, and the magnetic positioning point is arranged at the position, which is not covered by the roller, on the metal shaft, and the method comprises the following steps: collecting magnetic background signals of each magnetic signal channel when the magnetic floating roller idles; determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning points; collecting an initial paper currency magnetic signal when paper currency passes through the magnetic floating roller; and outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point. This application subtracts the background magnetic noise point when magnetism floating roller idle running from the initial paper currency magnetic signal that obtains that detects, can eliminate the influence that the magnetic powder left over on magnetism floating roller caused to paper currency magnetic signal detection, improves magnetism identification mechanism's accuracy.)

1. The method for eliminating the magnetic noise of the magnetic floating roller is characterized in that the magnetic floating roller comprises a metal shaft, a roller and a magnetic positioning point arranged on the metal shaft; the roller is sleeved on the metal shaft, the magnetic positioning point is arranged at the position, not covered by the roller, on the metal shaft, and the method comprises the following steps:

collecting magnetic background signals of each magnetic signal channel when the magnetic floating roller idles;

determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning point of each magnetic signal channel;

collecting initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller;

and outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point.

2. The method for canceling magnetic noise of a magnetic dancer according to claim 1, wherein said acquiring magnetic background signals of each magnetic signal channel during idling of the magnetic dancer comprises:

and acquiring magnetic background signals of preset period number of each magnetic signal channel acquired by the magnetic sensor when the magnetic floating roller idles.

3. The method of claim 1, wherein said determining the background magnetic noise point of each magnetic signal channel from the magnetic background signal and the magnetic localization points of each magnetic signal channel comprises:

determining a periodic background signal of each magnetic signal channel according to the magnetic background signal of each magnetic signal channel and the magnetic positioning points;

and taking the magnetic data points with the amplitude exceeding the preset amplitude range in the periodic background signals of each magnetic signal channel as the background magnetic noise points corresponding to each magnetic signal channel.

4. The method of claim 3, wherein said determining a periodic background signal for each magnetic signal channel based on the magnetic background signal and the magnetic anchor points for each magnetic signal channel comprises:

searching two adjacent magnetic positioning data points in the magnetic background signal of the magnetic signal channel corresponding to the magnetic positioning point, wherein the magnetic positioning data points are magnetic data points corresponding to the magnetic positioning points in the magnetic background signal of the magnetic signal channel corresponding to the magnetic positioning points;

intercepting a first periodic background signal from a magnetic background signal corresponding to a first magnetic signal channel, wherein the phase of an initial magnetic data point of the first periodic background signal is the same as the phase of one magnetic positioning data point, and the phase of a cut-off magnetic data point of the first periodic background signal is the same as the phase of another magnetic positioning data point; the first magnetic signal channel is any one of the magnetic signal channels of the magnetic floating roller.

5. The method of canceling magnetic noise of a magnetic dancer according to claim 4, further comprising, after said determining the background magnetic noise level for each magnetic signal path:

and determining the phase of each background magnetic noise point in the first periodic background signal according to the phases of the initial magnetic data point and the cut-off magnetic data point in the first periodic background signal.

6. The method for eliminating magnetic noise of a magnetic floating roller according to any one of claims 3 to 5, wherein the step of outputting the magnetic noise-eliminated magnetic signal of the paper currency according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point comprises the following steps:

determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to a first magnetic signal channel according to the magnetic positioning point, wherein the first magnetic signal channel is any one magnetic signal channel of the magnetic floating roller;

searching a magnetic data point with the same phase as a first background magnetic noise point in an initial paper money magnetic signal corresponding to the first magnetic signal channel to serve as a paper money magnetic noise point corresponding to the first magnetic signal channel, wherein the first background magnetic noise point is a background magnetic noise point in a periodic background signal corresponding to the first magnetic signal channel;

and subtracting the amplitude of the first background magnetic noise point of the corresponding phase from the amplitude of each paper money magnetic noise point of the first magnetic signal channel to obtain the paper money magnetic signal corresponding to the first magnetic signal channel and subjected to magnetic noise elimination.

7. The method for eliminating magnetic noise of a magnetic floating roller according to claim 6, wherein the determining the phase of each magnetic data point in the initial banknote magnetic signal corresponding to the first magnetic signal channel according to the magnetic positioning points comprises:

acquiring the phase of a current positioning data point in a current positioning magnetic signal, wherein the current positioning magnetic signal is a magnetic signal of a magnetic signal channel corresponding to the magnetic positioning point synchronously acquired with the initial paper currency magnetic signal;

and determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to the first magnetic signal channel according to the current positioning data point.

8. A device for eliminating magnetic noise of a magnetic floating roller is characterized in that the magnetic floating roller comprises a metal shaft, a roller and a magnetic positioning point arranged on the metal shaft; the running roller cover is worn on the metal axle, the magnetism setpoint sets up the position that the running roller does not cover on the metal axle, the device includes:

the magnetic background signal acquisition module is used for acquiring magnetic background signals of each magnetic signal channel when the magnetic floating roller idles;

the background magnetic noise point acquisition module is used for determining the background magnetic noise points of the magnetic signal channels according to the magnetic background signals and the magnetic positioning points of the magnetic signal channels;

the initial paper currency magnetic signal acquisition module is used for acquiring initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller;

and the noise elimination module is used for outputting the magnetic signals of the paper money after the magnetic noise is eliminated according to the initial paper money magnetic signals of the magnetic signal channels and the corresponding background magnetic noise points.

9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.

Technical Field

The invention belongs to the technical field of paper money identification, and particularly relates to a method and a device for eliminating magnetic noise of a magnetic floating roller and terminal equipment.

Background

In the process of carrying out magnetic detection on paper money by a money detection component of financial equipment, the paper money is conveyed under the driving of a magnetic floating roller of a magnetic identification mechanism, and the magnetic detection result of the paper money is obtained by a magnetic sensor of the magnetic identification mechanism.

However, when paper money passes through the magnetic floating roller and the magnetic sensor in a transmission mode, the roller of the rotating magnetic floating roller rubs the moving paper money, magnetic powder and metal substances on the paper money are adhered to the surface of the roller, magnetic noise exists in collected paper money magnetic signals, and if the paper money magnetic signals are not cleaned for a long time, magnetic impurities can permeate into the roller due to the fact that the surface of the roller is not completely smooth, and the problem that the identification of a magnetic identification mechanism is inaccurate is caused.

Disclosure of Invention

In view of this, embodiments of the present invention provide a method, an apparatus, and a terminal device for eliminating magnetic noise of a magnetic floating roller, so as to solve the problem in the prior art that magnetic impurities permeate into a roller, which causes inaccurate identification of a magnetic identification mechanism.

The first aspect of the embodiment of the invention provides a method for eliminating magnetic noise of a magnetic floating roller, wherein the magnetic floating roller comprises a metal shaft, a roller wheel and a magnetic positioning point arranged on the metal shaft; the roller is sleeved on the metal shaft, the magnetic positioning point is arranged at the position, not covered by the roller, on the metal shaft, and the method comprises the following steps:

collecting magnetic background signals of each magnetic signal channel when the magnetic floating roller idles;

determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning point of each magnetic signal channel;

collecting initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller;

and outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point.

A second aspect of the embodiments of the present invention provides a device for eliminating magnetic noise of a magnetic floating roller, where the magnetic floating roller includes a metal shaft, a roller and a magnetic positioning point arranged on the metal shaft; the running roller cover is worn on the metal axle, the magnetism setpoint sets up the position that the running roller does not cover on the metal axle, the device includes:

the magnetic background signal acquisition module is used for acquiring magnetic background signals of each magnetic signal channel when the magnetic floating roller idles;

the background magnetic noise point acquisition module is used for determining the background magnetic noise points of the magnetic signal channels according to the magnetic background signals and the magnetic positioning points of the magnetic signal channels;

the initial paper currency magnetic signal acquisition module is used for acquiring initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller;

and the noise elimination module is used for outputting the magnetic signals of the paper money after the magnetic noise is eliminated according to the initial paper money magnetic signals of the magnetic signal channels and the corresponding background magnetic noise points.

A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for canceling magnetic noise of a magnetic floating roller as described above when executing the computer program.

A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method of canceling magnetic noise of a magnetic floating roller as described above.

Compared with the prior art, the embodiment of the invention has the following beneficial effects: the embodiment provides a method for eliminating magnetic noise of a magnetic floating roller, wherein the magnetic floating roller comprises a metal shaft, a roller wheel and a magnetic positioning point arranged on the metal shaft; the roller wheel is sleeved on the metal shaft, the magnetic positioning points are arranged at the positions, which are not covered by the roller wheel, on the metal shaft, and magnetic background signals of all magnetic signal channels are collected firstly when the magnetic floating roller idles; then determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning point of each magnetic signal channel; collecting initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller; and finally, outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point. The embodiment subtracts background magnetic noise when the magnetic floating roller idles from the detected paper money magnetic signal, can eliminate the influence of magnetic powder left on the magnetic floating roller on paper money magnetic signal detection, and improves the accuracy of the magnetic identification mechanism.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

FIG. 1 is a schematic structural diagram of a magnetic dancer roll provided by an embodiment of the present invention;

FIG. 2 is a schematic flow chart of an implementation of a method for eliminating magnetic noise of a magnetic floating roller according to an embodiment of the present invention;

fig. 3 is a schematic flow chart of S202 in fig. 2 according to an embodiment of the present invention;

fig. 4 is a schematic flowchart of S301 in fig. 3 according to an embodiment of the present invention;

FIG. 5 is a schematic diagram of a magnetic background signal of a magnetic signal channel corresponding to a magnetic location point provided by an embodiment of the present invention;

fig. 6 is a schematic flowchart of S204 in fig. 2 according to an embodiment of the present invention;

FIG. 7 is a schematic structural diagram of an apparatus for eliminating magnetic noise of a magnetic floating roller according to an embodiment of the present invention;

fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.

In order to explain the technical means of the present invention, the following description will be given by way of specific examples.

Example 1:

an embodiment of the present invention provides a magnetic dancer roll, which is structured as shown in fig. 1, and includes: the device comprises a metal shaft 12, a roller 11 and a magnetic positioning point 13 arranged on the metal shaft 12;

the roller 11 is sleeved on the metal shaft 12, and the magnetic positioning points 13 are arranged on the metal shaft 12 at positions uncovered by the roller 11.

In the present embodiment, the magnetic floating roller is a component of a magnetic discriminating mechanism, and as shown in fig. 1, the magnetic discriminating mechanism includes a magnetic floating roller and a magnetic sensor 20, the magnetic floating roller is located above the magnetic sensor 20, and a gap of a predetermined distance is left between the magnetic floating roller and the magnetic sensor 20, and the magnetic sensor 20 is used for detecting magnetic data of the paper money passing through the magnetic floating roller.

In the embodiment, as shown in fig. 1, the magnetic floating roller comprises a metal shaft 12, a roller 11 and a magnetic positioning point 13 arranged on the metal shaft 12, wherein the roller 11 is sleeved on the metal shaft 12; the magnetic positioning points 13 are arranged on the metal shaft 12 and not covered by the roller 11, and can be arranged on the metal shaft 12 on one side of the roller 11, the magnetic positioning points 13 are points with magnetic content far larger than background magnetic data of the magnetic floating roller, paper money passes through the roller 11 and does not pass through the magnetic positioning points 13, so that the magnetic positioning points 13 cannot be interfered by magnetic powder of the paper money, the magnetic sensor 20 can also detect the magnetic data of the magnetic positioning points 13, and a periodic magnetic signal can be determined according to the magnetic positioning points 13.

As shown in fig. 2, fig. 2 shows a schematic flow chart of the method for eliminating the magnetic floating roller provided by the embodiment, and the process thereof is detailed as follows:

s201: and collecting magnetic background signals of each magnetic signal channel when the magnetic floating roller idles.

The main flow body of this embodiment is a terminal device, and the terminal device is in communication connection with the magnetic sensor 20 and is configured to receive the magnetic background signals of the magnetic signal channels of the magnetic floating roller detected by the magnetic sensor 20.

Specifically, when the banknote is magnetically detected each time, after the identification process is started, the transmission mechanism starts to rotate, but the banknote is not transmitted to the position of the magnetic floating roller, the magnetic floating roller is in an idle state, and at this time, the magnetic background signal of the idle magnetic floating roller is acquired through the magnetic sensor 20.

The magnetic signal channel in this embodiment is a detection channel for a magnetic signal, the magnetic sensor 20 includes a plurality of detection channels for a magnetic signal, each detection channel of the magnetic sensor 20 detects magnetic data of a position point where the magnetic floating roller rotates to the magnetic sensor 20, and each magnetic signal channel acquires a plurality of magnetic data in a case of one rotation, thereby obtaining a magnetic background signal of each magnetic signal channel.

S202: and determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning point of each magnetic signal channel.

In this embodiment, before the magnetic dancer roll leaves the factory, the magnetic background signal of the magnetic dancer roll may be detected, the normal amplitude range of the magnetic background signal of the magnetic dancer roll is determined, and if there is a magnetic data point with an amplitude exceeding the normal amplitude range in the magnetic background signal, the magnetic data point with an amplitude exceeding the normal amplitude range is used as the background magnetic noise point.

S203: and acquiring initial paper currency magnetic signals of each magnetic signal channel when the paper currency passes through the magnetic floating roller.

In this embodiment, the magnetic sensor 20 collects the initial banknote magnetic signals for each magnetic signal path as the banknote is driven to the magnetic dancer. The initial banknote magnetic signal is a banknote magnetic signal that may include magnetic noise.

S204: and outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point.

The embodiment firstly collects the magnetic background signals of each magnetic signal channel when the magnetic floating roller idles; then determining the background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic positioning point of each magnetic signal channel; collecting initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller; and finally, outputting the magnetic signal of the paper currency after the magnetic noise is eliminated according to the initial paper currency magnetic signal of each magnetic signal channel and the corresponding background magnetic noise point. The embodiment subtracts background magnetic noise when the magnetic floating roller idles from the detected paper money magnetic signal, thereby eliminating the influence of magnetic powder left on the magnetic floating roller on paper money magnetic signal detection and improving the accuracy of the magnetic identification mechanism.

In an embodiment of the present invention, a specific implementation flow of S201 in fig. 1 includes:

the magnetic background signals of the preset number of cycles of each magnetic signal channel acquired by the magnetic sensor 20 are acquired while the magnetic dancer is idling.

In this embodiment, since the magnetic floating roller performs periodic motion, the magnetic background signal is a periodic signal, and the method for acquiring the magnetic background signals with a preset number of periods in this embodiment may be:

and adjusting the initial time of the identification process and the time of transmitting the paper money to the magnetic floating roller to the time of rotating the magnetic floating roller for a preset period number, so that the terminal equipment acquires the magnetic background signals of the preset period number when the paper money does not reach the magnetic floating roller.

In this embodiment, the number of preset periods may be 2, and 2 periods of magnetic background signals of each magnetic signal channel are collected.

As shown in fig. 3, in an embodiment of the present invention, fig. 3 shows a specific implementation flow of S202 in fig. 2, and the process thereof is detailed as follows:

s301: and determining the periodic background signal of each magnetic signal channel according to the magnetic background signal of each magnetic signal channel and the magnetic positioning points.

In this embodiment, since the magnetic floating roller rotates during the identification process, the magnetic data of the background magnetic signal of each channel acquired by the magnetic sensor 20 is repeated periodically, and the acquired magnetic background signal has a plurality of magnetic data of the same position of the roller 11, so that only one period of the magnetic background signal needs to be acquired.

In this embodiment, as shown in fig. 4, fig. 4 shows a specific implementation flow of S301 in fig. 3, which includes:

s401: searching two adjacent magnetic positioning data points in the magnetic background signal of the magnetic signal channel corresponding to the magnetic positioning point, wherein the magnetic positioning data points are magnetic data points corresponding to the magnetic positioning points in the magnetic background signal of the magnetic signal channel corresponding to the magnetic positioning points;

s402: intercepting a first periodic background signal from a magnetic background signal corresponding to a first magnetic signal channel, wherein the phase of an initial magnetic data point of the first periodic background signal is the same as the phase of one magnetic positioning data point, and the phase of a cut-off magnetic data point of the first periodic background signal is the same as the phase of another magnetic positioning data point; the first magnetic signal channel is any one of the magnetic signal channels of the magnetic floating roller.

In this embodiment, as shown in FIG. 5, FIG. 5 shows the magnetic background signal of the magnetic anchor points 13 corresponding to the magnetic signal channels. In the magnetic signal channel corresponding to the magnetic positioning point 13, every time the magnetic floating roller rotates one circle, the magnetic sensor 20 collects the magnetic data of the magnetic positioning point 13, and therefore, the signal between two adjacent magnetic positioning data points is a magnetic background signal of one cycle.

Therefore, the amplitude of the preset locating point can be set, when the terminal device detects that the amplitude of the magnetic data point existing in the magnetic background signal is larger than the amplitude of the preset locating point, the magnetic data point is used as a magnetic locating data point, and the acquisition time and the phase of the two magnetic locating data points are recorded. The signal between two adjacent magnetic location data points is then recorded as a periodic magnetic background signal.

In this embodiment, the terminal device synchronously acquires the magnetic background signals of the magnetic signal channels, and the acquisition time of the magnetic data points with the same phase of each magnetic signal channel is also the same. Therefore, the start magnetic data point and the cut-off magnetic data point of the periodic background signal of each magnetic background signal can be determined according to the phases of the two magnetic positioning data points, and then the periodic background signal of each magnetic background signal can be intercepted according to the start magnetic data point and the cut-off magnetic data point of each magnetic background signal.

S302: and taking the magnetic data points with the amplitude exceeding the preset amplitude range in the periodic background signals of each magnetic signal channel as the background magnetic noise points corresponding to each magnetic signal channel.

In this embodiment, whether a background magnetic noise exists in each periodic background signal is detected according to the periodic background signal of each magnetic signal channel obtained by interception.

Specifically, a preset amplitude range is set, the preset amplitude range comprises a first amplitude threshold and a second amplitude threshold, the first amplitude threshold is larger than the second amplitude threshold, when magnetic data points with amplitudes larger than the first amplitude threshold or smaller than the second amplitude threshold exist in the first periodic background signal, the magnetic data points with amplitudes larger than the first amplitude threshold or smaller than the second amplitude threshold are marked as first background magnetic noise points, and the first background magnetic noise points are background magnetic noise points in the first periodic background signal.

As shown in fig. 5, when the first amplitude threshold is set to 200 (the background reference amplitude is 2000), two background noise points X1(X ═ 108) and X2(X ═ 468) exist in the signal in fig. 5.

In this embodiment, after determining the background magnetic noise of each magnetic signal channel, the method further includes:

and determining the phase of each background magnetic noise point in the first periodic background signal according to the phases of the initial magnetic data point and the cut-off magnetic data point in the first periodic background signal.

In this embodiment, the phase and the amplitude of each background magnetic noise point are calculated by using the initial magnetic data point as a zero point, where the phase of the background magnetic noise point is obtained by subtracting the phase of the initial magnetic data point from the phase of the background magnetic noise point in the magnetic background signal, and the amplitude is obtained by subtracting the background reference amplitude from the amplitude of the background magnetic noise point.

As shown in fig. 5, when the magnetic location data point X0(X ═ 7), the magnetic data of two background magnetic noise points are X1(p1 ═ 101, f1 ═ 347), X2(p2 ═ 461, f2 ═ 339), where p denotes phase and f denotes amplitude, respectively.

As shown in fig. 6, in an embodiment of the present invention, fig. 6 shows a specific implementation flow of S204 in fig. 2, and the process thereof is detailed as follows:

s601: and determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to the first magnetic signal channel according to the magnetic positioning point, wherein the first magnetic signal channel is any one magnetic signal channel of the magnetic floating roller.

In this embodiment, the specific implementation flow of S601 in fig. 6 is as follows:

s701: acquiring the phase of a current positioning data point in a current positioning magnetic signal, wherein the current positioning magnetic signal is a magnetic signal of a magnetic signal channel corresponding to the magnetic positioning point synchronously acquired with the initial paper currency magnetic signal;

s702: and determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to the first magnetic signal channel according to the current positioning data point.

In the embodiment, when acquiring the magnetic signal of the paper money, the current positioning magnetic signal of the magnetic signal channel corresponding to the magnetic positioning point 13 is acquired at the same time, and the periodic magnetic signal of the magnetic channel is determined.

After the current magnetic signal is divided into a plurality of periodic magnetic signals by the current positioning data point, the current magnetic signal corresponding to the magnetic positioning point 13 is synchronous with the banknote magnetic signals of each magnetic signal channel, so that the phase of the banknote magnetic signal of each magnetic signal channel can be determined according to the phase of the current positioning data point.

S602: searching a magnetic data point with the same phase as a first background magnetic noise point in an initial paper money magnetic signal corresponding to the first magnetic signal channel to serve as a paper money magnetic noise point corresponding to the first magnetic signal channel, wherein the first background magnetic noise point is a background magnetic noise point in a periodic background signal corresponding to the first magnetic signal channel;

s603: and subtracting the amplitude of the first background magnetic noise point of the corresponding phase from the amplitude of each paper money magnetic noise point of the first magnetic signal channel to obtain the paper money magnetic signal corresponding to the first magnetic signal channel and subjected to magnetic noise elimination.

In this embodiment, a data point having the same phase as the background magnetic noise point of the magnetic signal channel is searched in the banknote magnetic signal of the first magnetic signal channel to serve as the banknote magnetic noise point, the amplitude of the banknote magnetic noise point is subtracted by the amplitude of the background magnetic noise point having the same phase, the amplitude of the denoised banknote magnetic data point is determined, and the amplitude of the data point having the phase different from the background magnetic noise point in the banknote magnetic signal is unchanged, so that the banknote magnetic signals of each of the magnetic signal channels after denoising are output.

Specifically, when the length of the banknote magnetic signal includes a plurality of periodic background signals, the banknote magnetic signal of each magnetic signal channel is aligned with the magnetic positioning data point of the periodic background signal of the corresponding channel, and when the periodic background signal is not long enough, the plurality of periodic background signals are superposed, so that the magnetic data point phase of the periodic background signal of each magnetic signal channel is aligned with the magnetic data point phase of the corresponding banknote magnetic signal. And then calculating the denoised amplitude of the magnetic data points of the paper money corresponding to each magnetic noise point, wherein the height of the amplitude represents the magnetic content, so that the noise interference on the magnetic floating roller can be filtered, the magnetic content of each position of the paper money can be accurately obtained, and the accuracy of paper money identification is improved.

It can be known from the above embodiments that, by the method for eliminating the noise of the magnetic floating roller provided by the embodiment, an accurate identification result can be obtained when the magnetic content of the magnetic floating roller is large, so that the problem of frequent replacement of the magnetic floating roller is solved, the maintenance cost is reduced, meanwhile, the low-frequency magnetic characteristic of the paper money can be prevented from being submerged by the magnetic noise, and the identification capability of the magnetic identification mechanism is improved.

It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

As shown in fig. 7, an embodiment of the present invention provides an apparatus 100 for canceling magnetic noise of a magnetic floating roller, for performing the method steps in the embodiment corresponding to fig. 2, including:

the magnetic background signal acquisition module 110 is used for acquiring magnetic background signals of each magnetic signal channel when the magnetic floating roller idles;

a background magnetic noise point obtaining module 120, configured to determine a background magnetic noise point of each magnetic signal channel according to the magnetic background signal and the magnetic locating point of each magnetic signal channel;

an initial paper currency magnetic signal acquisition module 130, configured to acquire initial paper currency magnetic signals of each magnetic signal channel when paper currency passes through the magnetic floating roller;

and the noise elimination module 140 is configured to output the magnetic signal of the banknote after the magnetic noise is eliminated according to the initial magnetic signal of the banknote and the corresponding background magnetic noise in each magnetic signal channel.

In one embodiment of the present invention, the magnetic background signal acquisition module 110 in fig. 7 includes:

the magnetic background signals of the preset number of cycles of each magnetic signal channel acquired by the magnetic sensor 20 are acquired while the magnetic dancer is idling.

In an embodiment of the present invention, the background noise acquisition module 120 in the embodiment corresponding to fig. 7 further includes a structure for performing the method steps in the embodiment corresponding to fig. 3, which includes:

the periodic background signal acquisition unit is used for determining the periodic background signal of each magnetic signal channel according to the magnetic background signal of each magnetic signal channel and the magnetic positioning points;

and the background magnetic noise point acquisition unit is used for taking the magnetic data points with the amplitude exceeding the preset amplitude range in the periodic background signals of each magnetic signal channel as the background magnetic noise points corresponding to each magnetic signal channel.

In an embodiment of the present invention, the periodic background signal acquisition unit further includes a structure for performing the method steps in the embodiment corresponding to fig. 4, which includes:

the magnetic positioning data point positioning subunit is used for searching two adjacent magnetic positioning data points in a magnetic background signal of a magnetic signal channel corresponding to the magnetic positioning point, wherein the magnetic positioning data points are magnetic data points corresponding to the magnetic positioning points in the magnetic background signal of the magnetic signal channel corresponding to the magnetic positioning points;

a periodic background signal acquisition subunit, configured to intercept a first periodic background signal from a magnetic background signal corresponding to a first magnetic signal channel, where a phase of an initial magnetic data point of the first periodic background signal is the same as a phase of one magnetic positioning data point, and a phase of a cutoff magnetic data point of the first periodic background signal is the same as a phase of another magnetic positioning data point; the first magnetic signal channel is any one of the magnetic signal channels of the magnetic floating roller.

In one embodiment of the present invention, the apparatus 100 for eliminating magnetic noise of a magnetic floating roller further comprises:

and the magnetic noise point phase calculation module is used for determining the phase of each background magnetic noise point in the first period background signal according to the phases of the initial magnetic data point and the cut-off magnetic data point in the first period background signal.

In an embodiment of the present invention, the noise cancellation module 140 in the embodiment corresponding to fig. 7 further includes a structure for performing the method steps in the embodiment corresponding to fig. 6, which includes:

the phase calculation unit is used for determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to a first magnetic signal channel according to the magnetic positioning point, wherein the first magnetic signal channel is any one magnetic signal channel of the magnetic floating roller;

the banknote magnetic noise acquisition unit is used for searching a magnetic data point with the same phase as that of a first background magnetic noise in an initial banknote magnetic signal corresponding to the first magnetic signal channel as a banknote magnetic noise corresponding to the first magnetic signal channel, wherein the first background magnetic noise is a background magnetic noise in a periodic background signal corresponding to the first magnetic signal channel;

and the paper currency magnetic signal acquisition unit is used for subtracting the amplitude of the first background magnetic noise point of the corresponding phase from the amplitude of each paper currency magnetic noise point of the first magnetic signal channel to obtain the paper currency magnetic signal corresponding to the first magnetic signal channel after the magnetic noise is eliminated.

In one embodiment of the present invention, the phase calculation unit includes:

the current positioning data point acquiring subunit is used for acquiring the phase of a current positioning data point in a current positioning magnetic signal, wherein the current positioning magnetic signal is a magnetic signal of a magnetic signal channel corresponding to the magnetic positioning point synchronously acquired with the initial paper currency magnetic signal;

and the data point phase calculation subunit is used for determining the phase of each magnetic data point in the initial paper money magnetic signal corresponding to the first magnetic signal channel according to the current positioning data point.

In one embodiment, the apparatus 100 for eliminating magnetic noise of a magnetic floating roller further comprises other functional modules/units for implementing the method steps in the embodiments of embodiment 1.

Fig. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 8, the terminal apparatus 800 of this embodiment includes: a processor 80, a memory 81 and a computer program 82 stored in said memory 81 and executable on said processor 80. The processor 80, when executing the computer program 82, implements the steps in each of the above-described method embodiments of canceling magnetic noise of a magnetic floating roller, such as the steps 201 to 204 shown in fig. 2. Alternatively, the processor 80, when executing the computer program 82, implements the functions of the modules/units in the above-described device embodiments, such as the functions of the modules 110 to 140 shown in fig. 7.

The computer program 82 may be divided into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 82 in the terminal device 800.

The terminal device 800 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 800 may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 800 and does not constitute a limitation of terminal device 800, and may include more or fewer components than shown, or some components may be combined, or different components, e.g., terminal device 800 may also include input-output devices, network access devices, buses, etc.

The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

The storage 81 may be an internal storage unit of the terminal device 800, such as a hard disk or a memory of the terminal device 800. The memory 81 may also be an external storage device of the terminal device 800, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 800. Further, the memory 81 may also include both an internal storage unit and an external storage device of the terminal device 800. The memory 81 is used for storing the computer programs and other programs and data required by the terminal device 800. The memory 81 may also be used to temporarily store data that has been output or is to be output.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种消防车驾驶室局部空间有源噪声控制系统及方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!