JPS5839337B2 - Reciprocal calculation circuit - Google Patents
Reciprocal calculation circuitInfo
- Publication number
- JPS5839337B2 JPS5839337B2 JP50092787A JP9278775A JPS5839337B2 JP S5839337 B2 JPS5839337 B2 JP S5839337B2 JP 50092787 A JP50092787 A JP 50092787A JP 9278775 A JP9278775 A JP 9278775A JP S5839337 B2 JPS5839337 B2 JP S5839337B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- calculation
- reciprocal
- time
- shift register
- 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.)
- Expired
Links
- 238000004364 calculation method Methods 0.000 title claims description 38
- 238000000034 method Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 2
- 238000005375 photometry Methods 0.000 description 2
- 230000035945 sensitivity Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Exposure Control For Cameras (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
Description
【発明の詳細な説明】
本発明はディジタル制御方式の自動露出カメラの演算回
路、さらに詳しくはシャッタ時間の逆数表示用の逆数算
出回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an arithmetic circuit for a digitally controlled automatic exposure camera, and more particularly to a reciprocal calculation circuit for displaying the reciprocal of a shutter time.
一般にシャッタ時間Tは光量の情報をし、フィルム感度
の情報ASAおよび絞りの情報をFとするとその関係は
次式で与えられる。In general, the shutter time T provides information on the amount of light, and when film sensitivity information ASA and aperture information are F, the relationship between them is given by the following equation.
Kは定数である。K is a constant.
T=K・(1/L)・(1/ASA)・Fつまり光量の
逆数の情報(1/L)とフィルム感度ASAの逆数値(
1/ASA)および絞り情報F(FナンバをAとした場
合F=A2)とを掛算することにより適正シャッタ時間
が得られるのである。T=K・(1/L)・(1/ASA)・F In other words, information on the reciprocal of the light amount (1/L) and the reciprocal value of the film sensitivity ASA (
1/ASA) and aperture information F (F=A2 when the F number is A), an appropriate shutter time can be obtained.
このシャッタ時間を算出するのに従来アナログ回路が採
用されていた。Conventionally, analog circuits have been used to calculate this shutter time.
しかし光量の情報の比が10の6乗以上の広範囲におよ
ぶため各情報量を対数圧縮し、掛算を加算に置換え、そ
の結果を対数伸張するという構成がとられている。However, since the information ratio of the amount of light covers a wide range of 10 to the 6th power or more, a configuration is used in which each amount of information is logarithmically compressed, multiplication is replaced with addition, and the result is logarithmically expanded.
しかしこの回路では調整が大変に面倒であり、また部品
の特性に対する精度、バラツキに関する要求を厳しくし
なげればならないという困難がある。However, this circuit is difficult to adjust and requires strict requirements regarding accuracy and variation in component characteristics.
回路をアナログ方式で構成すると部品の点数は比較的少
なくて済むが、電圧変動、温度変化に依る誤差はかなり
大きなものとなり易い。If the circuit is constructed using an analog method, the number of parts can be relatively small, but errors due to voltage fluctuations and temperature changes tend to be quite large.
一方でディジタル方式は半導体部品に対する要求を厳し
くせずに高精度に制御でき調整も格段に容易に済み、デ
ィジタル表示も容易にできるという大きな利点を有する
が反面で回路が複雑になり部品点数が増え、スペース的
に不利になり、測光時間および演算時間を希望する短時
間内におさえることがむづかしく速写性に欠けるという
カメラにとって決定的な欠点を招(可能性がある。On the other hand, digital methods have the great advantage of being able to control with high precision without imposing strict requirements on semiconductor components, making adjustments much easier, and making digital display easier, but on the other hand, the circuits become more complex and the number of parts increases. However, it is disadvantageous in terms of space, and it is difficult to keep the photometry time and calculation time within the desired short time, resulting in a lack of quick shooting performance, which may be a decisive drawback for the camera.
しかしこれらの欠点も高密度集積回路(LSI)の採用
その他によって克服されディジタル本来の大きな利点が
生かされ、カメラ制御回路のディジタル化が現在以上に
進むであろうことは確実であると言える。However, it is certain that these drawbacks will be overcome by the adoption of high-density integrated circuits (LSI), and the great advantages of digital technology will be utilized, and that the digitalization of camera control circuits will progress even further than at present.
ここでシャッタ時間を演算する場合自動露出制御の都合
上単位は〔時間〕の形で算出されるのが普通である。When calculating the shutter time, the unit is usually calculated in the form of [time] for convenience of automatic exposure control.
しかしシャッタの露出時間を表わす場合、よく知られて
いるように1秒を越える場合は2秒、4秒、8秒・・・
・・・・・・・・・・・・といった具合に単位は〔時間
〕としてシャッタ目盛が表示されているが、シャッタ露
出時間が1秒以下の場合は1.2.4.8.15、・・
・・・・・・・・・・・・・500.1000゜・・・
・・・・・・・・・・・・といった具合に単位は〔時間
〕の逆数の〔速度〕で表示され、例えば1ミリ秒の場合
1000と表示されている。However, when expressing the shutter exposure time, as is well known, if it exceeds 1 second, it is 2 seconds, 4 seconds, 8 seconds, etc.
The shutter scale is displayed in units of [time] like this, but if the shutter exposure time is 1 second or less, the shutter scale is 1.2.4.8.15.・・・
・・・・・・・・・・・・・・・500.1000゜・・・
The unit is displayed as the reciprocal of [speed], and for example, 1 millisecond is displayed as 1000.
したがってディジタル制御回路におけるディジタル表示
も従来のシャッタ露出時間表示方法を慣習として踏襲し
ようとする場合、1秒以上の表示は演算結果をそのまま
表示すれば良いので全く公知の方法で可能であるが、1
秒以下の表示は何らかの変換処理が必要となる。Therefore, if the digital display in the digital control circuit is to follow the conventional shutter exposure time display method, it is possible to display a period of 1 second or more using a completely known method, since the calculation result can be displayed as is.
Displaying seconds or less requires some kind of conversion processing.
本発明はこのシャッタ時間の逆数を算出する問題に着目
してなされたものである。The present invention was made by focusing on the problem of calculating the reciprocal of the shutter time.
良く知られているように一般に割算を実行する場合は演
算レジスタと被演算レジスタの2本とB、 C,D (
Binary Coded Decimal )減算回
路を用い被演算レジスタの内容から演算レジスタの内容
を減算することを繰り返し、その減算結果零になる迄に
実行した減算回数がすなわち商であるという方法を用い
ている。As is well known, when performing division, two registers, an operation register and an operand register, and B, C, and D (
(Binary Coded Decimal) A method is used in which a subtraction circuit is used to repeatedly subtract the contents of the operation register from the contents of the operand register, and the number of subtractions executed until the result of the subtraction becomes zero is the quotient.
この方法を実施するための概略の回路構成を第1図に示
す。A schematic circuit configuration for implementing this method is shown in FIG.
第1図においてシフト・レジスタ1,2の内容は減算回
路90入力aに入り、入力すに入るシフト・レジスタ4
の内容によって減算されその結果a−1)は再びシフト
・レジスタ1,2へ戻される。In FIG. 1, the contents of shift registers 1 and 2 enter input a of subtractor circuit 90, and shift register 4 enters input a.
The result a-1) is returned to shift registers 1 and 2 again.
シフト・レジスタ3には1度減算が行われる度に1が加
算されて行く。1 is added to the shift register 3 every time a subtraction is performed.
シフト・レジスタ1は減算のし過ぎを検出するためのも
のでこのディジットでは6補正をしない様にしている。Shift register 1 is used to detect excessive subtraction, and 6 correction is not performed for this digit.
このディジットで減算し過ぎを検出する度に被除数レジ
スタ2の内容を1つ手前の状態に戻し、■ディジット左
ヘシフトしてさらに減算を続ける。Every time it is detected that the digit has been subtracted too much, the contents of the dividend register 2 are returned to the previous state by one, the digit is shifted to the left, and the subtraction is continued.
したがってレジスタ3には商が記憶される。Therefore, register 3 stores the quotient.
シフトレジスタ5は境界レジスタでこの桁まで商の最上
位の桁が来たことを減算停止検出回路10によって検出
し、この後でシフト・レジスタ1にボローが生じたとこ
ろで減算終了となる。The shift register 5 is a boundary register, and the subtraction stop detection circuit 10 detects that the most significant digit of the quotient has reached this digit, and then the subtraction ends when a borrow occurs in the shift register 1.
シフト・レジスタ7.8は被演算レジスタ1,2.3と
演算レジスタ4゜5.6との桁数を合わせるためのもの
である。The shift register 7.8 is used to match the number of digits of the operand registers 1, 2.3 and the operation register 4.5.6.
この方法では正確な結果が得られるがシフト・レジスタ
は演算用に少なくとも2本必要である。Although this method provides accurate results, at least two shift registers are required for the operation.
シャッタ時間の算出には掛算が行われることから考えて
加算回路が必ず使われているのでこれを減算動作させる
切換え回路が必要であり、演算時間も正確な結果が得ら
れる代償として長くかかつてしまう。Considering that multiplication is performed in calculating the shutter time, an addition circuit is always used, so a switching circuit is required to perform subtraction operation, and the calculation time becomes longer at the cost of obtaining accurate results. .
このような回路を用いてカメラシャッタ速度表示の場合
の逆算回路を実現する場合について考えて見る。Let us consider a case where such a circuit is used to realize a back calculation circuit for displaying camera shutter speed.
充分な精度を得るために演算結果を3桁迄求める場合を
想定すると、商は最大999をとるので最低3X 10
=30ワードタイムの演算時間が必要となる。Assuming that the calculation result is calculated to three digits in order to obtain sufficient precision, the quotient will take a maximum of 999, so at least 3X 10
= 30 word times of calculation time are required.
一方カメラの操作上の要求として測光、シャッタ時間演
算、逆数表示(シャッタ時間)までの時間は許容できる
一定の時間内に完了しなげればならない。On the other hand, as a requirement for camera operation, photometry, shutter time calculation, and time until reciprocal display (shutter time) must be completed within a certain allowable time.
この一定の時間をシャツタ釦の押し下げを開始してから
シャッタ機構が動作を開始するまで、正確にいって測光
開始のスイッチがオンになってからシャッタ演算結果に
したがってシャッタ機構が作動を開始させられるまでの
時間を約20m5であるとすると、逆数演算だけに最大
30ワードタイムが必要であるとすると、事実上実現不
可能に近いものとなってしまう。This fixed period of time is spent from when you start pressing the shutter button until the shutter mechanism starts operating, or to be more precise, after the light metering start switch is turned on, the shutter mechanism starts operating according to the shutter calculation result. Assuming that the time required to complete the calculation is approximately 20 m5, and if a maximum of 30 word times are required just for the reciprocal calculation, this becomes virtually impossible.
逆に演算に必要な十分な時間を持たせるようにすると、
カメラの基本的な性能である即応性が害されるか、回路
自体が高価になってしまう。On the other hand, if you allow enough time for the calculation,
Immediate response, which is the basic performance of the camera, would be impaired, or the circuit itself would become expensive.
本発明はディジタル演算における上述した問題を解決す
るためになされたものであって、本発明の目的は、表示
用の逆数算出を必要十分な精度を保って短時間内に行な
うことができる逆数算出回路を提供することにある。The present invention has been made in order to solve the above-mentioned problems in digital calculations, and an object of the present invention is to provide a reciprocal calculation method that can perform reciprocal calculation for display within a short period of time while maintaining necessary and sufficient accuracy. The purpose is to provide circuits.
この目的を達成するために本発明による逆数演算回路は
、表示のための桁数は2桁で良いことを利用して、シフ
ト・レジスタ1本とBCD加算回路および簡単な制御回
路を含んで構成しである。To achieve this objective, the reciprocal calculation circuit according to the present invention is configured to include one shift register, a BCD addition circuit, and a simple control circuit, taking advantage of the fact that the number of digits for display is only two. It is.
そして前記シフト・レジスタと加算回路で、2倍演算と
1.1倍演算とを繰り返し、必要十分な逆数を算出する
ように構成しである。The shift register and the adder circuit repeat the 2x operation and the 1.1x operation to calculate a necessary and sufficient reciprocal number.
このような構成によれば、本発明の目的は完全に達成さ
れる。According to such a configuration, the object of the present invention is completely achieved.
以下に本発明を実施例を示す図面を参照してさらに詳細
に説明する。The present invention will be explained in more detail below with reference to the drawings showing embodiments.
第2図はシフト・レジスタ1本で逆数を算出する演算回
路である。FIG. 2 shows an arithmetic circuit that calculates a reciprocal using one shift register.
演算結果を3桁まで求め4桁以下を切り捨てる場合の構
成回路を示している。This figure shows the configuration circuit for obtaining the calculation result up to three digits and rounding down the fourth or lower digits.
すなわち除数は有効数字3桁に丸められてシフト・レジ
スタ12゜13.14に最上位の桁から1桁づつ記憶さ
れ、シフト−レジスタ11にはOを入れる。That is, the divisor is rounded to three significant digits and stored one by one in shift registers 12, 13, and 14 starting from the most significant digit, and O is placed in shift register 11.
シフト・レジスタ15,16,17,18には商が蓄え
られることになり、演算開始前にはB、C,DでX3−
1 x、−x2=x4=0を入れておく。The quotient will be stored in shift registers 15, 16, 17, and 18, and before the start of calculation, X3-
1 Enter x, -x2=x4=0.
ゲート19.20,21,22で切換え回路を構成し、
入力端子33には逆数演算パルスが入り、逆数演算パル
スがハイ・レベルの間は演算を行イ、ロー・レベルの間
は内容を保持している。Gates 19, 20, 21, and 22 constitute a switching circuit,
A reciprocal calculation pulse is input to the input terminal 33, and while the reciprocal calculation pulse is at a high level, an operation is performed, and while the reciprocal calculation pulse is at a low level, the contents are held.
シフト・レジスタ38は1デイジツト長に相当するもの
であるゲート26.27.28.29で2倍演算と1.
1倍演算の切換え回路を構成している。The shift register 38 has gates 26, 27, 28, and 29 corresponding to one digit length for the 2x operation and the 1.
It constitutes a switching circuit for 1x calculation.
入力端子35には演算開始パルスが入り、この信号によ
りフリップ・フロップ31がセットされ出力端子36お
よびこれが接続されている入力端子33がハイ・レベル
になるのでシフト・レジスタ11〜17には全加算回路
30の出力が読み込まれ演算が繰り返される状態になる
。An arithmetic start pulse is input to the input terminal 35, and this signal sets the flip-flop 31, causing the output terminal 36 and the input terminal 33 to which it is connected to go high, so that the shift registers 11 to 17 are fully added. The output of the circuit 30 is read and the calculation is repeated.
またフリップ・フロップ25も演算開始パルスによりセ
ットされ出力端子34にはハイ・レベルが現われる。The flip-flop 25 is also set by the operation start pulse, and a high level appears at the output terminal 34.
この信号によりゲート26の出力はロー・レベルになる
ので全加算回路300Å力aにはシフト・レジスタ18
からのデータが読み込まれることになり、従って全加算
回路300Å力aとbに同じデータが入り加算結果は2
倍値となってシフト・レジスタへ戻る。This signal causes the output of the gate 26 to go low, so the shift register 18 is connected to the full adder circuit 300A.
Therefore, the same data is input to the full adder circuit 300A and power a and b, and the addition result is 2.
It becomes a double value and returns to the shift register.
すなわち2倍演算が繰り返されることになる。In other words, the doubling operation is repeated.
この2倍演算は最初に入れた除数の最上位の桁X3が5
を越えるまで繰り返される。In this doubling operation, the most significant digit X3 of the divisor entered first is 5.
is repeated until exceeded.
5を越えると5以上検出回路24の出力によりフリップ
・フロップ25がリセットされ、従って出力端子34は
ロー・レベルになり今度は全加算回路300Å力aには
シフト・レジスタ17(X2)から読み込まれることに
なる。When the value exceeds 5, the flip-flop 25 is reset by the output of the 5 or more detection circuit 24, so the output terminal 34 becomes low level, and the full adder circuit 300A is then read from the shift register 17 (X2). It turns out.
つまり入**力aには入力すに入るデータが1デイジツ
ト・タイム早めに入り、入力端子31に入るディジット
信号T4および入力端子32に入るディジット信号T8
のタイミングにはOが強制的に入るのでシフト・レジ
スタの内容は1.1倍されることになる。In other words, the input data enters the input input a one digit time earlier, and the digit signal T4 enters the input terminal 31 and the digit signal T8 enters the input terminal 32.
Since O is forcibly entered at the timing of , the contents of the shift register will be multiplied by 1.1.
入力aにはシフト・レジスタの内容の最下位の桁を切り
捨てた形で1/10にされたデータが読み込まれること
になる。Data that has been reduced to 1/10 by truncating the least significant digit of the contents of the shift register is read into input a.
この模様を第1表に示す。1桁目、2桁目、・・・・・
・・・−・・・・・・9桁目をそれぞれタイミング信号
T1.T2.・・・・・・・・・・・・・・・T、に対
応させ、シフト・レジスタX1.X2.X3.X4に最
初に入っているデータをそれぞれA、B、C,D、商が
入るシフト・レジスタX1. x2 、 x3. X4
に最初に入っているデータをそれぞれN、 、 N2゜
N3.N4とした場合の演算の模様を示しである。This pattern is shown in Table 1. 1st digit, 2nd digit, etc.
......The 9th digit is the timing signal T1. T2. .........T, and shift register X1. X2. X3. The data initially stored in X4 are transferred to shift registers X1, . x2, x3. X4
The initial data in N, , N2°N3. This figure shows the calculation pattern when N4 is used.
1.1倍演算を実行中、T4又はT8がハイレベルとな
ると、全加算器は入力aがゝO“のままとなる。If T4 or T8 becomes high level during execution of the 1.1 times operation, the input a of the full adder remains at "O".
従って加算出力Sは入力b、すなわちその時点のデータ
をそのまま出力し、演算は進まない。Therefore, the addition output S outputs the input b, that is, the data at that time, as is, and the calculation does not proceed.
このようにT45 Tgのゲート26への入力はタイミ
ング制御の為に演算を禁止する。In this way, the input of T45Tg to the gate 26 prohibits calculation for timing control.
この1.1倍演算はX4.X3.X2 の内容が095
を越えるまで繰り返され095を越えると095以上、
検出回路23の出力によりフリップフロップ37がリセ
ットされ出力端子36従ってそれが接続されている入力
端子33がロー・レベルになるので、演算は終了しシフ
ト・レジスタは自分自身のデータを保持することになる
。This 1.1 times operation is X4. X3. The contents of X2 are 095
It is repeated until it exceeds 095, and when it exceeds 095,
The output of the detection circuit 23 resets the flip-flop 37 and the output terminal 36 and therefore the input terminal 33 to which it is connected becomes low level, so the operation ends and the shift register retains its own data. Become.
演算終了時点でのシフト・レジスタX4 、 x3.
x2 。Shift registers X4, x3 .
x2.
Xl の内容は逆数の値をX、X3・X2X1なる形で
有効数字を表わしている。The content of Xl represents the value of the reciprocal with significant figures in the form X, X3.X2X1.
除数の指数情報がIONであるとすれば商はX4X3・
X2X1×10−Nなる形に表わされることになる。If the exponent information of the divisor is ION, the quotient is X4X3.
It will be expressed in the form X2X1×10-N.
結局最終的には、2倍演算をm回、1.1倍演算をn回
実行したとすると除数が最初に入っていたシフト・レジ
スタの内容は(X3.X2.Xl)×2mX (1,1
) nまた商が入るシフト・レジスタには最初に1が入
っていたのでその内容は2m×(1,1)nとなる。In the end, if we execute the 2x operation m times and the 1.1x operation n times, the contents of the shift register where the divisor was initially stored are (X3.X2.Xl) x 2mX (1, 1
) n Also, since the shift register into which the quotient is stored initially contains 1, its contents become 2m×(1,1)n.
2倍演算をX3 の内容が5以上になった所で終了さす
のは次には必ず桁上げが**起こるからであり、1.1
倍演算をX3.X2の内容が9.5以上になった所で終
了さすのはこの値を越えた値をさらに1.1倍するとX
4.X3.X2.Xlの内容は1.0.4.5以上とな
り被除数1、OlO,Oからの誤差が大きくなってしま
う力・らである。The reason why the doubling operation ends when the content of X3 becomes 5 or more is because a carry will always occur next, and 1.1
Do the double operation in X3. To end when the content of X2 becomes 9.5 or more, multiply the value exceeding this value by 1.1 and get
4. X3. X2. The content of Xl is 1.0.4.5 or more, the dividend is 1, and the error from OlO,O becomes large.
すなわちこの限界の値は次の式から算出されたものであ
って厳密な値は952である。That is, the value of this limit is calculated from the following formula, and the exact value is 952.
ここでこの演算方法による誤差を求めてみる。Let us now try to find the error due to this calculation method.
正しい逆数の値YはY=1000/(X3.X2jX1
で表わされる。The correct reciprocal value Y is Y=1000/(X3.X2jX1
It is expressed as
−力木発明による演算結果は2m・(1,1)nと表わ
せるので
)
すなわち0.95≦(2m−(1,1) n)/Y<1
.045したがって本発明による演算誤差は±5%以内
であるということができる。-The result of the calculation based on the invention of strength tree can be expressed as 2m・(1,1)n) That is, 0.95≦(2m−(1,1)n)/Y<1
.. 045 Therefore, it can be said that the calculation error according to the present invention is within ±5%.
4桁目切り捨てによる誤差は1%/回以下であり、1.
1倍演算は最高7回なので、この場合最悪で7%の誤差
となる。The error due to truncation of the fourth digit is less than 1%/time.1.
Since the 1x operation can be performed a maximum of 7 times, in this case, the error will be 7% at worst.
しかし演算桁数を増せばさらに切り捨てによる誤差が小
さくなるのは勿論である。However, it goes without saying that if the number of digits in the calculation is increased, the error due to truncation will be further reduced.
次に演算時間を算出してみる。Next, let's calculate the calculation time.
シフト・レジスタX3 には最初は除数の最上位桁とし
て1から9のどれかのデータが入っており、9.5から
10.45の間の値で演算終了するので商は01.00
から10.45の間の値をとる。Shift register
and 10.45.
まず2倍演算はX3の内容が5以上になると終了するの
でたかだか3回である。First, the doubling operation ends when the content of X3 becomes 5 or more, so it is performed three times at most.
また1、1倍演算はX3の内容が5以上になってから行
われるのでたかだか7回(1,17=1.95)である
。Also, since the 1, 1 times operation is performed after the content of X3 becomes 5 or more, the number of times is at most 7 (1, 17=1.95).
しかしながら2倍演算を最大である3回実行した後で1
.1倍演算を最大の7回実行することはなく、最も演算
回数が多いのは2倍演算2回と1.1倍演算7回合計9
回であり、最大で9ワード・タイムを要することになる
。However, after executing the doubling operation a maximum of 3 times, 1
.. The 1x operation is never executed a maximum of 7 times, and the largest number of operations is 2x operations and 7 1.1x operations, totaling 9.
This means that a maximum of 9 word times are required.
これは前述した公知の方法の30ワード・タイムに比べ
て演算時間が1/3以下に高速化されたことになる。This means that the computation time is reduced to less than 1/3 compared to the 30 word time of the previously mentioned known method.
構成回路も第2図に示す様にシフト・レジスタが1本で
済むので当然素子数は少なくなり演算は単なる加算の繰
り返しなので制御回路も格段に簡単化される。As shown in FIG. 2, the configuration circuit requires only one shift register, so the number of elements is naturally reduced, and since the operation is simply a repetition of addition, the control circuit is also greatly simplified.
以上の様に本発明によれば、逆数を算出するのに2倍演
算と1.1倍演算のみの繰り返しで演算が行われるので
シフト・レジスタが1本で済み制御回路も格段に簡単に
なるので演算回路の素子数が非常に少なくなり、演算時
間も格段に短縮されるので、シャッタ時間の逆数すなわ
ちシャッタ速度表示をも可能とする集積回路を安価に提
供できるようになった。As described above, according to the present invention, the reciprocal is calculated by repeating only the 2x operation and the 1.1x operation, so only one shift register is required, and the control circuit is also significantly simplified. Therefore, the number of elements in the arithmetic circuit is greatly reduced, and the computation time is also significantly shortened, making it possible to provide an integrated circuit at a low cost that can also display the reciprocal of the shutter time, that is, the shutter speed.
その演算誤差も±5%以内でありカメラ用としては充分
許容できるものである。The calculation error is also within ±5%, which is sufficiently acceptable for use in cameras.
本発明による回路は逆数表示用のみに限らずシャッタ時
間または絞り制御データの演算にも必要に応じて容易に
応用できるものである。The circuit according to the present invention can be easily applied not only to reciprocal display but also to calculation of shutter time or aperture control data as required.
なお場合によってはシャッタ速度という形で演算結果を
出し、それを表示用に逆数計算してシャッタ時間という
形に変換することもあり得るがこの場合にも本発明によ
る回路の方式が全く同じ様に適用できる。In some cases, the calculation result may be output in the form of a shutter speed, and then converted into a shutter time by reciprocal calculation for display purposes, but in this case, the circuit system according to the present invention can be used in exactly the same way. Applicable.
以上詳細に説明した実施例回路について本発明の範囲内
で種々の変形を施すことができるものであり、本発明の
範囲は特許請求の範囲記載のすべてにおよぶものである
。Various modifications can be made to the embodiment circuit described above in detail within the scope of the present invention, and the scope of the present invention extends to all of the claims.
第1図は従来の逆数算出方法を説明するためのブロック
・ダイヤグラム、第2図は本発明の実施例を示す回路構
成図である。
1.2,3・・・・・・被演算レジスタ、4,5,6・
・・・・・演算レジスタ、7,8・・・・・・シフトレ
ジスタ、9・・・・・・減算回路、10・・・・・・減
算停止検出回路、11゜12.13,14,15,16
,17,18゜38・・・・・・シフトレジスタ、19
,20,21 。
22・・・・・・ゲート、23・・・・・・095以上
検出回路、24・・・・・・5以上検出回路、25 、
37・・・・−・フリップフロップ、26.27.28
.29−・−・・−ゲート、30・・・・・・全加算回
路。FIG. 1 is a block diagram for explaining a conventional reciprocal calculation method, and FIG. 2 is a circuit configuration diagram showing an embodiment of the present invention. 1.2,3...operated register, 4,5,6...
... Arithmetic register, 7, 8 ... Shift register, 9 ... Subtraction circuit, 10 ... Subtraction stop detection circuit, 11゜12.13, 14, 15, 16
,17,18゜38...Shift register, 19
, 20, 21. 22...Gate, 23...095 or more detection circuit, 24...5 or more detection circuit, 25,
37...--Flip-flop, 26.27.28
.. 29--...-gate, 30... Full adder circuit.
Claims (1)
と、加算回路と、該記憶手段のディジット出力を2倍演
算用と1.1倍演算用とに選択して該加算回路に入力す
る演算選択回路と、2倍演算した除数の最上位桁のデー
タが5以上になったときに前記演算選択回路を2倍演算
状態から1.1倍演算状態へ切り替える演算制御回路と
、1.1倍演算における加算制御用データおよび除数の
上位2桁によって表わされるデータの内容が095以上
となったとき演算を終了させる制御回路を具備し2倍演
算と1.1倍演算のみのくり返しで近似的に逆数を算出
するようにした逆数算出回路。1. A storage means for storing a divisor, a quotient, and addition control data, an addition circuit, and select the digit output of the storage means for 2 times operation and 1.1 times operation and input them to the addition circuit. an arithmetic selection circuit; an arithmetic control circuit that switches the arithmetic selection circuit from a 2x arithmetic state to a 1.1x arithmetic state when the data of the most significant digit of a divisor that has been 2x arithmetic becomes 5 or more; 1.1 Equipped with a control circuit that terminates the operation when the content of the data represented by the addition control data in the double operation and the upper two digits of the divisor becomes 095 or more. A reciprocal calculation circuit that calculates the reciprocal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP50092787A JPS5839337B2 (en) | 1975-07-29 | 1975-07-29 | Reciprocal calculation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP50092787A JPS5839337B2 (en) | 1975-07-29 | 1975-07-29 | Reciprocal calculation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5216229A JPS5216229A (en) | 1977-02-07 |
| JPS5839337B2 true JPS5839337B2 (en) | 1983-08-29 |
Family
ID=14064119
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP50092787A Expired JPS5839337B2 (en) | 1975-07-29 | 1975-07-29 | Reciprocal calculation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5839337B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4618956A (en) * | 1983-09-29 | 1986-10-21 | Tandem Computers Incorporated | Method of operating enhanced alu test hardware |
-
1975
- 1975-07-29 JP JP50092787A patent/JPS5839337B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5216229A (en) | 1977-02-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9009209B2 (en) | Processor, control method of processor, and computer readable storage medium storing processing program for division operation | |
| JPS5839337B2 (en) | Reciprocal calculation circuit | |
| US4029421A (en) | Digital exposure meter | |
| JPS5842451B2 (en) | Digital sunshade warmer | |
| JPS5842890B2 (en) | Digital differential analyzer | |
| JPH0578049B2 (en) | ||
| SU767749A1 (en) | Binary-to-binary-decimal-sexagecimal code converter | |
| JP2960595B2 (en) | Digital signal processor | |
| JPS5842452B2 (en) | Loss of Russia | |
| SU723571A1 (en) | Decimal number multiplying arrangement | |
| JP3131969B2 (en) | Arithmetic unit | |
| SU1339553A1 (en) | Divider | |
| SU1182513A1 (en) | Sequential device for dividing numbers in radix complement form | |
| SU600575A2 (en) | Logarithming device | |
| RU1784975C (en) | Arithmetic-integrating device | |
| SU766001A1 (en) | Analogue-code converter | |
| RU25234U1 (en) | DEVICE FOR DIVISION | |
| JPS62191927A (en) | Arithmetic circuit | |
| SU922760A2 (en) | Digital function generator | |
| SU873148A1 (en) | Digital harmonic analyzer | |
| SU813419A1 (en) | Multiplier-divider | |
| SU1291972A1 (en) | Device for multiplying data with variable length | |
| SU1617445A1 (en) | Device for substracting polynomials | |
| SU446054A1 (en) | Device for converting binary numbers | |
| JPS58213340A (en) | Circuit for calculating data digitally |