Filament current control method and apparatus
11438994 · 2022-09-06
Assignee
Inventors
- Fei Chen (Jiangsu, CN)
- Shengfang Fan (Jiangsu, CN)
- Qiang Huang (Jiangsu, CN)
- Wanquan Wang (Jiangsu, CN)
Cpc classification
International classification
Abstract
The present application discloses a method for controlling filament current and apparatus. The method comprises: acquiring a current filament current value (S11); determining a current range within which the current filament current value falls (S12); determining a correspondence between a filament current and a control current according to the current range (S13); and determining the current control current according to the current filament current value and the correspondence (S14). The problem of large errors in the control of filament current caused by nonlinear characteristics of a filament transformer can be solved.
Claims
1. A method for controlling an X-ray tube, the X-ray tube having a filament and a filament transformer, wherein the method comprises: selecting current values of N points in a working range of filament current, and dividing the working range into N+1 consecutive current ranges by the N points, wherein the N points are unevenly distributed in the working range of filament current; detecting a filament current value; selecting, from the N+1 consecutive current ranges, a current range in which the detected filament current value falls; calculating a primary current value i.sub.p of the filament transformer according to the selected current range by the following formula:
2. The method of claim 1, wherein the N points are distributed from sparse to dense as the filament current changes from low to high over the working range.
3. The method of claim 2, wherein the predetermined primary current values corresponding to the filament current values at the two end points of the selected current range are measured in advance by the following steps: determining filament current values at the two end points of each current range selected from the N+1 consecutive current ranges; and measuring and recording primary current values of the filament transformer corresponding to the filament current values at the two end points, as the predetermined primary current values.
4. An electronic device, comprising: memory and a processor, wherein the memory and the processor are in communication with each other, the memory stores computer instructions thereon, and the processor performs the method for controlling an X-ray tube in claim 1 by executing the computer instructions.
5. A device for controlling an X-ray tube, the X-ray tube having a filament and a filament transformer, wherein the device comprises: a current range dividing module, configured to select current values of N points in a working range of filament current, and divide the working range into N+1 consecutive current ranges by the N points, wherein the N points are unevenly distributed in the working range of filament current; a detection module, configured to detect a filament current value; a selection module, configured to select, from the N+1 consecutive current ranges, a current range in which the detected filament current value falls; a calculating module, configured to calculate a primary current value i.sub.p of the filament transformer according to the selected current range by the following formula:
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The features and advantages of the present application are more clearly understood from the following drawings which are illustrative and shall not be construed as limitative on the present application in any sense, in the drawings:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) In order to make the purpose, technical solutions and advantages in embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described as follows clearly and completely referring to figures accompanying the embodiments of the present invention, and surely, the described embodiments are just part rather than all embodiments of the present invention. Based on the embodiments of the present invention, all the other embodiments acquired by those skilled in the art without delivering creative efforts shall fall into the protection scope of the present invention.
Embodiment 1
(8) The embodiment of the present application provides a method for controlling filament current.
(9) Step S11, acquiring a current filament current value.
(10) Specifically, the working range of the filament current can be expressed as I.sub.a to I.sub.b. The current filament current value can be any current value within the working range.
(11) Step S12, determining a current range in which the current filament current value falls.
(12) Specifically, the working range of the filament current can be divided into a plurality of current ranges, and a specific current range within the working range of the filament current can be determined according to the current filament current value.
(13) Step S13, determining a correspondence between the filament current and a corresponding control current according to the current range.
(14) Specifically, the control current may be a secondary current converted from primary current of a filament transformer. It should be noted that, due to the nonlinear characteristics of the actual filament transformer,
(15) Step S14, and determining a current control current based on the current filament current value and the correspondence.
(16) In the embodiment of the present application, according to the above steps S11 to S14, the correspondence between the filament current and the control current in the current range is further determined, by determining the specific current range of the current filament current value in the working range, the current mode of current control is determined according to the current filament current and the correspondence. In an ideal case, the present application improves control precision, and solves the problem of large error in the control of filament current caused by the nonlinear characteristics of the filament transformer compared with the method of taking the current filament current value as the current control current when assuming that the control current is equal to the filament current.
(17) In some optional implementations of the present application, Step S14 may include:
(18) calculating the current control current i.sub.p by the following formula according to the current filament current value and the correspondence:
(19)
(20) wherein i.sub.sa and i.sub.s(a+1) are current values at two end points of the current range in which the current filament current falls; i.sub.pa and i.sub.p(a+1) are current values of corresponding control current measured according to the current values at the two end points; and is the current filament current value.
(21) In some optional implementation of the present application, the correspondence between the filament current and the control current in step S13 above may be obtained according to the following steps:
(22) Step S21: dividing a working range of the filament current into a plurality of consecutive current ranges.
(23) Step S22: calculating the correspondence between the filament current and the control current in any one of the current ranges respectively.
(24) Specifically, taking the working range of the filament current of 0-5 amps as an example, the working range of the filament current can be divided into five consecutive current ranges. For example, five consecutive current ranges can be 0-1 amps, 1-2 amps, 2-3 amps, 3-4 amps, and 4-5 amps, respectively. For the above five current ranges, the correspondence between the filament current and the control current in any one of the current ranges can be calculated. The calculation method may include the steps of selecting at least one current value in any current range, measuring a corresponding control current when the filament current is the current value, and determining the correspondence between the filament current and the control current in the current range according to the current value and the measured control current. In the embodiment of the present application, the accuracy of the correspondence between the filament current and the control current of the filament current in the working range is improved, by dividing a plurality of current ranges, respectively determining the correspondence between the filament current and the control current in any one of the current ranges.
(25) It should be noted that, in the embodiment of the present application, when the working range of the filament current is divided into a plurality of consecutive current ranges, the more the current range is divided, the more accurate the calculated correspondence between the filament current and the control current, the smaller the error of the finally determined control current, and the higher the control accuracy.
(26) In some optional implementations of the present application, dividing the working range of the filament current into a plurality of consecutive current ranges in the above step S21 may include:
(27) selecting current values of N points in the working range of the filament current; and
(28) dividing the working range into N+1 consecutive current ranges of the filament current values by the N points.
(29) Specifically, the N points may be evenly distributed in the working range of the filament current, or may be distributed in the working range of the filament current unevenly. When the N points are unevenly distributed in the working range of the filament current, the N points can be distributed from sparse to dense as the filament current varies from low to high. For example, when N=7 and the working range of the filament current is 0-5 amps, two points can be selected in the range of 0-2 amps, and five points can be selected in the range of 2-5 amps.
(30) It should be noted that when the filament current is low, the difference between the control current and the filament current is small; when the filament current is high, the difference between the control current and the filament current is large. And in practical applications, the filament current mainly works in the second half of the working range. Therefore, it is possible to improve the accuracy when calculating the control current by arranging the N points from sparse to dense as the filament current varies from low to high, and dividing different current ranges more densely in the main working current range of the filament current.
(31) In some optional implementations of the present application, in the foregoing step S22, respectively calculating the correspondence between the filament current and the control current in any one of the current ranges may include:
(32) determining current values at the two end points of the current range in any one of the current ranges;
(33) measuring a corresponding control current of a filament transformer according to the current values at the two end points; and
(34) calculating correspondence between the filament current and the control current in the current range according to the current values at the two end points of the current range and the corresponding control current of the filament transformer measured.
(35) Specifically, for any one current filament current value is, the current range in which it falls can be expressed as [i.sub.sa, i.sub.s(a+1)], where 1≤a≤N, and the control current corresponds to two end points i.sub.sa and i.sub.s(a+1) of the current range can be separately measured, and the measured control current can be recorded as i.sub.pa and i.sub.p(a+1), respectively. According to i.sub.sa, i.sub.s(a+1), i.sub.pa and i.sub.p(a+1), the correspondence between the filament current and the control current in the current range can be calculated.
Embodiment 2
(36) According to an embodiment of the present application, a device for controlling filament current is provided.
(37) an acquisition module 41, referring to the description in Step S11 in the first embodiment, configured to acquire a current filament current value;
(38) an analysis module 42, referring to the description in Step S12 in the first embodiment, configured to determine a current range in which the current filament current value falls;
(39) a determination module 43, referring to the description in Step S13 in the first embodiment, configured to determine a correspondence between the corresponding filament current and the control current according to the current range; and
(40) a processing module 44, referring to the description in Step S14 in the first embodiment, configured to determine a current control current according to the current filament current value and the correspondence.
(41) In the embodiment of the present application, the problem of large errors in the control of the filament current caused by the nonlinear characteristic of the filament transformer is solved, by the acquisition module 41 configured to acquire a current filament current value, the analyzing module 42 configured to determine a current range in which the current filament current value falls; the determination module 43 configured to determine the correspondence between the filament current and the corresponding control current according to the current range, and the processing module 44 configured to determine the current control current according to the current filament current value and the correspondence.
(42) In some optional implementations of the present application, the processing module includes:
(43) a calculating unit, configured to calculate a current control current i.sub.p by using the following formula according to the current filament current value and the correspondence:
(44)
(45) wherein i.sub.sa and i.sub.s(a+1) are current values at two end points of the current range in which the current filament current falls; i.sub.pa and i.sub.p(a+1) are current values of corresponding control current measured according to the current values at the two end points; and is the current filament current value.
Embodiment 3
(46) The embodiment of the present application further provides a server. As shown in
(47) The processor 51 can be a central processing unit (CPU). The processor 51 can also be other general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., or a combination of the above various types of chips.
(48) The memory 52, as a non-transitory computer readable storage medium, can be used for storing a non-transitory software program, a non-transitory computer executable program and module, such as a program instruction/module corresponding to the button shielding method of the vehicle display device in the embodiment of the present application (for example, the acquisition module 41, the analysis module 42, the determination module 43, and the processing module 44 shown in
(49) The memory 52 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by the processor 51, and the like. Moreover, the memory 52 can include high speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 52 may optionally include memory remotely located relative to processor 51, which may be coupled to processor 51 via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
(50) The one or more modules are stored in the memory 52, and when executed by the processor 51, perform the method for controlling filament current in the embodiment shown in
(51) The specific details of the foregoing server may be understood by referring to the corresponding related descriptions and effects in the embodiment shown in
(52) It can be understood by those skilled in the art that all or part of the processes in the foregoing embodiments may be implemented by related hardware under instruction by a computer program, and the program may be stored in a computer readable storage medium, and when executed, can include the flow of the embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a flash memory (Flash Memory), a hard disk (Hard Disk Drive, abbreviated as: HDD) or Solid-State Drive (Solid-State Drive, SSD), etc.; the storage medium may also include a combination of the above types of memories.
(53) Although embodiments of the present application have been described in conjunction with the drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations fall within the scope defined by the appended claims.