Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the clamping detection method of the pressing assembly provided in this embodiment is applied to a workpiece processing table 50, on which the pressing assembly and an air clamp 30 are disposed, the pressing assembly includes a plurality of pressing components 10; the pressing part 10 is used for clamping a workpiece 40 to be processed; the workpiece is provided with a positioning component 20, the air clamp is used for clamping the positioning component, and the clamping detection method of the pressing assembly comprises the following steps:
and S10, opening the air clamp when receiving a plate feeding command, and controlling the pressing assembly to be in a plate feeding state so as to enable the workpiece to enter a processing area.
It can be understood that, if the workpiece 40 is ensured to be in a compressed state before the processing machine processes the workpiece 40, the problems of off-center holes or scrapping of the workpiece 40 due to non-compression of the plate material can be reduced. Wherein the workpiece 40 refers to a material to be processed. Such as a PCB board. The machining machine may be a drill. The board entry command is used to control the entry of the workpiece 40 into the machining region. The air clamp 30 is provided on the workpiece processing table 50 for clamping the positioning member 20, and the workpiece 40 to be processed can be positioned in the processing area by clamping the positioning member 20 by the air clamp 30. When the air clamp 30 is opened, the work 40 provided with the positioning member 20 can smoothly enter the processing area. The pressing assembly comprises a plurality of pressing members 10 disposed on a workpiece processing table 50. Wherein the pressing member 10 is used to press the workpiece 40. Generally, the pressing members 10 are arranged in groups, for example, two groups of pressing members 10 may be arranged on the workpiece processing table 50, and each group may be provided with a plurality of pressing members 10. The pressing assembly is in a plate-in state, which means that the pressing members 10 are in a state that allows the workpiece 40 to smoothly enter the processing area. The machining area is a position where the workpiece 40 is machined, and the position can be set according to actual requirements.
In one embodiment, there are 2 sets of pressing members 10 in the feeding direction, and the workpiece 40 will pass through the position of one set of pressing members 10 when entering the processing area. The set of pressing members 10 is controlled to be in a reset state, that is, the set of pressing members 10 is positioned below the workpiece 40, so that the plate material can smoothly enter the processing area. Meanwhile, the other set of pressing members 10 is controlled to be in a preset height state, that is, the set of pressing members 10 is raised to the preset height, so that the plate smoothly enters the processing area.
And S20, controlling the air clamp to clamp the positioning component and controlling the pressing component to clamp the workpiece after the workpiece enters the processing area.
It will be appreciated that entry of the workpiece 40 into the machining region means that the workpiece 40 reaches the designated machining location. As shown in fig. 2, the positioning member 20 is detachably provided on the workpiece 40 for fixing the position of the workpiece 40. For example, the positioning member 20 may be a pin, and the workpiece 40 is fixed in the processing region by controlling the air clamp 30 to be closed after the workpiece 40 enters the processing region so that the air clamp clamps the pin. After the air clamp 30 is closed, the plurality of pressing assemblies are controlled to clamp the workpiece 40, so that the workpiece 40 can be in a clamped state.
S30, connecting the pressing parts with a grounding inductor respectively to detect first grounding information of the pressing parts; the first grounding information is used for indicating whether the pressing part is grounded through the workpiece, the positioning part, the air clamp and the workpiece processing table which are connected in sequence.
It will be appreciated that the workpiece 40, the positioning member 20, the gas clamp 30, and the workpiece processing station 50 are connected in series. The positioning member 20 is provided on the workpiece 40, the positioning member 20 is connected to the workpiece table 50 through the gas clamp 30, and the workpiece table 50 is grounded. The positioning member 20, the gas clamp 30 and the workpiece processing table 50 are in communication with each other, i.e., the positioning member 20, the gas clamp 30 and the workpiece processing table 50 form a conductor.
In one embodiment, the pressing member 10 is connected at one end to an internal circuit of the control chip. Specifically, the control chip provides a connection interface to the pressing member 10, and the connection interface is connected to the internal circuit of the control chip. When each pressing member 10 clamps the workpiece 40, each pressing member 10 is conducted to the workpiece 40, and at this time, each pressing member 10 can be grounded through the workpiece 40, the positioning member 20, the gas clamp 30, and the workpiece processing table 50 connected in sequence. The grounding sensor determines whether the pressing member 10 is grounded by detecting whether a voltage difference exists between two ends of the pressing member 10. The first grounding information is information on whether the pressing member 10 is grounded. When the first grounding information is grounding, it indicates that the pressing member 10 is grounded via the workpiece 40, the positioning member 20, the gas clamp 30, and the workpiece processing table 50. When the first grounding information is not grounded, it indicates that the pressing member 10 is not grounded through the workpiece 40, the positioning member 20, the air clamp 30, and the workpiece processing table 50.
In one embodiment, when a voltage difference exists across the hold-down member 10, the voltage difference is 0. The grounding inductor is respectively connected with each pressing part 10, so that whether each pressing part 10 is grounded or not can be detected in sequence, and when the pressing parts 10 are not grounded, the number of the non-grounded pressing parts 10 is recorded and fed back.
In one embodiment, the first grounding information may be grounded or ungrounded, and when the fed back first grounding information is ungrounded, it is determined that the pressing member corresponding to the first grounding information does not clamp the workpiece 40, and the number of the first grounding information is recorded.
In one embodiment, as shown in fig. 2, in one embodiment, the pressing member 10 is a mushroom head, and the workpiece 40 is pressed against the workpiece processing table 50 through an extension of the mushroom head. That is, when the pressing member 10 clamps the workpiece 40, the protruding portion of the pressing member 10 is positioned above the workpiece 40, and the workpiece 40 can be pressed from the vertical direction.
In one embodiment, the pressing contact surface of the pressing part 10 and the workpiece 40 is made of a conductive material; the contact surface of the pressing member 10 and the workpiece processing table 50 is made of an insulating material.
And S40, detecting whether the workpiece is clamped by the pressing assembly or not according to the corresponding first grounding information.
It will be appreciated that one of the hold-down members 10 corresponds to the first grounding information. Depending on whether the pressing part 10 is grounded through the workpiece 40, the positioning part 20, the air clamp 30, and the workpiece processing table 50 connected in series, it is possible to determine whether a voltage difference exists at each end of the pressing assembly to detect whether the pressing assembly clamps the workpiece.
Specifically, when the pressing member 10 clamps the workpiece 40, conduction is established between the pressing member 10 and the workpiece 40, that is, the pressing member 10 is grounded through the workpiece 40, the positioning member 20, the air clamp 30, and the workpiece processing table 50, which are connected in sequence. At this time, the ground sensor may detect a voltage difference between the two ends of the pressing member 10, and the first ground information of the pressing member 10 is ground. When all the first grounding information is grounded, it is determined that the pressing assembly clamps the workpiece 40.
In one embodiment, the machining instructions are executed on the workpiece 40 when it is detected that the clamping assembly is clamping the workpiece 40.
When the workpiece 40 is not clamped by the pressing member 10, there is no conduction between the pressing member 10 and the workpiece 40, i.e., the pressing member 10 cannot be grounded through the workpiece 40, the positioning member 20, the air clamp 30, and the workpiece processing table 50, which are connected in series. At this time, if the voltage difference between the two ends of the pressing member 10 is not detected by the grounding sensor, the first grounding information of the pressing member 10 is not grounded. If the first grounding information of the pressing component 10 is not grounded, it indicates that the pressing component 10 is not pressed on the workpiece 40, i.e. the pressing assembly does not clamp the workpiece 40.
In one embodiment, when it is detected that the clamping assembly is not clamping the workpiece 40, no machining instructions are executed on the workpiece 40 and a warning measure is issued.
In the steps S10-S40, whether a voltage difference exists between the two ends of the pressing component is detected in real time through the grounding sensor, and grounding information feedback is performed, so that whether the pressing component clamps the workpiece 40 can be timely confirmed, the machining efficiency is improved, meanwhile, the problems that a machining spindle of a drilling machine is damaged due to the fact that the pressing component is not pressed down in place, or a hole is deviated due to the fact that the pressing component is not pressed down in place are solved, the service performance of a machining machine is improved, and the rejection rate of the workpiece 40 is reduced.
Optionally, the pressing assembly includes a plurality of first pressing parts and a plurality of second pressing parts;
after step S40, namely, after the step of detecting whether the workpiece 40 is clamped by the pressing assembly according to the corresponding first grounding information, the detection method further includes:
s401, if the workpiece is not clamped by the pressing component and all the first grounding information is not grounded, controlling a relay connected with a first pressing part to attract, so that the first pressing part is grounded through the relay;
s402, acquiring second grounding information of all the second pressing parts through the grounding inductor;
and S403, detecting whether the first pressing part and/or a plurality of second pressing parts clamp the workpiece 40 or not through all the second grounding information.
It can be understood that when the contact among the positioning member 20, the gas clamp 30, the workpiece 40, and the workpiece processing table 50 is not grounded, the first grounding information of all the pressing members 10 is not grounded, that is, whether the pressing assembly is clamped or not, the detection result is that the workpiece 40 is not clamped in the pressing assembly, and thus the detection result has an error. Therefore, when the pressing assembly does not clamp the workpiece 40 and all the first grounding information is not grounded as a result of the detection, the pressing member 10 in the pressing assembly needs to be detected again to prevent erroneous determination, so as to improve the accuracy of the detection result.
Specifically, when the workpiece 40 is not clamped by the uncompacted components and all the first grounding information is not grounded according to the detection result, the relays connected with the first compacting parts are controlled to be attracted so that the first compacting parts are grounded through the relays. Wherein, the relay is provided with normally open contact, and the first part that compresses tightly is connected to the one end of relay, and the other end ground connection. When the normally open contact of the relay is attracted, the first pressing part is grounded through the relay. And after the relay is closed, measuring second grounding information of the second pressing part through the grounding inductor. The first pressing part is a pressing part 10 grounded through the relay, and the second pressing part is a pressing part 10 not grounded through the relay. The second grounding information is information on whether the second pressing member is grounded.
When the second grounding information indicates grounding, it indicates a contact failure among the workpiece 40, the positioning member 20, the gas clamp 30, and the workpiece processing table 50. When all the second grounding information is grounding, the workpiece 40 is judged to be clamped by the plurality of second pressing parts and the first pressing part; when there is a portion of the second grounding information that is not grounded, it is determined that a portion of the second pressing member does not clamp the workpiece 40, and the first pressing member clamps the workpiece 40. When all the second grounding information is not grounded, it is determined that the plurality of second pressing members and/or the first pressing member do not clamp the workpiece 40.
In steps S401 to S403, one of the pressing members 10 is additionally engaged by a relay, and whether the pressing assembly clamps the workpiece 40 is detected again, so as to prevent misjudgment due to poor contact among the workpiece 40, the positioning member 20, the air clamp 30 and the workpiece processing table 50, and improve accuracy of a detection result.
Optionally, after step S403, that is, after detecting whether the first pressing component and/or the second pressing components clamp the workpiece 40 through a plurality of pieces of the second grounding information, the detection method further includes:
s4031, when all the second pressing members and the first pressing members clamp the workpiece, determining that the pressing assembly is in a normal state.
It can be understood that when all the second grounding information is grounding, it indicates a contact failure among the grounding of the workpiece 40, the positioning member 20, the gas holder 30 and the workpiece processing table 50, i.e. the first detection result indicates a misjudgment caused by the contact failure among the grounding of the workpiece 40, the positioning member 20, the gas holder 30 and the workpiece processing table 50. Through the second detection result, get rid of the erroneous judgement, detect a plurality of second and compress tightly the part and press tightly work piece 40 with first, then judge to compress tightly the subassembly and be in normal condition, need not readjust compressing tightly the subassembly, processing work can normally go on, can improve machining efficiency.
Optionally, in step S20, the pressing assembly includes a first pressing assembly and a second pressing assembly; controlling the clamping assembly to clamp the workpiece 40, including:
s201, controlling the first pressing assembly to move along the horizontal direction until the first pressing assembly reaches a first abutting position of the workpiece;
s202, after first preset time, controlling the first pressing assembly to move to a first preset position along the vertical direction, and enabling the first pressing assembly to clamp the workpiece;
s203, after second preset time, controlling the second pressing assembly to move to a second preset position along the vertical direction;
s204, after third preset time, controlling the second pressing assembly to move along the horizontal direction until the second pressing assembly reaches a second abutting position of the workpiece;
and S205, after the fourth preset time, controlling the second pressing assembly to move to a third preset position along the vertical direction, so that the second pressing assembly clamps the workpiece 40.
Understandably, the first preset time, the second preset time, the third preset time and the fourth preset time can be set according to actual requirements. Generally, the first preset time, the second preset time, the third preset time and the fourth preset time may be set to the same time, for example, 0.5S. The first preset position refers to a preset position which the first pressing component needs to reach. Typically, the first predetermined position is disposed above the workpiece 40 and in close proximity to the workpiece 40. The second preset position and the third preset position refer to preset positions which the second pressing assembly needs to reach. Typically, the second predetermined position is disposed above the workpiece 40 and away from the workpiece 40. The third predetermined position is disposed above the workpiece 40 and is proximate to the workpiece 40. Here, the movement in the horizontal direction means a movement in a direction parallel to the workpiece 40, for example, an advance or retreat in a direction of the workpiece 40 entering the board. The movement in the vertical direction means a movement in a direction perpendicular to the workpiece 40, for example, an ascending or descending in a direction perpendicular to the workpiece 40. The first abutment position refers to the position of the first hold-down assembly abutting against the workpiece 40. The second abutment position is the position in which the second pressing assembly abuts against the workpiece 40.
In steps S201 to S205, by controlling the plurality of pressing members 10 to ascend and descend according to a predetermined timing and to move back and forth along the direction of the workpiece 40 entering the board, damage to the workpiece 40 due to the non-timing movement of the pressing members 10 can be reduced, and the yield of the processed workpiece can be improved.
Optionally, in steps S201 to S205, the first pressing assembly is provided with a first cylinder and a second cylinder; the first air cylinder is used for driving the first pressing assembly to move along the horizontal direction; the second air cylinder is used for driving the first pressing assembly to move along the vertical direction;
when the first pressing assembly moves along the horizontal direction, the first air cylinder is in a power-on state, and the second air cylinder is in a power-off state;
when the first pressing assembly moves along the vertical direction, the first air cylinder is in a power-off state, and the second air cylinder is in a power-on state;
when the first pressing assembly clamps the workpiece, the first air cylinder is in a power-on state, and the second air cylinder is in a power-on state.
It will be appreciated that when the first hold-down assembly is moved (advanced or retracted) in the horizontal direction of the workpiece 40, the first cylinder is powered up to control the ability of the first hold-down assembly to move in the horizontal direction. When the first pressing assembly moves (ascends or descends) along the vertical direction, the second air cylinder is in an electrified state so as to control the first pressing assembly to ascend or descend. After the first pressing assembly clamps the workpiece 40, that is, the first pressing assembly abuts against the workpiece 40 in the horizontal direction of the workpiece 40 and descends to the first preset position in the vertical direction, the first air cylinder and the second air cylinder are powered on, so that the first pressing assembly clamps the workpiece 40 from the vertical direction of the workpiece 40 and the plate feeding direction of the workpiece 40. The working principle of the second pressing component is the same as that of the first pressing component, and the second pressing component is not described in detail. This embodiment, through two cylinders respectively control the part that compresses tightly at two ascending motions of perpendicular and horizontal side, and compress tightly the part when the motion, only one cylinder is gone up the electricity, only one ascending controlling force of side promptly, can make and compress tightly the part motion and change and go on, and do not receive the interference of other controlling forces, can avoid damaging the work piece or compress tightly the part, improve machining efficiency.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not limit the implementation process of the embodiments of the present invention in any way.
In one embodiment, a clamping detection device of a pressing assembly is provided, and the clamping detection device of the pressing assembly corresponds to the clamping detection method of the pressing assembly in the above embodiment one to one. As shown in fig. 3, the clamping detection device of the pressing assembly includes a grounding sensor and a control chip. The functional modules are explained in detail as follows:
the control chip is used for opening the air clamp and controlling the pressing assembly to be in a plate feeding state when a plate feeding instruction is received, so that the workpiece enters a processing area;
the control chip is further used for controlling the air clamp to clamp the positioning component and controlling the pressing component to clamp the workpiece after detecting that the workpiece enters the machining area;
the grounding inductor is respectively connected with each compaction part so as to detect first grounding information of each compaction part; the first grounding information is used for indicating whether the pressing part is grounded through the workpiece, the positioning part, the air clamp and the workpiece processing table which are connected in sequence;
the control chip is further used for receiving the first grounding information from the grounding sensor and judging whether the pressing assembly clamps the workpiece according to the first grounding information.
Optionally, the pressing assembly comprises a first pressing part and a plurality of second pressing parts; after the control chip, the method comprises the following steps:
the relay module is used for controlling the relay connected with the first compressing part to suck and enable the first compressing part to be grounded through the relay if the compressing assembly does not clamp the workpiece and all the first grounding information indicates that no voltage difference exists between the two ends of the compressing part;
the second grounding information module is used for acquiring second grounding information of the second pressing parts through the grounding inductor;
and the second detection module is used for detecting whether the first pressing part and/or the second pressing parts clamp the workpiece or not through the plurality of pieces of second grounding information.
Optionally, after the second detecting module, the method includes:
and the judging unit is used for judging that the pressing assembly is in a normal state when the second pressing part and the first pressing part clamp the workpiece.
Optionally, the compressing assembly comprises a first compressing assembly and a second compressing assembly;
the control chip comprises:
the first pressing component moving unit is used for controlling the first pressing component to move along the horizontal direction after the air clamp structure is closed until the first pressing component reaches a first abutting position of the workpiece;
the first pressing assembly descending unit is used for controlling the first pressing assembly to move to a first preset position along the vertical direction after a first preset time, so that the first pressing assembly clamps the workpiece;
the second pressing assembly lifting unit is used for controlling the second pressing assembly to move to a second preset position along the vertical direction after a second preset time;
the second pressing component moving unit is used for controlling the second pressing component to move in the horizontal direction after a third preset time until the second pressing component reaches a second abutting position of the workpiece;
and the second pressing component descending unit is used for controlling the second pressing component to move to a third preset position along the vertical direction after a fourth preset time, so that the second pressing component clamps the workpiece.
Optionally, the first pressing assembly is provided with a first air cylinder and a second air cylinder; the first air cylinder is connected with the first pressing assembly to move in the workpiece plate feeding direction; the second cylinder is associated with the ascending and descending of the first pressing component;
the control chip further comprises:
the cylinder control unit is used for enabling the first cylinder to be in a power-on state and the second cylinder to be in a power-off state when the first pressing assembly moves along the horizontal direction;
the cylinder control unit is also used for enabling the first cylinder to be in a power-off state and the second cylinder to be in a power-on state when the first pressing assembly moves along the vertical direction;
and the cylinder control unit is also used for enabling the first cylinder to be in a power-on state and the second cylinder to be in a power-on state when the first pressing assembly clamps the workpiece.
For specific definition of the clamping detection device of the pressing assembly, reference may be made to the above definition of the clamping detection method of the pressing assembly, and details are not described herein. The modules in the clamping detection device of the pressing assembly can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.