Printed circuit board self-checking method, aerosol generating device and storage medium

Through automated left-turn rudder-right left-hand test and pin signal detection, the functional problems caused by the unfixed electronic components in the aerosol generation device are solved, and no manual self-test is achieved, reducing workload and reducing production costs.

CN120267068APending Publication Date: 2025-07-08SHENZHEN GEEKVAPE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510497689.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

During the assembly process of the aerosol generation device, the electronic components are not fixed properly, which leads to functional problems. The prior art requires manual inspection, increase workload and extend the production cycle.

Method used

Through the communication interface, the upper computer is subjected to a left turn and right turn left test, to detect the communication interface, control unit and line connection, and to send pulse signals using pins and judge the echo signal, and to automatically complete the self-test of the printed circuit board.

Benefits of technology

Self-inspection of printed circuit boards can be completed without manual labor, reducing workload and shortening production cycles and reducing production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120267068A_ABST
    Figure CN120267068A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of aerosol generation equipment, and provides a printed circuit board self-checking method, an aerosol generation device and a computer readable storage medium, and the printed circuit board self-checking method comprises the steps: carrying out a left-steering right-steering left test through a communication interface and an upper computer; the communication interface, the control unit and a line between the communication interface and the control unit are detected; sending a pulse signal through the pin, and detecting an echo signal of the pulse signal; judging whether a line connected with the pin is normal or not according to the echo signal, and obtaining a detection result of the line; and sending a detection result to an upper computer. Self-inspection of the printed circuit board of the aerosol generating device can be completed without manual work, the workload can be reduced, the production period can be shortened, and therefore the production cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of aerosol generating devices, and particularly relates to a method for self-checking a printed circuit board, an aerosol generating device, and a computer-readable storage medium. Background Art

[0002] An important reason for the failure of an aerosol generating device is that during the assembly process, electronic components are not fixed properly and fall off the printed circuit board during subsequent use, resulting in functional problems. It is necessary to troubleshoot this problem during the production process, but this will bring a large amount of work, extend the production cycle, and increase the production cost. Summary of the Invention

[0003] Embodiments of this application provide a method and device for self-checking a printed circuit board, an aerosol generating device, and a computer-readable storage medium, which can solve the problem of a large amount of work required to troubleshoot loose installation of electronic components in related technologies.

[0004] In a first aspect, an embodiment of this application provides a method for self-checking a printed circuit board, which is applied to an aerosol generating device. The aerosol generating device includes a control unit and a communication interface. The control unit includes a plurality of pins. The method includes: performing a left turn right turn left test with a host computer through the communication interface (sending a signal and receiving a corresponding feedback signal indicates normal communication. For example, when sending 1010, the corresponding feedback signal received is 0101, indicating normal communication) to detect the communication interface, the control unit, and the circuit between them; sending a pulse signal through the pins and detecting the echo signal of the pulse signal; judging whether the circuit connected to the pins is normal according to the echo signal to obtain a detection result of the circuit; and sending the detection result to the host computer.

[0005] In a second aspect, an embodiment of this application provides an aerosol generating device, which includes a control unit and a communication interface; the control unit includes a plurality of pins, and is used to perform a left turn right turn left test with a host computer through the communication interface to detect the communication interface, the control unit, and the circuit between them; sending a pulse signal through the pins and detecting the echo signal of the pulse signal; judging whether the circuit connected to the pins is normal according to the echo signal to obtain a detection result of the circuit; and sending the detection result to the host computer.

[0006] In a third aspect, an embodiment of this application provides a computer-readable storage medium, storing a computer program, and when the computer program is executed by a processor, it implements the method for self-checking a printed circuit board described in the first aspect above.

[0007] In a fourth aspect, an embodiment of this application provides a computer program product, which when running on an aerosol generating device, causes the aerosol generating device to execute the method for self-checking a printed circuit board described in the first aspect above.

[0008] The beneficial effects of the embodiments of the present application compared with the prior art are as follows: Through the communication interface, a left turn and a right turn left test are performed with the host computer to detect the communication interface, the control unit, and the circuit between the two; a pulse signal is sent through the pin to detect the echo signal of the pulse signal; whether the circuit connected to the pin is normal is judged according to the echo signal to obtain the detection result of the circuit; and the detection result is sent to the host computer. The self-check of the printed circuit board of the aerosol generating device can be completed without manual operation, which can reduce the workload and shorten the production cycle, thereby reducing the production cost. Description of the Drawings

[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0010] Figure 1 It is a schematic structural diagram of an aerosol generating device provided by an embodiment of the present application;

[0011] Figure 2 It is a schematic flowchart of a method for self-checking a printed circuit board provided by an embodiment of the present application;

[0012] Figure 3 is Figure 2 The specific flowchart of S3 in it;

[0013] Figure 4 It is a specific flowchart of self-checking a printed circuit board provided by a specific embodiment of the present application. Detailed Embodiments

[0014] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, the detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from interfering with the description of the present application.

[0015] It should be understood that when used in the specification of the present application and the appended claims, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.

[0016] It should also be understood that the term "and / or" as used in the specification and appended claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0017] As used in the specification and appended claims of the present application, the term "if" may be construed, depending on the context, as "when", "once", "in response to determining", or "in response to detecting". Similarly, the phrases "if determined" or "if [the described condition or event] is detected" may be construed, depending on the context, to mean "once determined", "in response to determining", "once [the described condition or event] is detected", or "in response to detecting [the described condition or event]".

[0018] In addition, in the description of the specification and appended claims of the present application, the terms "first", "second", "third", etc. are only used for differential description and should not be construed as indicating or implying relative importance.

[0019] Reference to "one embodiment" or "some embodiments" etc. described in the specification of the present application means that a specific feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0020] Figure 1 Shown is a block diagram of a partial structure of an aerosol generating device provided by an embodiment of the present application. Refer to Figure 1 , the aerosol generating device includes a control unit 10, a communication interface 20, and at least one electronic component 30. The control unit 10, the communication interface 20, and at least part of the electronic components 30 are arranged on a printed circuit board 40. The control unit 10 is respectively connected to the communication interface 20 and each electronic component 30 through electrically conductive lines 41 arranged on the printed circuit board 40. The number of electronic components 30 shown in the figure is 1, and actually it can be more. Those skilled in the art can understand that Figure 1 the structure of the aerosol generating device shown in

[0021] does not limit the aerosol generating device, and it may include more or fewer components than shown, or combine certain components, or have different component arrangements. Figure 1 The following specifically introduces each component of the aerosol generating device:

[0022] The communication interface 20 is used to communicate with other devices, and the specific type is not limited herein. In some embodiments, the communication interface 20 may be a Universal Serial Bus (USB) interface.

[0023] The electronic component 30 is a component that consumes electrical energy in the aerosol generating device other than the control unit 10 and the communication interface 20. Specifically, it may include a display screen, a control component of the heating element, a temperature measuring component, etc. The heating element is used to heat the aerosol generating substrate.

[0024] The control unit 10 is the control center of the aerosol generating device, and can execute various functions and process data by running the programs stored in the memory. The control unit 10 includes a plurality of pins. The control unit 10 may be a Central Processing Unit (CPU), and this control unit 10 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), Microcontroller Units (MCUs), System On Chips (SOCs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0025] The aerosol generating device may further include a memory (not shown in the figure). The memory may be an independent component or integrated with the control unit 10, and is used to store application programs, BootLoaders, data, and other programs, such as the program code of computer programs. The memory may also be used to temporarily store the data required for executing the programs and the generated data. The memory may include high-speed random access memory, and may also include non-volatile memory, such as flash memory, read-only memory, etc.

[0026] The printed circuit board self - inspection method provided by the embodiments of the present application can be implemented as a computer software program. For example, embodiments of the present application provide a computer program product, which includes a computer program carried on a computer - readable medium, and the computer program contains program codes for executing the method shown in the flow chart. When the computer program is executed by the control unit 10 of the aerosol - generating device, various functions defined in the printed circuit board self - inspection method provided by the embodiments of the present application are implemented.

[0027] Figure 2 FIG. 4 shows a schematic flow chart of a printed circuit board self - inspection method provided by an embodiment of the present application. As an example and not a limitation, this method can be applied to the above - mentioned aerosol - generating device.

[0028] S1: Perform a left - turn - right - turn - left test with the host computer through the communication interface to detect the communication interface, the control unit, and the line between them.

[0029] Specifically, a test string from the host computer can be received through the communication interface, and then the order of the test string is reversed and sent to the host computer through the communication interface. For example, if the string sent by the host computer is "1010", then the reversed string is "0101", and the string "0101" is sent to the host computer.

[0030] Before the left - turn - right - turn - left test, a handshake can be performed with the host computer through the communication interface, that is, according to the regulations of the protocol used by the communication interface, interact with the host computer through the instructions specified by the protocol to clarify each other's identities and establish a connection.

[0031] Able to complete the left - turn - right - turn - left test normally means that the communication interface, the control unit, and the line between them are all normal. This step can be periodically executed during the self - inspection process to ensure the accuracy of the self - inspection result.

[0032] S2: Send a pulse signal through the pin and detect the echo signal of the pulse signal.

[0033] The pin can switch between the receiving and sending states. First, send a pulse signal through the pin in the sending state, and then switch to the receiving state to try to receive the echo signal.

[0034] S3: Judge whether the line connected to the pin is normal according to the echo signal to obtain the detection result of the line.

[0035] An abnormal line means that there is an open circuit. A typical scenario is that the electronic components connected to the line are not firmly installed. When there is an open circuit, the electronic components connected to the line cannot give feedback to the control unit, that is, the echo signal cannot be received.

[0036] According to the above principle, asFigure 3 As shown, in a specific embodiment of the present application, S3 may include the following parts.

[0037] S31: Calculate the difference between the time when the echo signal is received and the time when the pulse signal is sent as the reflection duration.

[0038] S32: Determine whether the reflection duration is within the reflection duration range corresponding to the line connected to the pin.

[0039] This range is determined by the line length. Specifically, the duration required for the pulse signal (essentially an electromagnetic wave) to propagate in the line with the maximum length and then receive the feedback echo signal can be calculated as the upper limit of the reflection duration range, and the lower limit can be set to 0 or a minimum value. The reflection duration is positively correlated with the distance to the break point. The reflection duration within the reflection duration range means that there is no break point in the line.

[0040] If the reflection duration is within the reflection duration range, jump to S33; otherwise, jump to S34.

[0041] S33: Determine that the line connected to the pin is normal.

[0042] S34: Determine that the line connected to the pin is abnormal.

[0043] The above detection process can be further simplified. Specifically, if an echo signal can be detected, it is determined that the line connected to the pin is normal; otherwise, it is determined that the line connected to the pin is abnormal.

[0044] In some embodiments, the pins of the control unit may be floating, that is, not connected to any electronic components. Then the lines connected to these pins are broken by themselves. To save resources, the detection of these pins can be omitted. Specifically, the non-floating pins of the control unit can be determined first according to the wiring diagram of the printed circuit board pre-stored in the memory, and then S2 - S3 is executed for the non-floating pins of the control unit.

[0045] In addition, since the left turn right turn left test has detected the pins connected to the communication interface, S2 - S3 can also be not executed for these pins.

[0046] S4: Send the detection result to the host computer.

[0047] The detection result is sent to the host computer through the communication interface. The detection result may include the line information with anomalies (breaks). The line information may include at least one of the line number, the number of the electronic component connected to the line, etc. In addition, the detection result may also include the information of the normal lines.

[0048] By implementing this embodiment, the self-check of the printed circuit board of the aerosol generating device can be completed without manual operation, which can reduce the workload and shorten the production cycle, thereby reducing the production cost.

[0049] The following takes the attached drawings as an example to illustrate the specific process of the self-check of the printed circuit board.

[0050] As Figure 4 shown, in a specific embodiment of the present application, the printed circuit board self-check method includes the following parts.

[0051] S11: Perform a handshake with the host computer through the communication interface.

[0052] S12: Perform a left turn right turn left test with the host computer through the communication interface to detect the communication interface, the control unit, and the line between the two.

[0053] S13: Send a pulse signal through the pin in the sending state.

[0054] S14: Switch to the receiving state and attempt to receive the echo signal.

[0055] S15: Judge whether the line connected to the pin is normal according to the echo signal to obtain the detection result of the line.

[0056] Execute S13-S15 for each pin to be detected. The pins to be detected can be all pins, or the floating pins and / or the pins connected to the communication interface can be excluded.

[0057] S16: Send the detection result to the host computer.

[0058] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0059] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of mutual distinction and do not limit the protection scope of this application. The specific working processes of the units and modules in the above system can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0060] An embodiment of this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.

[0061] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-mentioned method embodiments of this application, a computer program can be used to instruct relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / aerosol generating device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0062] In the above embodiments, the descriptions of the various embodiments have their own emphases. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0063] Those of ordinary skill in the art will realize that the units and algorithm steps of the examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A professional technician can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.

[0064] In the embodiments provided in this application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.

[0065] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0066] The above-described embodiments are only used to illustrate the technical solutions of this application, rather than to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included in the protection scope of this application.

Claims

1. A method for self-checking a printed circuit board, applied to an aerosol generating device, the aerosol generating device including a control unit and a communication interface, the control unit including a plurality of pins, characterized in that, The method includes: Performing a left rudder turn right and left turn test with the host computer through the communication interface to detect the communication interface, the control unit, and the line therebetween; Sending a pulse signal through the pin and detecting the echo signal of the pulse signal; Judging whether the line connected to the pin is normal according to the echo signal to obtain the detection result of the line; Sending the detection result to the host computer.

2. The method according to claim 1, wherein The performing a left rudder turn right and left turn test with the host computer through the communication interface includes: Receiving a test string from the host computer through the communication interface; Reversing the order of the test string and sending it to the host computer through the communication interface.

3. The method according to claim 2, wherein The performing a left rudder turn right and left turn test with the host computer through the communication interface includes: Performing a handshake with the host computer through the communication interface.

4. The method according to claim 1, wherein The judging whether the line connected to the pin is normal according to the echo signal includes: If the echo signal can be detected, it is determined that the line connected to the pin is normal, otherwise it is determined that the line connected to the pin is abnormal.

5. The method according to claim 1, wherein The judging whether the line connected to the pin is normal according to the echo signal includes: Calculating the difference between the time when the echo signal is received and the time when the pulse signal is sent as the reflection duration; Judging whether the reflection duration is within the reflection duration range corresponding to the line connected to the pin; If so, it is determined that the line connected to the pin is normal, otherwise it is determined that the line connected to the pin is abnormal.

6. The method according to claim 1, wherein Before sending the pulse signal through the pin and detecting the echo signal of the pulse signal, it further includes: Determining the non-floating pins of the control unit according to the wiring diagram of the printed circuit board; Performing sending the pulse signal through the pin and detecting the echo signal of the pulse signal for the non-floating pins of the control unit; judging whether the line connected to the pin is normal according to the echo signal to obtain the detection result of the line.

7. An aerosol generating device, characterized in that, It includes a control unit and a communication interface; The communication interface is used to connect to the host computer; The control unit includes multiple pins, and is used to perform a left rudder turn right and left turn test with the host computer through the communication interface to detect the communication interface, the control unit, and the line therebetween; sending a pulse signal through the pin and detecting the echo signal of the pulse signal; Judging whether the line connected to the pin is normal according to the echo signal to obtain the detection result of the line; sending the detection result to the host computer.

8. The aerosol generating device according to claim 7, characterized in that, The control unit is specifically used to receive a test string from the host computer through the communication interface; reverse the order of the test string and send it to the host computer through the communication interface.

9. The aerosol generating device according to claim 7, wherein, The control unit is further configured to determine the non-suspended pins of the control unit according to the wiring diagram of the printed circuit board; send a pulse signal to the non-suspended pins, and detect the echo signal of the pulse signal; Judge whether the line connected to the non-suspended pin is normal according to the echo signal, and obtain the detection result of the line.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.