CN112519229B - Parameter acquisition method and device for temperature control circuit of 3D printer nozzle - Google Patents

Parameter acquisition method and device for temperature control circuit of 3D printer nozzle Download PDF

Info

Publication number
CN112519229B
CN112519229B CN202011120096.7A CN202011120096A CN112519229B CN 112519229 B CN112519229 B CN 112519229B CN 202011120096 A CN202011120096 A CN 202011120096A CN 112519229 B CN112519229 B CN 112519229B
Authority
CN
China
Prior art keywords
parameter
bit
voting
values
target parameter
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.)
Active
Application number
CN202011120096.7A
Other languages
Chinese (zh)
Other versions
CN112519229A (en
Inventor
谢元禄
刘璟
张坤
霍长兴
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.)
Institute of Microelectronics of CAS
Original Assignee
Institute of Microelectronics of CAS
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 Institute of Microelectronics of CAS filed Critical Institute of Microelectronics of CAS
Priority to CN202011120096.7A priority Critical patent/CN112519229B/en
Publication of CN112519229A publication Critical patent/CN112519229A/en
Application granted granted Critical
Publication of CN112519229B publication Critical patent/CN112519229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • B29C64/393Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing
    • B33Y50/02Data acquisition or data processing for additive manufacturing for controlling or regulating additive manufacturing processes
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)

Abstract

The invention discloses a parameter acquisition method and device for a temperature control circuit of a 3D printer nozzle, which are used for acquiring target parameters stored in a parameter memory. The parameter memory stores a synchronization head and a target parameter, and the synchronization head and the target parameter both store M parts, wherein M is an odd number greater than or equal to 3. The parameter acquisition method comprises the following steps: reading the values of M synchronous heads stored in a current parameter memory; voting the values of the M synchronous heads, and matching the voting result with the preset value of the synchronous head; and if the matching is successful, reading M target parameter values stored in the current parameter memory, voting the M target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle. Therefore, the reliability of temperature control parameter storage and acquisition can be effectively improved, and the reliability of the temperature control circuit is further improved.

Description

Parameter acquisition method and device for temperature control circuit of 3D printer nozzle
Technical Field
The invention relates to the technical field of 3D printing, in particular to a parameter acquisition method and device for a temperature control circuit of a 3D printer nozzle, a temperature control system for the 3D printer nozzle and a 3D printer.
Background
The 3D printer is a technical device in the field of additive manufacturing of a new generation at present, and adopts a digital control technology to heat, extrude and spray printing raw materials and accurately control the physical appearance of a printing target. During the operation of the 3D printer, an important step is to precisely control the temperature of the nozzle so that the viscosity of the printing material meets the requirements of the printing process. If the temperature of the ejection head falls outside the desired range, the printing effect is deteriorated if the temperature is low, and the ejection head is failed if the temperature is high. Therefore, a fully functional temperature control circuit is an important component of the 3D print head.
The control effect of control by temperature change circuit has decided the printing effect of 3D print head, consequently, promotes the control effect of control by temperature change circuit and becomes the problem that awaits solution urgently.
Disclosure of Invention
The embodiment of the application provides a parameter acquisition method and device for a temperature control circuit of a 3D printer nozzle, which can effectively improve the reliability of temperature control parameter storage and acquisition, thereby improving the control effect of the temperature control circuit.
In a first aspect, an embodiment of the present application provides a parameter obtaining method for a temperature control circuit of a 3D printer head, configured to obtain a target parameter stored in a parameter memory, where the parameter memory further stores a synchronization head, and the synchronization head and the target parameter both store M parts, where M is an odd number greater than or equal to 3. The method comprises the following steps: reading the values of M synchronous heads stored in a current parameter memory; voting the values of the M synchronization heads, and matching the voting result with the preset value of the synchronization head; and if the matching is successful, reading M parts of target parameter values stored in the current parameter memory, voting the M parts of target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle.
Further, the parameter memory is plural. The matching of the voting result and the preset value of the synchronization head further comprises: and if the matching fails, switching to a next parameter memory, taking the next parameter memory as the current parameter memory, and executing the parameter acquisition method.
Further, the value of the synchronization header includes a plurality of bits. The voting of the values of the M synchronization heads includes: voting is respectively carried out on each bit of the M parts of synchronization heads to obtain a bit voting result of each bit, and the voting results of the M parts of synchronization heads are obtained according to the bit voting result of each bit; and if the M parts of synchronization heads have incompletely consistent bits, correcting the value of the bit in the abnormal synchronization head according to the bit voting result of the bit, wherein the abnormal synchronization head is the synchronization head of which the bit in the M parts of synchronization heads is inconsistent with the corresponding bit voting result.
Further, the voting for the values of the M synchronization headers further includes: and if the bit positions which are not completely consistent in the M synchronous heads exceed the preset number, judging that the current parameter memory is abnormal, and performing exception processing on the current parameter memory.
Further, the target parameter value includes a plurality of bits. Voting the M target parameter values to obtain the read values of the target parameters, wherein the voting comprises the following steps: voting is respectively carried out on each bit of the M target parameter values to obtain a bit voting result of each bit; obtaining a read value of the target parameter according to the bit voting result of each bit; and if the M parts of target parameter values have incompletely consistent bits, correcting the value of the bit in the abnormal target parameter value according to the bit voting result of the bit, wherein the abnormal target parameter value is the target parameter value of which the bit in the M parts of target parameter values is inconsistent with the corresponding bit voting result.
Further, the voting the M target parameter values further includes: and if the incompletely consistent bits in the M target parameter values exceed a preset number, judging that the current parameter storage is abnormal, and performing exception handling on the current parameter storage.
In a second aspect, an embodiment of the present application provides a parameter obtaining apparatus for a temperature control circuit of a 3D printer head, configured to obtain a target parameter stored in a parameter memory, where the parameter memory further stores a synchronization head, and the synchronization head and the target parameter both store M parts, where M is an odd number greater than or equal to 3. The device comprises: the synchronous head reading module is used for reading the values of M synchronous heads stored in the current parameter memory; the synchronous head matching module is used for voting the values of the M synchronous heads and matching the voting result with the preset value of the synchronous head; and the parameter reading module is used for reading M target parameter values stored in the current parameter memory if the synchronization head is successfully matched, voting the M target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle.
In a third aspect, an embodiment of the present application provides a temperature control system for a 3D printer head, including a storage circuit and a temperature control circuit. The storage circuit comprises one or more parameter memories, each parameter memory is connected with the temperature control circuit, a synchronous head and a target parameter are stored in each parameter memory, and M parts of the synchronous head and the target parameter are stored in each parameter memory, wherein M is an odd number which is greater than or equal to 3. The temperature control circuit is connected with an upper computer and used for reading the values of M parts of synchronous heads stored in a current parameter storage based on a control instruction issued by the upper computer, voting the values of the M parts of synchronous heads, matching the voting result with the preset value of the synchronous heads, reading the M parts of target parameter values stored in the current parameter storage if the matching is successful, voting the M parts of target parameter values to obtain the read value of the target parameter, and controlling the temperature of the 3D printer nozzle according to the read value.
Further, the temperature control circuit and the storage circuit are integrated on the same ASIC chip, or the temperature control circuit and the storage circuit are integrated on different ASIC chips.
In a fourth aspect, an embodiment of the present application provides a 3D printer, which includes a printer main body, a spray head, and the temperature control system provided in the third aspect. The shower nozzle set up in printer main part is last, temperature control system is used for controlling the temperature of shower nozzle.
In the method, the device and the temperature control system for acquiring the parameters of the temperature control circuit for the 3D printer nozzle provided in the embodiments of the present specification, one or more parameter memories for storing temperature control parameters are provided, and M synchronization heads and target parameters are stored in each parameter memory, where M is an odd number greater than or equal to 3, when the target parameters need to be acquired, the M synchronization heads are read from the parameter memories for voting, when the voting result matches a preset value, the M target parameter values are read from the parameter memories for voting, and the voting result is used as the read value of the target parameter value to control the temperature of the 3D printer nozzle. Therefore, the influence of electromagnetic interference in the working environment on the stored temperature control parameters can be reduced, the reliability of storing and acquiring the temperature control parameters is effectively improved, the reliability of the temperature control circuit is further improved, and the control effect of the temperature control circuit is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating a temperature control system for a 3D printer head according to a first aspect of an embodiment of the present disclosure;
FIG. 2 illustrates an exemplary parameter acquisition flow diagram provided by embodiments of the present description;
FIG. 3 illustrates an exemplary voting circuit schematic provided by embodiments of the present description;
FIG. 4 is a flowchart illustrating a parameter obtaining method provided in a second aspect of an embodiment of the present specification;
fig. 5 is a flowchart of a parameter obtaining apparatus provided in a third aspect of the embodiments of the present specification;
fig. 6 shows a schematic structural diagram of an exemplary 3D printer provided in the fourth aspect of the embodiments of the present specification.
Detailed Description
The temperature of 3D print head is the key factor that influences 3D printing effect, consequently, needs to realize the accurate control to 3D print head temperature. And the acquisition of temperature control parameters is an important step influencing the temperature control of the 3D printer nozzle. In the practical application process, the inventor of the present application finds that when the 3D printer is applied in a working environment where various electromagnetic interference sources exist, the 3D printer is susceptible to electromagnetic interference, which causes errors of the prestored temperature control parameter, such as a bit jumping from "0" to "1" or a bit jumping from "1" to "0". In view of this, embodiments of the present specification provide a method and an apparatus for acquiring parameters of a temperature control circuit for a 3D printer head, a temperature control system for a 3D printer head, and a 3D printer, which are beneficial to improving reliability of storing and acquiring temperature control parameters, and further improving reliability of the temperature control circuit.
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that these descriptions are illustrative only and are not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
In a first aspect, the embodiments of the present description provide a temperature control system for a 3D printer nozzle. As shown in fig. 1, a temperature control system provided in an embodiment of the present specification includes: a memory circuit and a temperature control circuit.
The storage circuit comprises one or more parameter memories for storing temperature control parameters. In this embodiment, the parameter memory may be a nonvolatile memory, for example, an SPI Flash, a Parallel NOR Flash, a NAND Flash, a Resistive Random Access Memory (RRAM), a phase change memory (PRAM), or a Magnetic Random Access Memory (MRAM). At the moment, after power failure, the data stored in the parameter memory cannot be lost, so that the nonvolatile storage of the temperature control parameters can be realized. If SPI Flash is used, it can operate in single-wire mode, two-wire mode or four-wire mode. Of course, in other embodiments of this specification, the parameter memory may also be a volatile memory, and at this time, the stored data is lost after power is turned off, so that a write operation needs to be performed on the parameter memory after power is turned on.
When the storage circuit includes a plurality of parameter memories, the same parameter data is stored in each of the plurality of memories. Compared with a single memory, the configuration of the multiple parameter memories can automatically switch to another parameter memory for parameter reading when the currently used parameter memory fails and effective data cannot be read out, so that the reliability of parameter storage is improved, correct parameters are acquired, and the normal function of the temperature control circuit is ensured. For example, as shown in fig. 1, the storage circuit includes a parameter memory 0, parameter memories 1 and … …, the parameter memory 0 may be used as a current parameter memory to read parameters, when the parameter memory 0 fails, the parameter memory 1 may be switched to the parameter memory 1, and the parameter memory 1 may be used as the current parameter memory again, and so on until the parameter reading is completed.
As shown in fig. 1, each of the parameter memories is connected to the temperature control circuit, and each of the parameter memories stores therein a synchronization head and a target parameter. The synchronization header may also be referred to as a frame header, and is used to represent a start position of the stored data. The target parameters include control information necessary for temperature control of the 3D printer head, such as: may include a target temperature value desired to be achieved, the temperature control algorithm employed, a look-up table required for the temperature control algorithm, a word stock required for the temperature control display screen, etc. It can be understood that, when writing parameters into the parameter memory, the temperature control circuit can be controlled from the upper computer through the communication interface, and the writing can be performed one by one.
In this embodiment, M parts of the synchronization header and the target parameter are stored in each parameter memory, that is, the synchronization header and the target parameter are redundantly stored in each parameter memory. Wherein, M is an odd number greater than or equal to 3, so as to obtain effective voting results in the subsequent voting steps.
For example, M is 3, and the storage contents in a parameter memory can be as shown in table 1.
TABLE 1
Figure BDA0002731691470000051
Figure BDA0002731691470000061
As shown in table 1, the parameter memory may have stored therein a sync header, parameter 1, and parameters 2, … …, each of which stores 3 copies, in turn labeled with a post-failure of _ tmr0, _ tmr1, and _ tmr 2.
And the temperature control circuit is communicated with the upper computer and performs read-write access on the parameter memory, and is a bridge between the upper computer and the parameter memory. The upper computer may control the 3D printer (together with the temperature control Circuit thereof), and may be a computer running printer control software, or may be an FPGA, a CPLD, a single chip microcomputer, an ARM, a DSP, or another ASIC (Application Specific Integrated Circuit).
Specifically, the temperature control circuit is configured to read, based on a control instruction issued by the upper computer, values of M synchronization heads stored in the current parameter memory, vote for the values of M synchronization heads, match a voting result with a preset value of the synchronization head, if matching is successful, read M target parameter values stored in the current parameter memory, vote for the M target parameter values, obtain a read value of the target parameter, and control the temperature of the 3D printer nozzle according to the read value. It will be appreciated that the parameter acquisition process performed by the temperature control circuit may be implemented in hardware circuitry, or in a combination of dedicated hardware and computer instructions.
In this embodiment, both the voting for the sync header and the voting for the target parameter adopt a "minority-majority-compliant" voting mechanism, that is, the majority data of the M pieces of data is used as the voting result. Because the synchronous head and the target parameter stored in the parameter memory are both more than or equal to 3 base parts, the voting result can be obtained in each voting. For example, in each parameter memory, triple modular redundancy storage, quintuple modular redundancy storage, seven modular redundancy storage, or the like may be performed on the synchronization header and the parameter.
As the M parts of synchronous heads and the M parts of target parameters are stored in the parameter memory, as long as the value of the majority of synchronous heads is correct, the correct synchronous head data and the target parameter value can be read in a voting mode, the influence of electromagnetic interference on parameter storage is favorably reduced, and reliable parameter storage can be provided for a 3D printer temperature control circuit.
Taking the scenario shown in table 1 as an example, as shown in fig. 2, the parameter obtaining process may include:
and reading the values of the synchronization heads stored in the current parameter memory, namely the synchronization head _ tmr0, the synchronization head _ tmr1 and the synchronization head _ tmr2, and carrying out three-mode voting on the three synchronization heads to obtain a voting result. If the voting result is consistent with the preset value of the synchronous head, namely the matching is successful, the synchronous head data stored in the parameter memory is correct, and further the data storage of the current parameter memory can be considered to be credible. Therefore, the temperature control circuit can read the values of the three parameters 1 stored in the current memory, namely the parameter 1_ tmr0, the parameter 1_ tmr1 and the parameter 1_ tmr2, perform three-mode voting on the three parameters 1, obtain a voting result which is the read value of the parameter 1, and then continue to read the next parameter 2 … … to obtain a complete control parameter list for controlling the temperature of the 3D printer nozzle.
If the voting results of the three synchronous heads are not consistent with the preset values of the synchronous heads, namely the matching fails, the data of the synchronous heads stored in the current parameter memory are wrong, and then the data stored in the current parameter memory can be considered to be unreliable, and the current parameter memory is judged to be abnormal. Then, the temperature control circuit will abandon the current parameter memory, switch to the next parameter memory, take the next parameter memory as the current parameter memory, and execute the above parameter acquisition process again until a credible parameter value is read.
In an embodiment, the temperature control circuit may be implemented by hardware, such as an FPGA, a CPLD, or an ASIC chip, and at this time, the voting process may be implemented by a voting logic circuit. Taking the parameter memory 0 shown in fig. 1 as the current parameter memory, taking triple modular redundancy storage as an example, in the scenario shown in table 1, the triple modular voting process may include: when reading the parameters in the parameter memory, the three synchronization heads stored in the addresses 0000h, 0001h, 0002h of the parameter memory 0 are read first, and are correspondingly input to the input end of the "two out of three" logic circuit shown in fig. 3: TMR0, TMR1 and TMR2, and voting results are obtained by conducting triple-modular redundancy voting. It should be noted that the voting circuit is a common circuit structure in the field of digital circuits, and will not be described in detail here. Of course, if the parameter memory adopts five-mode redundant storage, a logic circuit of five to three may be adopted, and if the parameter memory adopts seven-mode redundant storage, a logic circuit of seven to four may be adopted.
In a specific implementation, both the value of the synchronization header and the target parameter value may include a plurality of bits. At this time, the voting process for the values of the M synchronization headers may specifically include: and voting is respectively carried out on each bit of the M parts of the synchronization heads to obtain a bit voting result of each bit, and the voting results of the M parts of the synchronization heads are obtained according to the bit voting result of each bit. For example, assuming that the value of the sync header includes 8 bits (bit), 8 bit voting results are obtained, respectively. Each bit has a value of 0 or 1, and the resulting bit voting result is 0 or 1. If the value of the synchronization header comprises k bits, i is 0 to k-1, when the ith bit in the M synchronization headers is 0 in majority and 1 in minority, the bit voting result of the ith bit is 0, otherwise, the bit voting result is 1. And splicing all bit voting results of the synchronization heads according to bits, namely obtaining the voting results of the M synchronization heads as the values of the synchronization heads read from the current parameter memory.
For example, three sync headers are stored in the current parameter memory, whose values are: 11000001, 11000001 and 11000000, wherein the 0 th bit voting result is 1, the 1 st to 5 th bit voting results are all 0, the 6 th and 7 th bit voting results are all 1, and the obtained voting results are: 11000001.
similarly, voting the M target parameter values to obtain the read values of the target parameters may specifically include: voting is respectively carried out on each bit of the M target parameter values to obtain a bit voting result of each bit; and obtaining the read value of the target parameter according to the bit voting result of each bit. It can be understood that the voting results of all bits of the M target parameter values are spliced together bit by bit, that is, the voting results of the M target parameter values are used as the read values of the target parameters read from the current parameter memory. After reading all target parameters in sequence, a complete control parameter list can be obtained for controlling the temperature of the 3D printer nozzle.
In an optional embodiment, in the voting process for the M parts of synchronization heads, if there are bits that are not completely consistent in the M parts of synchronization heads, the value of the bit in the abnormal synchronization head is corrected according to the bit voting result of the bit, where the abnormal synchronization head is a synchronization head in which the bit in the M parts of synchronization heads is inconsistent with the corresponding bit voting result, that is, the synchronization head that is subject to the error due to electromagnetic interference stores data. For example, in the above example, if the 1 st bit to the 7 th bit of the third sync header completely match, the 0 th bit does not completely match, the 0 th bits of the first sync header and the second sync header are 1, the 0 th bit of the third sync header is 0, and the 0 th bit voting result is 1, the value of the 0 th bit of the third sync header is corrected to match the 0 th bit voting result, that is, the value of the third sync header is corrected to 11000001.
In an optional embodiment, in the voting process for the M parts of target parameter values, if there is a bit that is not completely consistent in the M parts of target parameter values, the value of the bit in the abnormal target parameter value is corrected according to a bit voting result of the bit, where the abnormal target parameter value is a target parameter value in which the bit in the M parts of target parameter values is inconsistent with the corresponding bit voting result, that is, target parameter storage data that is subject to an error due to electromagnetic interference. The specific correction process is similar to that of the synchronization header, and is not described herein again.
By correcting the abnormal synchronous head and the abnormal target parameter value, the storage data which are subjected to electromagnetic interference and have errors in the parameter storage can be automatically processed, manual intervention of printer operators is not needed, and the fault processing time and human resources are saved.
In an optional embodiment, in the voting process for the M synchronization heads, if bits that are not completely consistent in the M synchronization heads exceed a preset number, it is determined that the current parameter memory is abnormal, and the current parameter memory is subjected to exception handling.
In an optional embodiment, in the voting process for the M parts of target parameter values, if bits of the M parts of target parameter values that are not completely consistent exceed a preset number, it is determined that the current parameter memory is abnormal, and the current parameter memory is subjected to abnormal processing.
It is understood that the bits that are not identical in the M parts of synchronization headers and the bits that are not identical in the M parts of target parameter values are the bits that need to be corrected due to electromagnetic interference errors. The preset number is a preset threshold value, and is set according to the requirements of the actual application scenario, for example, the preset number may be 2 or 10. This threshold may be fixed or may be configurable by a parameter register, which allows more flexibility.
If the number of bits which are not completely consistent in the M parts of synchronization headers or the M parts of target parameter values exceeds a preset number, it indicates that excessive data bits need to be corrected, and at this time, it can be considered that the current parameter memory has an exception, that is, the storage content of the current parameter memory is considered to be unreliable, and the memory needs to be abandoned.
In this embodiment, when it is determined that the parameter storage is abnormal, on one hand, the parameter storage may be switched to the next parameter storage, and the next parameter storage is used as the current parameter storage again, so as to execute the parameter obtaining process, and so on. On the other hand, exception handling may be performed on the parameter memory. The following exception handling methods can be specifically adopted:
first, an alarm message for prompting the current parameter storage to have an abnormality may be initiated, so that relevant staff can perform fault processing on the current parameter storage in time.
And secondly, the abnormal condition can be reported to an upper computer, and the upper computer erases and rewrites the abnormal parameter memory so as to correct errors.
Thirdly, the abnormal parameter memory can be marked as a bad piece, and the parameter data is not read from the parameter memory subsequently.
By adopting the method for supervision, the parameter storage reliability in the system can be remarkably improved, and the correct target parameter value is ensured to be read.
For the sake of understanding, the following still takes triple modular redundancy storage as an example to describe the correction flow in the voting process.
After electrification, firstly reading the data in the parameter memory 0, carrying out three-module voting, and recording the correction condition of each bit in the voting process, wherein the method specifically comprises the following steps: for each bit:
(1) if the three storage results are completely consistent (namely three 0 or three 1), the bit is considered to be correct, no error occurs, and no correction is needed;
(2) if the three storage results are not completely consistent (namely two 0 and one 1, or two 1 and one 0), it is indicated that the bit position has error data, and the voting result of two out of three needs to be corrected;
(3) and judging whether the number of bits which are not completely consistent in the three parts of stored data, namely the number of bits to be corrected, exceeds a preset number, if not, continuing to execute a subsequent parameter acquisition process aiming at the parameter memory 0, if so, giving up the parameter memory 0, switching to the parameter memory 1, and re-executing the parameter acquisition process.
In this embodiment, the temperature control circuit may have various physical implementation forms, for example, may be implemented by a single chip, a CPU, a DSP, a CPLD, or an FPGA, or may be implemented by a customized ASIC chip. When a customized ASIC chip is used for implementation, the temperature control circuit and the memory circuit may be integrated on the same ASIC chip, or the temperature control circuit and the memory circuit may be integrated on different ASIC chips, respectively. The structure occupies small space, and can be suitable for printing orifices of a Micro-Electro-Mechanical System (MEMS) structure.
To sum up, the temperature control system for 3D print head that this specification embodiment provided, through setting up one or more parameter memory that are used for storing the temperature control parameter, and store many copies synchronization head and target parameter in every parameter memory, and then adopt the mode of voting to read synchronization head and target parameter, can provide reliable parameter storage for 3D printer temperature control circuit, provide reliable temperature control parameter for temperature control circuit, and then promote temperature control circuit's reliability, realize temperature control circuit's promotion of control effect.
In a second aspect, based on the same inventive concept, an embodiment of the present specification provides a parameter obtaining method for a temperature control circuit of a 3D printer head, which is applied to the temperature control system provided in the first aspect, and is used to obtain a target parameter stored in a parameter memory. The parameter memory further stores a synchronization header and a target parameter, and the synchronization header and the target parameter both store M parts, where M is an odd number greater than or equal to 3, and for example, M may be 3, 5, or 7.
As shown in fig. 4, the parameter acquiring method at least includes the following steps S401 to S403.
Step S401, reading the values of M synchronization headers stored in the current parameter memory.
And step S402, voting the values of the M synchronization heads, and matching the voting result with the preset value of the synchronization head.
Step S403, if the matching is successful, reading M target parameter values stored in the current parameter memory, and voting the M target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle.
It should be noted that, for the specific implementation process of step S401 to step S403, reference may be made to the corresponding description in the system embodiment provided in the above first aspect, and details are not described here again.
In an alternative embodiment, the storage circuit is configured with a plurality of parameter memories. At this time, in step S402, matching the voting result with the preset value of the sync header further includes: if the matching fails, the next parameter memory is switched to, and the next parameter memory is used as the current parameter memory, and the parameter obtaining method provided by the embodiment is executed again.
In an alternative embodiment, the value of the synchronization header comprises a plurality of bits. In the step S402, voting the values of M synchronization headers may include: and voting is respectively carried out on each bit of the M parts of the synchronization heads to obtain a bit voting result of each bit, and the voting results of the M parts of the synchronization heads are obtained according to the bit voting result of each bit. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the first aspect, and details are not described here.
In an alternative embodiment, the voting the values of the M sync headers may further include: and if the M parts of synchronization heads have incompletely consistent bits, correcting the value of the bit in the abnormal synchronization head according to the bit voting result of the bit, wherein the abnormal synchronization head is the synchronization head of which the bit in the M parts of synchronization heads is inconsistent with the corresponding bit voting result. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the foregoing first aspect, and details are not described here again.
In an optional embodiment, in the step S402, voting the values of the M synchronization headers may further include: and if the bit positions which are not completely consistent in the M synchronous heads exceed the preset number, judging that the current parameter memory is abnormal, and performing exception processing on the current parameter memory. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the first aspect, and details are not described here.
In an alternative embodiment, the target parameter value comprises a plurality of bits. In step S403, the voting process for the M target parameter values to obtain the read values of the target parameters may include: voting is respectively carried out on each bit of the M target parameter values to obtain a bit voting result of each bit; and obtaining a read value of the target parameter according to the bit voting result of each bit. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the first aspect, and details are not described here.
In an optional embodiment, the voting for the M target parameter values further includes: and if the M parts of target parameter values have incompletely consistent bits, correcting the value of the bit in the abnormal target parameter value according to the bit voting result of the bit, wherein the abnormal target parameter value is the target parameter value of which the bit in the M parts of target parameter values is inconsistent with the corresponding bit voting result. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the first aspect, and details are not described here.
In an optional embodiment, the voting for M target parameter values further includes: and if the bit bits which are not completely consistent in the M target parameter values exceed the preset number, judging that the current parameter memory is abnormal, and performing exception processing on the current parameter memory. The specific implementation process may refer to corresponding descriptions in the system embodiment provided in the first aspect, and details are not described here.
It should be noted that, the parameter obtaining method provided in the embodiment of the present specification has the same implementation principle and the same technical effect as the foregoing system embodiment, and for the sake of brief description, reference may be made to corresponding contents in the foregoing system embodiment for parts of the method embodiment that are not mentioned.
In a third aspect, based on the same inventive concept, an embodiment of the present specification provides a parameter obtaining apparatus for a temperature control circuit of a 3D printer head, configured to obtain a target parameter stored in a parameter memory, where the parameter memory further stores a synchronization head, and the synchronization head and the target parameter both store M parts, where M is an odd number greater than or equal to 3. As shown in fig. 5, the parameter acquiring apparatus 50 includes:
a sync header reading module 51, configured to read values of M sync headers stored in the current parameter memory;
the synchronization head matching module 52 is configured to vote for the values of the M synchronization heads, and match a voting result with a preset value of the synchronization head;
and a parameter reading module 53, configured to, if the synchronization header is successfully matched, read M target parameter values stored in the current parameter memory, and vote for the M target parameter values to obtain a read value of the target parameter, where the read value is used to control the temperature of the 3D printer nozzle.
The above modules may be implemented by software codes, and in this case, the above modules may be stored in a memory of the temperature control circuit. The above modules may also be implemented by hardware, such as an integrated circuit chip.
The parameter obtaining apparatus 50 provided in the embodiment of the present specification has the same implementation principle and the same technical effect as those of the foregoing method embodiments, and for the sake of brief description, no mention is made in the apparatus embodiment, and reference may be made to the corresponding contents in the foregoing method embodiments.
In a fourth aspect, based on the same inventive concept, embodiments of the present specification provide a 3D printer. As shown in fig. 6, the 3D printer 60 includes a printer main body 61, a head 62, and a temperature control system 63. The printer main body 62 is similar to a conventional 3D printer, and may include a housing, a sample stage, a moving mechanism for moving the nozzle, and the like, which are not described in detail herein. The head 62 is provided on the printer main body for ejecting the printing material. The temperature control system 63 is used for controlling the temperature of the nozzle so as to make the viscosity of the printing material meet the requirement of the printing process, and specifically, the temperature control system provided in the first aspect is adopted, the implementation principle and the generated technical effect are the same as those of the foregoing system embodiment, and reference may be made to the corresponding content in the foregoing system embodiment.
It should be noted that the shapes and sizes of the components in the 3D printer 60 shown in fig. 6 are only schematic and not limiting, for example, in an application scenario, the nozzle holes of the nozzle head may be made by using an MEMS process, and the temperature control system is implemented by using a customized ASIC chip, which can effectively reduce the occupied space.
It should be further noted that the various embodiments in this specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the various embodiments may be referred to each other.
In the several embodiments provided in the present application, it should be understood that the disclosed system, method and apparatus may be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. The term "plurality" includes two or more than two.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and all such changes or substitutions are included in the scope of the present disclosure. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A parameter obtaining method for a temperature control circuit of a 3D printer nozzle is used for obtaining target parameters stored in a parameter storage, a synchronous head is also stored in the parameter storage, M parts of the synchronous head and the target parameters are stored, wherein M is an odd number larger than or equal to 3, and the method comprises the following steps:
reading the values of M synchronous heads stored in a current parameter memory;
voting the values of the M synchronization heads, and matching the voting result with the preset value of the synchronization head;
and if the matching is successful, reading M target parameter values stored in the current parameter memory, voting the M target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle.
2. The method of claim 1, wherein there are a plurality of parameter memories, and wherein matching the voting results to the preset values of the sync head further comprises:
and if the matching fails, switching to a next parameter memory, taking the next parameter memory as the current parameter memory, and executing the parameter acquisition method.
3. The method of claim 1, wherein the value of the synchronization header comprises a plurality of bits, and wherein voting the values of the M parts of the synchronization header comprises:
voting is respectively carried out on each bit of the M parts of synchronization heads to obtain a bit voting result of each bit, and the voting results of the M parts of synchronization heads are obtained according to the bit voting result of each bit;
and if the M parts of synchronization heads have incompletely consistent bits, correcting the value of the bit in the abnormal synchronization head according to the bit voting result of the bit, wherein the abnormal synchronization head is the synchronization head of which the bit in the M parts of synchronization heads is inconsistent with the corresponding bit voting result.
4. The method of claim 3, wherein voting for the values of the M sync headers further comprises:
and if the bit positions which are not completely consistent in the M synchronous heads exceed the preset number, judging that the current parameter memory is abnormal, and performing exception processing on the current parameter memory.
5. The method of claim 1, wherein the target parameter value comprises a plurality of bits, and wherein voting the M target parameter values to obtain the read value of the target parameter comprises:
voting is respectively carried out on each bit of the M target parameter values to obtain a bit voting result of each bit;
obtaining a read value of the target parameter according to the bit voting result of each bit;
and if the M parts of target parameter values have incompletely consistent bits, correcting the value of the bit in the abnormal target parameter values according to the bit voting result of the bit, wherein the abnormal target parameter values are the target parameter values of which the bit in the M parts of target parameter values is inconsistent with the corresponding bit voting result.
6. The method of claim 5, wherein said voting for said M target parameter values further comprises:
and if the bit bits which are not completely consistent in the M target parameter values exceed the preset number, judging that the current parameter memory is abnormal, and performing exception processing on the current parameter memory.
7. The utility model provides a parameter acquisition device for temperature control circuit of 3D print head which characterized in that is used for acquireing the target parameter that stores in the parameter memory, still store the synchronization head in the parameter memory, M is all stored to synchronization head and the target parameter, and wherein M is the odd number that is more than or equal to 3, the device includes:
the synchronous head reading module is used for reading the values of M synchronous heads stored in the current parameter memory;
the synchronous head matching module is used for voting the values of the M synchronous heads and matching the voting result with the preset value of the synchronous head;
and the parameter reading module is used for reading M target parameter values stored in the current parameter memory if the synchronization head is successfully matched, voting the M target parameter values to obtain a read value of the target parameter, wherein the read value is used for controlling the temperature of the 3D printer nozzle.
8. A temperature control system for a 3D printer nozzle is characterized by comprising a storage circuit and a temperature control circuit, wherein,
the storage circuit comprises one or more parameter storages, each parameter storage is connected with the temperature control circuit, a synchronous head and a target parameter are stored in each parameter storage, and M parts of the synchronous head and the target parameter are stored in each parameter storage, wherein M is an odd number which is greater than or equal to 3;
the temperature control circuit is connected with an upper computer and used for reading the values of M parts of synchronous heads stored in a current parameter storage based on a control instruction issued by the upper computer, voting the values of the M parts of synchronous heads, matching the voting result with the preset value of the synchronous heads, reading the M parts of target parameter values stored in the current parameter storage if the matching is successful, voting the M parts of target parameter values to obtain the read value of the target parameter, and controlling the temperature of the 3D printer nozzle according to the read value.
9. The system of claim 8, wherein the temperature control circuit and the memory circuit are integrated on a same asic chip, or wherein the temperature control circuit and the memory circuit are integrated on different asic chips, respectively.
10. The utility model provides a 3D printer, includes printer main part and shower nozzle, its characterized in that still includes: the temperature control system according to claim 8 or 9, wherein the head is disposed on the printer body, and the temperature control system is configured to control a temperature of the head.
CN202011120096.7A 2020-10-19 2020-10-19 Parameter acquisition method and device for temperature control circuit of 3D printer nozzle Active CN112519229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011120096.7A CN112519229B (en) 2020-10-19 2020-10-19 Parameter acquisition method and device for temperature control circuit of 3D printer nozzle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011120096.7A CN112519229B (en) 2020-10-19 2020-10-19 Parameter acquisition method and device for temperature control circuit of 3D printer nozzle

Publications (2)

Publication Number Publication Date
CN112519229A CN112519229A (en) 2021-03-19
CN112519229B true CN112519229B (en) 2022-07-12

Family

ID=74979443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011120096.7A Active CN112519229B (en) 2020-10-19 2020-10-19 Parameter acquisition method and device for temperature control circuit of 3D printer nozzle

Country Status (1)

Country Link
CN (1) CN112519229B (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104842668B (en) * 2015-06-11 2017-03-01 上海威侃电子材料有限公司 A kind of print system control method
CN109739449B (en) * 2018-12-29 2022-04-15 森大(深圳)技术有限公司 Method, device, equipment and medium for synchronously processing printing parameters and printing data

Also Published As

Publication number Publication date
CN112519229A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
KR102154436B1 (en) Semiconductor memory device
EP1890239B1 (en) Memory contoller and method of controlling memory
KR100301719B1 (en) Fault Prevention Cue System
US7689881B2 (en) Repair of memory hard failures during normal operation, using ECC and a hard fail identifier circuit
KR101572038B1 (en) Correction of errors in a memory array
US3737870A (en) Status switching arrangement
KR20160024966A (en) Circuits, apparatuses, and methods for correcting data errors
KR20060133892A (en) Memory mirroring apparatus and method
EP3392885B1 (en) Non-volatile memory repair circuit
KR100894251B1 (en) Memory module system with multiple SPD ROM and boothing method of the memory module system
US8621326B2 (en) Error correction circuit and error correction method
US8995217B2 (en) Hybrid latch and fuse scheme for memory repair
EP3525210B1 (en) Data register monitoring
US20020010891A1 (en) Redundant memory access system
US9984770B2 (en) Method for managing a fail bit line of a memory plane of a non volatile memory and corresponding memory device
CN112519229B (en) Parameter acquisition method and device for temperature control circuit of 3D printer nozzle
US8219860B2 (en) Microprocessor system for controlling at least partly safety-critical processes
CN111831486B (en) Semiconductor device and semiconductor system including the same
US11003530B2 (en) Semiconductor apparatus
JP3139738B2 (en) Logic circuit
US20080052598A1 (en) Memory multi-bit error correction and hot replace without mirroring
CN115039343A (en) Continuous monotonic counter for memory devices
CN113103765A (en) Printing consumable authentication method, printing consumable chip, printing consumable and printing system
CN109857701B (en) Starting system and method for FPGA configuration circuit
JP2014016925A (en) Information processing system, data switching method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant