EP3940657A1 - Method and apparatus for realizing electric motor control on basis of fpga - Google Patents

Method and apparatus for realizing electric motor control on basis of fpga Download PDF

Info

Publication number
EP3940657A1
EP3940657A1 EP20842167.7A EP20842167A EP3940657A1 EP 3940657 A1 EP3940657 A1 EP 3940657A1 EP 20842167 A EP20842167 A EP 20842167A EP 3940657 A1 EP3940657 A1 EP 3940657A1
Authority
EP
European Patent Office
Prior art keywords
separating element
medium
carrying component
controlling
electric motor
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.)
Withdrawn
Application number
EP20842167.7A
Other languages
German (de)
French (fr)
Other versions
EP3940657A4 (en
Inventor
Tong Peng
Hua Liu
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.)
Shenzhen Yihua Computer Co Ltd
Original Assignee
Shenzhen Yihua Computer 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 Shenzhen Yihua Computer Co Ltd filed Critical Shenzhen Yihua Computer Co Ltd
Publication of EP3940657A1 publication Critical patent/EP3940657A1/en
Publication of EP3940657A4 publication Critical patent/EP3940657A4/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H3/00Separating articles from piles
    • B65H3/02Separating articles from piles using friction forces between articles and separator
    • B65H3/06Rollers or like rotary separators
    • B65H3/0669Driving devices therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H1/00Supports or magazines for piles from which articles are to be separated
    • B65H1/08Supports or magazines for piles from which articles are to be separated with means for advancing the articles to present the articles to the separating device
    • B65H1/14Supports or magazines for piles from which articles are to be separated with means for advancing the articles to present the articles to the separating device comprising positively-acting mechanical devices
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H3/00Separating articles from piles
    • B65H3/02Separating articles from piles using friction forces between articles and separator
    • B65H3/06Rollers or like rotary separators
    • B65H3/0638Construction of the rollers or like rotary separators
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H7/00Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles
    • B65H7/02Controlling article feeding, separating, pile-advancing, or associated apparatus, to take account of incorrect feeding, absence of articles, or presence of faulty articles by feelers or detectors
    • 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/10Mechanical details
    • G07D11/16Handling of valuable papers
    • G07D11/165Picking
    • 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/20Controlling or monitoring the operation of devices; Data handling
    • G07D11/22Means for sensing or detection
    • G07D11/235Means for sensing or detection for monitoring or indicating operating conditions; for detecting malfunctions
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/20Location in space
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/20Location in space
    • B65H2511/21Angle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2511/00Dimensions; Position; Numbers; Identification; Occurrences
    • B65H2511/20Location in space
    • B65H2511/21Angle
    • B65H2511/212Rotary position
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2513/00Dynamic entities; Timing aspects
    • B65H2513/40Movement
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2513/00Dynamic entities; Timing aspects
    • B65H2513/50Timing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2513/00Dynamic entities; Timing aspects
    • B65H2513/50Timing
    • B65H2513/512Starting; Stopping
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2553/00Sensing or detecting means
    • B65H2553/40Sensing or detecting means using optical, e.g. photographic, elements
    • B65H2553/41Photoelectric detectors
    • B65H2553/414Photoelectric detectors involving receptor receiving light reflected by a reflecting surface and emitted by a separate emitter
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2557/00Means for control not provided for in groups B65H2551/00 - B65H2555/00
    • B65H2557/50Use of particular electromagnetic waves, e.g. light, radiowaves or microwaves
    • B65H2557/512Use of particular electromagnetic waves, e.g. light, radiowaves or microwaves infrared
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65HHANDLING THIN OR FILAMENTARY MATERIAL, e.g. SHEETS, WEBS, CABLES
    • B65H2701/00Handled material; Storage means
    • B65H2701/10Handled articles or webs
    • B65H2701/19Specific article or web
    • B65H2701/1912Banknotes, bills and cheques or the like

Definitions

  • the present disclosure relates to the technical field of signal processing, and particularly relates to a method of controlling an electric motor based on FPGA and a device of controlling an electric motor based on FPGA.
  • Containers used to store a medium usually involve the problem how to separate the medium inside the container.
  • the separation of the medium inside conventional containers is usually by using the friction between a separating assembly inside the container and the medium, to realize the technical effect of separating the medium out of the container.
  • a conventional treatment mode is to control the electric motor by ARM, MCU and so on to drive the separating assembly to separate the medium.
  • the conventional controlling mode can merely solve obvious problems in the separation, and its real-time capability and accuracy are not sufficient to solve the problems in the separation caused by the subtle parameter variations, and cannot realize accurate controlling and accurate separation.
  • the embodiments of the present disclosure are proposed to provide a method of controlling an electric motor based on FPGA and a corresponding device of controlling an electric motor based on FPGA that can overcome the above problems or at least partially solve the above problems.
  • the problems in the separation caused by the subtle parameter variations are solved that cannot be solved by the conventional controlling mode due to the real-time capability and the accuracy.
  • An embodiment of the present disclosure discloses a method of controlling an electric motor based on FPGA, wherein the method comprises:
  • the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises: if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the separating element comprises a leading separating element;
  • the detecting assembly comprises one or more detecting elements;
  • the detection signal comprises sub-signals that are generated by each of the detecting elements;
  • the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises: if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • the separating element comprises a tailing separating element;
  • the detecting assembly comprises one or more detecting elements;
  • the detection signal comprises sub-signals that are generated by each of the detecting elements;
  • the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises: if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • the method further comprises: if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises: if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • the step of, when the medium separating instruction has been received, acquiring the first phase information of the separating element comprises:
  • the method further comprises: if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses a device of controlling an electric motor based on FPGA, wherein the device comprises:
  • the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises: a first moving module configured for, if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the separating element comprises a leading separating element
  • the detecting assembly comprises one or more detecting elements
  • the detection signal comprises sub-signals that are generated by each of the detecting elements
  • the movement controlling module comprises: a second moving module configured for, if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • the separating element comprises a tailing separating element;
  • the detecting assembly comprises one or more detecting elements;
  • the detection signal comprises sub-signals that are generated by each of the detecting elements;
  • the movement controlling module comprises: a not-moving module configured for, if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • the movement controlling module further comprises: a third moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the detecting assembly comprises two detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises: a fourth moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • the phase-information acquiring module comprises:
  • the phase-information acquiring module further comprises: an alarming module configured for, if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses an electronic device, wherein the electronic device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the computer program causes the processor to implement the steps of the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer program, wherein the computer program comprises a computer-readable code, and when the computer-readable code is executed on a calculating and processing device, the computer-readable code causes the calculating and processing device to implement the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer-readable storage medium, wherein the computer-readable medium stores the computer program according to the embodiment of the present disclosure.
  • the embodiments of the present disclosure by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • Fig. 1 shows a schematic structural diagram of medium separation within the container according to an embodiment of the present disclosure. It comprises a separating element 101, a detecting assembly 102, a medium carrying component 103 and an electric motor 104.
  • the detecting assembly 102 is used to determine the state of the contact between the medium and the separating element 101.
  • the detecting assembly 102 may be an infrared sensor, wherein the infrared sensor emits an infrared ray to the surface of the medium, to determine the state of the contact between the medium and the separating element 101 according to the returning of the infrared ray.
  • the separating element 101 is used to bring the medium out of the container by using the friction with the medium and the compressional force of the medium carrying component 103.
  • the medium may be placed on the surface of the medium carrying component 103, and, by controlling by using the electric motor 104 the medium carrying component 103 to move toward the separating assembly, the medium and the separating element 101 can maintain a certain compressional force therebetween, which facilitates the separating element 101 to bring the medium out of the container by the friction.
  • the separating element 101 rotates about a center point, as shown in Figs. 2a and 2b , the separating element 101 and the medium 105 have two position relations therebetween, a contactable position relation (as shown in Fig. 2a ) and an untouchable position relation (as shown in Fig. 2b ).
  • the contacting state between the separating element 101 and the medium 105 according to the present disclosure is generated when the separating element 101 and the medium 105 are in the contactable position relation.
  • the core concept of the embodiments of the present disclosure is to control the movement of the medium carrying component according to the phase information of the separating element and the detection signal generated by the detecting assembly.
  • Fig. 3 shows a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure.
  • the system comprises a container main body, the medium carrying component disposed in the container main body, the detecting assembly, the electric motor and the separating assembly.
  • the separating assembly is disposed between the medium carrying component and the detecting assembly.
  • the separating element covers the surface of the separating assembly.
  • the method may particularly comprise the following steps:
  • Step 301 when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element.
  • the container according to the embodiments of the present disclosure is a container that can store a medium, including but not limited to a banknote chest for storing banknotes, a bill chest for storing bills, and so on.
  • the medium carrying component may be used to carry the medium, and may be controlled by the electric motor to move.
  • the medium carrying component may be, for example, the lifting platform for carrying the medium in a banknote chest.
  • the electric motor is used to provide an external driving force.
  • the detecting assembly may be used to detect the position where the medium carrying component is located.
  • the detecting assembly may be a sensor, for example an infrared sensor.
  • the medium according to the embodiments of the present disclosure varies with the container.
  • the medium when the container is a banknote chest, the medium may be paper bank notes of a standard size, and, when the container is a bill chest, the medium may be bills of a certain specification.
  • the separating element of the medium separating assembly contacts the medium on the medium carrying component along with the rotation of the separating element, and brings the medium out of the container by using the compressional force and the friction between the separating element and the medium, thereby realizing the medium separation.
  • the quantity of the media on the medium carrying component is gradually reduced, and the compressional force and the friction between the separating element and the medium gradually decrease and finally disappear, which affects the effect of the medium separation.
  • the media have different ages, different qualities and different smoothnesses, and even if the same quantities of the media have been separated, the spaces that are released are different.
  • an conventional system sets that each time 10 paper banknotes have been separated, the banknote holding plate is moved, to cause the upper surface of the uppermost paper banknote to be flush with the predetermined position. Even so, because of the above factors, such states that affect the quality of the medium separation still exist: tight-loose-not contacted. Therefore, it is required to in real time and quickly detect the state of the media and the medium carrying component, and, when the medium separation has proceeded to a certain extent, it is required to adjust in real time the position of the medium carrying component, to enable the separating element and the medium to maintain compressional force and friction therebetween of a certain level.
  • the movement of the medium carrying component must avoid affecting the effect of the medium separation.
  • the medium separation is realized by using the compressional force and the friction between the separating element and the medium, in the embodiments of the present disclosure, the different contact relations between the separating element and the medium may be used to analyze whether the movement of the medium carrying component will influence the medium separation.
  • the phase information of the separating element may be obtained by providing the detecting unit to detect it.
  • the detecting unit may be provided at a particular position that has the distance of one radius from the circle center of the separating assembly. Taking the vertical movement of the medium carrying component as the example, the detecting unit (for example, a sensor) may be provided at the position downward in the gravity direction of the separating assembly and having the distance of one radius from the separating assembly, to detect the phase information of the separating element and the medium by using the detecting element.
  • a synchronizing assembly (fanning strip) that moves synchronously with the separating element may be provided, to feed back the movement state of the separating element.
  • the phase information of the separating element is determined by disposing the detecting element at the corresponding position of the synchronizing assembly.
  • the phase information of the separating element may be acquired firstly.
  • the medium separating instruction may be triggered by the user clicking an operation interface; for example, the user clicks a withdrawal operation on a teller machine, or the user performs issuing operation on a billing machine. That may also be triggered in other forms of interaction, which is not particularly limited in the present disclosure.
  • Step 302 detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal.
  • the detecting assembly is provided inside the container, and provided at a position directly facing the medium, and the detecting assembly determines the state of the contact between the medium and the separating element by emitting a signal to the medium and receiving the returned signal.
  • the detecting assembly may be formed by a sensor.
  • the infrared sensor may comprise an emitting end and a receiving end, wherein the emitting end may emit an infrared ray to the medium, and the receiving end determines the state of the contact between the medium and the separating element by receiving the infrared ray fed back by the medium.
  • Step 303 based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the electric motor may be used to control the process of the movement of the medium carrying component toward the separating element, including controlling the medium carrying component to move toward the separating assembly and controlling the medium carrying component to stop moving toward the separating assembly.
  • the process of the movement of the medium carrying component toward the separating element may be a process of moving vertically in the gravity direction, and may also be a process of moving horizontally in the horizontal direction.
  • the embodiments of the present disclosure by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • Fig. 4 shows a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure, which may particularly comprise the following steps:
  • Step 401 when the medium separating instruction has been received, sending a collecting instruction to an information collecting component.
  • the information collecting component may be a fanning strip that is connected to the separating assembly via a gear, and may feed back the position information of the separating element.
  • the banknote chest After the banknote chest has received the medium separating instruction, it may send a collecting instruction to an information processing unit of the fanning strip, thereby acquiring the feedback information of the fanning strip.
  • Step 402 if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  • the separating element is used to, by using its own movement and the contact friction with the medium, drive the medium to move. It may be made from rubber or another abrasion-resistant material that can provide a certain friction.
  • a state information that is fed back by the fanning strip is received within a preset duration, that indicates that the fanning strip is operating normally and can normally feed back the related data of the separating element, and at this point a first phase information of the separating element may be acquired.
  • the feedback information is not received within a preset duration, that indicates that the fanning strip is not operating normally, and an alarming signal is emitted.
  • the alarming signal may be emitted to notice the user that the information collecting component is malfunctioning and should be repaired timely, to prevent its long-time failure during the medium separation.
  • the state of the damage of the medium may particularly be expressed as a real-time pop-up window in the user interface to notice the user, or a signal lamp may be provided, to notice the user by using the flicker of the signal lamp.
  • a machine administrator at the background of a bank or a maintainer of a self-service machine for self-service selling air tickets or high-speed rail tickets can timely receive the breakdown signal, and timely inspect the banknote chest or the ticket chest.
  • the mode of the signal notice is not particularly limited in the embodiments of the present disclosure.
  • Step 403 detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal.
  • the detecting assembly is provided inside the container, and provided at a position directly facing the medium, and the detecting assembly determines the state of the contact between the medium and the separating element by emitting a signal to the medium and receiving the returned signal.
  • the detecting assembly may be formed by a sensor.
  • the infrared sensor may comprise an emitting end and a receiving end, wherein the emitting end may emit an infrared ray to the medium, and the receiving end determines the state of the contact between the medium and the separating element by receiving the infrared ray fed back by the medium.
  • the medium separation is a very quick process, and the magnitudes of the signals that are required to be collected by the detecting unit for detecting the separating element and the detecting assembly for detecting the state of the medium are of the order of millisecond.
  • the pulse signals may be collected by using FPGA (Field-Programmable Gate Array).
  • FPGA Field-Programmable Gate Array
  • the response speed of FPGA can easily reach the order of nanosecond, and the precision can reach the order of picosecond.
  • FPGA can parallelly collect multiple signals; for example, it can parallelly collect at a high speed the phase information of the separating element and the position information of the medium carrying component. Therefore, it can accurately collect the pulse signals generated by the detecting assembly, whereby the contact relation between the separating element and the medium can be accurately determined.
  • Step 404 based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • the electric motor may be used to control the process of the movement of the medium carrying component toward the separating element, including controlling the medium carrying component to move toward the separating assembly and controlling the medium carrying component to stop moving toward the separating assembly.
  • the process of the movement of the medium carrying component toward the separating element may be a process of moving vertically in the gravity direction, and may also be a process of moving horizontally in the horizontal direction.
  • the separating element may be formed by two parts, a leading separating element and a tailing separating element, wherein the leading separating element, in the process of the rotation following the separating assembly, contacts the medium earlier than the tailing separating element.
  • the detecting assembly comprises one or more detecting elements, which may simultaneously emit signals toward the medium to acquire the signals returned by the medium.
  • the separating element and the medium have three states of contact therebetween, including a tight state in which the compressional force is sufficient, a loose state in which the compressional force is not sufficient, and a not-contacted state in which a compressional force does not exist.
  • a tight state in which the compressional force is sufficient if the medium carrying component does not move, the state of contact between the separating element and the medium will change from being tight to being loose and then to being not contacted.
  • the sub-signals detected by the at least one detecting element it can be determined that the separating element and the medium are in the state of being loose. If it is detected that the separating element and the medium are in the state of being loose, by referring to the phase information of the separating element, it can be determined whether the medium carrying component is required to be moved.
  • the medium carrying component is controlled by using the electric motor to move.
  • the first predetermined position refers to such a position: when the separating element is in the position, the separating element blocks the signal of the detecting unit, thereby generating a blocking signal.
  • the separating element contacts the medium; in other words, when the separating element is in such a position, the separating element can bring the medium out of the container by using the compressional force and the friction with the medium.
  • the state of contact between the separating element and the medium can be adjusted to the state of being tight by properly moving the medium carrying component, thereby effectively realizing the medium separation.
  • the medium carrying component is controlled by using the electric motor to move.
  • the separating element When the leading separating element is in the first predetermined position, the separating element has just contacted the medium, and has not driven the medium to move. If at this point the separating element and the medium are in the state of being loose, the state of contact between the separating element and the medium can be adjusted to the state of being tight by properly moving the medium carrying component, thereby effectively realizing the medium separation.
  • phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, the medium carrying component is not moved, and a movement marking information is generated.
  • the separating element When the tailing separating element is in the first predetermined position, the separating element is driving the medium to move. If at this point the separating element and the medium are in the state of being loose, when the medium carrying component is being moved, the force between the separating element and the medium will change. Moreover, changing the borne force of the medium in the process of moving the medium largely prejudices the current movement action of the medium, which affects the medium separation. For example, the current medium that is being separated might, because of the increased friction, be dragged and thus be not able to be separated, or be obliquely separated. Therefore, in this case, the medium carrying component should not be immediately moved.
  • a movement marking information may be generated, to mark that it is required to subsequently perform the corresponding processing based on the movement marking information.
  • the medium carrying component is controlled by using the electric motor to move toward the separating element.
  • the second predetermined position refers to a position where the separating element does not block the signal generated by the detecting unit.
  • the separating element When the separating element is in such a position, the separating element does not contact the medium, and at this point the separating assembly and the medium have a certain spatial difference therebetween, and the medium does not move. Therefore, at this point, moving the medium carrying component will not influence the effect of the medium separation. Therefore, when the separating element is in the second predetermined position, it may be inspected whether the movement marking information was generated previously, and if yes, in response to the movement marking information, the medium carrying component is controlled by using the electric motor to move toward the separating assembly.
  • the medium carrying component is controlled by using the electric motor to move.
  • the second predetermined position refers to a position where the separating element does not block the signal generated by the detecting unit.
  • the medium is in a not-moving state, and if at this point it is detected that any of the sub-signals is a blocking signal, that indicates that, when the separating element and the medium contact, the state of contact between the separating element and the medium is the state of being loose.
  • the medium carrying component should be moved, whereby, in the next time of the operation of the medium separation, the medium and the separating element are in the state of being tight.
  • the embodiments of the present disclosure by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • Fig. 5 shows a flow chart of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure.
  • a medium separating instruction After the preparation for the separation has been done, when a medium separating instruction has been received, firstly, it is required to send a collecting instruction to an information collecting component, and, if the feedback information is not received within a preset duration, that indicates that the information collecting component is damaged, and at this point the operation may be ended and an alarming signal may be emitted. If a feedback information has been received within the preset duration, the phase information of the separating element may be acquired.
  • phase information of the separating element is a blocking information
  • the separating element is about to drive the medium to move. It is judged that whether any one of top sensors is in a no-blocking state. If yes, the medium carrying component is immediately moved upwardly, which can enable the friction between the separating element and the medium to satisfy the requirement on the separation of the medium. If no, the process is returned to the step of judging whether the information collecting component is damaged. If the medium carrying component has been adjusted sufficiently in place, the adjusting of the medium carrying component is ended, and the step of judging whether the information collecting component is damaged is re-executed. If the medium carrying component has not been adjusted sufficiently in place, the medium carrying component is continuously moved upwardly till the medium carrying component has been adjusted sufficiently in place.
  • the separating element is driving the medium to move, and the medium is in the moving state. It is judged that whether any one of top sensors is in a no-blocking state. If yes, the current state is marked (at this point the medium carrying component should not be moved immediately, to prevent abnormal separation of the medium during the movement due to the variation of the force), till the phase information of the separating element is a no-blocking information, and, in response to the marked state, the medium carrying component is moved upwardly. If no, the process is returned to the step of judging whether the information collecting component is damaged. If the medium carrying component has been adjusted sufficiently in place, the adjusting of the medium carrying component is ended, and the step of judging whether the information collecting component is damaged is re-executed. If the medium carrying component has not been adjusted sufficiently in place, the medium carrying component is continuously moved upwardly till the medium carrying component has been adjusted sufficiently in place.
  • phase information of the separating element is a no-blocking information
  • Fig. 6 shows a structural block diagram of an embodiment of the device of controlling an electric motor based on FPGA according to an embodiment of the present disclosure, which may particularly comprise the following modules:
  • the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 comprises: a first moving module configured for, if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the separating element comprises a leading separating element
  • the detecting assembly comprises one or more detecting elements
  • the detection signal comprises sub-signals that are generated by each of the detecting elements
  • the movement controlling module 603 may comprise: a second moving module configured for, if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • the separating element comprises a tailing separating element;
  • the detecting assembly comprises one or more detecting elements;
  • the detection signal comprises sub-signals that are generated by each of the detecting elements;
  • the movement controlling module 603 may comprise: a not-moving module configured for, if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • the movement controlling module 603 further comprises: a third moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 may comprise: a fourth moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • the phase-information acquiring module 601 may comprise:
  • the phase-information acquiring module 501 may further comprise: an alarming module configured for, if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses an electronic device, wherein the electronic device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the computer program causes the processor to implement the steps of the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer program, wherein the computer program comprises a computer-readable code, and when the computer-readable code is executed on a calculating and processing device, the computer-readable code causes the calculating and processing device to implement the method of controlling an electric motor based on FPGA according to any one of the embodiments of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer-readable storage medium, wherein the computer-readable medium stores the computer program according to the embodiment of the present disclosure.
  • the computer-readable storage medium includes any mechanism for storing or transmitting information in a form readable by a computer (for example, a computer).
  • the computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic-disk storage medium, an optical storage medium, a flash storage medium, a propagation signal in an electric, optical, acoustic or other form (for example, a carrier wave, an infrared signal and a digital signal) and so on.
  • the above-described device embodiments are merely illustrative, wherein the units that are described as separate components may or may not be physically separate, and the components that are displayed as units may or may not be physical units; in other words, they may be located at the same one location, and may also be distributed to a plurality of network units. Part or all of the modules may be selected according to the actual demands to realize the purposes of the solutions of the embodiments. A person skilled in the art can understand and implement the technical solutions without paying creative work.
  • Each component embodiment of the present disclosure may be implemented by hardware, or by software modules that are operated on one or more processors, or by a combination thereof.
  • a person skilled in the art should understand that some or all of the functions of some or all of the components of the calculating and processing device according to the embodiments of the present disclosure may be implemented by using a microprocessor or a digital signal processor (DSP) in practice.
  • DSP digital signal processor
  • the present disclosure may also be implemented as apparatus or device programs (for example, computer programs and computer program products) for implementing part of or the whole of the method described herein.
  • Such programs for implementing the present disclosure may be stored in a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other forms.
  • Fig. 7 shows a calculating and processing device that can implement the method according to the present disclosure.
  • the calculating and processing device traditionally comprises a processor 710 and a computer program product or computer-readable medium in the form of a memory 720.
  • the memory 720 may be electronic memories such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk or ROM.
  • the memory 720 has the storage space 730 of the program code 731 for implementing any steps of the above method.
  • the storage space 730 for program code may contain program codes 731 for individually implementing each of the steps of the above method. Those program codes may be read from one or more computer program products or be written into the one or more computer program products.
  • Those computer program products include program code carriers such as hard disk, compact disk (CD), memory card or floppy disk as shown in Fig. 8 .
  • Such computer program products are usually portable or fixed storage units.
  • the storage unit may have storage segments or storage spaces with similar arrangement to the memory 720 of the calculating and processing device in Figure 7 .
  • the program codes may for example be compressed in a suitable form.
  • the storage unit contains a computer-readable code 731', which can be read by a processor like 710. When those codes are executed by the calculating and processing device, the codes cause the calculating and processing device to implement each of the steps of the method described above.
  • any reference signs between parentheses should not be construed as limiting the claims.
  • the word “comprise” does not exclude elements or steps that are not listed in the claims.
  • the word “a” or “an” preceding an element does not exclude the existing of a plurality of such elements.
  • the present disclosure may be implemented by means of hardware comprising several different elements and by means of a properly programmed computer. In unit claims that list several devices, some of those devices may be embodied by the same item of hardware.
  • the words first, second, third and so on do not denote any order. Those words may be interpreted as names.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Electric Motors In General (AREA)
  • Feeding Of Articles By Means Other Than Belts Or Rollers (AREA)

Abstract

The embodiments of the present disclosure provide a method and device of controlling an electric motor based on FPGA, including: when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element; detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly. The embodiments of the present disclosure, by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.

Description

    TECHNICAL FIELD
  • The present disclosure relates to the technical field of signal processing, and particularly relates to a method of controlling an electric motor based on FPGA and a device of controlling an electric motor based on FPGA.
  • BACKGROUND
  • Containers used to store a medium usually involve the problem how to separate the medium inside the container. The separation of the medium inside conventional containers is usually by using the friction between a separating assembly inside the container and the medium, to realize the technical effect of separating the medium out of the container.
  • However, during the process of the medium separation, although the rotational speed of the electric motor is constant, because of the differences in the ages, the staining degrees, the masses, the thicknesses and the occupied spaces of the media, the relative position between the separating assembly and the media easily varies. That results in that the friction between the separating assembly and the media is too large or too small, the media and the separating element contact loosely or tightly, the separation of the media is not performed at a constant speed, and thus separation failure or replicated separation of the media happen. That results in that the quality of the separation cannot be effectively ensured. The variations of those parameters such as distance and friction are very subtle, but seriously affects the effect of the medium separation. However, conventional controlling modes cannot realize accurate and real-time adjustment. If they are not timely treated and rectified, the severe consequences might be the damage of the media and the device. Currently, a conventional treatment mode is to control the electric motor by ARM, MCU and so on to drive the separating assembly to separate the medium. The conventional controlling mode can merely solve obvious problems in the separation, and its real-time capability and accuracy are not sufficient to solve the problems in the separation caused by the subtle parameter variations, and cannot realize accurate controlling and accurate separation.
  • SUMMARY
  • In view of the above problems, the embodiments of the present disclosure are proposed to provide a method of controlling an electric motor based on FPGA and a corresponding device of controlling an electric motor based on FPGA that can overcome the above problems or at least partially solve the above problems. By using the techniques of FPGA of operation and controlling, the problems in the separation caused by the subtle parameter variations are solved that cannot be solved by the conventional controlling mode due to the real-time capability and the accuracy.
  • An embodiment of the present disclosure discloses a method of controlling an electric motor based on FPGA, wherein the method comprises:
    • when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element;
    • detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and
    • based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • Optionally, the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • Optionally, the separating element comprises a leading separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • Optionally, the separating element comprises a tailing separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • Optionally, the method further comprises:
    if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • Optionally, the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • Optionally, the step of, when the medium separating instruction has been received, acquiring the first phase information of the separating element comprises:
    • when the medium separating instruction has been received, sending a collecting instruction to a predetermined information collecting component; and
    • if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  • Optionally, the method further comprises:
    if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses a device of controlling an electric motor based on FPGA, wherein the device comprises:
    • a phase-information acquiring module configured for, when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element;
    • a detection-signal generating module configured for detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and
    • a movement controlling module configured for, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • Optionally, the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises:
    a first moving module configured for, if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • Optionally, the separating element comprises a leading separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises:
    a second moving module configured for, if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • Optionally, the separating element comprises a tailing separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises:
    a not-moving module configured for, if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • Optionally, the movement controlling module further comprises:
    a third moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • Optionally, the detecting assembly comprises two detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module comprises:
    a fourth moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • Optionally, the phase-information acquiring module comprises:
    • a collecting-instruction sending module configured for, when the predetermined medium separating instruction has been received, sending a collecting instruction to a predetermined information collecting component; and
    • a phase-information acquiring module configured for, if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  • Optionally, the phase-information acquiring module further comprises:
    an alarming module configured for, if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses an electronic device, wherein the electronic device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the computer program causes the processor to implement the steps of the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer program, wherein the computer program comprises a computer-readable code, and when the computer-readable code is executed on a calculating and processing device, the computer-readable code causes the calculating and processing device to implement the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer-readable storage medium, wherein the computer-readable medium stores the computer program according to the embodiment of the present disclosure.
  • The embodiments of the present disclosure have the following advantages:
  • The embodiments of the present disclosure, by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • The above description is merely a summary of the technical solutions of the present disclosure. In order to more clearly know the elements of the present disclosure to enable the implementation according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present disclosure more apparent and understandable, the particular embodiments of the present disclosure are provided below.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure or the prior art, the figures that are required to describe the embodiments or the prior art will be briefly introduced below. Apparently, the figures that are described below are embodiments of the present disclosure, and a person skilled in the art can obtain other figures according to these figures without paying creative work.
    • Fig. 1 is a schematic structural diagram of medium separation within the container according to an embodiment of the present disclosure;
    • Figs. 2a and 2b are schematic diagrams of the relation between the separating element and the medium according to an embodiment of the present disclosure;
    • Fig. 3 is a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure;
    • Fig. 4 is a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure;
    • Fig. 5 is a flow chart of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure;
    • Fig. 6 is a structural block diagram of an embodiment of the device of controlling an electric motor based on FPGA according to an embodiment of the present disclosure;
    • Fig. 7 schematically shows a block diagram of a calculating and processing device for implementing the method according to the present disclosure; and
    • Fig. 8 schematically shows a storage unit for maintaining or carrying a program code for implementing the method according to the present disclosure.
    DETAILED DESCRIPTION
  • In order to make the objects, the technical solutions and the advantages of the embodiments of the present disclosure clearer, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings of the embodiments of the present disclosure. Apparently, the described embodiments are merely certain embodiments of the present disclosure, rather than all of the embodiments. All of the other embodiments that a person skilled in the art obtains on the basis of the embodiments of the present disclosure without paying creative work fall within the protection scope of the present disclosure.
  • Referring to Fig. 1, Fig. 1 shows a schematic structural diagram of medium separation within the container according to an embodiment of the present disclosure. It comprises a separating element 101, a detecting assembly 102, a medium carrying component 103 and an electric motor 104.
  • The detecting assembly 102 is used to determine the state of the contact between the medium and the separating element 101. In an example, the detecting assembly 102 may be an infrared sensor, wherein the infrared sensor emits an infrared ray to the surface of the medium, to determine the state of the contact between the medium and the separating element 101 according to the returning of the infrared ray.
  • The separating element 101 is used to bring the medium out of the container by using the friction with the medium and the compressional force of the medium carrying component 103.
  • The medium may be placed on the surface of the medium carrying component 103, and, by controlling by using the electric motor 104 the medium carrying component 103 to move toward the separating assembly, the medium and the separating element 101 can maintain a certain compressional force therebetween, which facilitates the separating element 101 to bring the medium out of the container by the friction.
  • It should be noted that, because the separating element 101 rotates about a center point, as shown in Figs. 2a and 2b, the separating element 101 and the medium 105 have two position relations therebetween, a contactable position relation (as shown in Fig. 2a) and an untouchable position relation (as shown in Fig. 2b). The contacting state between the separating element 101 and the medium 105 according to the present disclosure is generated when the separating element 101 and the medium 105 are in the contactable position relation.
  • In Fig. 1, with the medium separation, the compressional force of the separating element 101 to the medium is gradually released, and the state of the medium and the separating element 101 has a state process of being "tight-loose-not contacted". In practical applications, when the medium and the separating element 101 are in the stages of being loose and being not contacted, it is required to move the medium carrying component in the direction where the separating assembly is located, so that, during the medium separation, the separating element 101 and the medium maintain a moderate friction therebetween.
  • However, when the separating element 101 and the current medium are in the state of being loose, if the medium carrying component 103 is immediately moved, that will cause the change of the force, which affects the quality of the separation. However, if the medium carrying component 103 is not moved, in the next time of separation, that will be looser, which results in that the quality of the separation cannot be effectively ensured.
  • In view of the above problems, the core concept of the embodiments of the present disclosure is to control the movement of the medium carrying component according to the phase information of the separating element and the detection signal generated by the detecting assembly.
  • That will be explained in detail with reference to the following embodiments:
  • Referring to Fig. 3, Fig. 3 shows a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure. The system comprises a container main body, the medium carrying component disposed in the container main body, the detecting assembly, the electric motor and the separating assembly. The separating assembly is disposed between the medium carrying component and the detecting assembly. The separating element covers the surface of the separating assembly. The method may particularly comprise the following steps:
  • Step 301: when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element.
  • The container according to the embodiments of the present disclosure is a container that can store a medium, including but not limited to a banknote chest for storing banknotes, a bill chest for storing bills, and so on.
  • The medium carrying component may be used to carry the medium, and may be controlled by the electric motor to move. The medium carrying component may be, for example, the lifting platform for carrying the medium in a banknote chest.
  • The electric motor is used to provide an external driving force.
  • The detecting assembly may be used to detect the position where the medium carrying component is located. In an example, the detecting assembly may be a sensor, for example an infrared sensor.
  • The medium according to the embodiments of the present disclosure varies with the container. For example, when the container is a banknote chest, the medium may be paper bank notes of a standard size, and, when the container is a bill chest, the medium may be bills of a certain specification.
  • In the embodiments of the present disclosure, during the medium separation, the separating element of the medium separating assembly contacts the medium on the medium carrying component along with the rotation of the separating element, and brings the medium out of the container by using the compressional force and the friction between the separating element and the medium, thereby realizing the medium separation. However, during the process in which the media are gradually separated, the quantity of the media on the medium carrying component is gradually reduced, and the compressional force and the friction between the separating element and the medium gradually decrease and finally disappear, which affects the effect of the medium separation. In addition, the media have different ages, different qualities and different smoothnesses, and even if the same quantities of the media have been separated, the spaces that are released are different. For example, an conventional system sets that each time 10 paper banknotes have been separated, the banknote holding plate is moved, to cause the upper surface of the uppermost paper banknote to be flush with the predetermined position. Even so, because of the above factors, such states that affect the quality of the medium separation still exist: tight-loose-not contacted. Therefore, it is required to in real time and quickly detect the state of the media and the medium carrying component, and, when the medium separation has proceeded to a certain extent, it is required to adjust in real time the position of the medium carrying component, to enable the separating element and the medium to maintain compressional force and friction therebetween of a certain level.
  • Given that the process of the medium separation proceeds continuously, the movement of the medium carrying component must avoid affecting the effect of the medium separation. Moreover, because the medium separation is realized by using the compressional force and the friction between the separating element and the medium, in the embodiments of the present disclosure, the different contact relations between the separating element and the medium may be used to analyze whether the movement of the medium carrying component will influence the medium separation.
  • The phase information of the separating element may be obtained by providing the detecting unit to detect it. In an example, because the separating element covers the separating assembly, the diameter from the outer surface of the separating element to the center of the separating assembly is greater than that of the parts that do not have the separating element. Therefore, the detecting unit may be provided at a particular position that has the distance of one radius from the circle center of the separating assembly. Taking the vertical movement of the medium carrying component as the example, the detecting unit (for example, a sensor) may be provided at the position downward in the gravity direction of the separating assembly and having the distance of one radius from the separating assembly, to detect the phase information of the separating element and the medium by using the detecting element. In another example, a synchronizing assembly (fanning strip) that moves synchronously with the separating element may be provided, to feed back the movement state of the separating element. The phase information of the separating element is determined by disposing the detecting element at the corresponding position of the synchronizing assembly.
  • Therefore, in an embodiment of the present disclosure, when a predetermined medium separating instruction has been received, the phase information of the separating element may be acquired firstly. The medium separating instruction may be triggered by the user clicking an operation interface; for example, the user clicks a withdrawal operation on a teller machine, or the user performs issuing operation on a billing machine. That may also be triggered in other forms of interaction, which is not particularly limited in the present disclosure.
  • Step 302: detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal.
  • In an embodiment of the present disclosure, the detecting assembly is provided inside the container, and provided at a position directly facing the medium, and the detecting assembly determines the state of the contact between the medium and the separating element by emitting a signal to the medium and receiving the returned signal.
  • In an example, the detecting assembly may be formed by a sensor. Taking an infrared sensor as the example, the infrared sensor may comprise an emitting end and a receiving end, wherein the emitting end may emit an infrared ray to the medium, and the receiving end determines the state of the contact between the medium and the separating element by receiving the infrared ray fed back by the medium.
  • Step 303: based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • In an embodiment of the present disclosure, after the phase information of the separating element and the detection signal of the detecting assembly have been acquired, the electric motor may be used to control the process of the movement of the medium carrying component toward the separating element, including controlling the medium carrying component to move toward the separating assembly and controlling the medium carrying component to stop moving toward the separating assembly.
  • It should be noted that the process of the movement of the medium carrying component toward the separating element may be a process of moving vertically in the gravity direction, and may also be a process of moving horizontally in the horizontal direction.
  • The embodiments of the present disclosure, by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • Referring to Fig. 4, Fig. 4 shows a flow chart of the steps of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure, which may particularly comprise the following steps:
  • Step 401: when the medium separating instruction has been received, sending a collecting instruction to an information collecting component.
  • In an embodiment of the present disclosure, the information collecting component may be a fanning strip that is connected to the separating assembly via a gear, and may feed back the position information of the separating element.
  • After the banknote chest has received the medium separating instruction, it may send a collecting instruction to an information processing unit of the fanning strip, thereby acquiring the feedback information of the fanning strip.
  • Step 402: if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  • In an embodiment of the present disclosure, the separating element is used to, by using its own movement and the contact friction with the medium, drive the medium to move. It may be made from rubber or another abrasion-resistant material that can provide a certain friction.
  • When a state information that is fed back by the fanning strip is received within a preset duration, that indicates that the fanning strip is operating normally and can normally feed back the related data of the separating element, and at this point a first phase information of the separating element may be acquired.
  • In an embodiment of the present disclosure, if the feedback information is not received within a preset duration, that indicates that the fanning strip is not operating normally, and an alarming signal is emitted.
  • In practical applications, if the feedback information of the information collecting component is not received within a preset duration, that indicates that the information collecting component is damaged, and at this point the alarming signal may be emitted to notice the user that the information collecting component is malfunctioning and should be repaired timely, to prevent its long-time failure during the medium separation. The state of the damage of the medium may particularly be expressed as a real-time pop-up window in the user interface to notice the user, or a signal lamp may be provided, to notice the user by using the flicker of the signal lamp. For example, a machine administrator at the background of a bank or a maintainer of a self-service machine for self-service selling air tickets or high-speed rail tickets can timely receive the breakdown signal, and timely inspect the banknote chest or the ticket chest. The mode of the signal notice is not particularly limited in the embodiments of the present disclosure.
  • Step 403: detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal.
  • In an embodiment of the present disclosure, the detecting assembly is provided inside the container, and provided at a position directly facing the medium, and the detecting assembly determines the state of the contact between the medium and the separating element by emitting a signal to the medium and receiving the returned signal.
  • In an example, the detecting assembly may be formed by a sensor. Taking an infrared sensor as the example, the infrared sensor may comprise an emitting end and a receiving end, wherein the emitting end may emit an infrared ray to the medium, and the receiving end determines the state of the contact between the medium and the separating element by receiving the infrared ray fed back by the medium.
  • It should be noted that, in the actual working scenes, the medium separation is a very quick process, and the magnitudes of the signals that are required to be collected by the detecting unit for detecting the separating element and the detecting assembly for detecting the state of the medium are of the order of millisecond. In order to accurately collect the pulse signals, in an example of the present disclosure, the pulse signals may be collected by using FPGA (Field-Programmable Gate Array). The response speed of FPGA can easily reach the order of nanosecond, and the precision can reach the order of picosecond. In addition, FPGA can parallelly collect multiple signals; for example, it can parallelly collect at a high speed the phase information of the separating element and the position information of the medium carrying component. Therefore, it can accurately collect the pulse signals generated by the detecting assembly, whereby the contact relation between the separating element and the medium can be accurately determined.
  • Step 404: based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • In an embodiment of the present disclosure, after the phase information of the separating element and the detection signal of the detecting assembly have been acquired, the electric motor may be used to control the process of the movement of the medium carrying component toward the separating element, including controlling the medium carrying component to move toward the separating assembly and controlling the medium carrying component to stop moving toward the separating assembly.
  • It should be noted that the process of the movement of the medium carrying component toward the separating element may be a process of moving vertically in the gravity direction, and may also be a process of moving horizontally in the horizontal direction.
  • In an embodiment of the present disclosure, the separating element may be formed by two parts, a leading separating element and a tailing separating element, wherein the leading separating element, in the process of the rotation following the separating assembly, contacts the medium earlier than the tailing separating element.
  • The detecting assembly comprises one or more detecting elements, which may simultaneously emit signals toward the medium to acquire the signals returned by the medium.
  • In the actual scenes, the separating element and the medium have three states of contact therebetween, including a tight state in which the compressional force is sufficient, a loose state in which the compressional force is not sufficient, and a not-contacted state in which a compressional force does not exist. During the process of the medium separation, if the medium carrying component does not move, the state of contact between the separating element and the medium will change from being tight to being loose and then to being not contacted. Moreover, at the moment of being loose, in order to ensure the effect of the medium separation, it is required to adjust the medium carrying component, whereby the state of contact between the separating element and the medium reaches the degree of being tight, to reach the suitable separation pressure and friction.
  • In an embodiment of the present disclosure, it may be judged by using the sub-signals detected by the at least one detecting element whether the separating element and the medium are in the state of being loose. In an example, taking two detecting elements as the example, when any one of the sub-signals is a no-blocking signal, it can be determined that the separating element and the medium are in the state of being loose. If it is detected that the separating element and the medium are in the state of being loose, by referring to the phase information of the separating element, it can be determined whether the medium carrying component is required to be moved.
  • In a scene, if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a blocking signal, the medium carrying component is controlled by using the electric motor to move.
  • The first predetermined position refers to such a position: when the separating element is in the position, the separating element blocks the signal of the detecting unit, thereby generating a blocking signal. When the separating element is in such a position, the separating element contacts the medium; in other words, when the separating element is in such a position, the separating element can bring the medium out of the container by using the compressional force and the friction with the medium.
  • When the separating assembly is in the first predetermined position, if at this point the separating element and the medium are in the state of being loose, the state of contact between the separating element and the medium can be adjusted to the state of being tight by properly moving the medium carrying component, thereby effectively realizing the medium separation.
  • In a scene, if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, the medium carrying component is controlled by using the electric motor to move.
  • When the leading separating element is in the first predetermined position, the separating element has just contacted the medium, and has not driven the medium to move. If at this point the separating element and the medium are in the state of being loose, the state of contact between the separating element and the medium can be adjusted to the state of being tight by properly moving the medium carrying component, thereby effectively realizing the medium separation.
  • In another scene, if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, the medium carrying component is not moved, and a movement marking information is generated.
  • When the tailing separating element is in the first predetermined position, the separating element is driving the medium to move. If at this point the separating element and the medium are in the state of being loose, when the medium carrying component is being moved, the force between the separating element and the medium will change. Moreover, changing the borne force of the medium in the process of moving the medium largely prejudices the current movement action of the medium, which affects the medium separation. For example, the current medium that is being separated might, because of the increased friction, be dragged and thus be not able to be separated, or be obliquely separated. Therefore, in this case, the medium carrying component should not be immediately moved.
  • However, when the separating element and the medium are in the state of being loose, if the state of contact is not adjusted, in the next time of the operation of the medium separation, the contacting borne force between the separating element and the medium will become smaller, whereby the medium separation is affected, and the medium might not be able to be separated. Therefore, before the starting of the next time of separation, it is required to move the medium carrying component to adjust the state of contact between the separating element and the medium. Moreover, at the stage when the tailing separating element and the medium are contacting, a movement marking information may be generated, to mark that it is required to subsequently perform the corresponding processing based on the movement marking information.
  • Particularly, if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, the medium carrying component is controlled by using the electric motor to move toward the separating element.
  • The second predetermined position refers to a position where the separating element does not block the signal generated by the detecting unit. When the separating element is in such a position, the separating element does not contact the medium, and at this point the separating assembly and the medium have a certain spatial difference therebetween, and the medium does not move. Therefore, at this point, moving the medium carrying component will not influence the effect of the medium separation. Therefore, when the separating element is in the second predetermined position, it may be inspected whether the movement marking information was generated previously, and if yes, in response to the movement marking information, the medium carrying component is controlled by using the electric motor to move toward the separating assembly.
  • In yet another scene, if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a no-blocking signal, the medium carrying component is controlled by using the electric motor to move.
  • In an embodiment of the present disclosure, the second predetermined position refers to a position where the separating element does not block the signal generated by the detecting unit. When the separating element is in such a position, the medium is in a not-moving state, and if at this point it is detected that any of the sub-signals is a blocking signal, that indicates that, when the separating element and the medium contact, the state of contact between the separating element and the medium is the state of being loose. At this point, the medium carrying component should be moved, whereby, in the next time of the operation of the medium separation, the medium and the separating element are in the state of being tight.
  • The embodiments of the present disclosure, by quickly, in real time and synchronously acquiring the phase information of the separating element and the detection signal of the detecting assembly, and judging whether the acquired phase information and detection signal satisfy the predetermined conditions, accurately control the timing of the movement of the medium carrying component, thereby accurately controlling the timing of the movement of the medium carrying component.
  • In order to enable a person skilled in the art to better understand the embodiments of the present disclosure, the embodiments of the present disclosure will be described below by using particular examples.
  • Referring to Fig. 5, Fig. 5 shows a flow chart of an embodiment of the method of controlling an electric motor based on FPGA according to an embodiment of the present disclosure.
  • After the preparation for the separation has been done, when a medium separating instruction has been received, firstly, it is required to send a collecting instruction to an information collecting component, and, if the feedback information is not received within a preset duration, that indicates that the information collecting component is damaged, and at this point the operation may be ended and an alarming signal may be emitted. If a feedback information has been received within the preset duration, the phase information of the separating element may be acquired.
  • If the phase information of the separating element is a blocking information, it is judged whether the current stage is within the duration T1 when the leading separating element contacts the medium or within the duration T2 when the tailing separating element contacts the medium.
  • If it is within the T1, at this point the separating element is about to drive the medium to move. It is judged that whether any one of top sensors is in a no-blocking state. If yes, the medium carrying component is immediately moved upwardly, which can enable the friction between the separating element and the medium to satisfy the requirement on the separation of the medium. If no, the process is returned to the step of judging whether the information collecting component is damaged. If the medium carrying component has been adjusted sufficiently in place, the adjusting of the medium carrying component is ended, and the step of judging whether the information collecting component is damaged is re-executed. If the medium carrying component has not been adjusted sufficiently in place, the medium carrying component is continuously moved upwardly till the medium carrying component has been adjusted sufficiently in place.
  • If it is within the T2, at this point the separating element is driving the medium to move, and the medium is in the moving state. It is judged that whether any one of top sensors is in a no-blocking state. If yes, the current state is marked (at this point the medium carrying component should not be moved immediately, to prevent abnormal separation of the medium during the movement due to the variation of the force), till the phase information of the separating element is a no-blocking information, and, in response to the marked state, the medium carrying component is moved upwardly. If no, the process is returned to the step of judging whether the information collecting component is damaged. If the medium carrying component has been adjusted sufficiently in place, the adjusting of the medium carrying component is ended, and the step of judging whether the information collecting component is damaged is re-executed. If the medium carrying component has not been adjusted sufficiently in place, the medium carrying component is continuously moved upwardly till the medium carrying component has been adjusted sufficiently in place.
  • If the phase information of the separating element is a no-blocking information, it is judged that whether any one of top sensors is in a no-blocking state. If yes, the medium carrying component is immediately moved upwardly. If no, the process is returned to the step of judging whether the information collecting component is damaged. If the medium carrying component has been adjusted sufficiently in place, the adjusting of the medium carrying component is ended, and the step of judging whether the information collecting component is damaged is re-executed. If the medium carrying component has not been adjusted sufficiently in place, the medium carrying component is continuously moved upwardly till the medium carrying component has been adjusted sufficiently in place.
  • It should be noted that, regarding the process embodiments, for brevity of the description, all of them are expressed as the combination of a series of actions, but a person skilled in the art should know that the embodiments of the present disclosure are not limited by the sequences of the actions that are described, because according to the embodiments of the present disclosure, some of the steps may have other sequences or be performed simultaneously. Secondly, a person skilled in the art should also know that all of the embodiments described in the description are preferable embodiments, and not all of the actions that they involve are required by the embodiments of the present disclosure.
  • Referring to Fig. 6, Fig. 6 shows a structural block diagram of an embodiment of the device of controlling an electric motor based on FPGA according to an embodiment of the present disclosure, which may particularly comprise the following modules:
    • a phase-information acquiring module 601 configured for, when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element;
    • a detection-signal generating module 602 configured for detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and
    • a movement controlling module 603 configured for, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  • In an embodiment of the present disclosure, the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 comprises:
    a first moving module configured for, if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • In an embodiment of the present disclosure, the separating element comprises a leading separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 may comprise:
    a second moving module configured for, if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • In an embodiment of the present disclosure, the separating element comprises a tailing separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 may comprise:
    a not-moving module configured for, if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, not moving the medium carrying component, and generating a movement marking information.
  • In an embodiment of the present disclosure, the movement controlling module 603 further comprises:
    a third moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  • In an embodiment of the present disclosure, the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the movement controlling module 603 may comprise:
    a fourth moving module configured for, if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  • In an embodiment of the present disclosure, the phase-information acquiring module 601 may comprise:
    • a collecting-instruction sending module configured for, when the medium separating instruction has been received, sending a collecting instruction to an information collecting component; and
    • a phase-information acquiring module configured for, if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  • In an embodiment of the present disclosure, the phase-information acquiring module 501 may further comprise:
    an alarming module configured for, if the feedback information is not received within a preset duration, emitting an alarming signal.
  • An embodiment of the present disclosure further discloses an electronic device, wherein the electronic device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the computer program causes the processor to implement the steps of the method of controlling an electric motor based on FPGA according to the embodiment of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer program, wherein the computer program comprises a computer-readable code, and when the computer-readable code is executed on a calculating and processing device, the computer-readable code causes the calculating and processing device to implement the method of controlling an electric motor based on FPGA according to any one of the embodiments of the present disclosure.
  • An embodiment of the present disclosure further discloses a computer-readable storage medium, wherein the computer-readable medium stores the computer program according to the embodiment of the present disclosure. The computer-readable storage medium includes any mechanism for storing or transmitting information in a form readable by a computer (for example, a computer). For example, the computer-readable storage medium includes a read-only memory (ROM), a random access memory (RAM), a magnetic-disk storage medium, an optical storage medium, a flash storage medium, a propagation signal in an electric, optical, acoustic or other form (for example, a carrier wave, an infrared signal and a digital signal) and so on.
  • The above-described device embodiments are merely illustrative, wherein the units that are described as separate components may or may not be physically separate, and the components that are displayed as units may or may not be physical units; in other words, they may be located at the same one location, and may also be distributed to a plurality of network units. Part or all of the modules may be selected according to the actual demands to realize the purposes of the solutions of the embodiments. A person skilled in the art can understand and implement the technical solutions without paying creative work.
  • Each component embodiment of the present disclosure may be implemented by hardware, or by software modules that are operated on one or more processors, or by a combination thereof. A person skilled in the art should understand that some or all of the functions of some or all of the components of the calculating and processing device according to the embodiments of the present disclosure may be implemented by using a microprocessor or a digital signal processor (DSP) in practice. The present disclosure may also be implemented as apparatus or device programs (for example, computer programs and computer program products) for implementing part of or the whole of the method described herein. Such programs for implementing the present disclosure may be stored in a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or provided in any other forms.
  • For example, Fig. 7 shows a calculating and processing device that can implement the method according to the present disclosure. The calculating and processing device traditionally comprises a processor 710 and a computer program product or computer-readable medium in the form of a memory 720. The memory 720 may be electronic memories such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk or ROM. The memory 720 has the storage space 730 of the program code 731 for implementing any steps of the above method. For example, the storage space 730 for program code may contain program codes 731 for individually implementing each of the steps of the above method. Those program codes may be read from one or more computer program products or be written into the one or more computer program products. Those computer program products include program code carriers such as hard disk, compact disk (CD), memory card or floppy disk as shown in Fig. 8. Such computer program products are usually portable or fixed storage units. The storage unit may have storage segments or storage spaces with similar arrangement to the memory 720 of the calculating and processing device in Figure 7. The program codes may for example be compressed in a suitable form. Generally, the storage unit contains a computer-readable code 731', which can be read by a processor like 710. When those codes are executed by the calculating and processing device, the codes cause the calculating and processing device to implement each of the steps of the method described above.
  • The "one embodiment", "an embodiment" or "one or more embodiments" as used herein means that particular features, structures or characteristics described with reference to an embodiment are included in at least one embodiment of the present disclosure. Moreover, it should be noted that here an example using the wording "in an embodiment" does not necessarily refer to the same one embodiment.
  • The description provided herein describes many concrete details. However, it can be understood that the embodiments of the present disclosure may be implemented without those concrete details. In some of the embodiments, well-known processes, structures and techniques are not described in detail, so as not to affect the understanding of the description.
  • In the claims, any reference signs between parentheses should not be construed as limiting the claims. The word "comprise" does not exclude elements or steps that are not listed in the claims. The word "a" or "an" preceding an element does not exclude the existing of a plurality of such elements. The present disclosure may be implemented by means of hardware comprising several different elements and by means of a properly programmed computer. In unit claims that list several devices, some of those devices may be embodied by the same item of hardware. The words first, second, third and so on do not denote any order. Those words may be interpreted as names.
  • Finally, it should be noted that the above embodiments are merely intended to explain the technical solutions of the present disclosure, and not to limit them. Although the present disclosure is explained in detail by referring to the above embodiments, a person skilled in the art should understand that he can still modify the technical solutions set forth by the above embodiments, or make equivalent substitutions to part of the technical features of them. However, those modifications or substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims (12)

  1. A method of controlling an electric motor based on FPGA, wherein the method comprises:
    when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element;
    detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and
    based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  2. The method according to claim 1, wherein the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the separating assembly is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  3. The method according to claim 1, wherein the separating element comprises a leading separating element; the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the leading separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element.
  4. The method according to claim 3, wherein the separating element further comprises a tailing separating element; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element further comprises:
    if the phase information satisfies that the tailing separating element is in a first predetermined position and any one of the sub-signals is a no-blocking signal, not moving the medium carrying component, and generating a movement marking information.
  5. The method according to claim 4, wherein the method further comprises:
    if the phase information satisfies that the separating element is in a second predetermined position, in response to the movement marking information, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  6. The method according to claim 1, wherein the detecting assembly comprises one or more detecting elements; the detection signal comprises sub-signals that are generated by each of the detecting elements; and the step of, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating element comprises:
    if the phase information satisfies that the separating element is in a second predetermined position and any one of the sub-signals is a no-blocking signal, controlling, by using the electric motor, the medium carrying component to move.
  7. The method according to claim 1, wherein the step of, when the medium separating instruction has been received, acquiring the phase information of the predetermined separating element comprises:
    when the medium separating instruction has been received, sending a collecting instruction to a predetermined information collecting component; and
    if a feedback information that is returned with respect to the collecting instruction has been received within a preset duration, acquiring a phase information of a predetermined separating element.
  8. The method according to claim 7, wherein the method further comprises:
    if the feedback information is not received within a preset duration, emitting an alarming signal.
  9. A device of controlling an electric motor based on FPGA, wherein the device comprises:
    a phase-information acquiring module configured for, when a medium separating instruction has been received, acquiring a phase information of a predetermined separating element;
    a detection-signal generating module configured for detecting a predetermined medium carrying component by using a predetermined detecting assembly, to generate a detection signal; and
    a movement controlling module configured for, based on the phase information and the detection signal, controlling, by using the electric motor, the medium carrying component to move toward the separating assembly.
  10. An electronic device, wherein the electronic device comprises a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the computer program causes the processor to implement the steps of the method of controlling an electric motor based on FPGA according to any one of claims 1 to 8.
  11. A computer program, wherein the computer program comprises a computer-readable code, and when the computer-readable code is executed on a calculating and processing device, the computer-readable code causes the calculating and processing device to implement the method of controlling an electric motor based on FPGA according to any one of claims 1 to 8.
  12. A computer-readable medium, wherein the computer-readable medium stores the computer program according to claim 10.
EP20842167.7A 2020-04-29 2020-04-29 Method and apparatus for realizing electric motor control on basis of fpga Withdrawn EP3940657A4 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/087675 WO2021217472A1 (en) 2020-04-29 2020-04-29 Method and apparatus for realizing electric motor control on basis of fpga

Publications (2)

Publication Number Publication Date
EP3940657A1 true EP3940657A1 (en) 2022-01-19
EP3940657A4 EP3940657A4 (en) 2022-06-01

Family

ID=78373272

Family Applications (1)

Application Number Title Priority Date Filing Date
EP20842167.7A Withdrawn EP3940657A4 (en) 2020-04-29 2020-04-29 Method and apparatus for realizing electric motor control on basis of fpga

Country Status (3)

Country Link
EP (1) EP3940657A4 (en)
CN (1) CN113939854A (en)
WO (1) WO2021217472A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114506731B (en) * 2022-01-20 2024-02-06 西门子(中国)有限公司 Cardboard supply control method and device, cardboard supply system and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2512953B2 (en) * 1987-08-17 1996-07-03 株式会社日立製作所 Paper sheet separation mechanism
JP3489096B2 (en) * 2000-04-28 2004-01-19 富士通株式会社 Variable paper sheet separator
JP4033844B2 (en) * 2004-03-15 2008-01-16 富士通株式会社 Paper sheet feeding device
JP2006024033A (en) * 2004-07-08 2006-01-26 Toshiba Corp Paper sheet processor
JP5289279B2 (en) * 2009-10-30 2013-09-11 株式会社東芝 Paper sheet take-out device and paper sheet processing device
CN105654612B (en) * 2016-01-05 2018-08-17 新达通科技股份有限公司 A kind of ATM machine note distribution device and system accurately controlling note distribution
CN107369246B (en) * 2017-08-09 2019-09-20 深圳怡化电脑股份有限公司 A kind of media processes mechanism, medium processing method and financial self-service equipment
JP7185843B2 (en) * 2017-11-30 2022-12-08 株式会社リコー CONVEYING APPARATUS, IMAGE FORMING APPARATUS, CONVEYING METHOD, AND IMAGE FORMING METHOD
US11345558B2 (en) * 2017-11-30 2022-05-31 Ricoh Company, Ltd. Sheet conveying device, image forming apparatus incorporating the sheet conveying device, method of conveying conveyance target medium, and method of forming image on conveyance target medium using the method of forming image
CN208126489U (en) * 2018-03-13 2018-11-20 山东新北洋信息技术股份有限公司 Banknote separating device and cash recycling equipment
CN110246264A (en) * 2019-07-29 2019-09-17 上海古鳌电子科技股份有限公司 A kind of bank note dipper crowding gear and paper money deposit and withdrawal case

Also Published As

Publication number Publication date
EP3940657A4 (en) 2022-06-01
CN113939854A (en) 2022-01-14
WO2021217472A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
US10150633B2 (en) System and method for metallic object detection in a media transport system
US10486929B2 (en) System and method for metallic object detection in a media transport system
EP1909238B1 (en) Coin wrapping machine
EP2128608A1 (en) Medium fatigue detecting device and medium fatigue detecting method
EP3940657A1 (en) Method and apparatus for realizing electric motor control on basis of fpga
US8752689B2 (en) Money input/output apparatus, replenishing/collecting apparatus, and method of running money input/output apparatus
CN104537760B (en) Cash box, ATM and banknote state monitoring method
RU2683623C2 (en) Method and device for checking valuable documents for irregularity presence
JP2018160013A (en) Paper sheet processing system, paper sheet processing device, and program
CN104854627B (en) For providing the method and value document processing equipment of measurement data from the equipment of salvage value file
CN102674033A (en) Paper sheet take-out apparatus
EP1732045B1 (en) Method for detecting height of bundle of papers, and paper handling apparatus
US10150632B2 (en) System and method for metallic object detection in a media transport system
JP2015191366A (en) Test device, test method, and test program
CN1120449C (en) Sheet processing apparatus
JP3455010B2 (en) Packaging coin depositing machine
JP6441141B2 (en) Coin processing equipment
EP1340625B1 (en) System and method for monitoring grouped resources
CN113284290B (en) Method and device for realizing motor control based on FPGA
EP1906364A1 (en) Bill validator
CN113284289B (en) Method and device for initializing position of medium bearing assembly
CN113939855A (en) Method and device for realizing motor control based on FPGA
CN113256875B (en) Sorting control method, sorting control device, sorting equipment and storage medium
CN113299003B (en) Method and device for adjusting medium bearing assembly
EP4386663A1 (en) Mounting state detection device

Legal Events

Date Code Title Description
STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: UNKNOWN

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE

PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

17P Request for examination filed

Effective date: 20210226

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR

A4 Supplementary search report drawn up and despatched

Effective date: 20220429

RIC1 Information provided on ipc code assigned before grant

Ipc: G07D 11/165 20190101ALI20220422BHEP

Ipc: B65H 3/06 20060101ALI20220422BHEP

Ipc: G07D 11/18 20190101ALI20220422BHEP

Ipc: G07D 11/00 20190101AFI20220422BHEP

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 20221101