Component polarity detection method, system, computer readable storage medium and device

Component polarity detection method, system, computer readable storage medium and device

  • CN 107,895,064 B
  • Filed: 10/19/2017
  • Issued: 01/10/2020
  • Est. Priority Date: 10/19/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method for detecting polarity of a component is characterized by comprising the following steps:

  • selecting a first component symbol with a pattern similar to a pattern in a template library of pre-established component polarity symbols from a PCB polarity pattern layer to be detected by utilizing a pre-stored pattern similarity algorithm, and screening a second component symbol with a polarity from the selected first component symbol according to BOM attributes or name prefixes of components;

    traversing each second component symbol with polarity to detect whether the polarity symbol stored in the template library exists on the second component symbol with polarity, if so, checking whether the polarity position of the polarity symbol of the second component symbol is correct, and if not, outputting a polarity position error report of the polarity symbol of the second component symbol;

    wherein, the step of checking whether the polarity position of the polarity symbol of the second component symbol is correct comprises;

    judging whether the second component symbol is a two-pin component symbol, if so, checking whether the polarity position of the polarity symbol of the second component symbol is correct according to the polarity symbol and the polarity direction of the two-pin component symbol, if so, continuously checking whether the polarity position of the polarity symbol of the next second component symbol is correct, and if not, outputting a polarity position error report of the polarity symbol of the second component symbol;

    if not, detecting whether the polarity symbol of the non-two-pin component symbol and the polarity pin are positioned in the same position area or not so as to check whether the polarity position of the polarity symbol of the second component symbol is correct or not, and if the polarity symbol and the polarity pin are positioned in the same position area, checking that the polarity position of the polarity symbol of the second component symbol is correct;

    if the polarity symbol and the polarity pin are not located in the same position area, checking that the polarity position of the polarity symbol of the second component symbol is incorrect, and outputting a polarity position error report of the polarity symbol of the second component symbol;

    the default polarity pin is a first pin of the non-bipole component.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×